@powerhousedao/powerhouse-vetra-packages 6.2.3-dev.8 → 6.2.3-dev.80
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/document-models/index.js +2 -1
- package/dist/browser/documents-cxt8RRxe.js +18 -0
- package/dist/browser/documents-cxt8RRxe.js.map +1 -0
- package/dist/browser/{editor-6T4WF2og.js → editor-DXAJ8Mqb.js} +761 -277
- package/dist/browser/editor-DXAJ8Mqb.js.map +1 -0
- package/dist/browser/{editor-DHysndk4.js → editor-Dmpkd8pQ.js} +4 -5
- package/dist/browser/{editor-DHysndk4.js.map → editor-Dmpkd8pQ.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 +4 -324
- 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-DTewe8q8.js → folder-view-CwIU4XEe.js} +17 -12
- package/dist/browser/folder-view-CwIU4XEe.js.map +1 -0
- package/dist/browser/graphql-editor-CGxwONKl.js +103 -0
- package/dist/browser/graphql-editor-CGxwONKl.js.map +1 -0
- package/dist/browser/hooks-D15NCia0.js +126 -0
- package/dist/browser/hooks-D15NCia0.js.map +1 -0
- package/dist/browser/index.js +6 -703
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/json-editor--jgLEwP2.js +55 -0
- package/dist/browser/json-editor--jgLEwP2.js.map +1 -0
- package/dist/browser/{schema-context-ZyeclQwy.js → schema-context-CC_WFs1x.js} +10 -6
- package/dist/browser/schema-context-CC_WFs1x.js.map +1 -0
- package/dist/browser/{state-schemas-CpcWN_Qo.js → state-schemas-DSY44MOd.js} +28 -19
- package/dist/browser/state-schemas-DSY44MOd.js.map +1 -0
- package/dist/{browser/dist-BAJ5nRDl.js → node/bundle-mjs-Cuu3DEfT.mjs} +1251 -822
- package/dist/node/bundle-mjs-Cuu3DEfT.mjs.map +1 -0
- package/dist/node/document-models/index.mjs +2 -1
- package/dist/node/{graphql-BfAoPeWM.mjs → documents-CNInCxpO.mjs} +66 -50
- package/dist/node/documents-CNInCxpO.mjs.map +1 -0
- package/dist/node/editor-C54qhQLX.mjs +4762 -0
- package/dist/node/editor-C54qhQLX.mjs.map +1 -0
- package/dist/node/{editor-DPv5LEug.mjs → editor-NwTlNx8z.mjs} +4 -5
- package/dist/node/{editor-DPv5LEug.mjs.map → editor-NwTlNx8z.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-CkCNU8A_.mjs +966 -0
- package/dist/node/folder-view-CkCNU8A_.mjs.map +1 -0
- package/dist/node/{graphql-editor-D0CHQeCL.mjs → graphql-editor--ZZPvvGh.mjs} +5130 -63
- package/dist/node/graphql-editor--ZZPvvGh.mjs.map +1 -0
- package/dist/node/{hooks-D0DcS3MV.mjs → hooks-DI7akiay.mjs} +824 -444
- package/dist/node/{hooks-D0DcS3MV.mjs.map → hooks-DI7akiay.mjs.map} +1 -1
- package/dist/node/index.mjs +45 -97
- package/dist/node/index.mjs.map +1 -1
- package/dist/{browser/json-editor-xI_oaxyT.js → node/json-editor-gYEyOVXY.mjs} +8 -9
- package/dist/node/{json-editor-Ckaem6ky.mjs.map → json-editor-gYEyOVXY.mjs.map} +1 -1
- package/dist/node/rolldown-runtime-Bl3dcgcQ.mjs +16 -0
- package/dist/node/{schema-context-DL8jhi_d.mjs → schema-context-DTb0xqgJ.mjs} +9 -6
- package/dist/node/schema-context-DTb0xqgJ.mjs.map +1 -0
- package/dist/node/state-schemas-Ciq9kway.mjs +1071 -0
- package/dist/node/state-schemas-Ciq9kway.mjs.map +1 -0
- package/package.json +26 -23
- package/style.css +2 -0
- package/dist/browser/assets/entry-DSBtQnit.js +0 -314
- package/dist/browser/assets/projection-entry-Bem3exmO.js +0 -404
- package/dist/browser/button-CuO8Gh3v.js +0 -696
- package/dist/browser/button-CuO8Gh3v.js.map +0 -1
- package/dist/browser/connect-5NZDVmbb.js +0 -14328
- package/dist/browser/connect-5NZDVmbb.js.map +0 -1
- package/dist/browser/dist-1yB-AuT-.js +0 -4641
- package/dist/browser/dist-1yB-AuT-.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.map +0 -1
- package/dist/browser/document-drive-CrvzV1D4.js +0 -8319
- package/dist/browser/document-drive-CrvzV1D4.js.map +0 -1
- package/dist/browser/documents-J_l59mSV.js +0 -6188
- package/dist/browser/documents-J_l59mSV.js.map +0 -1
- package/dist/browser/editor-6T4WF2og.js.map +0 -1
- package/dist/browser/folder-view-DTewe8q8.js.map +0 -1
- package/dist/browser/graphql-editor-C2EtXqb9.js +0 -11698
- package/dist/browser/graphql-editor-C2EtXqb9.js.map +0 -1
- package/dist/browser/hooks-KKcNp2X0.js +0 -24213
- package/dist/browser/hooks-KKcNp2X0.js.map +0 -1
- package/dist/browser/json-editor-xI_oaxyT.js.map +0 -1
- package/dist/browser/lib-CPkPeg_u.js +0 -209
- package/dist/browser/lib-CPkPeg_u.js.map +0 -1
- package/dist/browser/parser-CkF6Qt8V.js +0 -2553
- package/dist/browser/parser-CkF6Qt8V.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.map +0 -1
- package/dist/browser/state-schemas-CpcWN_Qo.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-cjzsd2cR.mjs +0 -15022
- package/dist/node/connect-cjzsd2cR.mjs.map +0 -1
- package/dist/node/dist-C30J_pcg.mjs +0 -4649
- package/dist/node/dist-C30J_pcg.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/document-drive-BByBwg-I.mjs +0 -8336
- package/dist/node/document-drive-BByBwg-I.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-B4vhYrmV.mjs +0 -1809
- package/dist/node/editor-B4vhYrmV.mjs.map +0 -1
- package/dist/node/folder-view-BhackcXO.mjs +0 -232
- package/dist/node/folder-view-BhackcXO.mjs.map +0 -1
- package/dist/node/graphql-BfAoPeWM.mjs.map +0 -1
- package/dist/node/graphql-editor-D0CHQeCL.mjs.map +0 -1
- package/dist/node/json-editor-Ckaem6ky.mjs +0 -154
- package/dist/node/main-BhH_ajBM.mjs +0 -745
- package/dist/node/main-BhH_ajBM.mjs.map +0 -1
- package/dist/node/schema-context-DL8jhi_d.mjs.map +0 -1
- package/dist/node/state-schemas-B1SNl8Ob.mjs +0 -299
- package/dist/node/state-schemas-B1SNl8Ob.mjs.map +0 -1
package/dist/browser/index.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { c as any, h as object, l as array, p as literal, v as string } from "./dist-B4FWbuEM.js";
|
|
2
|
-
import { C as baseCreateDocument, E as baseSaveToFileHandle, M as createState, O as createAction, P as defaultBaseState, S as baseActions, T as baseLoadFromInputVersioned, V as isDocumentAction, ft as generateId, g as BaseDocumentStateSchema, h as BaseDocumentHeaderSchema, j as createReducer, k as createBaseState, p as documentModelDocumentModelModule, r as driveDocumentModelModule, w as baseLoadFromInput } from "./document-drive-CrvzV1D4.js";
|
|
3
|
-
import { t as gql } from "./lib-CPkPeg_u.js";
|
|
4
1
|
import { DocumentModelEditor } from "./editors/document-model-editor/module.js";
|
|
5
2
|
import { GenericDriveExplorer } from "./editors/generic-drive-explorer/module.js";
|
|
3
|
+
import { reactorDriveDocumentModelModule } from "@powerhousedao/reactor-drive";
|
|
4
|
+
import { ReactorGroupV1 } from "@powerhousedao/reactor-group";
|
|
5
|
+
import { driveDocumentModelModule } from "@powerhousedao/shared/document-drive";
|
|
6
|
+
import "@powerhousedao/shared/document-model";
|
|
7
|
+
import { documentModelDocumentModelModule } from "document-model";
|
|
6
8
|
//#region powerhouse.manifest.json
|
|
7
9
|
var powerhouse_manifest_default = {
|
|
8
10
|
name: "Common",
|
|
@@ -70,711 +72,12 @@ var powerhouse_manifest_default = {
|
|
|
70
72
|
importScripts: []
|
|
71
73
|
};
|
|
72
74
|
//#endregion
|
|
73
|
-
//#region ../reactor-drive/dist/index.js
|
|
74
|
-
const REACTOR_DRIVE_DOCUMENT_TYPE = "powerhouse/reactor-drive";
|
|
75
|
-
const REACTOR_DRIVE_FILE_EXTENSION = "phrd";
|
|
76
|
-
function setDriveNameAction(input) {
|
|
77
|
-
return {
|
|
78
|
-
id: generateId(),
|
|
79
|
-
type: "SET_DRIVE_NAME",
|
|
80
|
-
scope: "global",
|
|
81
|
-
timestampUtcMs: (/* @__PURE__ */ new Date()).toISOString(),
|
|
82
|
-
input
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
function setDriveIconAction(input) {
|
|
86
|
-
return {
|
|
87
|
-
id: generateId(),
|
|
88
|
-
type: "SET_DRIVE_ICON",
|
|
89
|
-
scope: "global",
|
|
90
|
-
timestampUtcMs: (/* @__PURE__ */ new Date()).toISOString(),
|
|
91
|
-
input
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
function setSharingTypeAction(input) {
|
|
95
|
-
return {
|
|
96
|
-
id: generateId(),
|
|
97
|
-
type: "SET_SHARING_TYPE",
|
|
98
|
-
scope: "local",
|
|
99
|
-
timestampUtcMs: (/* @__PURE__ */ new Date()).toISOString(),
|
|
100
|
-
input
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
function setAvailableOfflineAction(input) {
|
|
104
|
-
return {
|
|
105
|
-
id: generateId(),
|
|
106
|
-
type: "SET_AVAILABLE_OFFLINE",
|
|
107
|
-
scope: "local",
|
|
108
|
-
timestampUtcMs: (/* @__PURE__ */ new Date()).toISOString(),
|
|
109
|
-
input
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
function addFolderAction(input) {
|
|
113
|
-
return {
|
|
114
|
-
id: generateId(),
|
|
115
|
-
type: "ADD_FOLDER",
|
|
116
|
-
scope: "document",
|
|
117
|
-
timestampUtcMs: (/* @__PURE__ */ new Date()).toISOString(),
|
|
118
|
-
input
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
function updateFolderAction(input) {
|
|
122
|
-
return {
|
|
123
|
-
id: generateId(),
|
|
124
|
-
type: "UPDATE_FOLDER",
|
|
125
|
-
scope: "document",
|
|
126
|
-
timestampUtcMs: (/* @__PURE__ */ new Date()).toISOString(),
|
|
127
|
-
input
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
function removeFolderAction(input) {
|
|
131
|
-
return {
|
|
132
|
-
id: generateId(),
|
|
133
|
-
type: "REMOVE_FOLDER",
|
|
134
|
-
scope: "document",
|
|
135
|
-
timestampUtcMs: (/* @__PURE__ */ new Date()).toISOString(),
|
|
136
|
-
input
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
const reactorDriveActions = {
|
|
140
|
-
setDriveName: setDriveNameAction,
|
|
141
|
-
setDriveIcon: setDriveIconAction,
|
|
142
|
-
setSharingType: setSharingTypeAction,
|
|
143
|
-
setAvailableOffline: setAvailableOfflineAction,
|
|
144
|
-
addFolder: addFolderAction,
|
|
145
|
-
updateFolder: updateFolderAction,
|
|
146
|
-
removeFolder: removeFolderAction
|
|
147
|
-
};
|
|
148
|
-
const reactorDriveStateReducer = (state, action) => {
|
|
149
|
-
if (isDocumentAction(action)) return state;
|
|
150
|
-
const typedAction = action;
|
|
151
|
-
switch (typedAction.type) {
|
|
152
|
-
case "SET_DRIVE_NAME": {
|
|
153
|
-
const input = typedAction.input;
|
|
154
|
-
state.global.name = input.name;
|
|
155
|
-
return state;
|
|
156
|
-
}
|
|
157
|
-
case "SET_DRIVE_ICON": {
|
|
158
|
-
const input = typedAction.input;
|
|
159
|
-
state.global.icon = input.icon;
|
|
160
|
-
return state;
|
|
161
|
-
}
|
|
162
|
-
case "SET_SHARING_TYPE": {
|
|
163
|
-
const input = typedAction.input;
|
|
164
|
-
state.local.sharingType = input.sharingType;
|
|
165
|
-
return state;
|
|
166
|
-
}
|
|
167
|
-
case "SET_AVAILABLE_OFFLINE": {
|
|
168
|
-
const input = typedAction.input;
|
|
169
|
-
state.local.availableOffline = input.availableOffline;
|
|
170
|
-
return state;
|
|
171
|
-
}
|
|
172
|
-
case "ADD_FOLDER":
|
|
173
|
-
case "UPDATE_FOLDER":
|
|
174
|
-
case "REMOVE_FOLDER": return state;
|
|
175
|
-
default: return state;
|
|
176
|
-
}
|
|
177
|
-
};
|
|
178
|
-
const initialGlobalState$1 = {
|
|
179
|
-
name: "",
|
|
180
|
-
icon: null
|
|
181
|
-
};
|
|
182
|
-
const initialLocalState$1 = {
|
|
183
|
-
sharingType: "private",
|
|
184
|
-
availableOffline: false
|
|
185
|
-
};
|
|
186
|
-
const reactorDriveCreateState = (state) => {
|
|
187
|
-
return {
|
|
188
|
-
...defaultBaseState(),
|
|
189
|
-
global: {
|
|
190
|
-
...initialGlobalState$1,
|
|
191
|
-
...state?.global
|
|
192
|
-
},
|
|
193
|
-
local: {
|
|
194
|
-
...initialLocalState$1,
|
|
195
|
-
...state?.local
|
|
196
|
-
}
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
const reactorDriveCreateDocument = (state) => {
|
|
200
|
-
return baseCreateDocument(reactorDriveCreateState, state, REACTOR_DRIVE_DOCUMENT_TYPE);
|
|
201
|
-
};
|
|
202
|
-
const reactorDriveSaveToFileHandle = (document, input) => {
|
|
203
|
-
return baseSaveToFileHandle(document, input);
|
|
204
|
-
};
|
|
205
|
-
const reactorDriveLoadFromInput = (input) => {
|
|
206
|
-
return baseLoadFromInput(input, reactorDriveDocumentReducer);
|
|
207
|
-
};
|
|
208
|
-
const isReactorDriveState = (state) => {
|
|
209
|
-
return typeof state === "object" && state !== null && "global" in state && "local" in state;
|
|
210
|
-
};
|
|
211
|
-
const assertIsReactorDriveState = (state) => {
|
|
212
|
-
if (!isReactorDriveState(state)) throw new Error("Not a reactor-drive state");
|
|
213
|
-
};
|
|
214
|
-
const isReactorDriveDocument = (document) => {
|
|
215
|
-
return typeof document === "object" && document !== null && "header" in document && document.header.documentType === "powerhouse/reactor-drive";
|
|
216
|
-
};
|
|
217
|
-
const assertIsReactorDriveDocument = (document) => {
|
|
218
|
-
if (!isReactorDriveDocument(document)) throw new Error("Not a reactor-drive document");
|
|
219
|
-
};
|
|
220
|
-
const reactorDriveDocumentReducer = createReducer(reactorDriveStateReducer);
|
|
221
|
-
const reactorDriveDocumentGlobalState = {
|
|
222
|
-
id: REACTOR_DRIVE_DOCUMENT_TYPE,
|
|
223
|
-
name: "ReactorDrive",
|
|
224
|
-
extension: REACTOR_DRIVE_FILE_EXTENSION,
|
|
225
|
-
description: "",
|
|
226
|
-
author: {
|
|
227
|
-
name: "Powerhouse Inc",
|
|
228
|
-
website: "https://www.powerhouse.inc/"
|
|
229
|
-
},
|
|
230
|
-
specifications: [{
|
|
231
|
-
version: 1,
|
|
232
|
-
changeLog: [],
|
|
233
|
-
state: {
|
|
234
|
-
global: {
|
|
235
|
-
schema: "type ReactorDriveState {\n name: String!\n icon: String\n}",
|
|
236
|
-
initialValue: JSON.stringify(JSON.stringify(initialGlobalState$1)),
|
|
237
|
-
examples: []
|
|
238
|
-
},
|
|
239
|
-
local: {
|
|
240
|
-
schema: "type ReactorDriveLocalState {\n sharingType: String!\n availableOffline: Boolean!\n}",
|
|
241
|
-
initialValue: JSON.stringify(JSON.stringify(initialLocalState$1)),
|
|
242
|
-
examples: []
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
modules: [{
|
|
246
|
-
id: "reactor-drive/base-operations",
|
|
247
|
-
name: "base_operations",
|
|
248
|
-
description: "",
|
|
249
|
-
operations: [
|
|
250
|
-
{
|
|
251
|
-
id: "SET_DRIVE_NAME",
|
|
252
|
-
name: "SET_DRIVE_NAME",
|
|
253
|
-
description: "",
|
|
254
|
-
schema: "input SetDriveNameInput { name: String! }",
|
|
255
|
-
template: "",
|
|
256
|
-
reducer: "",
|
|
257
|
-
errors: [],
|
|
258
|
-
examples: [],
|
|
259
|
-
scope: "global"
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
id: "SET_DRIVE_ICON",
|
|
263
|
-
name: "SET_DRIVE_ICON",
|
|
264
|
-
description: "",
|
|
265
|
-
schema: "input SetDriveIconInput { icon: String }",
|
|
266
|
-
template: "",
|
|
267
|
-
reducer: "",
|
|
268
|
-
errors: [],
|
|
269
|
-
examples: [],
|
|
270
|
-
scope: "global"
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
id: "SET_SHARING_TYPE",
|
|
274
|
-
name: "SET_SHARING_TYPE",
|
|
275
|
-
description: "",
|
|
276
|
-
schema: "input SetSharingTypeInput { sharingType: String! }",
|
|
277
|
-
template: "",
|
|
278
|
-
reducer: "",
|
|
279
|
-
errors: [],
|
|
280
|
-
examples: [],
|
|
281
|
-
scope: "local"
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
id: "SET_AVAILABLE_OFFLINE",
|
|
285
|
-
name: "SET_AVAILABLE_OFFLINE",
|
|
286
|
-
description: "",
|
|
287
|
-
schema: "input SetAvailableOfflineInput { availableOffline: Boolean! }",
|
|
288
|
-
template: "",
|
|
289
|
-
reducer: "",
|
|
290
|
-
errors: [],
|
|
291
|
-
examples: [],
|
|
292
|
-
scope: "local"
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
id: "ADD_FOLDER",
|
|
296
|
-
name: "ADD_FOLDER",
|
|
297
|
-
description: "",
|
|
298
|
-
schema: "input AddFolderInput { folderId: String! parentFolderId: String name: String! }",
|
|
299
|
-
template: "",
|
|
300
|
-
reducer: "",
|
|
301
|
-
errors: [],
|
|
302
|
-
examples: [],
|
|
303
|
-
scope: "document"
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
id: "UPDATE_FOLDER",
|
|
307
|
-
name: "UPDATE_FOLDER",
|
|
308
|
-
description: "",
|
|
309
|
-
schema: "input UpdateFolderInput { folderId: String! name: String parentFolderId: String }",
|
|
310
|
-
template: "",
|
|
311
|
-
reducer: "",
|
|
312
|
-
errors: [],
|
|
313
|
-
examples: [],
|
|
314
|
-
scope: "document"
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
id: "REMOVE_FOLDER",
|
|
318
|
-
name: "REMOVE_FOLDER",
|
|
319
|
-
description: "",
|
|
320
|
-
schema: "input RemoveFolderInput { folderId: String! }",
|
|
321
|
-
template: "",
|
|
322
|
-
reducer: "",
|
|
323
|
-
errors: [],
|
|
324
|
-
examples: [],
|
|
325
|
-
scope: "document"
|
|
326
|
-
}
|
|
327
|
-
]
|
|
328
|
-
}]
|
|
329
|
-
}]
|
|
330
|
-
};
|
|
331
|
-
const reactorDriveDocumentModelModule = {
|
|
332
|
-
actions: reactorDriveActions,
|
|
333
|
-
reducer: reactorDriveDocumentReducer,
|
|
334
|
-
documentModel: createState(defaultBaseState(), reactorDriveDocumentGlobalState),
|
|
335
|
-
utils: {
|
|
336
|
-
fileExtension: REACTOR_DRIVE_FILE_EXTENSION,
|
|
337
|
-
createState: reactorDriveCreateState,
|
|
338
|
-
createDocument: reactorDriveCreateDocument,
|
|
339
|
-
loadFromInput: reactorDriveLoadFromInput,
|
|
340
|
-
saveToFileHandle: reactorDriveSaveToFileHandle,
|
|
341
|
-
isStateOfType: isReactorDriveState,
|
|
342
|
-
assertIsStateOfType: assertIsReactorDriveState,
|
|
343
|
-
isDocumentOfType: isReactorDriveDocument,
|
|
344
|
-
assertIsDocumentOfType: assertIsReactorDriveDocument
|
|
345
|
-
}
|
|
346
|
-
};
|
|
347
|
-
gql`
|
|
348
|
-
enum ReactorDriveNodeKind {
|
|
349
|
-
FILE
|
|
350
|
-
FOLDER
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
input ReactorDrivePagingInput {
|
|
354
|
-
cursor: String
|
|
355
|
-
limit: Int
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
type ReactorDriveFileNode {
|
|
359
|
-
id: ID!
|
|
360
|
-
driveId: ID!
|
|
361
|
-
name: String!
|
|
362
|
-
parentFolder: ID
|
|
363
|
-
documentType: String!
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
type ReactorDriveFolderNode {
|
|
367
|
-
id: ID!
|
|
368
|
-
driveId: ID!
|
|
369
|
-
name: String!
|
|
370
|
-
parentFolder: ID
|
|
371
|
-
children(
|
|
372
|
-
paging: ReactorDrivePagingInput
|
|
373
|
-
kind: ReactorDriveNodeKind
|
|
374
|
-
): ReactorDriveNodePage!
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
union ReactorDriveNode = ReactorDriveFileNode | ReactorDriveFolderNode
|
|
378
|
-
|
|
379
|
-
type ReactorDriveNodePage {
|
|
380
|
-
results: [ReactorDriveNode!]!
|
|
381
|
-
nextCursor: String
|
|
382
|
-
hasMore: Boolean!
|
|
383
|
-
totalCount: Int
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
type ReactorDrive {
|
|
387
|
-
id: ID!
|
|
388
|
-
name: String!
|
|
389
|
-
icon: String
|
|
390
|
-
sharingType: String!
|
|
391
|
-
availableOffline: Boolean!
|
|
392
|
-
rootNodes(
|
|
393
|
-
paging: ReactorDrivePagingInput
|
|
394
|
-
kind: ReactorDriveNodeKind
|
|
395
|
-
): ReactorDriveNodePage!
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
type Query {
|
|
399
|
-
reactorDrive(id: ID!): ReactorDrive
|
|
400
|
-
reactorDriveNode(driveId: ID!, id: ID!): ReactorDriveNode
|
|
401
|
-
reactorDriveDescendants(driveId: ID!, root: ID!): [ReactorDriveNode!]!
|
|
402
|
-
}
|
|
403
|
-
`;
|
|
404
|
-
//#endregion
|
|
405
|
-
//#region ../reactor-group/dist/chunk-pbuEa-1d.js
|
|
406
|
-
var __defProp = Object.defineProperty;
|
|
407
|
-
var __exportAll = (all, no_symbols) => {
|
|
408
|
-
let target = {};
|
|
409
|
-
for (var name in all) __defProp(target, name, {
|
|
410
|
-
get: all[name],
|
|
411
|
-
enumerable: true
|
|
412
|
-
});
|
|
413
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
414
|
-
return target;
|
|
415
|
-
};
|
|
416
|
-
//#endregion
|
|
417
|
-
//#region ../reactor-group/dist/module-DuRVS7HX.js
|
|
418
|
-
const isDefinedNonNullAny = (v) => v !== void 0 && v !== null;
|
|
419
|
-
any().refine((v) => isDefinedNonNullAny(v));
|
|
420
|
-
function AddMemberInputSchema() {
|
|
421
|
-
return object({ address: string() });
|
|
422
|
-
}
|
|
423
|
-
function ReactorGroupStateSchema() {
|
|
424
|
-
return object({
|
|
425
|
-
__typename: literal("ReactorGroupState").optional(),
|
|
426
|
-
description: string(),
|
|
427
|
-
members: array(string()),
|
|
428
|
-
name: string()
|
|
429
|
-
});
|
|
430
|
-
}
|
|
431
|
-
function RemoveMemberInputSchema() {
|
|
432
|
-
return object({ address: string() });
|
|
433
|
-
}
|
|
434
|
-
function SetGroupDescriptionInputSchema() {
|
|
435
|
-
return object({ description: string() });
|
|
436
|
-
}
|
|
437
|
-
function SetGroupNameInputSchema() {
|
|
438
|
-
return object({ name: string() });
|
|
439
|
-
}
|
|
440
|
-
/**
|
|
441
|
-
* WARNING: DO NOT EDIT
|
|
442
|
-
* This file is auto-generated and updated by codegen
|
|
443
|
-
*/
|
|
444
|
-
var creators_exports = /* @__PURE__ */ __exportAll({
|
|
445
|
-
addMember: () => addMember,
|
|
446
|
-
removeMember: () => removeMember,
|
|
447
|
-
setGroupDescription: () => setGroupDescription,
|
|
448
|
-
setGroupName: () => setGroupName
|
|
449
|
-
});
|
|
450
|
-
const setGroupName = (input) => createAction("SET_GROUP_NAME", { ...input }, void 0, SetGroupNameInputSchema, "global");
|
|
451
|
-
const setGroupDescription = (input) => createAction("SET_GROUP_DESCRIPTION", { ...input }, void 0, SetGroupDescriptionInputSchema, "global");
|
|
452
|
-
const addMember = (input) => createAction("ADD_MEMBER", { ...input }, void 0, AddMemberInputSchema, "global");
|
|
453
|
-
const removeMember = (input) => createAction("REMOVE_MEMBER", { ...input }, void 0, RemoveMemberInputSchema, "global");
|
|
454
|
-
/**
|
|
455
|
-
* WARNING: DO NOT EDIT
|
|
456
|
-
* This file is auto-generated and updated by codegen
|
|
457
|
-
*/
|
|
458
|
-
/** Actions for the ReactorGroup document model */
|
|
459
|
-
const actions = {
|
|
460
|
-
...baseActions,
|
|
461
|
-
...creators_exports
|
|
462
|
-
};
|
|
463
|
-
const documentModel = {
|
|
464
|
-
id: "powerhouse/reactor-group",
|
|
465
|
-
name: "Reactor Group",
|
|
466
|
-
author: {
|
|
467
|
-
name: "Powerhouse",
|
|
468
|
-
website: "https://powerhouse.inc"
|
|
469
|
-
},
|
|
470
|
-
extension: ".phrg",
|
|
471
|
-
description: "A group of member addresses referenced by { group } principals in the auth scope. Group membership is folded at an operation's position during auth evaluation, so reducers are strict and deterministic: duplicate or unknown members are errors, and membership is capped.",
|
|
472
|
-
specifications: [{
|
|
473
|
-
state: {
|
|
474
|
-
local: {
|
|
475
|
-
schema: "",
|
|
476
|
-
examples: [],
|
|
477
|
-
initialValue: ""
|
|
478
|
-
},
|
|
479
|
-
global: {
|
|
480
|
-
schema: "\"\"\"\nA member address list gated by the group document's own auth scope. Addresses\nare stored as given and compared case-insensitively, matching how { address }\nprincipals are compared during auth evaluation.\n\"\"\"\ntype ReactorGroupState {\n \"\"\"Display name of the group.\"\"\"\n name: String!\n \"\"\"Free-text description of the group's purpose.\"\"\"\n description: String!\n \"\"\"Member wallet addresses. No duplicates under case-insensitive comparison.\"\"\"\n members: [String!]!\n}",
|
|
481
|
-
examples: [],
|
|
482
|
-
initialValue: "{\n \"name\": \"\",\n \"description\": \"\",\n \"members\": []\n}"
|
|
483
|
-
}
|
|
484
|
-
},
|
|
485
|
-
modules: [{
|
|
486
|
-
id: "efd6d9bb-869e-4565-b1ca-d9b74385eaf7",
|
|
487
|
-
name: "group",
|
|
488
|
-
description: "Manage the group's identity and its member address list.",
|
|
489
|
-
operations: [
|
|
490
|
-
{
|
|
491
|
-
id: "43da2b3d-bad7-40b8-8a84-4cdf892f1519",
|
|
492
|
-
name: "SET_GROUP_NAME",
|
|
493
|
-
description: "Set the display name of the group. The name must be non-empty after trimming and at most 200 characters.",
|
|
494
|
-
schema: "input SetGroupNameInput {\n name: String!\n}",
|
|
495
|
-
template: "",
|
|
496
|
-
reducer: "",
|
|
497
|
-
errors: [{
|
|
498
|
-
id: "8be0d16c-1f21-4d95-9536-c5a5867d2ba1",
|
|
499
|
-
code: "InvalidGroupName",
|
|
500
|
-
name: "InvalidGroupName",
|
|
501
|
-
description: "The group name is empty after trimming or longer than 200 characters.",
|
|
502
|
-
template: ""
|
|
503
|
-
}],
|
|
504
|
-
examples: [],
|
|
505
|
-
scope: "global"
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
id: "aa493898-ce6b-4b28-baf3-1b6fd8425138",
|
|
509
|
-
name: "SET_GROUP_DESCRIPTION",
|
|
510
|
-
description: "Set the free-text description of the group. The description is at most 2000 characters.",
|
|
511
|
-
schema: "input SetGroupDescriptionInput {\n description: String!\n}",
|
|
512
|
-
template: "",
|
|
513
|
-
reducer: "",
|
|
514
|
-
errors: [{
|
|
515
|
-
id: "9f0f77a4-6a86-4f5c-9a3f-13a44be29de3",
|
|
516
|
-
code: "InvalidGroupDescription",
|
|
517
|
-
name: "InvalidGroupDescription",
|
|
518
|
-
description: "The group description is longer than 2000 characters.",
|
|
519
|
-
template: ""
|
|
520
|
-
}],
|
|
521
|
-
examples: [],
|
|
522
|
-
scope: "global"
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
id: "e7990be2-2e40-4624-9f96-df759703ba6b",
|
|
526
|
-
name: "ADD_MEMBER",
|
|
527
|
-
description: "Add a member address to the group. The address must be non-empty after trimming, must not already be a member under case-insensitive comparison, and the group must be below the member cap.",
|
|
528
|
-
schema: "input AddMemberInput {\n address: String!\n}",
|
|
529
|
-
template: "",
|
|
530
|
-
reducer: "",
|
|
531
|
-
errors: [
|
|
532
|
-
{
|
|
533
|
-
id: "3f2504e0-4f89-41d3-9a0c-0305e82c3301",
|
|
534
|
-
code: "InvalidMemberAddress",
|
|
535
|
-
name: "InvalidMemberAddress",
|
|
536
|
-
description: "The member address is empty after trimming.",
|
|
537
|
-
template: ""
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
id: "b2c1a9de-58e6-4f3f-9f2a-7f6b1e2d4c5a",
|
|
541
|
-
code: "DuplicateMember",
|
|
542
|
-
name: "DuplicateMember",
|
|
543
|
-
description: "The address is already a member of the group under case-insensitive comparison.",
|
|
544
|
-
template: ""
|
|
545
|
-
},
|
|
546
|
-
{
|
|
547
|
-
id: "c4d5e6f7-0a1b-4c2d-8e3f-9a0b1c2d3e4f",
|
|
548
|
-
code: "GroupMemberLimitExceeded",
|
|
549
|
-
name: "GroupMemberLimitExceeded",
|
|
550
|
-
description: "The group already holds the maximum number of members.",
|
|
551
|
-
template: ""
|
|
552
|
-
}
|
|
553
|
-
],
|
|
554
|
-
examples: [],
|
|
555
|
-
scope: "global"
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
id: "b1309319-48b7-42b2-a40e-1fecef9a09a4",
|
|
559
|
-
name: "REMOVE_MEMBER",
|
|
560
|
-
description: "Remove a member address from the group, matched case-insensitively. Removing an address that is not a member is an error.",
|
|
561
|
-
schema: "input RemoveMemberInput {\n address: String!\n}",
|
|
562
|
-
template: "",
|
|
563
|
-
reducer: "",
|
|
564
|
-
errors: [{
|
|
565
|
-
id: "d6e7f8a9-1b2c-4d3e-9f4a-0b1c2d3e4f5a",
|
|
566
|
-
code: "MemberNotFound",
|
|
567
|
-
name: "MemberNotFound",
|
|
568
|
-
description: "The address is not a member of the group under case-insensitive comparison.",
|
|
569
|
-
template: ""
|
|
570
|
-
}],
|
|
571
|
-
examples: [],
|
|
572
|
-
scope: "global"
|
|
573
|
-
}
|
|
574
|
-
]
|
|
575
|
-
}],
|
|
576
|
-
version: 1,
|
|
577
|
-
changeLog: []
|
|
578
|
-
}]
|
|
579
|
-
};
|
|
580
|
-
var InvalidGroupName = class extends Error {
|
|
581
|
-
errorCode = "InvalidGroupName";
|
|
582
|
-
constructor(message = "InvalidGroupName") {
|
|
583
|
-
super(message);
|
|
584
|
-
}
|
|
585
|
-
};
|
|
586
|
-
var InvalidGroupDescription = class extends Error {
|
|
587
|
-
errorCode = "InvalidGroupDescription";
|
|
588
|
-
constructor(message = "InvalidGroupDescription") {
|
|
589
|
-
super(message);
|
|
590
|
-
}
|
|
591
|
-
};
|
|
592
|
-
var InvalidMemberAddress = class extends Error {
|
|
593
|
-
errorCode = "InvalidMemberAddress";
|
|
594
|
-
constructor(message = "InvalidMemberAddress") {
|
|
595
|
-
super(message);
|
|
596
|
-
}
|
|
597
|
-
};
|
|
598
|
-
var DuplicateMember = class extends Error {
|
|
599
|
-
errorCode = "DuplicateMember";
|
|
600
|
-
constructor(message = "DuplicateMember") {
|
|
601
|
-
super(message);
|
|
602
|
-
}
|
|
603
|
-
};
|
|
604
|
-
var GroupMemberLimitExceeded = class extends Error {
|
|
605
|
-
errorCode = "GroupMemberLimitExceeded";
|
|
606
|
-
constructor(message = "GroupMemberLimitExceeded") {
|
|
607
|
-
super(message);
|
|
608
|
-
}
|
|
609
|
-
};
|
|
610
|
-
var MemberNotFound = class extends Error {
|
|
611
|
-
errorCode = "MemberNotFound";
|
|
612
|
-
constructor(message = "MemberNotFound") {
|
|
613
|
-
super(message);
|
|
614
|
-
}
|
|
615
|
-
};
|
|
616
|
-
/** Every replica folds group state during auth evaluation, so membership is capped. */
|
|
617
|
-
const MAX_GROUP_MEMBERS = 1e3;
|
|
618
|
-
const MAX_GROUP_DESCRIPTION_LENGTH = 2e3;
|
|
619
|
-
/** Addresses are compared case-insensitively, matching { address } principals. */
|
|
620
|
-
function sameAddress(a, b) {
|
|
621
|
-
return a.toLowerCase() === b.toLowerCase();
|
|
622
|
-
}
|
|
623
|
-
const reactorGroupGroupOperations = {
|
|
624
|
-
setGroupNameOperation(state, action) {
|
|
625
|
-
const name = action.input.name.trim();
|
|
626
|
-
if (name === "" || name.length > 200) throw new InvalidGroupName(`Group name must be non-empty and at most 200 characters`);
|
|
627
|
-
state.name = name;
|
|
628
|
-
},
|
|
629
|
-
setGroupDescriptionOperation(state, action) {
|
|
630
|
-
const description = action.input.description;
|
|
631
|
-
if (description.length > 2e3) throw new InvalidGroupDescription(`Group description must be at most ${MAX_GROUP_DESCRIPTION_LENGTH} characters`);
|
|
632
|
-
state.description = description;
|
|
633
|
-
},
|
|
634
|
-
addMemberOperation(state, action) {
|
|
635
|
-
const address = action.input.address.trim();
|
|
636
|
-
if (address === "") throw new InvalidMemberAddress("Member address must be non-empty");
|
|
637
|
-
if (state.members.some((member) => sameAddress(member, address))) throw new DuplicateMember(`Address is already a member: ${address}`);
|
|
638
|
-
if (state.members.length >= 1e3) throw new GroupMemberLimitExceeded(`A group holds at most ${MAX_GROUP_MEMBERS} members`);
|
|
639
|
-
state.members.push(address);
|
|
640
|
-
},
|
|
641
|
-
removeMemberOperation(state, action) {
|
|
642
|
-
const address = action.input.address.trim();
|
|
643
|
-
const index = state.members.findIndex((member) => sameAddress(member, address));
|
|
644
|
-
if (index === -1) throw new MemberNotFound(`Address is not a member: ${address}`);
|
|
645
|
-
state.members.splice(index, 1);
|
|
646
|
-
}
|
|
647
|
-
};
|
|
648
|
-
const stateReducer = (state, action, dispatch) => {
|
|
649
|
-
if (isDocumentAction(action)) return state;
|
|
650
|
-
switch (action.type) {
|
|
651
|
-
case "SET_GROUP_NAME":
|
|
652
|
-
SetGroupNameInputSchema().parse(action.input);
|
|
653
|
-
reactorGroupGroupOperations.setGroupNameOperation(state[action.scope], action, dispatch);
|
|
654
|
-
break;
|
|
655
|
-
case "SET_GROUP_DESCRIPTION":
|
|
656
|
-
SetGroupDescriptionInputSchema().parse(action.input);
|
|
657
|
-
reactorGroupGroupOperations.setGroupDescriptionOperation(state[action.scope], action, dispatch);
|
|
658
|
-
break;
|
|
659
|
-
case "ADD_MEMBER":
|
|
660
|
-
AddMemberInputSchema().parse(action.input);
|
|
661
|
-
reactorGroupGroupOperations.addMemberOperation(state[action.scope], action, dispatch);
|
|
662
|
-
break;
|
|
663
|
-
case "REMOVE_MEMBER":
|
|
664
|
-
RemoveMemberInputSchema().parse(action.input);
|
|
665
|
-
reactorGroupGroupOperations.removeMemberOperation(state[action.scope], action, dispatch);
|
|
666
|
-
break;
|
|
667
|
-
default: return state;
|
|
668
|
-
}
|
|
669
|
-
};
|
|
670
|
-
const reducer = createReducer(stateReducer);
|
|
671
|
-
const supportedVersions = [1];
|
|
672
|
-
const reactorGroupUpgradeManifest = {
|
|
673
|
-
documentType: "powerhouse/reactor-group",
|
|
674
|
-
latestVersion: supportedVersions[0],
|
|
675
|
-
supportedVersions,
|
|
676
|
-
upgrades: {}
|
|
677
|
-
};
|
|
678
|
-
/**
|
|
679
|
-
* WARNING: DO NOT EDIT
|
|
680
|
-
* This file is auto-generated and updated by codegen
|
|
681
|
-
*/
|
|
682
|
-
const reactorGroupDocumentType = "powerhouse/reactor-group";
|
|
683
|
-
/**
|
|
684
|
-
* WARNING: DO NOT EDIT
|
|
685
|
-
* This file is auto-generated and updated by codegen
|
|
686
|
-
*/
|
|
687
|
-
/** Schema for validating the header object of a ReactorGroup document */
|
|
688
|
-
const ReactorGroupDocumentHeaderSchema = BaseDocumentHeaderSchema.extend({ documentType: literal(reactorGroupDocumentType) });
|
|
689
|
-
/** Schema for validating the state object of a ReactorGroup document */
|
|
690
|
-
const ReactorGroupPHStateSchema = BaseDocumentStateSchema.extend({ global: ReactorGroupStateSchema() });
|
|
691
|
-
const ReactorGroupDocumentSchema = object({
|
|
692
|
-
header: ReactorGroupDocumentHeaderSchema,
|
|
693
|
-
state: ReactorGroupPHStateSchema,
|
|
694
|
-
initialState: ReactorGroupPHStateSchema
|
|
695
|
-
});
|
|
696
|
-
/** Simple helper function to check if a state object is a ReactorGroup document state object */
|
|
697
|
-
function isReactorGroupState(state) {
|
|
698
|
-
return ReactorGroupPHStateSchema.safeParse(state).success;
|
|
699
|
-
}
|
|
700
|
-
/** Simple helper function to assert that a document state object is a ReactorGroup document state object */
|
|
701
|
-
function assertIsReactorGroupState(state) {
|
|
702
|
-
ReactorGroupPHStateSchema.parse(state);
|
|
703
|
-
}
|
|
704
|
-
/** Simple helper function to check if a document is a ReactorGroup document */
|
|
705
|
-
function isReactorGroupDocument(document) {
|
|
706
|
-
return ReactorGroupDocumentSchema.safeParse(document).success;
|
|
707
|
-
}
|
|
708
|
-
/** Simple helper function to assert that a document is a ReactorGroup document */
|
|
709
|
-
function assertIsReactorGroupDocument(document) {
|
|
710
|
-
ReactorGroupDocumentSchema.parse(document);
|
|
711
|
-
}
|
|
712
|
-
const initialGlobalState = {
|
|
713
|
-
name: "",
|
|
714
|
-
description: "",
|
|
715
|
-
members: []
|
|
716
|
-
};
|
|
717
|
-
const initialLocalState = {};
|
|
718
|
-
const utils$1 = {
|
|
719
|
-
fileExtension: ".phrg",
|
|
720
|
-
createState(state) {
|
|
721
|
-
return {
|
|
722
|
-
...createBaseState(state?.auth, {
|
|
723
|
-
version: 1,
|
|
724
|
-
...state?.document
|
|
725
|
-
}),
|
|
726
|
-
global: {
|
|
727
|
-
...initialGlobalState,
|
|
728
|
-
...state?.global
|
|
729
|
-
},
|
|
730
|
-
local: {
|
|
731
|
-
...initialLocalState,
|
|
732
|
-
...state?.local
|
|
733
|
-
}
|
|
734
|
-
};
|
|
735
|
-
},
|
|
736
|
-
createDocument(state) {
|
|
737
|
-
return baseCreateDocument(utils$1.createState, state, reactorGroupDocumentType);
|
|
738
|
-
},
|
|
739
|
-
saveToFileHandle(document, input) {
|
|
740
|
-
return baseSaveToFileHandle(document, input);
|
|
741
|
-
},
|
|
742
|
-
loadFromInput(input) {
|
|
743
|
-
return baseLoadFromInputVersioned(input, {
|
|
744
|
-
reducers: { 1: reducer },
|
|
745
|
-
upgradeManifest: reactorGroupUpgradeManifest
|
|
746
|
-
});
|
|
747
|
-
},
|
|
748
|
-
isStateOfType(state) {
|
|
749
|
-
return isReactorGroupState(state);
|
|
750
|
-
},
|
|
751
|
-
assertIsStateOfType(state) {
|
|
752
|
-
return assertIsReactorGroupState(state);
|
|
753
|
-
},
|
|
754
|
-
isDocumentOfType(document) {
|
|
755
|
-
return isReactorGroupDocument(document);
|
|
756
|
-
},
|
|
757
|
-
assertIsDocumentOfType(document) {
|
|
758
|
-
return assertIsReactorGroupDocument(document);
|
|
759
|
-
}
|
|
760
|
-
};
|
|
761
|
-
var utils_exports = /* @__PURE__ */ __exportAll({});
|
|
762
|
-
//#endregion
|
|
763
75
|
//#region document-models/document-models.ts
|
|
764
76
|
const documentModels = [
|
|
765
77
|
documentModelDocumentModelModule,
|
|
766
78
|
driveDocumentModelModule,
|
|
767
79
|
reactorDriveDocumentModelModule,
|
|
768
|
-
|
|
769
|
-
version: 1,
|
|
770
|
-
reducer,
|
|
771
|
-
actions,
|
|
772
|
-
utils: {
|
|
773
|
-
...utils$1,
|
|
774
|
-
...utils_exports
|
|
775
|
-
},
|
|
776
|
-
documentModel: createState(defaultBaseState(), documentModel)
|
|
777
|
-
}
|
|
80
|
+
ReactorGroupV1
|
|
778
81
|
];
|
|
779
82
|
//#endregion
|
|
780
83
|
//#region editors/editors.ts
|