@powerhousedao/powerhouse-vetra-packages 6.2.3-dev.5 → 6.2.3-dev.51
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/dist/browser/assets/{entry-5_Eh4a2Z.js → entry-BETsJgYg.js} +111 -7
- package/dist/browser/assets/{projection-entry-5PVbP10h.js → projection-entry-CdlLTrjU.js} +99 -21
- package/dist/browser/document-models/index.js +2 -1
- package/dist/browser/{documents-J_l59mSV.js → documents-CRzouuNR.js} +631 -752
- package/dist/browser/documents-CRzouuNR.js.map +1 -0
- package/dist/browser/editor-C7KBR_ar.js +4676 -0
- package/dist/browser/editor-C7KBR_ar.js.map +1 -0
- package/dist/browser/{editor-Cbl_EDjI.js → editor-CiR6XQBO.js} +4 -5
- package/dist/browser/{editor-Cbl_EDjI.js.map → editor-CiR6XQBO.js.map} +1 -1
- package/dist/browser/editors/document-model-editor/module.js +1 -1
- package/dist/browser/editors/document-model-editor/module.js.map +1 -1
- package/dist/browser/editors/generic-drive-explorer/index.js +81 -65
- package/dist/browser/editors/generic-drive-explorer/index.js.map +1 -1
- package/dist/browser/editors/generic-drive-explorer/module.js +1 -1
- package/dist/browser/editors/generic-drive-explorer/module.js.map +1 -1
- package/dist/browser/folder-view-DSgXN79D.js +4409 -0
- package/dist/browser/folder-view-DSgXN79D.js.map +1 -0
- package/dist/browser/{graphql-editor-BcL3-Zha.js → graphql-editor-Cgi5UOrF.js} +98 -88
- package/dist/browser/graphql-editor-Cgi5UOrF.js.map +1 -0
- package/dist/{node/hooks-D0DcS3MV.mjs → browser/hooks-eQxBX7g4.js} +824 -444
- package/dist/browser/{hooks-KKcNp2X0.js.map → hooks-eQxBX7g4.js.map} +1 -1
- package/dist/browser/index.js +137 -34
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/{json-editor-DHXQRIN5.js → json-editor-DfRD-pfk.js} +8 -9
- package/dist/browser/{json-editor-DHXQRIN5.js.map → json-editor-DfRD-pfk.js.map} +1 -1
- package/dist/browser/{parser-CkF6Qt8V.js → parser-DtbeHA3H.js} +7 -6
- package/dist/browser/{parser-CkF6Qt8V.js.map → parser-DtbeHA3H.js.map} +1 -1
- package/dist/browser/rolldown-runtime-DC62tzP2.js +33 -0
- package/dist/browser/src-CrUksCLW-B2dkRdgq.js +5254 -0
- package/dist/browser/src-CrUksCLW-B2dkRdgq.js.map +1 -0
- package/dist/browser/state-schemas-B5Bk_l1s.js +696 -0
- package/dist/browser/state-schemas-B5Bk_l1s.js.map +1 -0
- package/dist/browser/tslib.es6-Cno80yFJ.js +32 -0
- package/dist/browser/tslib.es6-Cno80yFJ.js.map +1 -0
- package/dist/node/document-models/index.mjs +2 -1
- package/dist/node/documents-D70S9PZL.mjs +17 -0
- package/dist/node/documents-D70S9PZL.mjs.map +1 -0
- package/dist/node/editor-96sMeumV.mjs +4597 -0
- package/dist/node/editor-96sMeumV.mjs.map +1 -0
- package/dist/node/{editor-DG1q4Y55.mjs → editor-wqvKwcO5.mjs} +4 -5
- package/dist/node/{editor-DG1q4Y55.mjs.map → editor-wqvKwcO5.mjs.map} +1 -1
- package/dist/node/editors/document-model-editor/module.mjs +1 -1
- package/dist/node/editors/document-model-editor/module.mjs.map +1 -1
- package/dist/node/editors/generic-drive-explorer/index.mjs +26 -21
- package/dist/node/editors/generic-drive-explorer/index.mjs.map +1 -1
- package/dist/node/editors/generic-drive-explorer/module.mjs +1 -1
- package/dist/node/editors/generic-drive-explorer/module.mjs.map +1 -1
- package/dist/node/folder-view-ktfv2Cvw.mjs +4409 -0
- package/dist/node/folder-view-ktfv2Cvw.mjs.map +1 -0
- package/dist/node/{graphql-BfAoPeWM.mjs → graphql-Dp4j7rmx.mjs} +50 -49
- package/dist/node/{graphql-BfAoPeWM.mjs.map → graphql-Dp4j7rmx.mjs.map} +1 -1
- package/dist/node/{graphql-editor-B-XIb6az.mjs → graphql-editor-CBJXEY_C.mjs} +77 -63
- package/dist/node/graphql-editor-CBJXEY_C.mjs.map +1 -0
- package/dist/{browser/hooks-KKcNp2X0.js → node/hooks-C2b46djt.mjs} +824 -444
- package/dist/node/{hooks-D0DcS3MV.mjs.map → hooks-C2b46djt.mjs.map} +1 -1
- package/dist/node/index.mjs +158 -35
- package/dist/node/index.mjs.map +1 -1
- package/dist/node/{json-editor-DB0vi6tV.mjs → json-editor-DaqHARBD.mjs} +8 -9
- package/dist/node/{json-editor-DB0vi6tV.mjs.map → json-editor-DaqHARBD.mjs.map} +1 -1
- package/dist/node/{schema-context-DL8jhi_d.mjs → schema-context-CojjnSE6.mjs} +6 -5
- package/dist/node/schema-context-CojjnSE6.mjs.map +1 -0
- package/dist/node/src-CrUksCLW-TvF37aMo.mjs +5935 -0
- package/dist/node/src-CrUksCLW-TvF37aMo.mjs.map +1 -0
- package/dist/node/state-schemas-BHuo0GPl.mjs +698 -0
- package/dist/node/state-schemas-BHuo0GPl.mjs.map +1 -0
- package/dist/node/{main-B1tRsYOp.mjs → tslib.es6-VORZjfk3.mjs} +40 -202
- package/dist/node/tslib.es6-VORZjfk3.mjs.map +1 -0
- package/package.json +12 -12
- package/dist/browser/button-CuO8Gh3v.js +0 -696
- package/dist/browser/button-CuO8Gh3v.js.map +0 -1
- package/dist/browser/connect-BtHSAuSc.js +0 -14328
- package/dist/browser/connect-BtHSAuSc.js.map +0 -1
- package/dist/browser/dist-B4FWbuEM.js +0 -4148
- package/dist/browser/dist-B4FWbuEM.js.map +0 -1
- package/dist/browser/dist-BAJ5nRDl.js +0 -2711
- package/dist/browser/dist-BAJ5nRDl.js.map +0 -1
- package/dist/browser/dist-D69hfRZN.js +0 -4641
- package/dist/browser/dist-D69hfRZN.js.map +0 -1
- package/dist/browser/document-drive-BEXJ-rHp.js +0 -8277
- package/dist/browser/document-drive-BEXJ-rHp.js.map +0 -1
- package/dist/browser/documents-J_l59mSV.js.map +0 -1
- package/dist/browser/editor-mNThkZOv.js +0 -1809
- package/dist/browser/editor-mNThkZOv.js.map +0 -1
- package/dist/browser/folder-view-D8AkN1Oj.js +0 -232
- package/dist/browser/folder-view-D8AkN1Oj.js.map +0 -1
- package/dist/browser/graphql-editor-BcL3-Zha.js.map +0 -1
- package/dist/browser/lib-ewnRj2dJ.js +0 -209
- package/dist/browser/lib-ewnRj2dJ.js.map +0 -1
- package/dist/browser/printer-CEYr4JOg.js +0 -604
- package/dist/browser/printer-CEYr4JOg.js.map +0 -1
- package/dist/browser/schema-context-ZyeclQwy.js +0 -69
- package/dist/browser/schema-context-ZyeclQwy.js.map +0 -1
- package/dist/browser/state-schemas-C4F8lReN.js +0 -298
- package/dist/browser/state-schemas-C4F8lReN.js.map +0 -1
- package/dist/node/button-Da7CxMn7.mjs +0 -678
- package/dist/node/button-Da7CxMn7.mjs.map +0 -1
- package/dist/node/connect-B6IQsY6u.mjs +0 -15022
- package/dist/node/connect-B6IQsY6u.mjs.map +0 -1
- package/dist/node/dist-CzYOpeXN.mjs +0 -2711
- package/dist/node/dist-CzYOpeXN.mjs.map +0 -1
- package/dist/node/dist-DT7jI9ol.mjs +0 -4148
- package/dist/node/dist-DT7jI9ol.mjs.map +0 -1
- package/dist/node/dist-hd-KLWy7.mjs +0 -4649
- package/dist/node/dist-hd-KLWy7.mjs.map +0 -1
- package/dist/node/document-drive-CkV9NvD7.mjs +0 -8294
- package/dist/node/document-drive-CkV9NvD7.mjs.map +0 -1
- package/dist/node/documents-DCf53bzO.mjs +0 -747
- package/dist/node/documents-DCf53bzO.mjs.map +0 -1
- package/dist/node/editor-C93fdI28.mjs +0 -1809
- package/dist/node/editor-C93fdI28.mjs.map +0 -1
- package/dist/node/folder-view-BGabHV7H.mjs +0 -232
- package/dist/node/folder-view-BGabHV7H.mjs.map +0 -1
- package/dist/node/graphql-editor-B-XIb6az.mjs.map +0 -1
- package/dist/node/main-B1tRsYOp.mjs.map +0 -1
- package/dist/node/schema-context-DL8jhi_d.mjs.map +0 -1
- package/dist/node/state-schemas-BGsgtEG1.mjs +0 -299
- package/dist/node/state-schemas-BGsgtEG1.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as __commonJSMin } from "./tslib.es6-VORZjfk3.mjs";
|
|
2
2
|
//#region ../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/version.js
|
|
3
3
|
var require_version = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -3425,19 +3425,21 @@ var require_visitor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3425
3425
|
key = ancestors.length === 0 ? void 0 : path[path.length - 1];
|
|
3426
3426
|
node = parent;
|
|
3427
3427
|
parent = ancestors.pop();
|
|
3428
|
-
if (isEdited)
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
const
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3428
|
+
if (isEdited) {
|
|
3429
|
+
if (inArray) {
|
|
3430
|
+
node = node.slice();
|
|
3431
|
+
let editOffset = 0;
|
|
3432
|
+
for (const [editKey, editValue] of edits) {
|
|
3433
|
+
const arrayKey = editKey - editOffset;
|
|
3434
|
+
if (editValue === null) {
|
|
3435
|
+
node.splice(arrayKey, 1);
|
|
3436
|
+
editOffset++;
|
|
3437
|
+
} else node[arrayKey] = editValue;
|
|
3438
|
+
}
|
|
3439
|
+
} else {
|
|
3440
|
+
node = { ...node };
|
|
3441
|
+
for (const [editKey, editValue] of edits) node[editKey] = editValue;
|
|
3437
3442
|
}
|
|
3438
|
-
} else {
|
|
3439
|
-
node = { ...node };
|
|
3440
|
-
for (const [editKey, editValue] of edits) node[editKey] = editValue;
|
|
3441
3443
|
}
|
|
3442
3444
|
index = stack.index;
|
|
3443
3445
|
keys = stack.keys;
|
|
@@ -3464,10 +3466,12 @@ var require_visitor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3464
3466
|
}
|
|
3465
3467
|
} else if (result !== void 0) {
|
|
3466
3468
|
edits.push([key, result]);
|
|
3467
|
-
if (!isLeaving)
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3469
|
+
if (!isLeaving) {
|
|
3470
|
+
if ((0, _ast.isNode)(result)) node = result;
|
|
3471
|
+
else {
|
|
3472
|
+
path.pop();
|
|
3473
|
+
continue;
|
|
3474
|
+
}
|
|
3471
3475
|
}
|
|
3472
3476
|
}
|
|
3473
3477
|
}
|
|
@@ -6389,7 +6393,6 @@ var require_TypeInfo = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6389
6393
|
this._enumValue = enumValue;
|
|
6390
6394
|
break;
|
|
6391
6395
|
}
|
|
6392
|
-
default:
|
|
6393
6396
|
}
|
|
6394
6397
|
}
|
|
6395
6398
|
leave(node) {
|
|
@@ -6422,10 +6425,7 @@ var require_TypeInfo = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6422
6425
|
this._defaultValueStack.pop();
|
|
6423
6426
|
this._inputTypeStack.pop();
|
|
6424
6427
|
break;
|
|
6425
|
-
case _kinds.Kind.ENUM:
|
|
6426
|
-
this._enumValue = null;
|
|
6427
|
-
break;
|
|
6428
|
-
default:
|
|
6428
|
+
case _kinds.Kind.ENUM: this._enumValue = null;
|
|
6429
6429
|
}
|
|
6430
6430
|
}
|
|
6431
6431
|
};
|
|
@@ -6794,6 +6794,7 @@ var require_KnownDirectivesRule = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6794
6794
|
"kind" in parentNode || (0, _invariant.invariant)(false);
|
|
6795
6795
|
return parentNode.kind === _kinds.Kind.INPUT_OBJECT_TYPE_DEFINITION ? _directiveLocation.DirectiveLocation.INPUT_FIELD_DEFINITION : _directiveLocation.DirectiveLocation.ARGUMENT_DEFINITION;
|
|
6796
6796
|
}
|
|
6797
|
+
/* c8 ignore next */
|
|
6797
6798
|
default: (0, _invariant.invariant)(false, "Unexpected kind: " + (0, _inspect.inspect)(appliedTo.kind));
|
|
6798
6799
|
}
|
|
6799
6800
|
}
|
|
@@ -7437,7 +7438,7 @@ var require_OverlappingFieldsCanBeMergedRule = /* @__PURE__ */ __commonJSMin(((e
|
|
|
7437
7438
|
}
|
|
7438
7439
|
add(a, b, weaklyPresent) {
|
|
7439
7440
|
const map = this._data.get(a);
|
|
7440
|
-
if (map === void 0) this._data.set(a, new Map([[b, weaklyPresent]]));
|
|
7441
|
+
if (map === void 0) this._data.set(a, /* @__PURE__ */ new Map([[b, weaklyPresent]]));
|
|
7441
7442
|
else map.set(b, weaklyPresent);
|
|
7442
7443
|
}
|
|
7443
7444
|
};
|
|
@@ -7584,6 +7585,7 @@ var require_PossibleTypeExtensionsRule = /* @__PURE__ */ __commonJSMin(((exports
|
|
|
7584
7585
|
case _kinds.Kind.UNION_TYPE_EXTENSION: return "union";
|
|
7585
7586
|
case _kinds.Kind.ENUM_TYPE_EXTENSION: return "enum";
|
|
7586
7587
|
case _kinds.Kind.INPUT_OBJECT_TYPE_EXTENSION: return "input object";
|
|
7588
|
+
/* c8 ignore next */
|
|
7587
7589
|
default: (0, _invariant.invariant)(false, "Unexpected kind: " + (0, _inspect.inspect)(kind));
|
|
7588
7590
|
}
|
|
7589
7591
|
}
|
|
@@ -7776,7 +7778,8 @@ var require_coerceInputValue = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7776
7778
|
if ((0, _definition.isListType)(type)) {
|
|
7777
7779
|
const itemType = type.ofType;
|
|
7778
7780
|
if ((0, _isIterableObject.isIterableObject)(inputValue)) return Array.from(inputValue, (itemValue, index) => {
|
|
7779
|
-
|
|
7781
|
+
const itemPath = (0, _Path.addPath)(path, index, void 0);
|
|
7782
|
+
return coerceInputValueImpl(itemValue, itemType, onError, itemPath);
|
|
7780
7783
|
});
|
|
7781
7784
|
return [coerceInputValueImpl(inputValue, itemType, onError, path)];
|
|
7782
7785
|
}
|
|
@@ -8356,8 +8359,10 @@ var require_UniqueDirectivesPerLocationRule = /* @__PURE__ */ __commonJSMin(((ex
|
|
|
8356
8359
|
} else seenDirectives = Object.create(null);
|
|
8357
8360
|
for (const directive of node.directives) {
|
|
8358
8361
|
const directiveName = directive.name.value;
|
|
8359
|
-
if (uniqueDirectiveMap[directiveName])
|
|
8360
|
-
|
|
8362
|
+
if (uniqueDirectiveMap[directiveName]) {
|
|
8363
|
+
if (seenDirectives[directiveName]) context.reportError(new _GraphQLError.GraphQLError(`The directive "@${directiveName}" can only be used once at this location.`, { nodes: [seenDirectives[directiveName], directive] }));
|
|
8364
|
+
else seenDirectives[directiveName] = directive;
|
|
8365
|
+
}
|
|
8361
8366
|
}
|
|
8362
8367
|
} };
|
|
8363
8368
|
}
|
|
@@ -8527,8 +8532,10 @@ var require_UniqueOperationNamesRule = /* @__PURE__ */ __commonJSMin(((exports)
|
|
|
8527
8532
|
return {
|
|
8528
8533
|
OperationDefinition(node) {
|
|
8529
8534
|
const operationName = node.name;
|
|
8530
|
-
if (operationName)
|
|
8531
|
-
|
|
8535
|
+
if (operationName) {
|
|
8536
|
+
if (knownOperationNames[operationName.value]) context.reportError(new _GraphQLError.GraphQLError(`There can be only one operation named "${operationName.value}".`, { nodes: [knownOperationNames[operationName.value], operationName] }));
|
|
8537
|
+
else knownOperationNames[operationName.value] = operationName;
|
|
8538
|
+
}
|
|
8532
8539
|
return false;
|
|
8533
8540
|
},
|
|
8534
8541
|
FragmentDefinition: () => false
|
|
@@ -9436,10 +9443,7 @@ var require_execute = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
9436
9443
|
operation = definition;
|
|
9437
9444
|
} else if (((_definition$name = definition.name) === null || _definition$name === void 0 ? void 0 : _definition$name.value) === operationName) operation = definition;
|
|
9438
9445
|
break;
|
|
9439
|
-
case _kinds.Kind.FRAGMENT_DEFINITION:
|
|
9440
|
-
fragments[definition.name.value] = definition;
|
|
9441
|
-
break;
|
|
9442
|
-
default:
|
|
9446
|
+
case _kinds.Kind.FRAGMENT_DEFINITION: fragments[definition.name.value] = definition;
|
|
9443
9447
|
}
|
|
9444
9448
|
if (!operation) {
|
|
9445
9449
|
if (operationName != null) return [new _GraphQLError.GraphQLError(`Unknown operation named "${operationName}".`)];
|
|
@@ -12118,9 +12122,7 @@ var require_buildASTSchema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
12118
12122
|
case "Mutation":
|
|
12119
12123
|
config.mutation = type;
|
|
12120
12124
|
break;
|
|
12121
|
-
case "Subscription":
|
|
12122
|
-
config.subscription = type;
|
|
12123
|
-
break;
|
|
12125
|
+
case "Subscription": config.subscription = type;
|
|
12124
12126
|
}
|
|
12125
12127
|
const directives = [...config.directives, ..._directives.specifiedDirectives.filter((stdDirective) => config.directives.every((directive) => directive.name !== stdDirective.name))];
|
|
12126
12128
|
return new _schema.GraphQLSchema({
|
|
@@ -12463,10 +12465,7 @@ var require_separateOperations = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
12463
12465
|
case _kinds.Kind.OPERATION_DEFINITION:
|
|
12464
12466
|
operations.push(definitionNode);
|
|
12465
12467
|
break;
|
|
12466
|
-
case _kinds.Kind.FRAGMENT_DEFINITION:
|
|
12467
|
-
depGraph[definitionNode.name.value] = collectDependencies(definitionNode.selectionSet);
|
|
12468
|
-
break;
|
|
12469
|
-
default:
|
|
12468
|
+
case _kinds.Kind.FRAGMENT_DEFINITION: depGraph[definitionNode.name.value] = collectDependencies(definitionNode.selectionSet);
|
|
12470
12469
|
}
|
|
12471
12470
|
const separatedDocumentASTs = Object.create(null);
|
|
12472
12471
|
for (const operation of operations) {
|
|
@@ -12819,17 +12818,19 @@ var require_findBreakingChanges = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
12819
12818
|
type: BreakingChangeType.ARG_CHANGED_KIND,
|
|
12820
12819
|
description: `${oldType.name}.${oldField.name} arg ${oldArg.name} has changed type from ${String(oldArg.type)} to ${String(newArg.type)}.`
|
|
12821
12820
|
});
|
|
12822
|
-
else if (oldArg.defaultValue !== void 0)
|
|
12823
|
-
|
|
12824
|
-
description: `${oldType.name}.${oldField.name} arg ${oldArg.name} defaultValue was removed.`
|
|
12825
|
-
});
|
|
12826
|
-
else {
|
|
12827
|
-
const oldValueStr = stringifyValue(oldArg.defaultValue, oldArg.type);
|
|
12828
|
-
const newValueStr = stringifyValue(newArg.defaultValue, newArg.type);
|
|
12829
|
-
if (oldValueStr !== newValueStr) schemaChanges.push({
|
|
12821
|
+
else if (oldArg.defaultValue !== void 0) {
|
|
12822
|
+
if (newArg.defaultValue === void 0) schemaChanges.push({
|
|
12830
12823
|
type: DangerousChangeType.ARG_DEFAULT_VALUE_CHANGE,
|
|
12831
|
-
description: `${oldType.name}.${oldField.name} arg ${oldArg.name}
|
|
12824
|
+
description: `${oldType.name}.${oldField.name} arg ${oldArg.name} defaultValue was removed.`
|
|
12832
12825
|
});
|
|
12826
|
+
else {
|
|
12827
|
+
const oldValueStr = stringifyValue(oldArg.defaultValue, oldArg.type);
|
|
12828
|
+
const newValueStr = stringifyValue(newArg.defaultValue, newArg.type);
|
|
12829
|
+
if (oldValueStr !== newValueStr) schemaChanges.push({
|
|
12830
|
+
type: DangerousChangeType.ARG_DEFAULT_VALUE_CHANGE,
|
|
12831
|
+
description: `${oldType.name}.${oldField.name} arg ${oldArg.name} has changed defaultValue from ${oldValueStr} to ${newValueStr}.`
|
|
12832
|
+
});
|
|
12833
|
+
}
|
|
12833
12834
|
}
|
|
12834
12835
|
for (const newArg of argsDiff.added) if ((0, _definition.isRequiredArgument)(newArg)) schemaChanges.push({
|
|
12835
12836
|
type: BreakingChangeType.REQUIRED_ARG_ADDED,
|
|
@@ -14549,4 +14550,4 @@ var require_graphql = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
14549
14550
|
//#endregion
|
|
14550
14551
|
export { require_validate as n, require_graphql as t };
|
|
14551
14552
|
|
|
14552
|
-
//# sourceMappingURL=graphql-
|
|
14553
|
+
//# sourceMappingURL=graphql-Dp4j7rmx.mjs.map
|