@powerhousedao/shared 6.2.2-dev.5 → 6.2.2-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/clis/args/access-token.mjs +1 -1
- package/dist/clis/args/{common-dbsvksvf.mjs → common-CcYbXrBx.mjs} +7 -2
- package/dist/clis/args/common-CcYbXrBx.mjs.map +1 -0
- package/dist/clis/args/{common-C5n5ai5C.d.mts → common-jbDGxlex.d.mts} +7 -4
- package/dist/clis/args/{common-C5n5ai5C.d.mts.map → common-jbDGxlex.d.mts.map} +1 -1
- package/dist/clis/args/common.d.mts +2 -2
- package/dist/clis/args/common.mjs +2 -2
- package/dist/clis/args/connect.d.mts +14 -5
- package/dist/clis/args/connect.d.mts.map +1 -1
- package/dist/clis/args/connect.mjs +2 -1
- package/dist/clis/args/connect.mjs.map +1 -1
- package/dist/clis/args/{generate-Cs5okckF.mjs → generate-CQ78RxVS.mjs} +2 -2
- package/dist/clis/args/{generate-Cs5okckF.mjs.map → generate-CQ78RxVS.mjs.map} +1 -1
- package/dist/clis/args/generate.mjs +1 -1
- package/dist/clis/args/{help-BkF9Cxud.mjs → help-Dk-d57W1.mjs} +3 -3
- package/dist/clis/args/{help-BkF9Cxud.mjs.map → help-Dk-d57W1.mjs.map} +1 -1
- package/dist/clis/args/help.mjs +1 -1
- package/dist/clis/args/index.d.mts +2 -2
- package/dist/clis/args/index.mjs +4 -4
- package/dist/clis/args/init.mjs +1 -1
- package/dist/clis/args/inspect.mjs +1 -1
- package/dist/clis/args/install.mjs +1 -1
- package/dist/clis/args/list.mjs +1 -1
- package/dist/clis/args/login.mjs +1 -1
- package/dist/clis/args/migrate.mjs +1 -1
- package/dist/clis/args/publish.mjs +1 -1
- package/dist/clis/args/registry.mjs +1 -1
- package/dist/clis/args/service.mjs +1 -1
- package/dist/clis/args/switchboard.mjs +1 -1
- package/dist/clis/args/uninstall.mjs +1 -1
- package/dist/clis/args/unpublish.mjs +1 -1
- package/dist/clis/args/vetra.mjs +1 -1
- package/dist/clis/build-config.d.mts +1 -1
- package/dist/clis/build-config.d.mts.map +1 -1
- package/dist/clis/constants.d.mts +168 -49
- package/dist/clis/constants.d.mts.map +1 -1
- package/dist/clis/constants.mjs +6 -2
- package/dist/clis/constants.mjs.map +1 -1
- package/dist/clis/index.d.mts +476 -12
- package/dist/clis/index.d.mts.map +1 -1
- package/dist/clis/index.mjs +290 -3
- package/dist/clis/index.mjs.map +1 -1
- package/dist/{config-loader-19K8n4DO.js → config-loader-Dw3syw7r.js} +10 -14
- package/dist/config-loader-Dw3syw7r.js.map +1 -0
- package/dist/connect/config-loader.d.ts +2 -1
- package/dist/connect/config-loader.d.ts.map +1 -1
- package/dist/connect/config-loader.js +1 -1
- package/dist/connect/index.d.ts +435 -14
- package/dist/connect/index.d.ts.map +1 -1
- package/dist/connect/index.js +498 -2
- package/dist/connect/index.js.map +1 -1
- package/dist/connect/json-adapter.d.ts.map +1 -1
- package/dist/{constants-C_EQX4DY.d.ts → constants-BP_gjn8g.d.ts} +1 -1
- package/dist/constants-BP_gjn8g.d.ts.map +1 -0
- package/dist/constants.d.ts +1 -1
- package/dist/document-drive/index.d.ts +2 -2
- package/dist/document-drive/index.d.ts.map +1 -1
- package/dist/document-model/index.d.ts +5 -5
- package/dist/document-model/index.js +1202 -130
- package/dist/document-model/index.js.map +1 -1
- package/dist/document-model/mock.d.ts +1 -1
- package/dist/document-model/mock.js +32 -3
- package/dist/document-model/mock.js.map +1 -1
- package/dist/document-model/utils.d.ts +2 -2
- package/dist/document-model/utils.js +1 -1
- package/dist/index-B84oCK9j.d.ts +760 -0
- package/dist/index-B84oCK9j.d.ts.map +1 -0
- package/dist/{index-CQDIrK1k.d.ts → index-BJU79_T5.d.ts} +1 -1
- package/dist/index-BJU79_T5.d.ts.map +1 -0
- package/dist/index.d.ts +5 -6
- package/dist/mock-BcFWPQyK.d.ts +22 -0
- package/dist/mock-BcFWPQyK.d.ts.map +1 -0
- package/dist/processors/index.d.ts +1 -1
- package/dist/registry/index.d.ts +5 -4
- package/dist/registry/index.d.ts.map +1 -1
- package/dist/registry/index.js +5 -4
- package/dist/registry/index.js.map +1 -1
- package/dist/registry/manifest-slim.d.ts +1 -1
- package/dist/registry/manifest-slim.d.ts.map +1 -1
- package/dist/registry/urls.d.ts +11 -0
- package/dist/registry/urls.d.ts.map +1 -0
- package/dist/registry/urls.js +15 -0
- package/dist/registry/urls.js.map +1 -0
- package/dist/{types-CFCA0OvL.d.ts → types-CTTYein-.d.ts} +29 -3
- package/dist/{types-CFCA0OvL.d.ts.map → types-CTTYein-.d.ts.map} +1 -1
- package/dist/{types-Bo4Rb8Yf.d.ts → types-DlBC9pV6.d.ts} +439 -12
- package/dist/types-DlBC9pV6.d.ts.map +1 -0
- package/dist/{utils-BEByNOHo.d.ts → utils-1EXU6Qr1.d.ts} +1 -1
- package/dist/utils-1EXU6Qr1.d.ts.map +1 -0
- package/dist/{utils-DKOFCM0Q.js → utils-CTt1XRn-.js} +36 -2
- package/dist/utils-CTt1XRn-.js.map +1 -0
- package/package.json +1 -1
- package/dist/clis/args/common-dbsvksvf.mjs.map +0 -1
- package/dist/config-loader-19K8n4DO.js.map +0 -1
- package/dist/constants-C_EQX4DY.d.ts.map +0 -1
- package/dist/index-CQDIrK1k.d.ts.map +0 -1
- package/dist/index-DLx4nU83.d.ts +0 -399
- package/dist/index-DLx4nU83.d.ts.map +0 -1
- package/dist/mock-CBcf78ra.d.ts +0 -7
- package/dist/mock-CBcf78ra.d.ts.map +0 -1
- package/dist/types-Bo4Rb8Yf.d.ts.map +0 -1
- package/dist/types-D0NNBVGA.d.ts +0 -167
- package/dist/types-D0NNBVGA.d.ts.map +0 -1
- package/dist/utils-BEByNOHo.d.ts.map +0 -1
- package/dist/utils-DKOFCM0Q.js.map +0 -1
|
@@ -1,21 +1,52 @@
|
|
|
1
1
|
import { f as IAnalyticsStore } from "./types-C1in4fl3.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { Draft } from "mutative";
|
|
4
|
+
import * as cmd_ts_dist_cjs_argparser_js0 from "cmd-ts/dist/cjs/argparser.js";
|
|
5
|
+
import { ArgParser } from "cmd-ts/dist/cjs/argparser.js";
|
|
6
|
+
import * as cmd_ts_dist_cjs_helpdoc_js0 from "cmd-ts/dist/cjs/helpdoc.js";
|
|
7
|
+
import * as cmd_ts_dist_cjs_runner_js0 from "cmd-ts/dist/cjs/runner.js";
|
|
8
|
+
import { Agent } from "package-manager-detector";
|
|
4
9
|
import { OperationWithContext } from "@powerhousedao/shared/document-model";
|
|
5
10
|
import { Kysely, QueryCreator } from "kysely";
|
|
6
11
|
import { FC, ReactNode } from "react";
|
|
7
12
|
|
|
13
|
+
//#region clis/args/common.d.ts
|
|
14
|
+
declare const getPackageManagerCommand: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
15
|
+
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<{
|
|
16
|
+
packageManager: Agent | undefined;
|
|
17
|
+
npm: boolean | undefined;
|
|
18
|
+
pnpm: boolean | undefined;
|
|
19
|
+
yarn: boolean | undefined;
|
|
20
|
+
bun: boolean | undefined;
|
|
21
|
+
}>>;
|
|
22
|
+
} & cmd_ts_dist_cjs_helpdoc_js0.PrintHelp & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & cmd_ts_dist_cjs_helpdoc_js0.Named & Partial<cmd_ts_dist_cjs_helpdoc_js0.Versioned> & cmd_ts_dist_cjs_argparser_js0.Register & cmd_ts_dist_cjs_runner_js0.Handling<{
|
|
23
|
+
packageManager: Agent | undefined;
|
|
24
|
+
npm: boolean | undefined;
|
|
25
|
+
pnpm: boolean | undefined;
|
|
26
|
+
yarn: boolean | undefined;
|
|
27
|
+
bun: boolean | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
packageManager: Agent | undefined;
|
|
30
|
+
npm: boolean | undefined;
|
|
31
|
+
pnpm: boolean | undefined;
|
|
32
|
+
yarn: boolean | undefined;
|
|
33
|
+
bun: boolean | undefined;
|
|
34
|
+
}> & {
|
|
35
|
+
run(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<{
|
|
36
|
+
packageManager: Agent | undefined;
|
|
37
|
+
npm: boolean | undefined;
|
|
38
|
+
pnpm: boolean | undefined;
|
|
39
|
+
yarn: boolean | undefined;
|
|
40
|
+
bun: boolean | undefined;
|
|
41
|
+
}>>;
|
|
42
|
+
} & Partial<cmd_ts_dist_cjs_helpdoc_js0.Versioned & cmd_ts_dist_cjs_helpdoc_js0.Descriptive & cmd_ts_dist_cjs_helpdoc_js0.Aliased>;
|
|
43
|
+
//#endregion
|
|
8
44
|
//#region processors/constants.d.ts
|
|
9
45
|
declare const PROCESSOR_APPS: readonly ["connect", "switchboard"];
|
|
10
46
|
declare const DEFAULT_RELATIONAL_PROCESSOR_DB_NAME = "relational-db";
|
|
11
47
|
declare const DEFAULT_ANALYTICS_PROCESSOR_DB_NAME = "analytics-db";
|
|
12
48
|
//#endregion
|
|
13
49
|
//#region document-model/signatures.d.ts
|
|
14
|
-
/**
|
|
15
|
-
* A signature of an action.
|
|
16
|
-
*
|
|
17
|
-
* This will be refactored in a future release.
|
|
18
|
-
*/
|
|
19
50
|
type Signature = [string, string, string, string, string];
|
|
20
51
|
/**
|
|
21
52
|
* A user action signer.
|
|
@@ -84,6 +115,11 @@ declare function createDocumentState(document?: Partial<PHDocumentState>): PHDoc
|
|
|
84
115
|
* Creates a PHBaseState with the given auth and document properties
|
|
85
116
|
*/
|
|
86
117
|
declare function createBaseState(auth?: Partial<PHAuthState>, document?: Partial<PHDocumentState>): PHBaseState;
|
|
118
|
+
/**
|
|
119
|
+
* Backfills the auth scope to the default for legacy documents serialized with
|
|
120
|
+
* an empty `auth`. Replaces only `state.auth`. Idempotent.
|
|
121
|
+
*/
|
|
122
|
+
declare function backfillAuthState<TState extends PHBaseState>(state: TState): TState;
|
|
87
123
|
/**
|
|
88
124
|
* The document state of the document.
|
|
89
125
|
*/
|
|
@@ -101,11 +137,106 @@ type PHDocumentState = {
|
|
|
101
137
|
deletionReason?: string;
|
|
102
138
|
};
|
|
103
139
|
/**
|
|
104
|
-
* The
|
|
105
|
-
*
|
|
106
|
-
*
|
|
140
|
+
* The document's authorization policy: an ordered, stacked list of grants,
|
|
141
|
+
* where the last matching grant wins. `{ version: 0, grants: [] }` is
|
|
142
|
+
* uninitialized and leaves the document open.
|
|
107
143
|
*/
|
|
108
|
-
type PHAuthState = {
|
|
144
|
+
type PHAuthState = {
|
|
145
|
+
/**
|
|
146
|
+
* Policy language version. 0 is the uninitialized state; INITIALIZE_AUTH
|
|
147
|
+
* sets an integer >= 1.
|
|
148
|
+
*/
|
|
149
|
+
version: number;
|
|
150
|
+
grants: Grant[];
|
|
151
|
+
/**
|
|
152
|
+
* The did:key of the auth-policy creator, captured from the INITIALIZE_AUTH
|
|
153
|
+
* signer. The creator may always administer the auth scope, so a grant policy
|
|
154
|
+
* can never lock administration out of itself. Absent for an unsigned genesis.
|
|
155
|
+
*/
|
|
156
|
+
creator?: string;
|
|
157
|
+
};
|
|
158
|
+
type Grant = {
|
|
159
|
+
/** Stable id. */id: string;
|
|
160
|
+
description: string;
|
|
161
|
+
effect: "allow" | "deny";
|
|
162
|
+
principal: Principal;
|
|
163
|
+
capability: Capability;
|
|
164
|
+
/**
|
|
165
|
+
* The grant applies only when this condition holds. Until conditions are
|
|
166
|
+
* evaluated, a grant carrying one never applies.
|
|
167
|
+
*/
|
|
168
|
+
where?: Condition;
|
|
169
|
+
};
|
|
170
|
+
type Principal = {
|
|
171
|
+
anyone: true;
|
|
172
|
+
} | {
|
|
173
|
+
address: string;
|
|
174
|
+
} | {
|
|
175
|
+
group: string;
|
|
176
|
+
} | {
|
|
177
|
+
match: Condition;
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* The folded global state of a PHGroup (powerhouse/reactor-group) document,
|
|
181
|
+
* narrowed to what auth evaluation reads. Membership is matched
|
|
182
|
+
* case-insensitively against the subject's address.
|
|
183
|
+
*/
|
|
184
|
+
type PHGroupState = {
|
|
185
|
+
members: string[];
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* Folded group states keyed by group document id, as the groups projection
|
|
189
|
+
* provides them. A group id a policy names but the map does not hold fails
|
|
190
|
+
* closed: the principal does not match.
|
|
191
|
+
*/
|
|
192
|
+
type AuthGroups = Record<string, PHGroupState>;
|
|
193
|
+
type Capability = {
|
|
194
|
+
can: "read";
|
|
195
|
+
scope?: string;
|
|
196
|
+
} | {
|
|
197
|
+
can: "execute";
|
|
198
|
+
scope?: string;
|
|
199
|
+
operation?: string[];
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* Boolean condition language for grants: deterministic, total, and
|
|
203
|
+
* JSON-serializable, versioned by `PHAuthState.version`. Defined now but not
|
|
204
|
+
* yet evaluated or enforced.
|
|
205
|
+
*/
|
|
206
|
+
type Condition = {
|
|
207
|
+
eq: [Operand, Operand];
|
|
208
|
+
} | {
|
|
209
|
+
ne: [Operand, Operand];
|
|
210
|
+
} | {
|
|
211
|
+
in: [Operand, Operand[]];
|
|
212
|
+
} | {
|
|
213
|
+
notIn: [Operand, Operand[]];
|
|
214
|
+
} | {
|
|
215
|
+
lt: [Operand, Operand];
|
|
216
|
+
} | {
|
|
217
|
+
lte: [Operand, Operand];
|
|
218
|
+
} | {
|
|
219
|
+
gt: [Operand, Operand];
|
|
220
|
+
} | {
|
|
221
|
+
gte: [Operand, Operand];
|
|
222
|
+
} | {
|
|
223
|
+
exists: Operand;
|
|
224
|
+
} | {
|
|
225
|
+
and: Condition[];
|
|
226
|
+
} | {
|
|
227
|
+
or: Condition[];
|
|
228
|
+
} | {
|
|
229
|
+
not: Condition;
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* A condition operand: `attr` is a dotted path into the decision context
|
|
233
|
+
* (e.g. "doc.global.status", "subject.address"); `lit` is a constant value.
|
|
234
|
+
*/
|
|
235
|
+
type Operand = {
|
|
236
|
+
attr: string;
|
|
237
|
+
} | {
|
|
238
|
+
lit: string | number | boolean | null;
|
|
239
|
+
};
|
|
109
240
|
/**
|
|
110
241
|
* The base state of the document.
|
|
111
242
|
*/
|
|
@@ -209,7 +340,11 @@ type Operation = {
|
|
|
209
340
|
skip: number; /** Timestamp of when the operation was added */
|
|
210
341
|
timestampUtcMs: string; /** Hash of the resulting document data after the operation */
|
|
211
342
|
hash: string; /** Error message for a failed action */
|
|
212
|
-
error?: string;
|
|
343
|
+
error?: string;
|
|
344
|
+
/**
|
|
345
|
+
* If authorization rejected the action, this records the reason why.
|
|
346
|
+
*/
|
|
347
|
+
deniedReason?: string; /** The resulting state after the operation */
|
|
213
348
|
resultingState?: string;
|
|
214
349
|
/**
|
|
215
350
|
* The action that was applied to the document to produce this operation.
|
|
@@ -225,6 +360,24 @@ type Operation = {
|
|
|
225
360
|
* but that is a breaking change for codegen + external doc models.
|
|
226
361
|
*/
|
|
227
362
|
type DocumentOperations = Record<string, Operation[]>;
|
|
363
|
+
/**
|
|
364
|
+
* What happened to an operation. An operation that is not `applied` still
|
|
365
|
+
* occupies its index but contributes nothing to the document's state.
|
|
366
|
+
*/
|
|
367
|
+
type OperationOutcome = {
|
|
368
|
+
kind: "applied";
|
|
369
|
+
} | {
|
|
370
|
+
kind: "reducer-error";
|
|
371
|
+
message: string;
|
|
372
|
+
} | {
|
|
373
|
+
kind: "denied";
|
|
374
|
+
reason: string;
|
|
375
|
+
};
|
|
376
|
+
/**
|
|
377
|
+
* Reads an operation's outcome. A denial takes precedence over a reducer
|
|
378
|
+
* error, since a denied operation never reaches its reducer.
|
|
379
|
+
*/
|
|
380
|
+
declare function operationOutcome(operation: Operation): OperationOutcome;
|
|
228
381
|
type OperationContext = {
|
|
229
382
|
documentId: string;
|
|
230
383
|
documentType: string;
|
|
@@ -375,8 +528,24 @@ declare function mapSkippedOperationsV2(operations: Operation[]): MappedOperatio
|
|
|
375
528
|
* Uses the V2 model where consecutive NOOPs form chains.
|
|
376
529
|
* Unlike V1 garbageCollect, this preserves ALL operations but marks which to apply.
|
|
377
530
|
*/
|
|
531
|
+
/**
|
|
532
|
+
* The base-reducer protocol version a document is written against. Every
|
|
533
|
+
* document carries one, set from the CREATE_DOCUMENT input. A header without
|
|
534
|
+
* one was built outside that path, and choosing a version on its behalf would
|
|
535
|
+
* replay the document through a reducer it was not written for, so it is an
|
|
536
|
+
* error rather than a default.
|
|
537
|
+
*/
|
|
538
|
+
declare function baseReducerVersion(header: PHDocumentHeader): number;
|
|
378
539
|
declare function garbageCollectV2<TOpIndex extends OperationIndex>(sortedOperations: TOpIndex[]): TOpIndex[];
|
|
379
540
|
declare function sortMappedOperations(operations: DocumentOperationsIgnoreMap): MappedOperation[];
|
|
541
|
+
/**
|
|
542
|
+
* Records an operation in the history without applying it, which is what a
|
|
543
|
+
* denied operation needs: it occupies its index and contributes no state.
|
|
544
|
+
*
|
|
545
|
+
* The scope defaults to the action's own, and is passed explicitly by a rebuild
|
|
546
|
+
* that is walking one stream and does not want to trust the action's copy.
|
|
547
|
+
*/
|
|
548
|
+
declare function appendWithoutApplying<TState extends PHBaseState>(document: PHDocument<TState>, operation: Operation, scope?: string): PHDocument<TState>;
|
|
380
549
|
declare function replayDocument<TState extends PHBaseState = PHBaseState>(initialState: TState, operations: DocumentOperations, reducer: Reducer<TState>, header: PHDocumentHeader, dispatch?: SignalDispatch, skipHeaderOperations?: SkipHeaderOperations, options?: ReplayDocumentOptions): PHDocument<TState>;
|
|
381
550
|
declare function parseResultingState<TState>(state: string | null | undefined): TState;
|
|
382
551
|
declare enum IntegrityIssueType {
|
|
@@ -449,6 +618,7 @@ declare function filterDocumentOperationsResultingState(documentOperations?: Doc
|
|
|
449
618
|
timestampUtcMs: string;
|
|
450
619
|
hash: string;
|
|
451
620
|
error?: string;
|
|
621
|
+
deniedReason?: string;
|
|
452
622
|
action: Action;
|
|
453
623
|
}[];
|
|
454
624
|
};
|
|
@@ -1236,10 +1406,12 @@ declare const ConfigEntrySchema: z.ZodObject<{
|
|
|
1236
1406
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1237
1407
|
default: z.ZodOptional<z.ZodBoolean>;
|
|
1238
1408
|
}, z.core.$strip>;
|
|
1409
|
+
declare const PwaConfigSchema: z.ZodType<PHConnectPwa>;
|
|
1239
1410
|
declare const ManifestSchema: z.ZodObject<{
|
|
1240
1411
|
name: z.ZodString;
|
|
1241
1412
|
description: z.ZodOptional<z.ZodString>;
|
|
1242
1413
|
category: z.ZodOptional<z.ZodString>;
|
|
1414
|
+
image: z.ZodOptional<z.ZodString>;
|
|
1243
1415
|
publisher: z.ZodOptional<z.ZodObject<{
|
|
1244
1416
|
name: z.ZodOptional<z.ZodString>;
|
|
1245
1417
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -1276,6 +1448,7 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
1276
1448
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1277
1449
|
default: z.ZodOptional<z.ZodBoolean>;
|
|
1278
1450
|
}, z.core.$strip>>>;
|
|
1451
|
+
pwa: z.ZodOptional<z.ZodType<PHConnectPwa, unknown, z.core.$ZodTypeInternals<PHConnectPwa, unknown>>>;
|
|
1279
1452
|
}, z.core.$strip>;
|
|
1280
1453
|
//#endregion
|
|
1281
1454
|
//#region document-model/upgrades.d.ts
|
|
@@ -1296,6 +1469,15 @@ type UpgradeManifest<TVersions extends readonly number[]> = {
|
|
|
1296
1469
|
supportedVersions: TVersions;
|
|
1297
1470
|
upgrades: { [V in Exclude<TupleMember<TVersions>, 1> as `v${V}`]: UpgradeTransition };
|
|
1298
1471
|
};
|
|
1472
|
+
/**
|
|
1473
|
+
* Canonical document-model version normalization: documents stamped with 0
|
|
1474
|
+
* or nothing at all predate versioning and are treated as version 1, the
|
|
1475
|
+
* same version the registry assigns unversioned modules. Every consumer
|
|
1476
|
+
* that resolves a module or compares versions must use this rule; resolving
|
|
1477
|
+
* 0 to "latest" instead re-pins a legacy document's history to whichever
|
|
1478
|
+
* module happens to be newest.
|
|
1479
|
+
*/
|
|
1480
|
+
declare function normalizeDocumentModelVersion(version: number | undefined | null): number;
|
|
1299
1481
|
/**
|
|
1300
1482
|
* Applies an UPGRADE_DOCUMENT action to a document.
|
|
1301
1483
|
* Handles all upgrade scenarios including initial upgrades, no-ops, and multi-step upgrades.
|
|
@@ -2488,5 +2670,250 @@ type PowerhouseModule = z.infer<typeof PowerhouseModuleSchema>;
|
|
|
2488
2670
|
type Publisher = z.infer<typeof PublisherSchema>;
|
|
2489
2671
|
type Manifest = z.infer<typeof ManifestSchema>;
|
|
2490
2672
|
//#endregion
|
|
2491
|
-
export { DocumentModelDocumentModelModule as $, RedoActionSchema as $a, merge as $c, UpdateChangeLogItemInput as $i, OperationSpecification as $n, IRelationalQueryBuilder as $o, SetModelIdInput as $r, reorderOperationExamples as $s, MinimalBackupData as $t, CreateDocument as A, DeleteOperationInputSchema as Aa, PHDocument as Ac, SetPreferredEditorActionInput as Ai, createDocumentState as Al, MutationSetModelExtensionArgs as An, SetPreferredEditorActionSchema as Ao, RevisionsFilter as Ar, buildSignedAction as As, IAction as At, DeleteModuleAction as B, ManifestSchema as Ba, filterDuplicatedOperations as Bc, SignalType as Bi, ActionSigner as Bl, MutationSetOperationErrorTemplateArgs as Bn, UpdateStateExampleInputSchema as Bo, SchemaUndoAction as Br, moveOperation as Bs, IsStateOfType as Bt, CodeExample as C, CodeExampleSchema as Ca, undo as Cc, SetOperationSchemaAction as Ci, undoOperation as Cl, MutationReorderOperationErrorsArgs as Cn, SetOperationErrorTemplateInputSchema as Co, ReorderOperationErrorsAction as Cr, addModule as Cs, ENSInfo as Ct, CopyChildDocumentSignal as D, DeleteModuleInputSchema as Da, verifyOperationSignature as Dc, SetOperationTemplateAction as Di, PHDocumentState as Dl, MutationSetAuthorWebsiteArgs as Dn, SetOperationScopeInputSchema as Do, ReorderStateExamplesAction as Dr, addStateExample as Ds, Exact as Dt, CopyChildDocumentInput as E, DeleteChangeLogItemInputSchema as Ea, updateStateExample as Ec, SetOperationScopeInput as Ei, PHBaseState as El, MutationSetAuthorNameArgs as En, SetOperationSchemaInputSchema as Eo, ReorderOperationExamplesInput as Er, addOperationExample as Es, EditorProps as Et, DeleteChangeLogItemInput as F, DocumentSpecificationSchema as Fa, baseCreateDocument as Fc, Set_PreferredEditor as Fi, defaultBaseState as Fl, MutationSetNameArgs as Fn, UndoActionInputSchema as Fo, SchemaNOOPAction as Fr, deleteOperationError as Fs, ISignalResult as Ft, DeleteOperationExampleAction as G, OperationSpecificationSchema as Ga, groupOperationsByScope as Gc, State as Gi, UserActionSigner as Gl, MutationSetStateSchemaArgs as Gn, createRelationalDb as Go, SetAuthorWebsiteInput as Gr, operationWithContext as Gs, LoadStateActionStateInput as Gt, DeleteOperationAction as H, MoveOperationInputSchema as Ha, garbageCollectDocumentOperations as Hc, SigningParameters as Hi, HashConfig as Hl, MutationSetOperationReducerArgs as Hn, isDefinedNonNullAny as Ho, SetAuthorNameAction as Hr, operationExampleCreators as Hs, LoadFromInput as Ht, DeleteChildDocumentInput as I, LoadStateActionInputSchema as Ia, checkCleanedOperationsIntegrity as Ic, Signal as Ii, defaultDocumentState as Il, MutationSetOperationDescriptionArgs as In, UndoActionSchema as Io, SchemaPruneAction as Ir, deleteOperationExample as Is, ISigner as It, DeleteStateExampleAction as J, PruneActionInputSchema as Ja, isNoopOperation as Jc, Undo as Ji, PROCESSOR_APPS as Jl, MutationUpdateOperationExampleArgs as Jn, ExtractProcessorSchemaOrSelf as Jo, SetModelDescriptionAction as Jr, releaseNewVersion as Js, MakeMaybe as Jt, DeleteOperationExampleInput as K, PowerhouseModuleSchema as Ka, hashDocumentStateForScope as Kc, StateReducer as Ki, DEFAULT_ANALYTICS_PROCESSOR_DB_NAME as Kl, MutationUndoArgs as Kn, hashNamespace as Ko, SetInitialStateAction as Kr, prune as Ks, Load_State as Kt, DeleteChildDocumentSignal as L, LoadStateActionSchema as La, checkOperationsIntegrity as Lc, SignalDispatch as Li, defaultGlobalState as Ll, MutationSetOperationErrorCodeArgs as Ln, UndoSchema as Lo, SchemaRedoAction as Lr, deleteStateExample as Ls, Incremental as Lt, CreateDocumentActionInput as M, DocumentActionSchema as Ma, PHDocumentMeta as Mc, SetStateSchemaAction as Mi, createLocalState as Ml, MutationSetModelNameArgs as Mn, Set_NameSchema as Mo, SaveToFileHandle as Mr, deleteChangeLogItem as Ms, IDocument as Mt, CreateState as N, DocumentModelGlobalStateSchema as Na, addUndo as Nc, SetStateSchemaInput as Ni, createState as Nl, MutationSetModuleDescriptionArgs as Nn, Set_PreferredEditorSchema as No, Scalars as Nr, deleteModule as Ns, IOperation as Nt, CreateChildDocumentInput as O, DeleteOperationErrorInputSchema as Oa, IntegrityIssueSubType as Oc, SetOperationTemplateInput as Oi, createAuthState as Ol, MutationSetInitialStateArgs as On, SetOperationTemplateInputSchema as Oo, ReorderStateExamplesInput as Or, baseActions as Os, FileInput as Ot, DeleteChangeLogItemAction as P, DocumentModelInputSchema as Pa, attachBranch as Pc, Set_Name as Pi, defaultAuthState as Pl, MutationSetModuleNameArgs as Pn, StateSchema as Po, SchemaLoadStateAction as Pr, deleteOperation as Ps, ISignal as Pt, DocumentModelDocument as Q, RedoActionInputSchema as Qa, mapSkippedOperationsV2 as Qc, UpdateChangeLogItemAction as Qi, OperationIndex as Qn, IRelationalDbProcessor as Qo, SetModelIdAction as Qr, reorderOperationErrors as Qs, Maybe as Qt, DeleteDocumentAction as R, LoadStateActionStateInputSchema as Ra, diffOperations as Rc, SignalResult as Ri, defaultLocalState as Rl, MutationSetOperationErrorDescriptionArgs as Rn, UpdateChangeLogItemInputSchema as Ro, SchemaSetNameAction as Rr, documentModelActions as Rs, InputMaybe as Rt, Author as S, AuthorSchema as Sa, setStateSchema as Sc, SetOperationReducerInput as Si, setPreferredEditorOperation as Sl, MutationReorderModulesArgs as Sn, SetOperationErrorNameInputSchema as So, ReorderModulesInput as Sr, addChangeLogItem as Ss, DocumentSpecification as St, ConfigEntryType as T, ConfigEntryTypeSchema as Ta, updateOperationExample as Tc, SetOperationScopeAction as Ti, PHAuthState as Tl, MutationReorderStateExamplesArgs as Tn, SetOperationReducerInputSchema as To, ReorderOperationExamplesAction as Tr, addOperationError as Ts, EditorModule as Tt, DeleteOperationErrorAction as U, OperationErrorSchema as Ua, garbageCollectV2 as Uc, SkipHeaderOperationIndex as Ui, PHDocumentSignatureInfo as Ul, MutationSetOperationSchemaArgs as Un, createNamespacedDb as Uo, SetAuthorNameInput as Ur, operationFromAction as Us, LoadStateAction as Ut, DeleteModuleInput as V, ModuleSchema as Va, garbageCollect as Vc, SignatureVerificationHandler as Vi, AppActionSigner as Vl, MutationSetOperationNameArgs as Vn, definedNonNullAnySchema as Vo, ScopeState as Vr, noop as Vs, LoadFromFile as Vt, DeleteOperationErrorInput as W, OperationScopeSchema as Wa, getDocumentLastModified as Wc, SkipHeaderOperations as Wi, Signature as Wl, MutationSetOperationTemplateArgs as Wn, createNamespacedQueryBuilder as Wo, SetAuthorWebsiteAction as Wr, operationFromOperation as Ws, LoadStateActionInput as Wt, DocumentAction as X, PruneSchema as Xa, isUndoRedo as Xc, UndoActionInput as Xi, NOOPAction as Xn, IBaseRelationalDb as Xo, SetModelExtensionAction as Xr, reorderModuleOperations as Xs, Manifest as Xt, DeleteStateExampleInput as Y, PruneActionSchema as Ya, isUndo as Yc, UndoAction as Yi, MutationUpdateStateExampleArgs as Yn, HashAlgorithms as Yo, SetModelDescriptionInput as Yr, reorderChangeLogItems as Ys, MakeOptional as Yt, DocumentModelAction as Z, PublisherSchema as Za, mapSkippedOperations as Zc, UndoRedoAction as Zi, OperationErrorSpecification as Zn, IRelationalDb as Zo, SetModelExtensionInput as Zr, reorderModules as Zs, MappedOperation as Zt, AddRelationshipActionInput as _, AddModuleInputSchema as _a, setOperationReducer as _c, SetOperationErrorTemplateAction as _i, OperationContext as _l, MutationMoveOperationArgs as _n, SetNameActionInputSchema as _o, ReorderChangeLogItemsAction as _r, ActionContext as _s, DocumentModelStateOperations as _t, Actions as a, UpdateStateExampleInput as aa, setModelExtension as ac, SetModuleNameInput as ai, readOnly as al, MutationAddModuleArgs as an, ReorderOperationExamplesInputSchema as ao, PruneAction as ar, IProcessorHostModule as as, DocumentModelLocalState as at, AssertIsDocumentOfType as b, AddOperationInputSchema as ba, setOperationTemplate as bc, SetOperationNameInput as bi, redoOperation as bl, MutationReorderChangeLogItemsInputArgs as bn, SetOperationErrorCodeInputSchema as bo, ReorderModuleOperationsInput as br, actionSigner as bs, DocumentModelVersioningOperations as bt, AddModuleAction as c, User as ca, setModuleDescription as cc, SetNameOperation as ci, reshuffleByTimestamp as cl, MutationAddOperationExampleArgs as cn, SetAuthorNameInputSchema as co, Query as cr, ProcessorApps as cs, DocumentModelModuleOperations as ct, AddOperationErrorAction as d, UpgradeReducer as da, setOperationDescription as dc, SetOperationErrorCodeAction as di, sortMappedOperations as dl, MutationDeleteModuleArgs as dn, SetModelDescriptionInputSchema as do, RedoActionInput as dr, ProcessorFactoryBuilder as ds, DocumentModelOperationErrorOperations as dt, UpdateOperationExampleAction as ea, reorderStateExamples as ec, SetModelNameAction as ei, nextSkipNumber as el, ModuleSpecification as en, RedoSchema as eo, OperationsByScope as er, IRelationalQueryMethods as es, DocumentModelGlobalState as et, AddOperationErrorInput as f, UpgradeTransition as fa, setOperationErrorCode as fc, SetOperationErrorCodeInput as fi, sortOperations as fl, MutationDeleteOperationArgs as fn, SetModelExtensionInputSchema as fo, Reducer as fr, ProcessorFilter as fs, DocumentModelOperationExampleAction as ft, AddRelationshipAction as g, AddChangeLogItemInputSchema as ga, setOperationName as gc, SetOperationErrorNameInput as gi, Operation as gl, MutationLoadStateArgs as gn, SetModuleNameInputSchema as go, RemoveRelationshipActionInput as gr, Action as gs, DocumentModelStateAction as gt, AddOperationInput as h, computeUpgradeTransitions as ha, setOperationErrorTemplate as hc, SetOperationErrorNameAction as hi, DocumentOperations as hl, MutationDeleteStateExampleArgs as hn, SetModuleDescriptionInputSchema as ho, RemoveRelationshipAction as hr, TrackedProcessor as hs, DocumentModelPHState as ht, ActionVerificationHandler as i, UpdateStateExampleAction as ia, setModelDescription as ic, SetModuleNameAction as ii, prepareOperations as il, MutationAddChangeLogItemInputArgs as in, ReorderOperationErrorsInputSchema as io, Prune as ir, IProcessorDispatch as is, DocumentModelLib as it, CreateDocumentAction as j, DeleteStateExampleInputSchema as ja, PHDocumentHeader as jc, SetPreferredEditorOperation as ji, createGlobalState as jl, MutationSetModelIdArgs as jn, SetStateSchemaInputSchema as jo, SaveToFile as jr, createAction as js, ID as jt, CreateChildDocumentSignal as k, DeleteOperationExampleInputSchema as ka, IntegrityIssueType as kc, SetPreferredEditorAction as ki, createBaseState as kl, MutationSetModelDescriptionArgs as kn, SetPreferredEditorActionInputSchema as ko, ReplayDocumentOptions as kr, buildOperationSignature as ks, GetDocumentOptions as kt, AddModuleInput as l, ValidationError as la, setModuleName as lc, SetOperationDescriptionAction as li, reshuffleByTimestampAndIndex as ll, MutationAddStateExampleArgs as ln, SetAuthorWebsiteInputSchema as lo, Redo as lr, ProcessorDispatchResult as ls, DocumentModelOperationAction as lt, AddOperationExampleInput as m, applyUpgradeDocumentAction as ma, setOperationErrorName as mc, SetOperationErrorDescriptionInput as mi, updateHeaderRevision as ml, MutationDeleteOperationExampleArgs as mn, SetModelNameInputSchema as mo, ReleaseNewVersionAction as mr, ProcessorStatus as ms, DocumentModelOperationOperations as mt, ActionSignatureContext as n, UpdateRelationshipAction as na, setAuthorWebsite as nc, SetModuleDescriptionAction as ni, parseResultingState as nl, MoveOperationInput as nn, ReorderModuleOperationsInputSchema as no, PartialState as nr, RelationalDbProcessorClass as ns, DocumentModelHeaderOperations as nt, AddChangeLogItemAction as o, UpgradeDocumentAction as oa, setModelId as oc, SetNameAction as oi, removeExistingOperations as ol, MutationAddOperationArgs as on, ReorderStateExamplesInputSchema as oo, PruneActionInput as or, IProcessorManager as os, DocumentModelModule as ot, AddOperationExampleAction as p, applyDeleteDocumentAction as pa, setOperationErrorDescription as pc, SetOperationErrorDescriptionAction as pi, split as pl, MutationDeleteOperationErrorArgs as pn, SetModelIdInputSchema as po, ReducerOptions as pr, ProcessorRecord as ps, DocumentModelOperationExampleOperations as pt, DeleteOperationInput as q, PowerhouseModulesSchema as qa, isDocumentAction as qc, SubgraphModule as qi, DEFAULT_RELATIONAL_PROCESSOR_DB_NAME as ql, MutationUpdateChangeLogItemInputArgs as qn, relationalDbToQueryBuilder as qo, SetInitialStateInput as qr, redo as qs, MakeEmpty as qt, ActionSigningHandler as r, UpdateRelationshipActionInput as ra, setInitialState as rc, SetModuleDescriptionInput as ri, precedes as rl, Mutation as rn, ReorderModulesInputSchema as ro, PowerhouseModule as rr, IProcessor as rs, DocumentModelInput as rt, AddChangeLogItemInput as s, UpgradeDocumentActionInput as sa, setModelName as sc, SetNameActionInput as si, replayDocument as sl, MutationAddOperationErrorArgs as sn, ScopeStateSchema as so, Publisher as sr, ProcessorApp as ss, DocumentModelModuleAction as st, ActionErrorCallback as t, UpdateOperationExampleInput as ta, setAuthorName as tc, SetModelNameInput as ti, operationsAreEqual as tl, MoveOperationAction as tn, ReorderChangeLogItemsInputSchema as to, PartialRecord as tr, RelationalDbProcessor as ts, DocumentModelHeaderAction as tt, AddOperationAction as u, UpgradeManifest as ua, setName as uc, SetOperationDescriptionInput as ui, skipHeaderOperations as ul, MutationDeleteChangeLogItemInputArgs as un, SetInitialStateInputSchema as uo, RedoAction as ur, ProcessorFactory as us, DocumentModelOperationErrorAction as ut, AddStateExampleAction as v, AddOperationErrorInputSchema as va, setOperationSchema as vc, SetOperationErrorTemplateInput as vi, OperationWithContext$1 as vl, MutationPruneArgs as vn, SetNameActionSchema as vo, ReorderChangeLogItemsInput as vr, actionContext as vs, DocumentModelUtils as vt, ConfigEntry as w, ConfigEntrySchema as wa, updateChangeLogItem as wc, SetOperationSchemaInput as wi, undoOperationV2 as wl, MutationReorderOperationExamplesArgs as wn, SetOperationNameInputSchema as wo, ReorderOperationErrorsInput as wr, addOperation as ws, EditorDispatch as wt, AssertIsStateOfType as x, AddStateExampleInputSchema as xa, setPreferredEditor as xc, SetOperationReducerAction as xi, setNameOperation as xl, MutationReorderModuleOperationsArgs as xn, SetOperationErrorDescriptionInputSchema as xo, ReorderModulesAction as xr, actions as xs, DocumentOperationsIgnoreMap as xt, AddStateExampleInput as y, AddOperationExampleInputSchema as ya, setOperationScope as yc, SetOperationNameAction as yi, loadStateOperation as yl, MutationRedoArgs as yn, SetOperationDescriptionInputSchema as yo, ReorderModuleOperationsAction as yr, actionFromAction as ys, DocumentModelVersioningAction as yt, DeleteDocumentActionInput as z, Load_StateSchema as za, filterDocumentOperationsResultingState as zc, SignalResults as zi, defaultPHState as zl, MutationSetOperationErrorNameArgs as zn, UpdateOperationExampleInputSchema as zo, SchemaSetPreferredEditorAction as zr, loadState as zs, IsDocumentOfType as zt };
|
|
2492
|
-
|
|
2673
|
+
//#region clis/constants.d.ts
|
|
2674
|
+
declare const SERVICE_ACTIONS: readonly ["start", "stop", "status", "setup", "restart"];
|
|
2675
|
+
declare const DRIVES_PRESERVE_STRATEGIES: readonly ["preserve-all", "preserve-by-url-and-detach"];
|
|
2676
|
+
declare const LOG_LEVELS: readonly ["debug", "info", "warn", "error", "verbose"];
|
|
2677
|
+
declare const DEFAULT_REGISTRY_URL: "https://registry.vetra.io";
|
|
2678
|
+
//#endregion
|
|
2679
|
+
//#region clis/types.d.ts
|
|
2680
|
+
type ServiceActions = typeof SERVICE_ACTIONS;
|
|
2681
|
+
type ServiceAction = ServiceActions[number];
|
|
2682
|
+
type DrivePreserveStrategies = typeof DRIVES_PRESERVE_STRATEGIES;
|
|
2683
|
+
type DrivePreserveStrategy = DrivePreserveStrategies[number];
|
|
2684
|
+
type LogLevels = typeof LOG_LEVELS;
|
|
2685
|
+
type LogLevel = LogLevels[number];
|
|
2686
|
+
type ParsedCmdResult<P> = P extends ArgParser<infer Out> ? Out : never;
|
|
2687
|
+
type PackageManagerArgs = ParsedCmdResult<typeof getPackageManagerCommand>;
|
|
2688
|
+
type PHPackageProvider = "npm" | "github" | "local" | "registry";
|
|
2689
|
+
type PathValidation = (dir: string) => boolean;
|
|
2690
|
+
type PowerhousePackage = {
|
|
2691
|
+
packageName: string;
|
|
2692
|
+
version?: string;
|
|
2693
|
+
provider?: PHPackageProvider;
|
|
2694
|
+
url?: string;
|
|
2695
|
+
};
|
|
2696
|
+
type PHConnectBranding = {
|
|
2697
|
+
appName?: string;
|
|
2698
|
+
homeBackground?: string | null;
|
|
2699
|
+
};
|
|
2700
|
+
type PHConnectDefaultDrive = {
|
|
2701
|
+
url: string;
|
|
2702
|
+
name?: string | null;
|
|
2703
|
+
icon?: string | null;
|
|
2704
|
+
};
|
|
2705
|
+
type PHConnectDriveSection = {
|
|
2706
|
+
enabled?: boolean;
|
|
2707
|
+
allowAdd?: boolean;
|
|
2708
|
+
allowDelete?: boolean;
|
|
2709
|
+
};
|
|
2710
|
+
type PHConnectDriveSections = {
|
|
2711
|
+
remote?: PHConnectDriveSection;
|
|
2712
|
+
local?: PHConnectDriveSection;
|
|
2713
|
+
};
|
|
2714
|
+
type PHConnectDrives = {
|
|
2715
|
+
allowAddDrive?: boolean;
|
|
2716
|
+
defaultDrives?: PHConnectDefaultDrive[];
|
|
2717
|
+
preserveStrategy?: DrivePreserveStrategy;
|
|
2718
|
+
sections?: PHConnectDriveSections;
|
|
2719
|
+
};
|
|
2720
|
+
type PHConnectApp = {
|
|
2721
|
+
logLevel?: "debug" | "info" | "warn" | "error";
|
|
2722
|
+
basePath?: string;
|
|
2723
|
+
offline?: boolean;
|
|
2724
|
+
studioMode?: boolean;
|
|
2725
|
+
};
|
|
2726
|
+
type PHConnectPackages = {
|
|
2727
|
+
externalEnabled?: boolean; /** Subscribe to the static-mode `/__packages` SSE channel for live reload. */
|
|
2728
|
+
liveReload?: boolean;
|
|
2729
|
+
};
|
|
2730
|
+
type PHRenownRainbowAdapterConfig = {
|
|
2731
|
+
/** WalletConnect project id; required for the rainbow adapter to function. */walletConnectProjectId?: string; /** Optional Infura project id used to build RPC transports. */
|
|
2732
|
+
infuraProjectId?: string;
|
|
2733
|
+
};
|
|
2734
|
+
type PHRenownPrivyAdapterConfig = {
|
|
2735
|
+
/** Privy application id; required for the privy adapter to function. */appId?: string; /** Optional Privy client id. */
|
|
2736
|
+
clientId?: string; /** Login methods this adapter offers; defaults per adapter when omitted. */
|
|
2737
|
+
methods?: string[];
|
|
2738
|
+
};
|
|
2739
|
+
type PHConnectRenownAdapters = {
|
|
2740
|
+
rainbow?: PHRenownRainbowAdapterConfig;
|
|
2741
|
+
privy?: PHRenownPrivyAdapterConfig;
|
|
2742
|
+
};
|
|
2743
|
+
type PHConnectRenown = {
|
|
2744
|
+
url?: string;
|
|
2745
|
+
networkId?: string;
|
|
2746
|
+
chainId?: number; /** Renown localStorage namespace; share it across Connects to share login. */
|
|
2747
|
+
namespace?: string; /** Switchboard GraphQL URL; when set, enables in-page (no-redirect) auth. */
|
|
2748
|
+
switchboardUrl?: string; /** Per-adapter wallet config; presence of a key enables that adapter. */
|
|
2749
|
+
adapters?: PHConnectRenownAdapters;
|
|
2750
|
+
};
|
|
2751
|
+
type PHConnectSentry = {
|
|
2752
|
+
/** Sentry DSN URL. `null` disables Sentry entirely. */dsn?: string | null; /** Sentry environment label. */
|
|
2753
|
+
env?: string; /** Enable Sentry performance tracing. */
|
|
2754
|
+
tracing?: boolean;
|
|
2755
|
+
};
|
|
2756
|
+
type PHConnectInstance = {
|
|
2757
|
+
namespace: string | null;
|
|
2758
|
+
reactorWorker: boolean;
|
|
2759
|
+
};
|
|
2760
|
+
/** Each flag implies its predecessors, and must match the fleet Connect syncs
|
|
2761
|
+
* with or the two compute different replay outcomes. */
|
|
2762
|
+
type PHConnectReactorFeatureFlags = {
|
|
2763
|
+
/** Decide writes from the document stream instead of the meta cache. */documentDecisions?: boolean; /** Enforce the auth scope's policy at admission, replay, and read. */
|
|
2764
|
+
authEnforcement?: boolean; /** Let `{ group }` principals match, via the group documents' rosters. */
|
|
2765
|
+
authGroups?: boolean; /** Evaluate `where` / `match` conditions on grants. */
|
|
2766
|
+
authConditions?: boolean;
|
|
2767
|
+
};
|
|
2768
|
+
type PHConnectReactor = {
|
|
2769
|
+
featureFlags?: PHConnectReactorFeatureFlags;
|
|
2770
|
+
};
|
|
2771
|
+
/**
|
|
2772
|
+
* A URL-matching pattern for a service-worker runtime-caching rule, in
|
|
2773
|
+
* JSON-serialisable form. A plain string is handed to Workbox verbatim (exact
|
|
2774
|
+
* URL or same-origin path match). `{ source, flags }` is reconstructed into a
|
|
2775
|
+
* `RegExp` at build time — use it for prefix/suffix/origin matches (e.g.
|
|
2776
|
+
* `{ source: "^https://api\\.acme\\.io/" }`). Function-valued patterns aren't
|
|
2777
|
+
* expressible here; regex covers the realistic package cases.
|
|
2778
|
+
*/
|
|
2779
|
+
type PHConnectPwaUrlPattern = string | {
|
|
2780
|
+
source: string;
|
|
2781
|
+
flags?: string;
|
|
2782
|
+
};
|
|
2783
|
+
type PHConnectPwaCacheStrategy = "CacheFirst" | "CacheOnly" | "NetworkFirst" | "NetworkOnly" | "StaleWhileRevalidate";
|
|
2784
|
+
/** Serialisable subset of a Workbox `RuntimeCaching` rule. */
|
|
2785
|
+
type PHConnectPwaRuntimeCaching = {
|
|
2786
|
+
urlPattern: PHConnectPwaUrlPattern;
|
|
2787
|
+
handler: PHConnectPwaCacheStrategy;
|
|
2788
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "PATCH";
|
|
2789
|
+
options?: {
|
|
2790
|
+
cacheName?: string;
|
|
2791
|
+
/** Seconds a NetworkFirst rule waits for the network before falling back
|
|
2792
|
+
* to the cache. */
|
|
2793
|
+
networkTimeoutSeconds?: number;
|
|
2794
|
+
expiration?: {
|
|
2795
|
+
maxEntries?: number;
|
|
2796
|
+
maxAgeSeconds?: number;
|
|
2797
|
+
};
|
|
2798
|
+
cacheableResponse?: {
|
|
2799
|
+
statuses?: number[];
|
|
2800
|
+
headers?: Record<string, string>;
|
|
2801
|
+
};
|
|
2802
|
+
};
|
|
2803
|
+
};
|
|
2804
|
+
type PHConnectPwaIcon = {
|
|
2805
|
+
src: string;
|
|
2806
|
+
sizes?: string;
|
|
2807
|
+
type?: string;
|
|
2808
|
+
purpose?: string;
|
|
2809
|
+
};
|
|
2810
|
+
/**
|
|
2811
|
+
* A File Handling API entry a package or project contributes: the OS-level
|
|
2812
|
+
* file types the installed Connect PWA offers to open. There is deliberately
|
|
2813
|
+
* no `action` field — consuming launched files requires runtime code that
|
|
2814
|
+
* lives in Connect itself, so every handler (built-in or contributed) opens
|
|
2815
|
+
* at Connect's app root, injected at build time.
|
|
2816
|
+
*/
|
|
2817
|
+
type PHConnectPwaFileHandler = {
|
|
2818
|
+
/** MIME type → file extensions (each must start with "."). */accept: Record<string, string[]>; /** OS-level file-type icons. */
|
|
2819
|
+
icons?: PHConnectPwaIcon[];
|
|
2820
|
+
launch_type?: "single-client" | "multiple-clients";
|
|
2821
|
+
};
|
|
2822
|
+
/** Web-app-manifest fields a package or project may override. */
|
|
2823
|
+
type PHConnectPwaManifest = {
|
|
2824
|
+
name?: string;
|
|
2825
|
+
short_name?: string;
|
|
2826
|
+
description?: string;
|
|
2827
|
+
theme_color?: string;
|
|
2828
|
+
background_color?: string;
|
|
2829
|
+
display?: "fullscreen" | "standalone" | "minimal-ui" | "browser";
|
|
2830
|
+
start_url?: string;
|
|
2831
|
+
scope?: string;
|
|
2832
|
+
icons?: PHConnectPwaIcon[]; /** Extra file associations, appended after Connect's built-in `.phd`/`.phdm` handler. */
|
|
2833
|
+
file_handlers?: PHConnectPwaFileHandler[]; /** How the OS launches the app for handled files/links. */
|
|
2834
|
+
launch_handler?: {
|
|
2835
|
+
client_mode: "auto" | "focus-existing" | "navigate-existing" | "navigate-new";
|
|
2836
|
+
};
|
|
2837
|
+
/** App-store-style categories. NOT authored under `connect.pwa` — derived at
|
|
2838
|
+
* build/runtime from the `category` field of every contributing
|
|
2839
|
+
* `powerhouse.manifest.json` (project + packages), unioned across them. */
|
|
2840
|
+
categories?: string[];
|
|
2841
|
+
};
|
|
2842
|
+
/**
|
|
2843
|
+
* PWA / service-worker overrides contributed by a package or the project.
|
|
2844
|
+
* Layered on top of Connect's hardcoded PWA defaults at build time. Scalar
|
|
2845
|
+
* fields deep-merge (later layer wins); every array member — the manifest
|
|
2846
|
+
* arrays (`icons`, `file_handlers`, and the derived `categories`) plus the
|
|
2847
|
+
* top-level `globPatterns`, `globIgnores`, `runtimeCaching` and
|
|
2848
|
+
* `navigateFallbackDenylist` — is additive (concatenated/unioned);
|
|
2849
|
+
* `maximumFileSizeToCacheInBytes` takes the max across contributors.
|
|
2850
|
+
* Precedence: defaults < package fragments < project config.
|
|
2851
|
+
*/
|
|
2852
|
+
type PHConnectPwa = {
|
|
2853
|
+
manifest?: PHConnectPwaManifest; /** Extra Workbox precache globs, unioned with the built-in patterns. */
|
|
2854
|
+
globPatterns?: string[]; /** Extra Workbox precache ignore globs, unioned with the built-in list. */
|
|
2855
|
+
globIgnores?: string[]; /** Raise the precache file-size ceiling; the max across contributors wins. */
|
|
2856
|
+
maximumFileSizeToCacheInBytes?: number; /** Additional runtime-caching rules, appended after the built-in rules. */
|
|
2857
|
+
runtimeCaching?: PHConnectPwaRuntimeCaching[]; /** Extra SPA-fallback denylist patterns, unioned with the built-in list. */
|
|
2858
|
+
navigateFallbackDenylist?: PHConnectPwaUrlPattern[];
|
|
2859
|
+
};
|
|
2860
|
+
type PHConnectRuntimeConfig = {
|
|
2861
|
+
branding?: PHConnectBranding;
|
|
2862
|
+
app?: PHConnectApp;
|
|
2863
|
+
packages?: PHConnectPackages;
|
|
2864
|
+
drives?: PHConnectDrives;
|
|
2865
|
+
renown?: PHConnectRenown;
|
|
2866
|
+
sentry?: PHConnectSentry;
|
|
2867
|
+
instance?: PHConnectInstance;
|
|
2868
|
+
reactor?: PHConnectReactor;
|
|
2869
|
+
pwa?: PHConnectPwa;
|
|
2870
|
+
};
|
|
2871
|
+
type PowerhouseConfig = {
|
|
2872
|
+
logLevel: LogLevel;
|
|
2873
|
+
documentModelsDir: string;
|
|
2874
|
+
editorsDir: string;
|
|
2875
|
+
processorsDir: string;
|
|
2876
|
+
subgraphsDir: string;
|
|
2877
|
+
importScriptsDir: string;
|
|
2878
|
+
skipFormat: boolean;
|
|
2879
|
+
interactive?: boolean;
|
|
2880
|
+
watch?: boolean;
|
|
2881
|
+
reactor?: {
|
|
2882
|
+
port?: number;
|
|
2883
|
+
https?: undefined | boolean | {
|
|
2884
|
+
keyPath: string;
|
|
2885
|
+
certPath: string;
|
|
2886
|
+
};
|
|
2887
|
+
storage?: {
|
|
2888
|
+
type: "filesystem" | "memory" | "postgres" | "browser";
|
|
2889
|
+
filesystemPath?: string;
|
|
2890
|
+
postgresUrl?: string;
|
|
2891
|
+
};
|
|
2892
|
+
};
|
|
2893
|
+
auth?: {
|
|
2894
|
+
enabled?: boolean;
|
|
2895
|
+
admins: string[];
|
|
2896
|
+
};
|
|
2897
|
+
switchboard?: {
|
|
2898
|
+
database?: {
|
|
2899
|
+
url?: string;
|
|
2900
|
+
};
|
|
2901
|
+
port?: number;
|
|
2902
|
+
};
|
|
2903
|
+
studio?: {
|
|
2904
|
+
port?: number;
|
|
2905
|
+
host?: string;
|
|
2906
|
+
https: boolean;
|
|
2907
|
+
openBrowser?: boolean;
|
|
2908
|
+
};
|
|
2909
|
+
packages?: PowerhousePackage[];
|
|
2910
|
+
vetra?: {
|
|
2911
|
+
driveId: string;
|
|
2912
|
+
driveUrl: string;
|
|
2913
|
+
};
|
|
2914
|
+
packageRegistryUrl?: string;
|
|
2915
|
+
connect?: PHConnectRuntimeConfig;
|
|
2916
|
+
};
|
|
2917
|
+
//#endregion
|
|
2918
|
+
export { AddRelationshipActionInput as $, AddChangeLogItemInputSchema as $a, setOperationErrorTemplate as $c, SetOperationErrorTemplateAction as $i, split as $l, MutationMoveOperationArgs as $n, SetModuleDescriptionInputSchema as $o, ReorderChangeLogItemsAction as $r, TrackedProcessor as $s, DocumentModelStateOperations as $t, ParsedCmdResult as A, Undo as Aa, prune as Ac, SetModelDescriptionAction as Ai, getDocumentLastModified as Al, MakeMaybe as An, PowerhouseModulesSchema as Ao, MutationUpdateOperationExampleArgs as Ar, hashNamespace as As, DeleteStateExampleAction as At, defaultAuthState as Au, ActionVerificationHandler as B, UpdateStateExampleAction as Ba, setAuthorWebsite as Bc, SetModuleNameAction as Bi, nextSkipNumber as Bl, MutationAddChangeLogItemInputArgs as Bn, ReorderModuleOperationsInputSchema as Bo, Prune as Br, RelationalDbProcessorClass as Bs, DocumentModelLib as Bt, Signature as Bu, PHConnectRenownAdapters as C, SignatureVerificationHandler as Ca, loadState as Cc, ScopeState as Ci, checkOperationsIntegrity as Cl, LoadFromFile as Cn, ManifestSchema as Co, MutationSetOperationNameArgs as Cr, UpdateOperationExampleInputSchema as Cs, DeleteModuleInput as Ct, backfillAuthState as Cu, PHRenownPrivyAdapterConfig as D, State as Da, operationFromAction as Dc, SetAuthorWebsiteInput as Di, garbageCollect as Dl, LoadStateActionStateInput as Dn, OperationScopeSchema as Do, MutationSetStateSchemaArgs as Dr, createNamespacedDb as Ds, DeleteOperationExampleAction as Dt, createGlobalState as Du, PHPackageProvider as E, SkipHeaderOperations as Ea, operationExampleCreators as Ec, SetAuthorWebsiteAction as Ei, filterDuplicatedOperations as El, LoadStateActionInput as En, OperationErrorSchema as Eo, MutationSetOperationTemplateArgs as Er, isDefinedNonNullAny as Es, DeleteOperationErrorInput as Et, createDocumentState as Eu, ServiceActions as F, UpdateChangeLogItemInput as Fa, reorderModules as Fc, SetModelIdInput as Fi, isUndo as Fl, MinimalBackupData as Fn, PwaConfigSchema as Fo, OperationSpecification as Fr, IRelationalDb as Fs, DocumentModelDocumentModelModule as Ft, defaultPHState as Fu, AddModuleInput as G, ValidationError as Ga, setModelName as Gc, SetOperationDescriptionAction as Gi, readOnly as Gl, MutationAddStateExampleArgs as Gn, ScopeStateSchema as Go, Redo as Gr, ProcessorApp as Gs, DocumentModelOperationAction as Gt, AddChangeLogItemAction as H, UpgradeDocumentAction as Ha, setModelDescription as Hc, SetNameAction as Hi, parseResultingState as Hl, MutationAddOperationArgs as Hn, ReorderOperationErrorsInputSchema as Ho, PruneActionInput as Hr, IProcessorDispatch as Hs, DocumentModelModule as Ht, DEFAULT_ANALYTICS_PROCESSOR_DB_NAME as Hu, DEFAULT_REGISTRY_URL as I, UpdateOperationExampleAction as Ia, reorderOperationErrors as Ic, SetModelNameAction as Ii, isUndoRedo as Il, ModuleSpecification as In, RedoActionInputSchema as Io, OperationsByScope as Ir, IRelationalDbProcessor as Is, DocumentModelGlobalState as It, ActionSigner as Iu, AddOperationErrorInput as J, UpgradeTransition as Ja, setName as Jc, SetOperationErrorCodeInput as Ji, reshuffleByTimestamp as Jl, MutationDeleteOperationArgs as Jn, SetInitialStateInputSchema as Jo, Reducer as Jr, ProcessorFactory as Js, DocumentModelOperationExampleAction as Jt, AddOperationAction as K, UpgradeManifest as Ka, setModuleDescription as Kc, SetOperationDescriptionInput as Ki, removeExistingOperations as Kl, MutationDeleteChangeLogItemInputArgs as Kn, SetAuthorNameInputSchema as Ko, RedoAction as Kr, ProcessorApps as Ks, DocumentModelOperationErrorAction as Kt, ActionErrorCallback as L, UpdateOperationExampleInput as La, reorderOperationExamples as Lc, SetModelNameInput as Li, mapSkippedOperations as Ll, MoveOperationAction as Ln, RedoActionSchema as Lo, PartialRecord as Lr, IRelationalQueryBuilder as Ls, DocumentModelHeaderAction as Lt, AppActionSigner as Lu, PowerhouseConfig as M, UndoActionInput as Ma, releaseNewVersion as Mc, SetModelExtensionAction as Mi, hashDocumentStateForScope as Ml, Manifest as Mn, PruneActionSchema as Mo, NOOPAction as Mr, ExtractProcessorSchemaOrSelf as Ms, DocumentAction as Mt, defaultDocumentState as Mu, PowerhousePackage as N, UndoRedoAction as Na, reorderChangeLogItems as Nc, SetModelExtensionInput as Ni, isDocumentAction as Nl, MappedOperation as Nn, PruneSchema as No, OperationErrorSpecification as Nr, HashAlgorithms as Ns, DocumentModelAction as Nt, defaultGlobalState as Nu, PHRenownRainbowAdapterConfig as O, StateReducer as Oa, operationFromOperation as Oc, SetInitialStateAction as Oi, garbageCollectDocumentOperations as Ol, Load_State as On, OperationSpecificationSchema as Oo, MutationUndoArgs as Or, createNamespacedQueryBuilder as Os, DeleteOperationExampleInput as Ot, createLocalState as Ou, ServiceAction as P, UpdateChangeLogItemAction as Pa, reorderModuleOperations as Pc, SetModelIdAction as Pi, isNoopOperation as Pl, Maybe as Pn, PublisherSchema as Po, OperationIndex as Pr, IBaseRelationalDb as Ps, DocumentModelDocument as Pt, defaultLocalState as Pu, AddRelationshipAction as Q, normalizeDocumentModelVersion as Qa, setOperationErrorName as Qc, SetOperationErrorNameInput as Qi, sortOperations as Ql, MutationLoadStateArgs as Qn, SetModelNameInputSchema as Qo, RemoveRelationshipActionInput as Qr, ProcessorStatus as Qs, DocumentModelStateAction as Qt, ActionSignatureContext as R, UpdateRelationshipAction as Ra, reorderStateExamples as Rc, SetModuleDescriptionAction as Ri, mapSkippedOperationsV2 as Rl, MoveOperationInput as Rn, RedoSchema as Ro, PartialState as Rr, IRelationalQueryMethods as Rs, DocumentModelHeaderOperations as Rt, HashConfig as Ru, PHConnectRenown as S, SignalType as Sa, documentModelActions as Sc, SchemaUndoAction as Si, checkCleanedOperationsIntegrity as Sl, IsStateOfType as Sn, Load_StateSchema as So, MutationSetOperationErrorTemplateArgs as Sr, UpdateChangeLogItemInputSchema as Ss, DeleteModuleAction as St, Principal as Su, PHConnectSentry as T, SkipHeaderOperationIndex as Ta, noop as Tc, SetAuthorNameInput as Ti, filterDocumentOperationsResultingState as Tl, LoadStateAction as Tn, MoveOperationInputSchema as To, MutationSetOperationSchemaArgs as Tr, definedNonNullAnySchema as Ts, DeleteOperationErrorAction as Tt, createBaseState as Tu, AddChangeLogItemInput as U, UpgradeDocumentActionInput as Ua, setModelExtension as Uc, SetNameActionInput as Ui, precedes as Ul, MutationAddOperationErrorArgs as Un, ReorderOperationExamplesInputSchema as Uo, Publisher as Ur, IProcessorHostModule as Us, DocumentModelModuleAction as Ut, DEFAULT_RELATIONAL_PROCESSOR_DB_NAME as Uu, Actions as V, UpdateStateExampleInput as Va, setInitialState as Vc, SetModuleNameInput as Vi, operationsAreEqual as Vl, MutationAddModuleArgs as Vn, ReorderModulesInputSchema as Vo, PruneAction as Vr, IProcessor as Vs, DocumentModelLocalState as Vt, UserActionSigner as Vu, AddModuleAction as W, User as Wa, setModelId as Wc, SetNameOperation as Wi, prepareOperations as Wl, MutationAddOperationExampleArgs as Wn, ReorderStateExamplesInputSchema as Wo, Query as Wr, IProcessorManager as Ws, DocumentModelModuleOperations as Wt, PROCESSOR_APPS as Wu, AddOperationExampleInput as X, applyUpgradeDocumentAction as Xa, setOperationErrorCode as Xc, SetOperationErrorDescriptionInput as Xi, skipHeaderOperations as Xl, MutationDeleteOperationExampleArgs as Xn, SetModelExtensionInputSchema as Xo, ReleaseNewVersionAction as Xr, ProcessorFilter as Xs, DocumentModelOperationOperations as Xt, AddOperationExampleAction as Y, applyDeleteDocumentAction as Ya, setOperationDescription as Yc, SetOperationErrorDescriptionAction as Yi, reshuffleByTimestampAndIndex as Yl, MutationDeleteOperationErrorArgs as Yn, SetModelDescriptionInputSchema as Yo, ReducerOptions as Yr, ProcessorFactoryBuilder as Ys, DocumentModelOperationExampleOperations as Yt, AddOperationInput as Z, computeUpgradeTransitions as Za, setOperationErrorDescription as Zc, SetOperationErrorNameAction as Zi, sortMappedOperations as Zl, MutationDeleteStateExampleArgs as Zn, SetModelIdInputSchema as Zo, RemoveRelationshipAction as Zr, ProcessorRecord as Zs, DocumentModelPHState as Zt, PHConnectPwaManifest as _, Set_PreferredEditor as _a, deleteModule as _c, SchemaNOOPAction as _i, addUndo as _l, ISignalResult as _n, DocumentModelInputSchema as _o, MutationSetNameArgs as _r, Set_PreferredEditorSchema as _s, DeleteChangeLogItemInput as _t, Operand as _u, PHConnectApp as a, SetOperationSchemaAction as aa, actions as ac, ReorderOperationErrorsAction as ai, setPreferredEditor as al, ENSInfo as an, AuthorSchema as ao, MutationReorderOperationErrorsArgs as ar, SetOperationErrorDescriptionInputSchema as as, CodeExample as at, OperationWithContext$1 as au, PHConnectReactor as b, SignalResult as ba, deleteOperationExample as bc, SchemaSetNameAction as bi, baseCreateDocument as bl, InputMaybe as bn, LoadStateActionSchema as bo, MutationSetOperationErrorDescriptionArgs as br, UndoActionSchema as bs, DeleteDocumentAction as bt, PHDocumentState as bu, PHConnectDriveSection as c, SetOperationScopeInput as ca, addOperation as cc, ReorderOperationExamplesInput as ci, updateChangeLogItem as cl, EditorProps as cn, ConfigEntryTypeSchema as co, MutationSetAuthorNameArgs as cr, SetOperationNameInputSchema as cs, CopyChildDocumentInput as ct, redoOperation as cu, PHConnectInstance as d, SetPreferredEditorAction as da, addStateExample as dc, ReplayDocumentOptions as di, verifyOperationSignature as dl, GetDocumentOptions as dn, DeleteOperationErrorInputSchema as do, MutationSetModelDescriptionArgs as dr, SetOperationScopeInputSchema as ds, CreateChildDocumentSignal as dt, undoOperation as du, SetOperationErrorTemplateInput as ea, Action as ec, ReorderChangeLogItemsInput as ei, setOperationName as el, DocumentModelUtils as en, AddModuleInputSchema as eo, MutationPruneArgs as er, SetModuleNameInputSchema as es, AddStateExampleAction as et, updateHeaderRevision as eu, PHConnectPackages as f, SetPreferredEditorActionInput as fa, baseActions as fc, RevisionsFilter as fi, IntegrityIssueSubType as fl, IAction as fn, DeleteOperationExampleInputSchema as fo, MutationSetModelExtensionArgs as fr, SetOperationTemplateInputSchema as fs, CreateDocument as ft, undoOperationV2 as fu, PHConnectPwaIcon as g, Set_Name as ga, deleteChangeLogItem as gc, SchemaLoadStateAction as gi, PHDocumentMeta as gl, ISignal as gn, DocumentModelGlobalStateSchema as go, MutationSetModuleNameArgs as gr, Set_NameSchema as gs, DeleteChangeLogItemAction as gt, Grant as gu, PHConnectPwaFileHandler as h, SetStateSchemaInput as ha, createAction as hc, Scalars as hi, PHDocumentHeader as hl, IOperation as hn, DocumentActionSchema as ho, MutationSetModuleDescriptionArgs as hr, SetStateSchemaInputSchema as hs, CreateState as ht, Condition as hu, LogLevels as i, SetOperationReducerInput as ia, actionSigner as ic, ReorderModulesInput as ii, setOperationTemplate as il, DocumentSpecification as in, AddStateExampleInputSchema as io, MutationReorderModulesArgs as ir, SetOperationErrorCodeInputSchema as is, Author as it, OperationOutcome as iu, PathValidation as j, UndoAction as ja, redo as jc, SetModelDescriptionInput as ji, groupOperationsByScope as jl, MakeOptional as jn, PruneActionInputSchema as jo, MutationUpdateStateExampleArgs as jr, relationalDbToQueryBuilder as js, DeleteStateExampleInput as jt, defaultBaseState as ju, PackageManagerArgs as k, SubgraphModule as ka, operationWithContext as kc, SetInitialStateInput as ki, garbageCollectV2 as kl, MakeEmpty as kn, PowerhouseModuleSchema as ko, MutationUpdateChangeLogItemInputArgs as kr, createRelationalDb as ks, DeleteOperationInput as kt, createState as ku, PHConnectDriveSections as l, SetOperationTemplateAction as la, addOperationError as lc, ReorderStateExamplesAction as li, updateOperationExample as ll, Exact as ln, DeleteChangeLogItemInputSchema as lo, MutationSetAuthorWebsiteArgs as lr, SetOperationReducerInputSchema as ls, CopyChildDocumentSignal as lt, setNameOperation as lu, PHConnectPwaCacheStrategy as m, SetStateSchemaAction as ma, buildSignedAction as mc, SaveToFileHandle as mi, PHDocument as ml, IDocument as mn, DeleteStateExampleInputSchema as mo, MutationSetModelNameArgs as mr, SetPreferredEditorActionSchema as ms, CreateDocumentActionInput as mt, Capability as mu, DrivePreserveStrategy as n, SetOperationNameInput as na, actionContext as nc, ReorderModuleOperationsInput as ni, setOperationSchema as nl, DocumentModelVersioningOperations as nn, AddOperationExampleInputSchema as no, MutationReorderChangeLogItemsInputArgs as nr, SetNameActionSchema as ns, AssertIsDocumentOfType as nt, Operation as nu, PHConnectBranding as o, SetOperationSchemaInput as oa, addChangeLogItem as oc, ReorderOperationErrorsInput as oi, setStateSchema as ol, EditorDispatch as on, CodeExampleSchema as oo, MutationReorderOperationExamplesArgs as or, SetOperationErrorNameInputSchema as os, ConfigEntry as ot, loadStateOperation as ou, PHConnectPwa as p, SetPreferredEditorOperation as pa, buildOperationSignature as pc, SaveToFile as pi, IntegrityIssueType as pl, ID as pn, DeleteOperationInputSchema as po, MutationSetModelIdArgs as pr, SetPreferredEditorActionInputSchema as ps, CreateDocumentAction as pt, AuthGroups as pu, AddOperationErrorAction as q, UpgradeReducer as qa, setModuleName as qc, SetOperationErrorCodeAction as qi, replayDocument as ql, MutationDeleteModuleArgs as qn, SetAuthorWebsiteInputSchema as qo, RedoActionInput as qr, ProcessorDispatchResult as qs, DocumentModelOperationErrorOperations as qt, LogLevel as r, SetOperationReducerAction as ra, actionFromAction as rc, ReorderModulesAction as ri, setOperationScope as rl, DocumentOperationsIgnoreMap as rn, AddOperationInputSchema as ro, MutationReorderModuleOperationsArgs as rr, SetOperationDescriptionInputSchema as rs, AssertIsStateOfType as rt, OperationContext as ru, PHConnectDefaultDrive as s, SetOperationScopeAction as sa, addModule as sc, ReorderOperationExamplesAction as si, undo as sl, EditorModule as sn, ConfigEntrySchema as so, MutationReorderStateExamplesArgs as sr, SetOperationErrorTemplateInputSchema as ss, ConfigEntryType as st, operationOutcome as su, DrivePreserveStrategies as t, SetOperationNameAction as ta, ActionContext as tc, ReorderModuleOperationsAction as ti, setOperationReducer as tl, DocumentModelVersioningAction as tn, AddOperationErrorInputSchema as to, MutationRedoArgs as tr, SetNameActionInputSchema as ts, AddStateExampleInput as tt, DocumentOperations as tu, PHConnectDrives as u, SetOperationTemplateInput as ua, addOperationExample as uc, ReorderStateExamplesInput as ui, updateStateExample as ul, FileInput as un, DeleteModuleInputSchema as uo, MutationSetInitialStateArgs as ur, SetOperationSchemaInputSchema as us, CreateChildDocumentInput as ut, setPreferredEditorOperation as uu, PHConnectPwaRuntimeCaching as v, Signal as va, deleteOperation as vc, SchemaPruneAction as vi, appendWithoutApplying as vl, ISigner as vn, DocumentSpecificationSchema as vo, MutationSetOperationDescriptionArgs as vr, StateSchema as vs, DeleteChildDocumentInput as vt, PHAuthState as vu, PHConnectRuntimeConfig as w, SigningParameters as wa, moveOperation as wc, SetAuthorNameAction as wi, diffOperations as wl, LoadFromInput as wn, ModuleSchema as wo, MutationSetOperationReducerArgs as wr, UpdateStateExampleInputSchema as ws, DeleteOperationAction as wt, createAuthState as wu, PHConnectReactorFeatureFlags as x, SignalResults as xa, deleteStateExample as xc, SchemaSetPreferredEditorAction as xi, baseReducerVersion as xl, IsDocumentOfType as xn, LoadStateActionStateInputSchema as xo, MutationSetOperationErrorNameArgs as xr, UndoSchema as xs, DeleteDocumentActionInput as xt, PHGroupState as xu, PHConnectPwaUrlPattern as y, SignalDispatch as ya, deleteOperationError as yc, SchemaRedoAction as yi, attachBranch as yl, Incremental as yn, LoadStateActionInputSchema as yo, MutationSetOperationErrorCodeArgs as yr, UndoActionInputSchema as ys, DeleteChildDocumentSignal as yt, PHBaseState as yu, ActionSigningHandler as z, UpdateRelationshipActionInput as za, setAuthorName as zc, SetModuleDescriptionInput as zi, merge as zl, Mutation as zn, ReorderChangeLogItemsInputSchema as zo, PowerhouseModule as zr, RelationalDbProcessor as zs, DocumentModelInput as zt, PHDocumentSignatureInfo as zu };
|
|
2919
|
+
//# sourceMappingURL=types-DlBC9pV6.d.ts.map
|