@powerhousedao/reactor-group 6.2.2-dev.44

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.
@@ -0,0 +1,2 @@
1
+ import { t as ReactorGroup } from "../module-DuRVS7HX.js";
2
+ export { ReactorGroup as ReactorGroupV1 };
@@ -0,0 +1,12 @@
1
+ import { $ as SetGroupDescriptionInput, A as isReactorGroupState, B as ReactorGroupLocalState, C as reactorGroupDocumentType, D as assertIsReactorGroupDocument, E as ReactorGroupPHStateSchema, F as setGroupDescription, G as InputMaybe, H as AddMemberInput, I as setGroupName, J as MakeOptional, K as MakeEmpty, L as ReactorGroupController, M as addMember, N as creators_d_exports, O as assertIsReactorGroupState, P as removeMember, Q as Scalars, R as actions, S as ReactorGroupGroupOperations, T as ReactorGroupDocumentSchema, U as Exact, V as ReactorGroupPHState, W as Incremental, X as ReactorGroupState, Y as Maybe, Z as RemoveMemberInput, _ as createReactorGroupDocument, a as useReactorGroupDocumentsInSelectedFolder, at as SetGroupDescriptionAction, b as defaultLocalState, c as initialLocalState, d as RemoveMemberInputSchema, et as SetGroupNameInput, f as SetGroupDescriptionInputSchema, g as reducer, h as isDefinedNonNullAny, i as useReactorGroupDocumentsInSelectedDrive, it as RemoveMemberAction, j as documentModel, k as isReactorGroupDocument, l as AddMemberInputSchema, m as definedNonNullAnySchema, n as utils, nt as AddMemberAction, o as useSelectedReactorGroupDocument, ot as SetGroupNameAction, p as SetGroupNameInputSchema, q as MakeMaybe, r as useReactorGroupDocumentById, rt as ReactorGroupGroupAction, s as initialGlobalState, t as ReactorGroup, tt as ReactorGroupAction, u as ReactorGroupStateSchema, v as createState, w as ReactorGroupDocumentHeaderSchema, x as defaultPHState, y as defaultGlobalState, z as ReactorGroupDocument } from "../../module-DYPG91AA.js";
2
+ import { UpgradeManifest } from "document-model";
3
+
4
+ //#region document-models/reactor-group/upgrades/versions.d.ts
5
+ declare const supportedVersions: readonly [1];
6
+ declare const latestVersion: 1;
7
+ //#endregion
8
+ //#region document-models/reactor-group/upgrades/upgrade-manifest.d.ts
9
+ declare const reactorGroupUpgradeManifest: UpgradeManifest<typeof supportedVersions>;
10
+ //#endregion
11
+ export { AddMemberAction, AddMemberInput, AddMemberInputSchema, Exact, Incremental, InputMaybe, MakeEmpty, MakeMaybe, MakeOptional, Maybe, ReactorGroup, ReactorGroupAction, ReactorGroupController, ReactorGroupDocument, ReactorGroupDocumentHeaderSchema, ReactorGroupDocumentSchema, ReactorGroupState as ReactorGroupGlobalState, ReactorGroupState, ReactorGroupGroupAction, ReactorGroupGroupOperations, ReactorGroupLocalState, ReactorGroupPHState, ReactorGroupPHStateSchema, ReactorGroupStateSchema, RemoveMemberAction, RemoveMemberInput, RemoveMemberInputSchema, Scalars, SetGroupDescriptionAction, SetGroupDescriptionInput, SetGroupDescriptionInputSchema, SetGroupNameAction, SetGroupNameInput, SetGroupNameInputSchema, actions, addMember, assertIsReactorGroupDocument, assertIsReactorGroupState, createReactorGroupDocument, createState, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, documentModel, initialGlobalState, initialLocalState, isDefinedNonNullAny, isReactorGroupDocument, isReactorGroupState, latestVersion, reactorGroupDocumentType, creators_d_exports as reactorGroupGroupActions, reactorGroupUpgradeManifest, reducer, removeMember, setGroupDescription, setGroupName, supportedVersions, useReactorGroupDocumentById, useReactorGroupDocumentsInSelectedDrive, useReactorGroupDocumentsInSelectedFolder, useSelectedReactorGroupDocument, utils };
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../document-models/reactor-group/upgrades/versions.ts","../../../document-models/reactor-group/upgrades/upgrade-manifest.ts"],"mappings":";;;;cAAa,iBAAA;AAAA,cAEA,aAAA;;;cCKA,2BAAA,EAA6B,eAAA,QACjC,iBAAA"}
@@ -0,0 +1,84 @@
1
+ import { A as definedNonNullAnySchema, C as setGroupDescription, D as RemoveMemberInputSchema, E as ReactorGroupStateSchema, O as SetGroupDescriptionInputSchema, S as removeMember, T as AddMemberInputSchema, _ as reducer, a as utils$1, b as addMember, c as ReactorGroupPHStateSchema, d as isReactorGroupDocument, f as isReactorGroupState, g as supportedVersions, h as latestVersion, i as initialLocalState, j as isDefinedNonNullAny, k as SetGroupNameInputSchema, l as assertIsReactorGroupDocument, m as reactorGroupUpgradeManifest, n as utils, o as ReactorGroupDocumentHeaderSchema, p as reactorGroupDocumentType, r as initialGlobalState, s as ReactorGroupDocumentSchema, t as ReactorGroup, u as assertIsReactorGroupState, v as documentModel, w as setGroupName, x as creators_exports, y as actions } from "../../module-DuRVS7HX.js";
2
+ import { PHDocumentController, createBaseState, defaultBaseState } from "document-model";
3
+ import { useDocumentById, useDocumentsInSelectedDrive, useDocumentsInSelectedFolder, useSelectedDocument } from "@powerhousedao/reactor-browser";
4
+ //#region document-models/reactor-group/v1/gen/controller.ts
5
+ /**
6
+ * WARNING: DO NOT EDIT
7
+ * This file is auto-generated and updated by codegen
8
+ */
9
+ const ReactorGroupController = PHDocumentController.forDocumentModel(ReactorGroup);
10
+ //#endregion
11
+ //#region document-models/reactor-group/v1/gen/ph-factories.ts
12
+ function defaultGlobalState() {
13
+ return {
14
+ name: "",
15
+ description: "",
16
+ members: []
17
+ };
18
+ }
19
+ function defaultLocalState() {
20
+ return {};
21
+ }
22
+ function defaultPHState() {
23
+ return {
24
+ ...defaultBaseState(),
25
+ global: defaultGlobalState(),
26
+ local: defaultLocalState()
27
+ };
28
+ }
29
+ function createGlobalState(state) {
30
+ return {
31
+ ...defaultGlobalState(),
32
+ ...state || {}
33
+ };
34
+ }
35
+ function createLocalState(state) {
36
+ return {
37
+ ...defaultLocalState(),
38
+ ...state || {}
39
+ };
40
+ }
41
+ function createState(baseState, globalState, localState) {
42
+ return {
43
+ ...createBaseState(baseState?.auth, baseState?.document),
44
+ global: createGlobalState(globalState),
45
+ local: createLocalState(localState)
46
+ };
47
+ }
48
+ /**
49
+ * Creates a ReactorGroupDocument with custom global and local state
50
+ * This properly handles the PHBaseState requirements while allowing
51
+ * document-specific state to be set.
52
+ */
53
+ function createReactorGroupDocument(state) {
54
+ return utils$1.createDocument(createState(createBaseState(state?.auth, {
55
+ version: 1,
56
+ ...state?.document
57
+ }), state?.global, state?.local));
58
+ }
59
+ //#endregion
60
+ //#region document-models/reactor-group/v1/hooks.ts
61
+ /** Hook to get a ReactorGroup document by its id */
62
+ function useReactorGroupDocumentById(documentId) {
63
+ const [document, dispatch] = useDocumentById(documentId);
64
+ if (!isReactorGroupDocument(document)) return [void 0, void 0];
65
+ return [document, dispatch];
66
+ }
67
+ /** Hook to get the selected ReactorGroup document */
68
+ function useSelectedReactorGroupDocument() {
69
+ const [document, dispatch] = useSelectedDocument();
70
+ assertIsReactorGroupDocument(document);
71
+ return [document, dispatch];
72
+ }
73
+ /** Hook to get all ReactorGroup documents in the selected drive */
74
+ function useReactorGroupDocumentsInSelectedDrive() {
75
+ return useDocumentsInSelectedDrive()?.filter(isReactorGroupDocument);
76
+ }
77
+ /** Hook to get all ReactorGroup documents in the selected folder */
78
+ function useReactorGroupDocumentsInSelectedFolder() {
79
+ return useDocumentsInSelectedFolder()?.filter(isReactorGroupDocument);
80
+ }
81
+ //#endregion
82
+ export { AddMemberInputSchema, ReactorGroup, ReactorGroupController, ReactorGroupDocumentHeaderSchema, ReactorGroupDocumentSchema, ReactorGroupPHStateSchema, ReactorGroupStateSchema, RemoveMemberInputSchema, SetGroupDescriptionInputSchema, SetGroupNameInputSchema, actions, addMember, assertIsReactorGroupDocument, assertIsReactorGroupState, createReactorGroupDocument, createState, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, documentModel, initialGlobalState, initialLocalState, isDefinedNonNullAny, isReactorGroupDocument, isReactorGroupState, latestVersion, reactorGroupDocumentType, creators_exports as reactorGroupGroupActions, reactorGroupUpgradeManifest, reducer, removeMember, setGroupDescription, setGroupName, supportedVersions, useReactorGroupDocumentById, useReactorGroupDocumentsInSelectedDrive, useReactorGroupDocumentsInSelectedFolder, useSelectedReactorGroupDocument, utils };
83
+
84
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["utils"],"sources":["../../../document-models/reactor-group/v1/gen/controller.ts","../../../document-models/reactor-group/v1/gen/ph-factories.ts","../../../document-models/reactor-group/v1/hooks.ts"],"sourcesContent":["/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport { PHDocumentController } from \"document-model\";\nimport { ReactorGroup } from \"../module.js\";\nimport type { ReactorGroupAction, ReactorGroupPHState } from \"./types.js\";\n\nexport const ReactorGroupController = PHDocumentController.forDocumentModel<\n ReactorGroupPHState,\n ReactorGroupAction\n>(ReactorGroup);\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n * Factory methods for creating ReactorGroupDocument instances\n */\nimport type { PHAuthState, PHBaseState, PHDocumentState } from \"document-model\";\nimport { createBaseState, defaultBaseState } from \"document-model\";\nimport type {\n ReactorGroupDocument,\n ReactorGroupGlobalState,\n ReactorGroupLocalState,\n ReactorGroupPHState,\n} from \"./types.js\";\nimport { utils } from \"./utils.js\";\n\nexport function defaultGlobalState(): ReactorGroupGlobalState {\n return {\n name: \"\",\n description: \"\",\n members: [],\n };\n}\n\nexport function defaultLocalState(): ReactorGroupLocalState {\n return {};\n}\n\nexport function defaultPHState(): ReactorGroupPHState {\n return {\n ...defaultBaseState(),\n global: defaultGlobalState(),\n local: defaultLocalState(),\n };\n}\n\nexport function createGlobalState(\n state?: Partial<ReactorGroupGlobalState>,\n): ReactorGroupGlobalState {\n return {\n ...defaultGlobalState(),\n ...(state || {}),\n };\n}\n\nexport function createLocalState(\n state?: Partial<ReactorGroupLocalState>,\n): ReactorGroupLocalState {\n return {\n ...defaultLocalState(),\n ...(state || {}),\n } as ReactorGroupLocalState;\n}\n\nexport function createState(\n baseState?: Partial<PHBaseState>,\n globalState?: Partial<ReactorGroupGlobalState>,\n localState?: Partial<ReactorGroupLocalState>,\n): ReactorGroupPHState {\n return {\n ...createBaseState(baseState?.auth, baseState?.document),\n global: createGlobalState(globalState),\n local: createLocalState(localState),\n };\n}\n\n/**\n * Creates a ReactorGroupDocument with custom global and local state\n * This properly handles the PHBaseState requirements while allowing\n * document-specific state to be set.\n */\nexport function createReactorGroupDocument(\n state?: Partial<{\n auth?: Partial<PHAuthState>;\n document?: Partial<PHDocumentState>;\n global?: Partial<ReactorGroupGlobalState>;\n local?: Partial<ReactorGroupLocalState>;\n }>,\n): ReactorGroupDocument {\n const document = utils.createDocument(\n createState(\n createBaseState(state?.auth, { version: 1, ...state?.document }),\n state?.global,\n state?.local,\n ),\n );\n\n return document;\n}\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { DocumentDispatch } from \"@powerhousedao/reactor-browser\";\nimport {\n useDocumentById,\n useDocumentsInSelectedDrive,\n useDocumentsInSelectedFolder,\n useSelectedDocument,\n} from \"@powerhousedao/reactor-browser\";\nimport type {\n ReactorGroupAction,\n ReactorGroupDocument,\n} from \"document-models/reactor-group/v1\";\nimport {\n assertIsReactorGroupDocument,\n isReactorGroupDocument,\n} from \"./gen/document-schema.js\";\n\n/** Hook to get a ReactorGroup document by its id */\nexport function useReactorGroupDocumentById(\n documentId: string | null | undefined,\n):\n | [ReactorGroupDocument, DocumentDispatch<ReactorGroupAction>]\n | [undefined, undefined] {\n const [document, dispatch] = useDocumentById(documentId);\n if (!isReactorGroupDocument(document)) return [undefined, undefined];\n return [document, dispatch];\n}\n\n/** Hook to get the selected ReactorGroup document */\nexport function useSelectedReactorGroupDocument(): [\n ReactorGroupDocument,\n DocumentDispatch<ReactorGroupAction>,\n] {\n const [document, dispatch] = useSelectedDocument();\n\n assertIsReactorGroupDocument(document);\n return [document, dispatch] as const;\n}\n\n/** Hook to get all ReactorGroup documents in the selected drive */\nexport function useReactorGroupDocumentsInSelectedDrive() {\n const documentsInSelectedDrive = useDocumentsInSelectedDrive();\n return documentsInSelectedDrive?.filter(isReactorGroupDocument);\n}\n\n/** Hook to get all ReactorGroup documents in the selected folder */\nexport function useReactorGroupDocumentsInSelectedFolder() {\n const documentsInSelectedFolder = useDocumentsInSelectedFolder();\n return documentsInSelectedFolder?.filter(isReactorGroupDocument);\n}\n"],"mappings":";;;;;;;;AAQA,MAAa,yBAAyB,qBAAqB,iBAGzD,aAAa;;;ACIf,SAAgB,qBAA8C;AAC5D,QAAO;EACL,MAAM;EACN,aAAa;EACb,SAAS,EAAE;EACZ;;AAGH,SAAgB,oBAA4C;AAC1D,QAAO,EAAE;;AAGX,SAAgB,iBAAsC;AACpD,QAAO;EACL,GAAG,kBAAkB;EACrB,QAAQ,oBAAoB;EAC5B,OAAO,mBAAmB;EAC3B;;AAGH,SAAgB,kBACd,OACyB;AACzB,QAAO;EACL,GAAG,oBAAoB;EACvB,GAAI,SAAS,EAAE;EAChB;;AAGH,SAAgB,iBACd,OACwB;AACxB,QAAO;EACL,GAAG,mBAAmB;EACtB,GAAI,SAAS,EAAE;EAChB;;AAGH,SAAgB,YACd,WACA,aACA,YACqB;AACrB,QAAO;EACL,GAAG,gBAAgB,WAAW,MAAM,WAAW,SAAS;EACxD,QAAQ,kBAAkB,YAAY;EACtC,OAAO,iBAAiB,WAAW;EACpC;;;;;;;AAQH,SAAgB,2BACd,OAMsB;AAStB,QARiBA,QAAM,eACrB,YACE,gBAAgB,OAAO,MAAM;EAAE,SAAS;EAAG,GAAG,OAAO;EAAU,CAAC,EAChE,OAAO,QACP,OAAO,MACR,CACF;;;;;AC/DH,SAAgB,4BACd,YAGyB;CACzB,MAAM,CAAC,UAAU,YAAY,gBAAgB,WAAW;AACxD,KAAI,CAAC,uBAAuB,SAAS,CAAE,QAAO,CAAC,KAAA,GAAW,KAAA,EAAU;AACpE,QAAO,CAAC,UAAU,SAAS;;;AAI7B,SAAgB,kCAGd;CACA,MAAM,CAAC,UAAU,YAAY,qBAAqB;AAElD,8BAA6B,SAAS;AACtC,QAAO,CAAC,UAAU,SAAS;;;AAI7B,SAAgB,0CAA0C;AAExD,QADiC,6BAA6B,EAC7B,OAAO,uBAAuB;;;AAIjE,SAAgB,2CAA2C;AAEzD,QADkC,8BAA8B,EAC9B,OAAO,uBAAuB"}
@@ -0,0 +1,40 @@
1
+ import { $ as SetGroupDescriptionInput, H as AddMemberInput, V as ReactorGroupPHState, Z as RemoveMemberInput, at as SetGroupDescriptionAction, et as SetGroupNameInput, it as RemoveMemberAction, nt as AddMemberAction, ot as SetGroupNameAction, t as ReactorGroup } from "./module-DYPG91AA.js";
2
+ import * as document_model0 from "document-model";
3
+ import { UpgradeManifest } from "document-model";
4
+
5
+ //#region document-models/document-models.d.ts
6
+ /**
7
+ * WARNING: DO NOT EDIT
8
+ * This file is auto-generated and updated by codegen
9
+ */
10
+ declare const documentModels: readonly [{
11
+ readonly version: 1;
12
+ readonly reducer: document_model0.Reducer<ReactorGroupPHState>;
13
+ readonly actions: {
14
+ setGroupName: (input: SetGroupNameInput) => SetGroupNameAction;
15
+ setGroupDescription: (input: SetGroupDescriptionInput) => SetGroupDescriptionAction;
16
+ addMember: (input: AddMemberInput) => AddMemberAction;
17
+ removeMember: (input: RemoveMemberInput) => RemoveMemberAction;
18
+ setName: (name: string | {
19
+ name: string;
20
+ }) => document_model0.SetNameAction;
21
+ setPreferredEditor: (input: string | null | {
22
+ preferredEditor: string | null;
23
+ }) => document_model0.SetPreferredEditorAction;
24
+ undo: (count?: number, scope?: string) => document_model0.UndoAction;
25
+ redo: (count?: number, scope?: string) => document_model0.RedoAction;
26
+ prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
27
+ loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
28
+ name: string;
29
+ }, operations: number) => document_model0.LoadStateAction;
30
+ noop: (scope?: string) => document_model0.NOOPAction;
31
+ };
32
+ readonly utils: document_model0.DocumentModelUtils<ReactorGroupPHState>;
33
+ readonly documentModel: document_model0.DocumentModelPHState;
34
+ }];
35
+ //#endregion
36
+ //#region document-models/upgrade-manifests.d.ts
37
+ declare const upgradeManifests: UpgradeManifest<readonly number[]>[];
38
+ //#endregion
39
+ export { ReactorGroup as ReactorGroupV1, documentModels, upgradeManifests };
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../document-models/document-models.ts","../document-models/upgrade-manifests.ts"],"mappings":";;;;;;;;;cAOa,cAAA;EAAA;4CAA0C,mBAAA;EAAA;mBACyR,KAAA,wBAAwB,kBAAA;0BAAqL,KAAA,EAArL,wBAAA,KAAoN,yBAAA;gBAAgM,KAAA,EAAhM,cAAA,KAAqN,eAAA;mBAAoK,KAAA,EAApK,iBAAA,KAA4L,kBAAA;;;UAAA,eAAA,CAAA,aAAA;;;;2BAAiiV,KAAA,8BAAgB,UAAA;2BAA0C,KAAA,cAA1C,eAAA,CAA0D,UAAA;4BAA2C,GAAA,WAAc,KAAA,cAAzD,eAAA,CAAyE,iBAAA;+BAAA,eAAA,CAAA,WAAA;;;8CAAkM,UAAA;EAAA;EAAA,mDAAA,mBAAA;EAAA;;;;cCDtzX,gBAAA,EAAkB,eAAA"}
package/dist/index.js ADDED
@@ -0,0 +1,15 @@
1
+ import { m as reactorGroupUpgradeManifest, t as ReactorGroup } from "./module-DuRVS7HX.js";
2
+ import "./document-models/index.js";
3
+ //#region document-models/document-models.ts
4
+ /**
5
+ * WARNING: DO NOT EDIT
6
+ * This file is auto-generated and updated by codegen
7
+ */
8
+ const documentModels = [ReactorGroup];
9
+ //#endregion
10
+ //#region document-models/upgrade-manifests.ts
11
+ const upgradeManifests = [reactorGroupUpgradeManifest];
12
+ //#endregion
13
+ export { ReactorGroup as ReactorGroupV1, documentModels, upgradeManifests };
14
+
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["ReactorGroupV1"],"sources":["../document-models/document-models.ts","../document-models/upgrade-manifests.ts"],"sourcesContent":["import { ReactorGroup as ReactorGroupV1 } from \"document-models/reactor-group/v1\";\n\n/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\n\nexport const documentModels = [ReactorGroupV1] as const;\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { UpgradeManifest } from \"document-model\";\nimport { reactorGroupUpgradeManifest } from \"document-models/reactor-group/upgrades\";\n\nexport const upgradeManifests: UpgradeManifest<readonly number[]>[] = [\n reactorGroupUpgradeManifest,\n];\n"],"mappings":";;;;;;;AAOA,MAAa,iBAAiB,CAACA,aAAe;;;ACA9C,MAAa,mBAAyD,CACpE,4BACD"}
@@ -0,0 +1,376 @@
1
+ import * as document_model0 from "document-model";
2
+ import { Action, DocumentModelGlobalState, DocumentModelUtils, PHAuthState, PHBaseState, PHDocument, PHDocumentController, PHDocumentState, Reducer, SignalDispatch } from "document-model";
3
+ import * as z$1 from "zod";
4
+ import { z } from "zod";
5
+ import { DocumentDispatch } from "@powerhousedao/reactor-browser";
6
+
7
+ //#region document-models/reactor-group/v1/gen/group/actions.d.ts
8
+ type SetGroupNameAction = Action & {
9
+ type: "SET_GROUP_NAME";
10
+ input: SetGroupNameInput;
11
+ };
12
+ type SetGroupDescriptionAction = Action & {
13
+ type: "SET_GROUP_DESCRIPTION";
14
+ input: SetGroupDescriptionInput;
15
+ };
16
+ type AddMemberAction = Action & {
17
+ type: "ADD_MEMBER";
18
+ input: AddMemberInput;
19
+ };
20
+ type RemoveMemberAction = Action & {
21
+ type: "REMOVE_MEMBER";
22
+ input: RemoveMemberInput;
23
+ };
24
+ type ReactorGroupGroupAction = SetGroupNameAction | SetGroupDescriptionAction | AddMemberAction | RemoveMemberAction;
25
+ //#endregion
26
+ //#region document-models/reactor-group/v1/gen/actions.d.ts
27
+ type ReactorGroupAction = ReactorGroupGroupAction;
28
+ //#endregion
29
+ //#region document-models/reactor-group/v1/gen/schema/types.d.ts
30
+ type Maybe<T> = T | null | undefined;
31
+ type InputMaybe<T> = T | null | undefined;
32
+ type Exact<T extends {
33
+ [key: string]: unknown;
34
+ }> = { [K in keyof T]: T[K] };
35
+ type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
36
+ type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
37
+ type MakeEmpty<T extends {
38
+ [key: string]: unknown;
39
+ }, K extends keyof T> = { [_ in K]?: never };
40
+ type Incremental<T> = T | { [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never };
41
+ /** All built-in and custom scalars, mapped to their actual values */
42
+ type Scalars = {
43
+ ID: {
44
+ input: string;
45
+ output: string;
46
+ };
47
+ String: {
48
+ input: string;
49
+ output: string;
50
+ };
51
+ Boolean: {
52
+ input: boolean;
53
+ output: boolean;
54
+ };
55
+ Int: {
56
+ input: number;
57
+ output: number;
58
+ };
59
+ Float: {
60
+ input: number;
61
+ output: number;
62
+ };
63
+ Address: {
64
+ input: `${string}:0x${string}`;
65
+ output: `${string}:0x${string}`;
66
+ };
67
+ Amount: {
68
+ input: {
69
+ unit?: string;
70
+ value?: number;
71
+ };
72
+ output: {
73
+ unit?: string;
74
+ value?: number;
75
+ };
76
+ };
77
+ Amount_Crypto: {
78
+ input: {
79
+ unit: string;
80
+ value: string;
81
+ };
82
+ output: {
83
+ unit: string;
84
+ value: string;
85
+ };
86
+ };
87
+ Amount_Currency: {
88
+ input: {
89
+ unit: string;
90
+ value: string;
91
+ };
92
+ output: {
93
+ unit: string;
94
+ value: string;
95
+ };
96
+ };
97
+ Amount_Fiat: {
98
+ input: {
99
+ unit: string;
100
+ value: number;
101
+ };
102
+ output: {
103
+ unit: string;
104
+ value: number;
105
+ };
106
+ };
107
+ Amount_Money: {
108
+ input: number;
109
+ output: number;
110
+ };
111
+ Amount_Percentage: {
112
+ input: number;
113
+ output: number;
114
+ };
115
+ Amount_Tokens: {
116
+ input: number;
117
+ output: number;
118
+ };
119
+ AttachmentRef: {
120
+ input: `attachment://v${number}:${string}`;
121
+ output: `attachment://v${number}:${string}`;
122
+ };
123
+ Currency: {
124
+ input: string;
125
+ output: string;
126
+ };
127
+ Date: {
128
+ input: string;
129
+ output: string;
130
+ };
131
+ DateTime: {
132
+ input: string;
133
+ output: string;
134
+ };
135
+ EmailAddress: {
136
+ input: string;
137
+ output: string;
138
+ };
139
+ EthereumAddress: {
140
+ input: string;
141
+ output: string;
142
+ };
143
+ OID: {
144
+ input: string;
145
+ output: string;
146
+ };
147
+ OLabel: {
148
+ input: string;
149
+ output: string;
150
+ };
151
+ PHID: {
152
+ input: string;
153
+ output: string;
154
+ };
155
+ URL: {
156
+ input: string;
157
+ output: string;
158
+ };
159
+ Unknown: {
160
+ input: unknown;
161
+ output: unknown;
162
+ };
163
+ Upload: {
164
+ input: File;
165
+ output: File;
166
+ };
167
+ };
168
+ type AddMemberInput = {
169
+ address: Scalars["String"]["input"];
170
+ };
171
+ /**
172
+ * A member address list gated by the group document's own auth scope. Addresses
173
+ * are stored as given and compared case-insensitively, matching how { address }
174
+ * principals are compared during auth evaluation.
175
+ */
176
+ type ReactorGroupState = {
177
+ /** Free-text description of the group's purpose. */description: Scalars["String"]["output"]; /** Member wallet addresses. No duplicates under case-insensitive comparison. */
178
+ members: Array<Scalars["String"]["output"]>; /** Display name of the group. */
179
+ name: Scalars["String"]["output"];
180
+ };
181
+ type RemoveMemberInput = {
182
+ address: Scalars["String"]["input"];
183
+ };
184
+ type SetGroupDescriptionInput = {
185
+ description: Scalars["String"]["input"];
186
+ };
187
+ type SetGroupNameInput = {
188
+ name: Scalars["String"]["input"];
189
+ };
190
+ //#endregion
191
+ //#region document-models/reactor-group/v1/gen/types.d.ts
192
+ type ReactorGroupLocalState = Record<PropertyKey, never>;
193
+ type ReactorGroupPHState = PHBaseState & {
194
+ global: ReactorGroupState;
195
+ local: ReactorGroupLocalState;
196
+ };
197
+ type ReactorGroupDocument = PHDocument<ReactorGroupPHState>;
198
+ //#endregion
199
+ //#region document-models/reactor-group/v1/actions.d.ts
200
+ /** Actions for the ReactorGroup document model */
201
+ declare const actions: {
202
+ setGroupName: (input: SetGroupNameInput) => SetGroupNameAction;
203
+ setGroupDescription: (input: SetGroupDescriptionInput) => SetGroupDescriptionAction;
204
+ addMember: (input: AddMemberInput) => AddMemberAction;
205
+ removeMember: (input: RemoveMemberInput) => RemoveMemberAction;
206
+ setName: (name: string | {
207
+ name: string;
208
+ }) => document_model0.SetNameAction;
209
+ setPreferredEditor: (input: string | null | {
210
+ preferredEditor: string | null;
211
+ }) => document_model0.SetPreferredEditorAction;
212
+ undo: (count?: number, scope?: string) => document_model0.UndoAction;
213
+ redo: (count?: number, scope?: string) => document_model0.RedoAction;
214
+ prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
215
+ loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
216
+ name: string;
217
+ }, operations: number) => document_model0.LoadStateAction;
218
+ noop: (scope?: string) => document_model0.NOOPAction;
219
+ };
220
+ //#endregion
221
+ //#region document-models/reactor-group/v1/gen/controller.d.ts
222
+ declare const ReactorGroupController: new (initialDocument?: document_model0.PHDocument<ReactorGroupPHState> | undefined) => PHDocumentController<ReactorGroupPHState> & document_model0.ActionMap<ReactorGroupGroupAction, PHDocumentController<ReactorGroupPHState>>;
223
+ declare namespace creators_d_exports {
224
+ export { addMember, removeMember, setGroupDescription, setGroupName };
225
+ }
226
+ declare const setGroupName: (input: SetGroupNameInput) => SetGroupNameAction;
227
+ declare const setGroupDescription: (input: SetGroupDescriptionInput) => SetGroupDescriptionAction;
228
+ declare const addMember: (input: AddMemberInput) => AddMemberAction;
229
+ declare const removeMember: (input: RemoveMemberInput) => RemoveMemberAction;
230
+ //#endregion
231
+ //#region document-models/reactor-group/v1/gen/document-model.d.ts
232
+ declare const documentModel: DocumentModelGlobalState;
233
+ //#endregion
234
+ //#region document-models/reactor-group/v1/gen/document-schema.d.ts
235
+ /** Schema for validating the header object of a ReactorGroup document */
236
+ declare const ReactorGroupDocumentHeaderSchema: z.ZodObject<{
237
+ id: z.ZodString;
238
+ name: z.ZodString;
239
+ createdAtUtcIso: z.ZodString;
240
+ lastModifiedAtUtcIso: z.ZodString;
241
+ documentType: z.ZodLiteral<"powerhouse/reactor-group">;
242
+ }, z.core.$strip>;
243
+ /** Schema for validating the state object of a ReactorGroup document */
244
+ declare const ReactorGroupPHStateSchema: z.ZodObject<{
245
+ global: z.ZodObject<Required<{
246
+ description: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
247
+ members: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
248
+ name: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
249
+ }>, z.core.$strip>;
250
+ }, z.core.$strip>;
251
+ declare const ReactorGroupDocumentSchema: z.ZodObject<{
252
+ header: z.ZodObject<{
253
+ id: z.ZodString;
254
+ name: z.ZodString;
255
+ createdAtUtcIso: z.ZodString;
256
+ lastModifiedAtUtcIso: z.ZodString;
257
+ documentType: z.ZodLiteral<"powerhouse/reactor-group">;
258
+ }, z.core.$strip>;
259
+ state: z.ZodObject<{
260
+ global: z.ZodObject<Required<{
261
+ description: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
262
+ members: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
263
+ name: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
264
+ }>, z.core.$strip>;
265
+ }, z.core.$strip>;
266
+ initialState: z.ZodObject<{
267
+ global: z.ZodObject<Required<{
268
+ description: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
269
+ members: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
270
+ name: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
271
+ }>, z.core.$strip>;
272
+ }, z.core.$strip>;
273
+ }, z.core.$strip>;
274
+ /** Simple helper function to check if a state object is a ReactorGroup document state object */
275
+ declare function isReactorGroupState(state: unknown): state is ReactorGroupPHState;
276
+ /** Simple helper function to assert that a document state object is a ReactorGroup document state object */
277
+ declare function assertIsReactorGroupState(state: unknown): asserts state is ReactorGroupPHState;
278
+ /** Simple helper function to check if a document is a ReactorGroup document */
279
+ declare function isReactorGroupDocument(document: unknown): document is ReactorGroupDocument;
280
+ /** Simple helper function to assert that a document is a ReactorGroup document */
281
+ declare function assertIsReactorGroupDocument(document: unknown): asserts document is ReactorGroupDocument;
282
+ //#endregion
283
+ //#region document-models/reactor-group/v1/gen/document-type.d.ts
284
+ /**
285
+ * WARNING: DO NOT EDIT
286
+ * This file is auto-generated and updated by codegen
287
+ */
288
+ declare const reactorGroupDocumentType = "powerhouse/reactor-group";
289
+ //#endregion
290
+ //#region document-models/reactor-group/v1/gen/group/operations.d.ts
291
+ interface ReactorGroupGroupOperations {
292
+ setGroupNameOperation: (state: ReactorGroupState, action: SetGroupNameAction, dispatch?: SignalDispatch) => void;
293
+ setGroupDescriptionOperation: (state: ReactorGroupState, action: SetGroupDescriptionAction, dispatch?: SignalDispatch) => void;
294
+ addMemberOperation: (state: ReactorGroupState, action: AddMemberAction, dispatch?: SignalDispatch) => void;
295
+ removeMemberOperation: (state: ReactorGroupState, action: RemoveMemberAction, dispatch?: SignalDispatch) => void;
296
+ }
297
+ //#endregion
298
+ //#region document-models/reactor-group/v1/gen/ph-factories.d.ts
299
+ declare function defaultGlobalState(): ReactorGroupState;
300
+ declare function defaultLocalState(): ReactorGroupLocalState;
301
+ declare function defaultPHState(): ReactorGroupPHState;
302
+ declare function createState$1(baseState?: Partial<PHBaseState>, globalState?: Partial<ReactorGroupState>, localState?: Partial<ReactorGroupLocalState>): ReactorGroupPHState;
303
+ /**
304
+ * Creates a ReactorGroupDocument with custom global and local state
305
+ * This properly handles the PHBaseState requirements while allowing
306
+ * document-specific state to be set.
307
+ */
308
+ declare function createReactorGroupDocument(state?: Partial<{
309
+ auth?: Partial<PHAuthState>;
310
+ document?: Partial<PHDocumentState>;
311
+ global?: Partial<ReactorGroupState>;
312
+ local?: Partial<ReactorGroupLocalState>;
313
+ }>): ReactorGroupDocument;
314
+ //#endregion
315
+ //#region document-models/reactor-group/v1/gen/reducer.d.ts
316
+ declare const reducer: Reducer<ReactorGroupPHState>;
317
+ //#endregion
318
+ //#region document-models/reactor-group/v1/gen/schema/zod.d.ts
319
+ type Properties<T> = Required<{ [K in keyof T]: z$1.ZodType<T[K]> }>;
320
+ type definedNonNullAny = {};
321
+ declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
322
+ declare const definedNonNullAnySchema: z$1.ZodAny & z$1.ZodType<definedNonNullAny, any, z$1.core.$ZodTypeInternals<definedNonNullAny, any>>;
323
+ declare function AddMemberInputSchema(): z$1.ZodObject<Properties<AddMemberInput>>;
324
+ declare function ReactorGroupStateSchema(): z$1.ZodObject<Properties<ReactorGroupState>>;
325
+ declare function RemoveMemberInputSchema(): z$1.ZodObject<Properties<RemoveMemberInput>>;
326
+ declare function SetGroupDescriptionInputSchema(): z$1.ZodObject<Properties<SetGroupDescriptionInput>>;
327
+ declare function SetGroupNameInputSchema(): z$1.ZodObject<Properties<SetGroupNameInput>>;
328
+ //#endregion
329
+ //#region document-models/reactor-group/v1/gen/utils.d.ts
330
+ declare const initialGlobalState: ReactorGroupState;
331
+ declare const initialLocalState: ReactorGroupLocalState;
332
+ //#endregion
333
+ //#region document-models/reactor-group/v1/hooks.d.ts
334
+ /** Hook to get a ReactorGroup document by its id */
335
+ declare function useReactorGroupDocumentById(documentId: string | null | undefined): [ReactorGroupDocument, DocumentDispatch<ReactorGroupAction>] | [undefined, undefined];
336
+ /** Hook to get the selected ReactorGroup document */
337
+ declare function useSelectedReactorGroupDocument(): [ReactorGroupDocument, DocumentDispatch<ReactorGroupAction>];
338
+ /** Hook to get all ReactorGroup documents in the selected drive */
339
+ declare function useReactorGroupDocumentsInSelectedDrive(): ReactorGroupDocument[] | undefined;
340
+ /** Hook to get all ReactorGroup documents in the selected folder */
341
+ declare function useReactorGroupDocumentsInSelectedFolder(): ReactorGroupDocument[] | undefined;
342
+ //#endregion
343
+ //#region document-models/reactor-group/v1/utils.d.ts
344
+ /** Utils for the ReactorGroup document model */
345
+ declare const utils: DocumentModelUtils<ReactorGroupPHState>;
346
+ //#endregion
347
+ //#region document-models/reactor-group/v1/module.d.ts
348
+ /** Document model module for the ReactorGroup document type */
349
+ declare const ReactorGroup: {
350
+ readonly version: 1;
351
+ readonly reducer: document_model0.Reducer<ReactorGroupPHState>;
352
+ readonly actions: {
353
+ setGroupName: (input: SetGroupNameInput) => SetGroupNameAction;
354
+ setGroupDescription: (input: SetGroupDescriptionInput) => SetGroupDescriptionAction;
355
+ addMember: (input: AddMemberInput) => AddMemberAction;
356
+ removeMember: (input: RemoveMemberInput) => RemoveMemberAction;
357
+ setName: (name: string | {
358
+ name: string;
359
+ }) => document_model0.SetNameAction;
360
+ setPreferredEditor: (input: string | null | {
361
+ preferredEditor: string | null;
362
+ }) => document_model0.SetPreferredEditorAction;
363
+ undo: (count?: number, scope?: string) => document_model0.UndoAction;
364
+ redo: (count?: number, scope?: string) => document_model0.RedoAction;
365
+ prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
366
+ loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
367
+ name: string;
368
+ }, operations: number) => document_model0.LoadStateAction;
369
+ noop: (scope?: string) => document_model0.NOOPAction;
370
+ };
371
+ readonly utils: document_model0.DocumentModelUtils<ReactorGroupPHState>;
372
+ readonly documentModel: document_model0.DocumentModelPHState;
373
+ };
374
+ //#endregion
375
+ export { SetGroupDescriptionInput as $, isReactorGroupState as A, ReactorGroupLocalState as B, reactorGroupDocumentType as C, assertIsReactorGroupDocument as D, ReactorGroupPHStateSchema as E, setGroupDescription as F, InputMaybe as G, AddMemberInput as H, setGroupName as I, MakeOptional as J, MakeEmpty as K, ReactorGroupController as L, addMember as M, creators_d_exports as N, assertIsReactorGroupState as O, removeMember as P, Scalars as Q, actions as R, ReactorGroupGroupOperations as S, ReactorGroupDocumentSchema as T, Exact as U, ReactorGroupPHState as V, Incremental as W, ReactorGroupState as X, Maybe as Y, RemoveMemberInput as Z, createReactorGroupDocument as _, useReactorGroupDocumentsInSelectedFolder as a, SetGroupDescriptionAction as at, defaultLocalState as b, initialLocalState as c, RemoveMemberInputSchema as d, SetGroupNameInput as et, SetGroupDescriptionInputSchema as f, reducer as g, isDefinedNonNullAny as h, useReactorGroupDocumentsInSelectedDrive as i, RemoveMemberAction as it, documentModel as j, isReactorGroupDocument as k, AddMemberInputSchema as l, definedNonNullAnySchema as m, utils as n, AddMemberAction as nt, useSelectedReactorGroupDocument as o, SetGroupNameAction as ot, SetGroupNameInputSchema as p, MakeMaybe as q, useReactorGroupDocumentById as r, ReactorGroupGroupAction as rt, initialGlobalState as s, ReactorGroup as t, ReactorGroupAction as tt, ReactorGroupStateSchema as u, createState$1 as v, ReactorGroupDocumentHeaderSchema as w, defaultPHState as x, defaultGlobalState as y, ReactorGroupDocument as z };
376
+ //# sourceMappingURL=module-DYPG91AA.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module-DYPG91AA.d.ts","names":[],"sources":["../document-models/reactor-group/v1/gen/group/actions.ts","../document-models/reactor-group/v1/gen/actions.ts","../document-models/reactor-group/v1/gen/schema/types.ts","../document-models/reactor-group/v1/gen/types.ts","../document-models/reactor-group/v1/actions.ts","../document-models/reactor-group/v1/gen/controller.ts","../document-models/reactor-group/v1/gen/group/creators.ts","../document-models/reactor-group/v1/gen/document-model.ts","../document-models/reactor-group/v1/gen/document-schema.ts","../document-models/reactor-group/v1/gen/document-type.ts","../document-models/reactor-group/v1/gen/group/operations.ts","../document-models/reactor-group/v1/gen/ph-factories.ts","../document-models/reactor-group/v1/gen/reducer.ts","../document-models/reactor-group/v1/gen/schema/zod.ts","../document-models/reactor-group/v1/gen/utils.ts","../document-models/reactor-group/v1/hooks.ts","../document-models/reactor-group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