Initial Save

This commit is contained in:
jackbeeby
2025-03-28 12:30:19 +11:00
parent e381994f19
commit d8773925e8
9910 changed files with 982718 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
export declare function createHash(kind: string): import("crypto").Hash;
//# sourceMappingURL=createHash.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"createHash.d.ts","sourceRoot":"","sources":["../../src/utilities/createHash.ts"],"names":[],"mappings":"AAEA,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,QAAQ,EAAE,IAAI,CAU9D"}

View File

@@ -0,0 +1,12 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createHash = void 0;
const isNodeLike_1 = require("./isNodeLike");
function createHash(kind) {
if (isNodeLike_1.isNodeLike) {
return module.require("crypto").createHash(kind);
}
return require("sha.js")(kind);
}
exports.createHash = createHash;
//# sourceMappingURL=createHash.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"createHash.js","sourceRoot":"","sources":["../../src/utilities/createHash.ts"],"names":[],"mappings":";;;AAAA,6CAA0C;AAE1C,SAAgB,UAAU,CAAC,IAAY;IACrC,IAAI,uBAAU,EAAE;QAGd,OAAQ,MAAM,CAAC,OAAO,CAAC,QAAQ,CAA6B,CAAC,UAAU,CACrE,IAAI,CACL,CAAC;KACH;IAED,OAAQ,OAAO,CAAC,QAAQ,CAA6B,CAAC,IAAI,CAAC,CAAC;AAC9D,CAAC;AAVD,gCAUC"}

View File

@@ -0,0 +1,4 @@
import { ASTNode, DocumentNode } from "graphql";
export declare function isNode(maybeNode: any): maybeNode is ASTNode;
export declare function isDocumentNode(node: ASTNode): node is DocumentNode;
//# sourceMappingURL=graphql.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"graphql.d.ts","sourceRoot":"","sources":["../../src/utilities/graphql.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAQ,MAAM,SAAS,CAAC;AAEtD,wBAAgB,MAAM,CAAC,SAAS,EAAE,GAAG,GAAG,SAAS,IAAI,OAAO,CAE3D;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,YAAY,CAElE"}

13
node_modules/apollo-graphql/lib/utilities/graphql.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isDocumentNode = exports.isNode = void 0;
const graphql_1 = require("graphql");
function isNode(maybeNode) {
return maybeNode && typeof maybeNode.kind === "string";
}
exports.isNode = isNode;
function isDocumentNode(node) {
return isNode(node) && node.kind === graphql_1.Kind.DOCUMENT;
}
exports.isDocumentNode = isDocumentNode;
//# sourceMappingURL=graphql.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"graphql.js","sourceRoot":"","sources":["../../src/utilities/graphql.ts"],"names":[],"mappings":";;;AAAA,qCAAsD;AAEtD,SAAgB,MAAM,CAAC,SAAc;IACnC,OAAO,SAAS,IAAI,OAAO,SAAS,CAAC,IAAI,KAAK,QAAQ,CAAC;AACzD,CAAC;AAFD,wBAEC;AAED,SAAgB,cAAc,CAAC,IAAa;IAC1C,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,KAAK,cAAI,CAAC,QAAQ,CAAC;AACrD,CAAC;AAFD,wCAEC"}

View File

@@ -0,0 +1,2 @@
export declare const isNodeLike: boolean;
//# sourceMappingURL=isNodeLike.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"isNodeLike.d.ts","sourceRoot":"","sources":["../../src/utilities/isNodeLike.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,SAKoB,CAAC"}

View File

@@ -0,0 +1,9 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isNodeLike = void 0;
exports.isNodeLike = typeof process === "object" &&
process &&
process.release &&
process.versions &&
typeof process.versions.node === "string";
//# sourceMappingURL=isNodeLike.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"isNodeLike.js","sourceRoot":"","sources":["../../src/utilities/isNodeLike.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GACrB,OAAO,OAAO,KAAK,QAAQ;IAC3B,OAAO;IACP,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,QAAQ;IAChB,OAAO,OAAO,CAAC,QAAQ,CAAC,IAAI,KAAK,QAAQ,CAAC"}

View File

@@ -0,0 +1,2 @@
export declare function mapValues<T, U = T>(object: Record<string, T>, callback: (value: T) => U): Record<string, U>;
//# sourceMappingURL=mapValues.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"mapValues.d.ts","sourceRoot":"","sources":["../../src/utilities/mapValues.ts"],"names":[],"mappings":"AAAA,wBAAgB,SAAS,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAChC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,EACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GACxB,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAQnB"}

12
node_modules/apollo-graphql/lib/utilities/mapValues.js generated vendored Normal file
View File

@@ -0,0 +1,12 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mapValues = void 0;
function mapValues(object, callback) {
const result = Object.create(null);
for (const [key, value] of Object.entries(object)) {
result[key] = callback(value);
}
return result;
}
exports.mapValues = mapValues;
//# sourceMappingURL=mapValues.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"mapValues.js","sourceRoot":"","sources":["../../src/utilities/mapValues.ts"],"names":[],"mappings":";;;AAAA,SAAgB,SAAS,CACvB,MAAyB,EACzB,QAAyB;IAEzB,MAAM,MAAM,GAAsB,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAEtD,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;QACjD,MAAM,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;KAC/B;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAXD,8BAWC"}