nitro-graphql 1.2.3 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +161 -3
- package/dist/graphql/index.js +1 -0
- package/dist/graphql/server.js +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +11 -3
- package/dist/rollup.js +24 -0
- package/dist/routes/apollo-server.d.ts +2 -2
- package/dist/routes/apollo-server.js +16 -7
- package/dist/routes/graphql-yoga.js +14 -4
- package/dist/routes/health.d.ts +2 -2
- package/dist/types/index.d.ts +2 -1
- package/dist/utils/client-codegen.js +1 -1
- package/dist/utils/define.d.ts +52 -1
- package/dist/utils/define.js +33 -1
- package/dist/utils/directive-parser.d.ts +80 -0
- package/dist/utils/directive-parser.js +235 -0
- package/dist/utils/index.d.ts +3 -2
- package/dist/utils/index.js +42 -4
- package/dist/utils/type-generation.js +103 -6
- package/package.json +29 -18
- package/dist/_virtual/rolldown_runtime.js +0 -37
- package/dist/node_modules/.pnpm/@graphql-codegen_add@3.2.3_graphql@16.11.0/node_modules/@graphql-codegen/add/esm/config.js +0 -9
- package/dist/node_modules/.pnpm/@graphql-codegen_add@3.2.3_graphql@16.11.0/node_modules/@graphql-codegen/add/esm/index.js +0 -17
- package/dist/node_modules/.pnpm/@graphql-codegen_import-types-preset@3.0.1_graphql@16.11.0/node_modules/@graphql-codegen/import-types-preset/esm/index.js +0 -38
- package/dist/node_modules/.pnpm/@graphql-codegen_plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/federation.js +0 -22
- package/dist/node_modules/.pnpm/@graphql-codegen_plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/getCachedDocumentNodeFromSchema.js +0 -6
- package/dist/node_modules/.pnpm/@graphql-codegen_plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/helpers.js +0 -79
- package/dist/node_modules/.pnpm/@graphql-codegen_plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/index.js +0 -6
- package/dist/node_modules/.pnpm/@graphql-codegen_plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/oldVisit.js +0 -1
- package/dist/node_modules/.pnpm/@graphql-codegen_plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/resolve-external-module-and-fn.js +0 -7
- package/dist/node_modules/.pnpm/@graphql-codegen_plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/utils.js +0 -13
- package/dist/node_modules/.pnpm/camel-case@4.1.2/node_modules/camel-case/dist/index.js +0 -33
- package/dist/node_modules/.pnpm/capital-case@1.0.4/node_modules/capital-case/dist/index.js +0 -32
- package/dist/node_modules/.pnpm/change-case-all@1.0.15/node_modules/change-case-all/dist/index.js +0 -56
- package/dist/node_modules/.pnpm/change-case@4.1.2/node_modules/change-case/dist/index.js +0 -37
- package/dist/node_modules/.pnpm/constant-case@3.0.4/node_modules/constant-case/dist/index.js +0 -28
- package/dist/node_modules/.pnpm/dot-case@3.0.4/node_modules/dot-case/dist/index.js +0 -23
- package/dist/node_modules/.pnpm/header-case@2.0.4/node_modules/header-case/dist/index.js +0 -23
- package/dist/node_modules/.pnpm/is-lower-case@2.0.2/node_modules/is-lower-case/dist/index.js +0 -21
- package/dist/node_modules/.pnpm/is-upper-case@2.0.2/node_modules/is-upper-case/dist/index.js +0 -21
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js +0 -37
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js +0 -37
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js +0 -15
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js +0 -37
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js +0 -34
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js +0 -15
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js +0 -15
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_apply.js +0 -30
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js +0 -35
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignMergeValue.js +0 -26
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignValue.js +0 -32
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js +0 -26
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseAssignValue.js +0 -31
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseCreate.js +0 -34
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFor.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js +0 -30
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js +0 -26
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js +0 -44
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js +0 -32
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeysIn.js +0 -32
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMerge.js +0 -42
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMergeDeep.js +0 -75
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseRest.js +0 -26
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSetToString.js +0 -31
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js +0 -23
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneArrayBuffer.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneBuffer.js +0 -35
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneTypedArray.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copyArray.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copyObject.js +0 -37
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js +0 -15
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createAssigner.js +0 -37
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createBaseFor.js +0 -28
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_defineProperty.js +0 -20
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js +0 -13
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js +0 -26
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getPrototype.js +0 -15
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js +0 -43
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js +0 -22
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js +0 -24
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js +0 -26
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js +0 -36
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js +0 -30
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js +0 -31
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_initCloneObject.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js +0 -28
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIterateeCall.js +0 -32
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js +0 -22
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js +0 -28
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js +0 -24
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js +0 -22
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js +0 -35
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js +0 -26
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js +0 -31
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js +0 -30
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js +0 -27
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js +0 -29
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js +0 -14
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeysIn.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js +0 -29
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js +0 -29
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js +0 -24
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overRest.js +0 -35
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js +0 -17
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_safeGet.js +0 -24
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToString.js +0 -23
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_shortOut.js +0 -34
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js +0 -24
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js +0 -23
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js +0 -23
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js +0 -42
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js +0 -33
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/constant.js +0 -35
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js +0 -46
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js +0 -30
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js +0 -43
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js +0 -35
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js +0 -42
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLikeObject.js +0 -42
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isBuffer.js +0 -41
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js +0 -38
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js +0 -42
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js +0 -40
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js +0 -38
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js +0 -60
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isTypedArray.js +0 -34
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keysIn.js +0 -41
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/merge.js +0 -48
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubFalse.js +0 -27
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toPlainObject.js +0 -41
- package/dist/node_modules/.pnpm/lower-case-first@2.0.2/node_modules/lower-case-first/dist/index.js +0 -21
- package/dist/node_modules/.pnpm/lower-case@2.0.2/node_modules/lower-case/dist/index.js +0 -64
- package/dist/node_modules/.pnpm/no-case@3.0.4/node_modules/no-case/dist/index.js +0 -41
- package/dist/node_modules/.pnpm/param-case@3.0.4/node_modules/param-case/dist/index.js +0 -23
- package/dist/node_modules/.pnpm/pascal-case@3.1.2/node_modules/pascal-case/dist/index.js +0 -37
- package/dist/node_modules/.pnpm/path-case@3.0.4/node_modules/path-case/dist/index.js +0 -23
- package/dist/node_modules/.pnpm/sentence-case@3.0.4/node_modules/sentence-case/dist/index.js +0 -34
- package/dist/node_modules/.pnpm/snake-case@3.0.4/node_modules/snake-case/dist/index.js +0 -23
- package/dist/node_modules/.pnpm/sponge-case@1.0.1/node_modules/sponge-case/dist/index.js +0 -20
- package/dist/node_modules/.pnpm/swap-case@2.0.2/node_modules/swap-case/dist/index.js +0 -23
- package/dist/node_modules/.pnpm/title-case@3.0.3/node_modules/title-case/dist/index.js +0 -35
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -547
- package/dist/node_modules/.pnpm/upper-case-first@2.0.2/node_modules/upper-case-first/dist/index.js +0 -21
- package/dist/node_modules/.pnpm/upper-case@2.0.2/node_modules/upper-case/dist/index.js +0 -56
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { __toESM } from "../../../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import "./utils.js";
|
|
3
|
-
import { require_merge } from "../../../../../lodash@4.17.21/node_modules/lodash/merge.js";
|
|
4
|
-
import "./index.js";
|
|
5
|
-
import { isObjectType, parse } from "graphql";
|
|
6
|
-
import "@graphql-tools/utils";
|
|
7
|
-
|
|
8
|
-
//#region node_modules/.pnpm/@graphql-codegen+plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/federation.js
|
|
9
|
-
var import_merge = __toESM(require_merge(), 1);
|
|
10
|
-
/**
|
|
11
|
-
* Federation Spec
|
|
12
|
-
*/
|
|
13
|
-
const federationSpec = parse(`
|
|
14
|
-
scalar _FieldSet
|
|
15
|
-
|
|
16
|
-
directive @external on FIELD_DEFINITION
|
|
17
|
-
directive @requires(fields: _FieldSet!) on FIELD_DEFINITION
|
|
18
|
-
directive @provides(fields: _FieldSet!) on FIELD_DEFINITION
|
|
19
|
-
directive @key(fields: _FieldSet!) on OBJECT | INTERFACE
|
|
20
|
-
`);
|
|
21
|
-
|
|
22
|
-
//#endregion
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { getDocumentNodeFromSchema, memoize1 } from "@graphql-tools/utils";
|
|
2
|
-
|
|
3
|
-
//#region node_modules/.pnpm/@graphql-codegen+plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/getCachedDocumentNodeFromSchema.js
|
|
4
|
-
const getCachedDocumentNodeFromSchema = memoize1(getDocumentNodeFromSchema);
|
|
5
|
-
|
|
6
|
-
//#endregion
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { getBaseType } from "./utils.js";
|
|
2
|
-
import { Kind, isListType, isNonNullType, isObjectType, visit } from "graphql";
|
|
3
|
-
|
|
4
|
-
//#region node_modules/.pnpm/@graphql-codegen+plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/helpers.js
|
|
5
|
-
function hasNullableTypeRecursively(type) {
|
|
6
|
-
if (!isNonNullType(type)) return true;
|
|
7
|
-
if (isListType(type) || isNonNullType(type)) return hasNullableTypeRecursively(type.ofType);
|
|
8
|
-
return false;
|
|
9
|
-
}
|
|
10
|
-
function isUsingTypes(document, externalFragments, schema) {
|
|
11
|
-
let foundFields = 0;
|
|
12
|
-
const typesStack = [];
|
|
13
|
-
visit(document, {
|
|
14
|
-
SelectionSet: {
|
|
15
|
-
enter(node, key, parent, anscestors) {
|
|
16
|
-
const insideIgnoredFragment = anscestors.find((f) => f.kind && f.kind === "FragmentDefinition" && externalFragments.includes(f.name.value));
|
|
17
|
-
if (insideIgnoredFragment) return;
|
|
18
|
-
const selections = node.selections || [];
|
|
19
|
-
if (schema && selections.length > 0) {
|
|
20
|
-
const nextTypeName = (() => {
|
|
21
|
-
if (parent.kind === Kind.FRAGMENT_DEFINITION) return parent.typeCondition.name.value;
|
|
22
|
-
if (parent.kind === Kind.FIELD) {
|
|
23
|
-
const lastType = typesStack[typesStack.length - 1];
|
|
24
|
-
if (!lastType) throw new Error(`Unable to find parent type! Please make sure you operation passes validation`);
|
|
25
|
-
const field = lastType.getFields()[parent.name.value];
|
|
26
|
-
if (!field) throw new Error(`Unable to find field "${parent.name.value}" on type "${lastType}"!`);
|
|
27
|
-
return getBaseType(field.type).name;
|
|
28
|
-
}
|
|
29
|
-
if (parent.kind === Kind.OPERATION_DEFINITION) {
|
|
30
|
-
if (parent.operation === "query") return schema.getQueryType().name;
|
|
31
|
-
if (parent.operation === "mutation") return schema.getMutationType().name;
|
|
32
|
-
if (parent.operation === "subscription") return schema.getSubscriptionType().name;
|
|
33
|
-
} else if (parent.kind === Kind.INLINE_FRAGMENT) {
|
|
34
|
-
if (parent.typeCondition) return parent.typeCondition.name.value;
|
|
35
|
-
return typesStack[typesStack.length - 1].name;
|
|
36
|
-
}
|
|
37
|
-
return null;
|
|
38
|
-
})();
|
|
39
|
-
typesStack.push(schema.getType(nextTypeName));
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
leave(node) {
|
|
43
|
-
const selections = node.selections || [];
|
|
44
|
-
if (schema && selections.length > 0) typesStack.pop();
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
Field: { enter: (node, key, parent, path, anscestors) => {
|
|
48
|
-
if (node.name.value.startsWith("__")) return;
|
|
49
|
-
const insideIgnoredFragment = anscestors.find((f) => f.kind && f.kind === "FragmentDefinition" && externalFragments.includes(f.name.value));
|
|
50
|
-
if (insideIgnoredFragment) return;
|
|
51
|
-
const selections = node.selectionSet ? node.selectionSet.selections || [] : [];
|
|
52
|
-
const relevantFragmentSpreads = selections.filter((s) => s.kind === Kind.FRAGMENT_SPREAD && !externalFragments.includes(s.name.value));
|
|
53
|
-
if (selections.length === 0 || relevantFragmentSpreads.length > 0) foundFields++;
|
|
54
|
-
if (schema) {
|
|
55
|
-
const lastType = typesStack[typesStack.length - 1];
|
|
56
|
-
if (lastType && isObjectType(lastType)) {
|
|
57
|
-
const field = lastType.getFields()[node.name.value];
|
|
58
|
-
if (!field) throw new Error(`Unable to find field "${node.name.value}" on type "${lastType}"!`);
|
|
59
|
-
const currentType = field.type;
|
|
60
|
-
if (hasNullableTypeRecursively(currentType)) foundFields++;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
} },
|
|
64
|
-
VariableDefinition: { enter: (node, key, parent, path, anscestors) => {
|
|
65
|
-
const insideIgnoredFragment = anscestors.find((f) => f.kind && f.kind === "FragmentDefinition" && externalFragments.includes(f.name.value));
|
|
66
|
-
if (insideIgnoredFragment) return;
|
|
67
|
-
foundFields++;
|
|
68
|
-
} },
|
|
69
|
-
InputValueDefinition: { enter: (node, key, parent, path, anscestors) => {
|
|
70
|
-
const insideIgnoredFragment = anscestors.find((f) => f.kind && f.kind === "FragmentDefinition" && externalFragments.includes(f.name.value));
|
|
71
|
-
if (insideIgnoredFragment) return;
|
|
72
|
-
foundFields++;
|
|
73
|
-
} }
|
|
74
|
-
});
|
|
75
|
-
return foundFields > 0;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
//#endregion
|
|
79
|
-
export { hasNullableTypeRecursively, isUsingTypes };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import "./resolve-external-module-and-fn.js";
|
|
2
|
-
import { getBaseType, isWrapperType } from "./utils.js";
|
|
3
|
-
import { hasNullableTypeRecursively, isUsingTypes } from "./helpers.js";
|
|
4
|
-
import "./federation.js";
|
|
5
|
-
import "./getCachedDocumentNodeFromSchema.js";
|
|
6
|
-
import "./oldVisit.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { visit } from "graphql";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { __toESM } from "../../../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require_dist } from "../../../../../change-case-all@1.0.15/node_modules/change-case-all/dist/index.js";
|
|
3
|
-
|
|
4
|
-
//#region node_modules/.pnpm/@graphql-codegen+plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/resolve-external-module-and-fn.js
|
|
5
|
-
var import_dist = __toESM(require_dist(), 1);
|
|
6
|
-
|
|
7
|
-
//#endregion
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { isListType, isNonNullType } from "graphql";
|
|
2
|
-
|
|
3
|
-
//#region node_modules/.pnpm/@graphql-codegen+plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/utils.js
|
|
4
|
-
function isWrapperType(t) {
|
|
5
|
-
return isListType(t) || isNonNullType(t);
|
|
6
|
-
}
|
|
7
|
-
function getBaseType(type) {
|
|
8
|
-
if (isWrapperType(type)) return getBaseType(type.ofType);
|
|
9
|
-
return type;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export { getBaseType, isWrapperType };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { __commonJS, __toCommonJS } from "../../../../../../_virtual/rolldown_runtime.js";
|
|
4
|
-
import { init_tslib_es6, tslib_es6_exports } from "../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
|
|
5
|
-
import { require_dist } from "../../../../pascal-case@3.1.2/node_modules/pascal-case/dist/index.js";
|
|
6
|
-
|
|
7
|
-
//#region node_modules/.pnpm/camel-case@4.1.2/node_modules/camel-case/dist/index.js
|
|
8
|
-
var require_dist$1 = __commonJS({ "node_modules/.pnpm/camel-case@4.1.2/node_modules/camel-case/dist/index.js"(exports) {
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.camelCase = exports.camelCaseTransformMerge = exports.camelCaseTransform = void 0;
|
|
11
|
-
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
12
|
-
var pascal_case_1 = require_dist();
|
|
13
|
-
function camelCaseTransform(input, index) {
|
|
14
|
-
if (index === 0) return input.toLowerCase();
|
|
15
|
-
return pascal_case_1.pascalCaseTransform(input, index);
|
|
16
|
-
}
|
|
17
|
-
exports.camelCaseTransform = camelCaseTransform;
|
|
18
|
-
function camelCaseTransformMerge(input, index) {
|
|
19
|
-
if (index === 0) return input.toLowerCase();
|
|
20
|
-
return pascal_case_1.pascalCaseTransformMerge(input);
|
|
21
|
-
}
|
|
22
|
-
exports.camelCaseTransformMerge = camelCaseTransformMerge;
|
|
23
|
-
function camelCase(input, options) {
|
|
24
|
-
if (options === void 0) options = {};
|
|
25
|
-
return pascal_case_1.pascalCase(input, tslib_1.__assign({ transform: camelCaseTransform }, options));
|
|
26
|
-
}
|
|
27
|
-
exports.camelCase = camelCase;
|
|
28
|
-
} });
|
|
29
|
-
|
|
30
|
-
//#endregion
|
|
31
|
-
export default require_dist$1();
|
|
32
|
-
|
|
33
|
-
export { require_dist$1 as require_dist };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { __commonJS, __toCommonJS } from "../../../../../../_virtual/rolldown_runtime.js";
|
|
4
|
-
import { init_tslib_es6, tslib_es6_exports } from "../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
|
|
5
|
-
import { require_dist } from "../../../../no-case@3.0.4/node_modules/no-case/dist/index.js";
|
|
6
|
-
import { require_dist as require_dist$1 } from "../../../../upper-case-first@2.0.2/node_modules/upper-case-first/dist/index.js";
|
|
7
|
-
|
|
8
|
-
//#region node_modules/.pnpm/capital-case@1.0.4/node_modules/capital-case/dist/index.js
|
|
9
|
-
var require_dist$2 = __commonJS({ "node_modules/.pnpm/capital-case@1.0.4/node_modules/capital-case/dist/index.js"(exports) {
|
|
10
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.capitalCase = exports.capitalCaseTransform = void 0;
|
|
12
|
-
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
13
|
-
var no_case_1 = require_dist();
|
|
14
|
-
var upper_case_first_1 = require_dist$1();
|
|
15
|
-
function capitalCaseTransform(input) {
|
|
16
|
-
return upper_case_first_1.upperCaseFirst(input.toLowerCase());
|
|
17
|
-
}
|
|
18
|
-
exports.capitalCaseTransform = capitalCaseTransform;
|
|
19
|
-
function capitalCase(input, options) {
|
|
20
|
-
if (options === void 0) options = {};
|
|
21
|
-
return no_case_1.noCase(input, tslib_1.__assign({
|
|
22
|
-
delimiter: " ",
|
|
23
|
-
transform: capitalCaseTransform
|
|
24
|
-
}, options));
|
|
25
|
-
}
|
|
26
|
-
exports.capitalCase = capitalCase;
|
|
27
|
-
} });
|
|
28
|
-
|
|
29
|
-
//#endregion
|
|
30
|
-
export default require_dist$2();
|
|
31
|
-
|
|
32
|
-
export { require_dist$2 as require_dist };
|
package/dist/node_modules/.pnpm/change-case-all@1.0.15/node_modules/change-case-all/dist/index.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { __commonJS } from "../../../../../../_virtual/rolldown_runtime.js";
|
|
4
|
-
import { require_dist } from "../../../../lower-case@2.0.2/node_modules/lower-case/dist/index.js";
|
|
5
|
-
import { require_dist as require_dist$1 } from "../../../../upper-case-first@2.0.2/node_modules/upper-case-first/dist/index.js";
|
|
6
|
-
import { require_dist as require_dist$2 } from "../../../../upper-case@2.0.2/node_modules/upper-case/dist/index.js";
|
|
7
|
-
import { require_dist as require_dist$3 } from "../../../../change-case@4.1.2/node_modules/change-case/dist/index.js";
|
|
8
|
-
import { require_dist as require_dist$4 } from "../../../../lower-case-first@2.0.2/node_modules/lower-case-first/dist/index.js";
|
|
9
|
-
import { require_dist as require_dist$5 } from "../../../../sponge-case@1.0.1/node_modules/sponge-case/dist/index.js";
|
|
10
|
-
import { require_dist as require_dist$6 } from "../../../../swap-case@2.0.2/node_modules/swap-case/dist/index.js";
|
|
11
|
-
import { require_dist as require_dist$7 } from "../../../../title-case@3.0.3/node_modules/title-case/dist/index.js";
|
|
12
|
-
import { require_dist as require_dist$8 } from "../../../../is-upper-case@2.0.2/node_modules/is-upper-case/dist/index.js";
|
|
13
|
-
import { require_dist as require_dist$9 } from "../../../../is-lower-case@2.0.2/node_modules/is-lower-case/dist/index.js";
|
|
14
|
-
|
|
15
|
-
//#region node_modules/.pnpm/change-case-all@1.0.15/node_modules/change-case-all/dist/index.js
|
|
16
|
-
var require_dist$10 = __commonJS({ "node_modules/.pnpm/change-case-all@1.0.15/node_modules/change-case-all/dist/index.js"(exports) {
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.isLowerCase = exports.isUpperCase = exports.upperCaseFirst = exports.localeUpperCase = exports.upperCase = exports.titleCase = exports.swapCase = exports.spongeCase = exports.lowerCaseFirst = exports.localeLowerCase = exports.lowerCase = exports.snakeCase = exports.sentenceCase = exports.pathCase = exports.pascalCase = exports.paramCase = exports.noCase = exports.headerCase = exports.dotCase = exports.constantCase = exports.capitalCase = exports.camelCase = void 0;
|
|
19
|
-
var changeCase = require_dist$3();
|
|
20
|
-
var lowerCase1 = require_dist();
|
|
21
|
-
var lowerCaseFirst1 = require_dist$4();
|
|
22
|
-
var spongeCase1 = require_dist$5();
|
|
23
|
-
var swapCase1 = require_dist$6();
|
|
24
|
-
var titleCase1 = require_dist$7();
|
|
25
|
-
var upperCase1 = require_dist$2();
|
|
26
|
-
var upperCaseFirst1 = require_dist$1();
|
|
27
|
-
var isUpperCase1 = require_dist$8();
|
|
28
|
-
var isLowerCase1 = require_dist$9();
|
|
29
|
-
exports.camelCase = changeCase.camelCase;
|
|
30
|
-
exports.capitalCase = changeCase.capitalCase;
|
|
31
|
-
exports.constantCase = changeCase.constantCase;
|
|
32
|
-
exports.dotCase = changeCase.dotCase;
|
|
33
|
-
exports.headerCase = changeCase.headerCase;
|
|
34
|
-
exports.noCase = changeCase.noCase;
|
|
35
|
-
exports.paramCase = changeCase.paramCase;
|
|
36
|
-
exports.pascalCase = changeCase.pascalCase;
|
|
37
|
-
exports.pathCase = changeCase.pathCase;
|
|
38
|
-
exports.sentenceCase = changeCase.sentenceCase;
|
|
39
|
-
exports.snakeCase = changeCase.snakeCase;
|
|
40
|
-
exports.lowerCase = lowerCase1.lowerCase;
|
|
41
|
-
exports.localeLowerCase = lowerCase1.localeLowerCase;
|
|
42
|
-
exports.lowerCaseFirst = lowerCaseFirst1.lowerCaseFirst;
|
|
43
|
-
exports.spongeCase = spongeCase1.spongeCase;
|
|
44
|
-
exports.swapCase = swapCase1.swapCase;
|
|
45
|
-
exports.titleCase = titleCase1.titleCase;
|
|
46
|
-
exports.upperCase = upperCase1.upperCase;
|
|
47
|
-
exports.localeUpperCase = upperCase1.localeUpperCase;
|
|
48
|
-
exports.upperCaseFirst = upperCaseFirst1.upperCaseFirst;
|
|
49
|
-
exports.isUpperCase = isUpperCase1.isUpperCase;
|
|
50
|
-
exports.isLowerCase = isLowerCase1.isLowerCase;
|
|
51
|
-
} });
|
|
52
|
-
|
|
53
|
-
//#endregion
|
|
54
|
-
export default require_dist$10();
|
|
55
|
-
|
|
56
|
-
export { require_dist$10 as require_dist };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { __commonJS, __toCommonJS } from "../../../../../../_virtual/rolldown_runtime.js";
|
|
4
|
-
import { init_tslib_es6, tslib_es6_exports } from "../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
|
|
5
|
-
import { require_dist } from "../../../../no-case@3.0.4/node_modules/no-case/dist/index.js";
|
|
6
|
-
import { require_dist as require_dist$1 } from "../../../../pascal-case@3.1.2/node_modules/pascal-case/dist/index.js";
|
|
7
|
-
import { require_dist as require_dist$2 } from "../../../../camel-case@4.1.2/node_modules/camel-case/dist/index.js";
|
|
8
|
-
import { require_dist as require_dist$3 } from "../../../../capital-case@1.0.4/node_modules/capital-case/dist/index.js";
|
|
9
|
-
import { require_dist as require_dist$4 } from "../../../../constant-case@3.0.4/node_modules/constant-case/dist/index.js";
|
|
10
|
-
import { require_dist as require_dist$5 } from "../../../../dot-case@3.0.4/node_modules/dot-case/dist/index.js";
|
|
11
|
-
import { require_dist as require_dist$6 } from "../../../../header-case@2.0.4/node_modules/header-case/dist/index.js";
|
|
12
|
-
import { require_dist as require_dist$7 } from "../../../../param-case@3.0.4/node_modules/param-case/dist/index.js";
|
|
13
|
-
import { require_dist as require_dist$8 } from "../../../../path-case@3.0.4/node_modules/path-case/dist/index.js";
|
|
14
|
-
import { require_dist as require_dist$9 } from "../../../../sentence-case@3.0.4/node_modules/sentence-case/dist/index.js";
|
|
15
|
-
import { require_dist as require_dist$10 } from "../../../../snake-case@3.0.4/node_modules/snake-case/dist/index.js";
|
|
16
|
-
|
|
17
|
-
//#region node_modules/.pnpm/change-case@4.1.2/node_modules/change-case/dist/index.js
|
|
18
|
-
var require_dist$11 = __commonJS({ "node_modules/.pnpm/change-case@4.1.2/node_modules/change-case/dist/index.js"(exports) {
|
|
19
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
21
|
-
tslib_1.__exportStar(require_dist$2(), exports);
|
|
22
|
-
tslib_1.__exportStar(require_dist$3(), exports);
|
|
23
|
-
tslib_1.__exportStar(require_dist$4(), exports);
|
|
24
|
-
tslib_1.__exportStar(require_dist$5(), exports);
|
|
25
|
-
tslib_1.__exportStar(require_dist$6(), exports);
|
|
26
|
-
tslib_1.__exportStar(require_dist(), exports);
|
|
27
|
-
tslib_1.__exportStar(require_dist$7(), exports);
|
|
28
|
-
tslib_1.__exportStar(require_dist$1(), exports);
|
|
29
|
-
tslib_1.__exportStar(require_dist$8(), exports);
|
|
30
|
-
tslib_1.__exportStar(require_dist$9(), exports);
|
|
31
|
-
tslib_1.__exportStar(require_dist$10(), exports);
|
|
32
|
-
} });
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
35
|
-
export default require_dist$11();
|
|
36
|
-
|
|
37
|
-
export { require_dist$11 as require_dist };
|
package/dist/node_modules/.pnpm/constant-case@3.0.4/node_modules/constant-case/dist/index.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { __commonJS, __toCommonJS } from "../../../../../../_virtual/rolldown_runtime.js";
|
|
4
|
-
import { init_tslib_es6, tslib_es6_exports } from "../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
|
|
5
|
-
import { require_dist } from "../../../../no-case@3.0.4/node_modules/no-case/dist/index.js";
|
|
6
|
-
import { require_dist as require_dist$1 } from "../../../../upper-case@2.0.2/node_modules/upper-case/dist/index.js";
|
|
7
|
-
|
|
8
|
-
//#region node_modules/.pnpm/constant-case@3.0.4/node_modules/constant-case/dist/index.js
|
|
9
|
-
var require_dist$2 = __commonJS({ "node_modules/.pnpm/constant-case@3.0.4/node_modules/constant-case/dist/index.js"(exports) {
|
|
10
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.constantCase = void 0;
|
|
12
|
-
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
13
|
-
var no_case_1 = require_dist();
|
|
14
|
-
var upper_case_1 = require_dist$1();
|
|
15
|
-
function constantCase(input, options) {
|
|
16
|
-
if (options === void 0) options = {};
|
|
17
|
-
return no_case_1.noCase(input, tslib_1.__assign({
|
|
18
|
-
delimiter: "_",
|
|
19
|
-
transform: upper_case_1.upperCase
|
|
20
|
-
}, options));
|
|
21
|
-
}
|
|
22
|
-
exports.constantCase = constantCase;
|
|
23
|
-
} });
|
|
24
|
-
|
|
25
|
-
//#endregion
|
|
26
|
-
export default require_dist$2();
|
|
27
|
-
|
|
28
|
-
export { require_dist$2 as require_dist };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { __commonJS, __toCommonJS } from "../../../../../../_virtual/rolldown_runtime.js";
|
|
4
|
-
import { init_tslib_es6, tslib_es6_exports } from "../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
|
|
5
|
-
import { require_dist } from "../../../../no-case@3.0.4/node_modules/no-case/dist/index.js";
|
|
6
|
-
|
|
7
|
-
//#region node_modules/.pnpm/dot-case@3.0.4/node_modules/dot-case/dist/index.js
|
|
8
|
-
var require_dist$1 = __commonJS({ "node_modules/.pnpm/dot-case@3.0.4/node_modules/dot-case/dist/index.js"(exports) {
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.dotCase = void 0;
|
|
11
|
-
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
12
|
-
var no_case_1 = require_dist();
|
|
13
|
-
function dotCase(input, options) {
|
|
14
|
-
if (options === void 0) options = {};
|
|
15
|
-
return no_case_1.noCase(input, tslib_1.__assign({ delimiter: "." }, options));
|
|
16
|
-
}
|
|
17
|
-
exports.dotCase = dotCase;
|
|
18
|
-
} });
|
|
19
|
-
|
|
20
|
-
//#endregion
|
|
21
|
-
export default require_dist$1();
|
|
22
|
-
|
|
23
|
-
export { require_dist$1 as require_dist };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { __commonJS, __toCommonJS } from "../../../../../../_virtual/rolldown_runtime.js";
|
|
4
|
-
import { init_tslib_es6, tslib_es6_exports } from "../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
|
|
5
|
-
import { require_dist } from "../../../../capital-case@1.0.4/node_modules/capital-case/dist/index.js";
|
|
6
|
-
|
|
7
|
-
//#region node_modules/.pnpm/header-case@2.0.4/node_modules/header-case/dist/index.js
|
|
8
|
-
var require_dist$1 = __commonJS({ "node_modules/.pnpm/header-case@2.0.4/node_modules/header-case/dist/index.js"(exports) {
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.headerCase = void 0;
|
|
11
|
-
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
12
|
-
var capital_case_1 = require_dist();
|
|
13
|
-
function headerCase(input, options) {
|
|
14
|
-
if (options === void 0) options = {};
|
|
15
|
-
return capital_case_1.capitalCase(input, tslib_1.__assign({ delimiter: "-" }, options));
|
|
16
|
-
}
|
|
17
|
-
exports.headerCase = headerCase;
|
|
18
|
-
} });
|
|
19
|
-
|
|
20
|
-
//#endregion
|
|
21
|
-
export default require_dist$1();
|
|
22
|
-
|
|
23
|
-
export { require_dist$1 as require_dist };
|
package/dist/node_modules/.pnpm/is-lower-case@2.0.2/node_modules/is-lower-case/dist/index.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { __commonJS } from "../../../../../../_virtual/rolldown_runtime.js";
|
|
4
|
-
|
|
5
|
-
//#region node_modules/.pnpm/is-lower-case@2.0.2/node_modules/is-lower-case/dist/index.js
|
|
6
|
-
var require_dist = __commonJS({ "node_modules/.pnpm/is-lower-case@2.0.2/node_modules/is-lower-case/dist/index.js"(exports) {
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.isLowerCase = void 0;
|
|
9
|
-
/**
|
|
10
|
-
* Returns a boolean indicating whether the string is lower case.
|
|
11
|
-
*/
|
|
12
|
-
function isLowerCase(input) {
|
|
13
|
-
return input.toLowerCase() === input && input.toUpperCase() !== input;
|
|
14
|
-
}
|
|
15
|
-
exports.isLowerCase = isLowerCase;
|
|
16
|
-
} });
|
|
17
|
-
|
|
18
|
-
//#endregion
|
|
19
|
-
export default require_dist();
|
|
20
|
-
|
|
21
|
-
export { require_dist };
|
package/dist/node_modules/.pnpm/is-upper-case@2.0.2/node_modules/is-upper-case/dist/index.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { __commonJS } from "../../../../../../_virtual/rolldown_runtime.js";
|
|
4
|
-
|
|
5
|
-
//#region node_modules/.pnpm/is-upper-case@2.0.2/node_modules/is-upper-case/dist/index.js
|
|
6
|
-
var require_dist = __commonJS({ "node_modules/.pnpm/is-upper-case@2.0.2/node_modules/is-upper-case/dist/index.js"(exports) {
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.isUpperCase = void 0;
|
|
9
|
-
/**
|
|
10
|
-
* Returns a boolean indicating whether the string is upper case.
|
|
11
|
-
*/
|
|
12
|
-
function isUpperCase(input) {
|
|
13
|
-
return input.toUpperCase() === input && input.toLowerCase() !== input;
|
|
14
|
-
}
|
|
15
|
-
exports.isUpperCase = isUpperCase;
|
|
16
|
-
} });
|
|
17
|
-
|
|
18
|
-
//#endregion
|
|
19
|
-
export default require_dist();
|
|
20
|
-
|
|
21
|
-
export { require_dist };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require__hashClear } from "./_hashClear.js";
|
|
3
|
-
import { require__hashDelete } from "./_hashDelete.js";
|
|
4
|
-
import { require__hashGet } from "./_hashGet.js";
|
|
5
|
-
import { require__hashHas } from "./_hashHas.js";
|
|
6
|
-
import { require__hashSet } from "./_hashSet.js";
|
|
7
|
-
|
|
8
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js
|
|
9
|
-
var require__Hash = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js"(exports, module) {
|
|
10
|
-
var hashClear = require__hashClear(), hashDelete = require__hashDelete(), hashGet = require__hashGet(), hashHas = require__hashHas(), hashSet = require__hashSet();
|
|
11
|
-
/**
|
|
12
|
-
* Creates a hash object.
|
|
13
|
-
*
|
|
14
|
-
* @private
|
|
15
|
-
* @constructor
|
|
16
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
17
|
-
*/
|
|
18
|
-
function Hash(entries) {
|
|
19
|
-
var index = -1, length = entries == null ? 0 : entries.length;
|
|
20
|
-
this.clear();
|
|
21
|
-
while (++index < length) {
|
|
22
|
-
var entry = entries[index];
|
|
23
|
-
this.set(entry[0], entry[1]);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
Hash.prototype.clear = hashClear;
|
|
27
|
-
Hash.prototype["delete"] = hashDelete;
|
|
28
|
-
Hash.prototype.get = hashGet;
|
|
29
|
-
Hash.prototype.has = hashHas;
|
|
30
|
-
Hash.prototype.set = hashSet;
|
|
31
|
-
module.exports = Hash;
|
|
32
|
-
} });
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
35
|
-
export default require__Hash();
|
|
36
|
-
|
|
37
|
-
export { require__Hash };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require__listCacheClear } from "./_listCacheClear.js";
|
|
3
|
-
import { require__listCacheDelete } from "./_listCacheDelete.js";
|
|
4
|
-
import { require__listCacheGet } from "./_listCacheGet.js";
|
|
5
|
-
import { require__listCacheHas } from "./_listCacheHas.js";
|
|
6
|
-
import { require__listCacheSet } from "./_listCacheSet.js";
|
|
7
|
-
|
|
8
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js
|
|
9
|
-
var require__ListCache = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js"(exports, module) {
|
|
10
|
-
var listCacheClear = require__listCacheClear(), listCacheDelete = require__listCacheDelete(), listCacheGet = require__listCacheGet(), listCacheHas = require__listCacheHas(), listCacheSet = require__listCacheSet();
|
|
11
|
-
/**
|
|
12
|
-
* Creates an list cache object.
|
|
13
|
-
*
|
|
14
|
-
* @private
|
|
15
|
-
* @constructor
|
|
16
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
17
|
-
*/
|
|
18
|
-
function ListCache(entries) {
|
|
19
|
-
var index = -1, length = entries == null ? 0 : entries.length;
|
|
20
|
-
this.clear();
|
|
21
|
-
while (++index < length) {
|
|
22
|
-
var entry = entries[index];
|
|
23
|
-
this.set(entry[0], entry[1]);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
ListCache.prototype.clear = listCacheClear;
|
|
27
|
-
ListCache.prototype["delete"] = listCacheDelete;
|
|
28
|
-
ListCache.prototype.get = listCacheGet;
|
|
29
|
-
ListCache.prototype.has = listCacheHas;
|
|
30
|
-
ListCache.prototype.set = listCacheSet;
|
|
31
|
-
module.exports = ListCache;
|
|
32
|
-
} });
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
35
|
-
export default require__ListCache();
|
|
36
|
-
|
|
37
|
-
export { require__ListCache };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require__root } from "./_root.js";
|
|
3
|
-
import { require__getNative } from "./_getNative.js";
|
|
4
|
-
|
|
5
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js
|
|
6
|
-
var require__Map = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js"(exports, module) {
|
|
7
|
-
var getNative = require__getNative(), root = require__root();
|
|
8
|
-
var Map = getNative(root, "Map");
|
|
9
|
-
module.exports = Map;
|
|
10
|
-
} });
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export default require__Map();
|
|
14
|
-
|
|
15
|
-
export { require__Map };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require__mapCacheClear } from "./_mapCacheClear.js";
|
|
3
|
-
import { require__mapCacheDelete } from "./_mapCacheDelete.js";
|
|
4
|
-
import { require__mapCacheGet } from "./_mapCacheGet.js";
|
|
5
|
-
import { require__mapCacheHas } from "./_mapCacheHas.js";
|
|
6
|
-
import { require__mapCacheSet } from "./_mapCacheSet.js";
|
|
7
|
-
|
|
8
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js
|
|
9
|
-
var require__MapCache = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js"(exports, module) {
|
|
10
|
-
var mapCacheClear = require__mapCacheClear(), mapCacheDelete = require__mapCacheDelete(), mapCacheGet = require__mapCacheGet(), mapCacheHas = require__mapCacheHas(), mapCacheSet = require__mapCacheSet();
|
|
11
|
-
/**
|
|
12
|
-
* Creates a map cache object to store key-value pairs.
|
|
13
|
-
*
|
|
14
|
-
* @private
|
|
15
|
-
* @constructor
|
|
16
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
17
|
-
*/
|
|
18
|
-
function MapCache(entries) {
|
|
19
|
-
var index = -1, length = entries == null ? 0 : entries.length;
|
|
20
|
-
this.clear();
|
|
21
|
-
while (++index < length) {
|
|
22
|
-
var entry = entries[index];
|
|
23
|
-
this.set(entry[0], entry[1]);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
MapCache.prototype.clear = mapCacheClear;
|
|
27
|
-
MapCache.prototype["delete"] = mapCacheDelete;
|
|
28
|
-
MapCache.prototype.get = mapCacheGet;
|
|
29
|
-
MapCache.prototype.has = mapCacheHas;
|
|
30
|
-
MapCache.prototype.set = mapCacheSet;
|
|
31
|
-
module.exports = MapCache;
|
|
32
|
-
} });
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
35
|
-
export default require__MapCache();
|
|
36
|
-
|
|
37
|
-
export { require__MapCache };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require__ListCache } from "./_ListCache.js";
|
|
3
|
-
import { require__stackClear } from "./_stackClear.js";
|
|
4
|
-
import { require__stackDelete } from "./_stackDelete.js";
|
|
5
|
-
import { require__stackGet } from "./_stackGet.js";
|
|
6
|
-
import { require__stackHas } from "./_stackHas.js";
|
|
7
|
-
import { require__stackSet } from "./_stackSet.js";
|
|
8
|
-
|
|
9
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js
|
|
10
|
-
var require__Stack = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js"(exports, module) {
|
|
11
|
-
var ListCache = require__ListCache(), stackClear = require__stackClear(), stackDelete = require__stackDelete(), stackGet = require__stackGet(), stackHas = require__stackHas(), stackSet = require__stackSet();
|
|
12
|
-
/**
|
|
13
|
-
* Creates a stack cache object to store key-value pairs.
|
|
14
|
-
*
|
|
15
|
-
* @private
|
|
16
|
-
* @constructor
|
|
17
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
18
|
-
*/
|
|
19
|
-
function Stack(entries) {
|
|
20
|
-
var data = this.__data__ = new ListCache(entries);
|
|
21
|
-
this.size = data.size;
|
|
22
|
-
}
|
|
23
|
-
Stack.prototype.clear = stackClear;
|
|
24
|
-
Stack.prototype["delete"] = stackDelete;
|
|
25
|
-
Stack.prototype.get = stackGet;
|
|
26
|
-
Stack.prototype.has = stackHas;
|
|
27
|
-
Stack.prototype.set = stackSet;
|
|
28
|
-
module.exports = Stack;
|
|
29
|
-
} });
|
|
30
|
-
|
|
31
|
-
//#endregion
|
|
32
|
-
export default require__Stack();
|
|
33
|
-
|
|
34
|
-
export { require__Stack };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require__root } from "./_root.js";
|
|
3
|
-
|
|
4
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js
|
|
5
|
-
var require__Symbol = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js"(exports, module) {
|
|
6
|
-
var root = require__root();
|
|
7
|
-
/** Built-in value references. */
|
|
8
|
-
var Symbol = root.Symbol;
|
|
9
|
-
module.exports = Symbol;
|
|
10
|
-
} });
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export default require__Symbol();
|
|
14
|
-
|
|
15
|
-
export { require__Symbol };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require__root } from "./_root.js";
|
|
3
|
-
|
|
4
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js
|
|
5
|
-
var require__Uint8Array = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js"(exports, module) {
|
|
6
|
-
var root = require__root();
|
|
7
|
-
/** Built-in value references. */
|
|
8
|
-
var Uint8Array = root.Uint8Array;
|
|
9
|
-
module.exports = Uint8Array;
|
|
10
|
-
} });
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export default require__Uint8Array();
|
|
14
|
-
|
|
15
|
-
export { require__Uint8Array };
|