@powerhousedao/shared 6.2.2-dev.12 → 6.2.2-dev.13
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-Cr8LZG55.d.mts → common-CHH7ylUY.d.mts} +7 -4
- package/dist/clis/args/{common-Cr8LZG55.d.mts.map → common-CHH7ylUY.d.mts.map} +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.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.d.mts +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 +17 -2
- package/dist/clis/constants.d.mts.map +1 -1
- package/dist/clis/constants.mjs +5 -1
- package/dist/clis/constants.mjs.map +1 -1
- package/dist/clis/index.d.mts +91 -12
- package/dist/clis/index.d.mts.map +1 -1
- package/dist/clis/index.mjs +62 -2
- package/dist/clis/index.mjs.map +1 -1
- package/dist/connect/config-loader.d.ts +1 -1
- package/dist/connect/index.d.ts +53 -1
- package/dist/connect/index.js +50 -0
- package/dist/connect/index.js.map +1 -1
- package/dist/document-drive/index.d.ts +2 -2
- package/dist/document-model/index.d.ts +2 -2
- package/dist/{index-DNdb0zBA.d.ts → index-BKbRLfnp.d.ts} +2 -2
- package/dist/{index-DNdb0zBA.d.ts.map → index-BKbRLfnp.d.ts.map} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/processors/index.d.ts +1 -1
- package/dist/registry/index.d.ts +2 -2
- package/dist/registry/index.js.map +1 -1
- package/dist/registry/manifest-slim.d.ts +1 -1
- package/dist/{types-5cwMsljz.d.ts → types-Bd8i6VlX.d.ts} +18 -3
- package/dist/{types-5cwMsljz.d.ts.map → types-Bd8i6VlX.d.ts.map} +1 -1
- package/dist/{types-D-iHI22b.d.ts → types-CBShShg8.d.ts} +2 -2
- package/dist/{types-D-iHI22b.d.ts.map → types-CBShShg8.d.ts.map} +1 -1
- package/package.json +1 -1
- package/dist/clis/args/common-dbsvksvf.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-BKbRLfnp.d.ts","names":[],"sources":["../document-model/constants.ts","../document-model/crypto.ts","../document-model/document-schema.ts","../document-model/document-type.ts","../document-model/errors.ts","../document-model/versioned-replay.ts","../document-model/files.ts","../document-model/header.ts","../document-model/reducer.ts","../document-model/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O,wBAAA,EACP,SAAA,WACC,WAAA;;;;;;iBA0Ba,oBAAA,CACd,KAAA,EAAO,wBAAA,EACP,EAAA;;;AThTF;;iBS8TgB,uBAAA,CACd,KAAA,EAAO,wBAAA,EACP,EAAA;;;AT5TF;;;iBS8UgB,4BAAA,CACd,KAAA,EAAO,wBAAA,EACP,EAAA;;;;;;iBAkBc,8BAAA,CACd,KAAA,EAAO,wBAAA,EACP,EAAA;AAAA,iBAac,kBAAA,CAAmB,UAAA,EAAY,kBAAA,GAAkB,eAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as AnalyticsSeriesInput, c as CompoundAnalyticsExpression, d as ConversionMetric, f as IAnalyticsStore, i as AnalyticsSeries, l as CompoundAnalyticsInputs, n as AnalyticsOperand, o as AnalyticsSeriesQuery, p as MultiCurrencyConversion, r as AnalyticsQuery, s as AnalyticsUpdateCallback, t as AnalyticsDimension, u as CompoundAnalyticsQuery } from "./types-C1in4fl3.js";
|
|
2
|
-
import { $ as
|
|
2
|
+
import { $ as AddStateExampleInput, $i as SetOperationNameAction, $n as MutationRedoArgs, $r as ReorderModuleOperationsAction, $t as DocumentModelVersioningAction, A as PowerhouseConfig, Aa as UndoActionInput, Ai as SetModelExtensionAction, An as Manifest, Ar as NOOPAction, At as DocumentAction, B as AddChangeLogItemAction, Ba as UpgradeDocumentAction, Bi as SetNameAction, Bn as MutationAddOperationArgs, Br as PruneActionInput, Bs as IProcessorHostModule, Bt as DocumentModelModule, C as PHConnectSentry, Ca as SkipHeaderOperationIndex, Ci as SetAuthorNameInput, Cn as LoadStateAction, Cr as MutationSetOperationSchemaArgs, Ct as DeleteOperationErrorAction, D as PackageManagerArgs, Da as SubgraphModule, Di as SetInitialStateInput, Dn as MakeEmpty, Dr as MutationUpdateChangeLogItemInputArgs, Dt as DeleteOperationInput, E as PHRenownRainbowAdapterConfig, Ea as StateReducer, Ei as SetInitialStateAction, En as Load_State, Er as MutationUndoArgs, Et as DeleteOperationExampleInput, F as ActionErrorCallback, Fa as UpdateOperationExampleInput, Fi as SetModelNameInput, Fn as MoveOperationAction, Fr as PartialRecord, Ft as DocumentModelHeaderAction, G as AddOperationErrorAction, Gi as SetOperationErrorCodeAction, Gn as MutationDeleteModuleArgs, Gr as RedoActionInput, Gs as ProcessorFactory, Gt as DocumentModelOperationErrorOperations, H as AddModuleAction, Ha as User, Hi as SetNameOperation, Hn as MutationAddOperationExampleArgs, Hr as Query, Hs as ProcessorApp, Ht as DocumentModelModuleOperations, I as ActionSignatureContext, Ia as UpdateRelationshipAction, Ii as SetModuleDescriptionAction, In as MoveOperationInput, Ir as PartialState, It as DocumentModelHeaderOperations, J as AddOperationExampleInput, Ji as SetOperationErrorDescriptionInput, Jn as MutationDeleteOperationExampleArgs, Jr as ReleaseNewVersionAction, Js as ProcessorRecord, Jt as DocumentModelOperationOperations, K as AddOperationErrorInput, Ki as SetOperationErrorCodeInput, Kn as MutationDeleteOperationArgs, Kr as Reducer, Ks as ProcessorFactoryBuilder, Kt as DocumentModelOperationExampleAction, L as ActionSigningHandler, La as UpdateRelationshipActionInput, Li as SetModuleDescriptionInput, Ln as Mutation, Lr as PowerhouseModule, Lt as DocumentModelInput, M as ServiceAction, Ma as UpdateChangeLogItemAction, Mi as SetModelIdAction, Mn as Maybe, Mr as OperationIndex, Mt as DocumentModelDocument, N as ServiceActions, Na as UpdateChangeLogItemInput, Ni as SetModelIdInput, Nn as MinimalBackupData, Nr as OperationSpecification, Nt as DocumentModelDocumentModelModule, O as ParsedCmdResult, Oa as Undo, Oi as SetModelDescriptionAction, On as MakeMaybe, Or as MutationUpdateOperationExampleArgs, Ot as DeleteStateExampleAction, Pa as UpdateOperationExampleAction, Pi as SetModelNameAction, Pn as ModuleSpecification, Pr as OperationsByScope, Pt as DocumentModelGlobalState, Q as AddStateExampleAction, Qi as SetOperationErrorTemplateInput, Qn as MutationPruneArgs, Qr as ReorderChangeLogItemsInput, Qt as DocumentModelUtils, R as ActionVerificationHandler, Ra as UpdateStateExampleAction, Ri as SetModuleNameAction, Rn as MutationAddChangeLogItemInputArgs, Rr as Prune, Rs as IProcessor, Rt as DocumentModelLib, S as PHConnectRuntimeConfig, Sa as SigningParameters, Si as SetAuthorNameAction, Sn as LoadFromInput, Sr as MutationSetOperationReducerArgs, St as DeleteOperationAction, T as PHRenownPrivyAdapterConfig, Ta as State, Ti as SetAuthorWebsiteInput, Tn as LoadStateActionStateInput, Tr as MutationSetStateSchemaArgs, Tt as DeleteOperationExampleAction, U as AddModuleInput, Ua as ValidationError, Ui as SetOperationDescriptionAction, Un as MutationAddStateExampleArgs, Ur as Redo, Us as ProcessorApps, Ut as DocumentModelOperationAction, V as AddChangeLogItemInput, Va as UpgradeDocumentActionInput, Vi as SetNameActionInput, Vn as MutationAddOperationErrorArgs, Vr as Publisher, Vs as IProcessorManager, Vt as DocumentModelModuleAction, W as AddOperationAction, Wi as SetOperationDescriptionInput, Wn as MutationDeleteChangeLogItemInputArgs, Wr as RedoAction, Ws as ProcessorDispatchResult, Wt as DocumentModelOperationErrorAction, X as AddRelationshipAction, Xi as SetOperationErrorNameInput, Xn as MutationLoadStateArgs, Xr as RemoveRelationshipActionInput, Xs as TrackedProcessor, Xt as DocumentModelStateAction, Y as AddOperationInput, Yi as SetOperationErrorNameAction, Yn as MutationDeleteStateExampleArgs, Yr as RemoveRelationshipAction, Ys as ProcessorStatus, Yt as DocumentModelPHState, Z as AddRelationshipActionInput, Zi as SetOperationErrorTemplateAction, Zn as MutationMoveOperationArgs, Zr as ReorderChangeLogItemsAction, Zt as DocumentModelStateOperations, _ as PHConnectPwaManifest, _a as SignalDispatch, _i as SchemaRedoAction, _n as Incremental, _r as MutationSetOperationErrorCodeArgs, _t as DeleteChildDocumentSignal, a as PHConnectApp, aa as SetOperationScopeAction, ai as ReorderOperationExamplesAction, an as EditorModule, ar as MutationReorderStateExamplesArgs, at as ConfigEntryType, b as PHConnectRenown, ba as SignalType, bi as SchemaUndoAction, bn as IsStateOfType, br as MutationSetOperationErrorTemplateArgs, bt as DeleteModuleAction, c as PHConnectDriveSection, ca as SetOperationTemplateInput, ci as ReorderStateExamplesInput, cn as FileInput, cr as MutationSetInitialStateArgs, ct as CreateChildDocumentInput, d as PHConnectInstance, da as SetPreferredEditorOperation, di as SaveToFile, dn as ID, dr as MutationSetModelIdArgs, dt as CreateDocumentAction, ea as SetOperationNameInput, ei as ReorderModuleOperationsInput, en as DocumentModelVersioningOperations, er as MutationReorderChangeLogItemsInputArgs, et as AssertIsDocumentOfType, f as PHConnectPackages, fa as SetStateSchemaAction, fi as SaveToFileHandle, fn as IDocument, fr as MutationSetModelNameArgs, ft as CreateDocumentActionInput, g as PHConnectPwaIcon, ga as Signal, gi as SchemaPruneAction, gn as ISigner, gr as MutationSetOperationDescriptionArgs, gt as DeleteChildDocumentInput, h as PHConnectPwaFileHandler, ha as Set_PreferredEditor, hi as SchemaNOOPAction, hn as ISignalResult, hr as MutationSetNameArgs, ht as DeleteChangeLogItemInput, i as LogLevels, ia as SetOperationSchemaInput, ii as ReorderOperationErrorsInput, in as EditorDispatch, ir as MutationReorderOperationExamplesArgs, it as ConfigEntry, j as PowerhousePackage, ja as UndoRedoAction, ji as SetModelExtensionInput, jn as MappedOperation, jr as OperationErrorSpecification, jt as DocumentModelAction, k as PathValidation, ka as UndoAction, ki as SetModelDescriptionInput, kn as MakeOptional, kr as MutationUpdateStateExampleArgs, kt as DeleteStateExampleInput, l as PHConnectDriveSections, la as SetPreferredEditorAction, li as ReplayDocumentOptions, ln as GetDocumentOptions, lr as MutationSetModelDescriptionArgs, lt as CreateChildDocumentSignal, m as PHConnectPwaCacheStrategy, ma as Set_Name, mi as SchemaLoadStateAction, mn as ISignal, mr as MutationSetModuleNameArgs, mt as DeleteChangeLogItemAction, n as DrivePreserveStrategy, na as SetOperationReducerInput, ni as ReorderModulesInput, nn as DocumentSpecification, nr as MutationReorderModulesArgs, nt as Author, o as PHConnectBranding, oa as SetOperationScopeInput, oi as ReorderOperationExamplesInput, on as EditorProps, or as MutationSetAuthorNameArgs, ot as CopyChildDocumentInput, p as PHConnectPwa, pa as SetStateSchemaInput, pi as Scalars, pn as IOperation, pr as MutationSetModuleDescriptionArgs, pt as CreateState, q as AddOperationExampleAction, qi as SetOperationErrorDescriptionAction, qn as MutationDeleteOperationErrorArgs, qr as ReducerOptions, qs as ProcessorFilter, qt as DocumentModelOperationExampleOperations, r as LogLevel, ra as SetOperationSchemaAction, ri as ReorderOperationErrorsAction, rn as ENSInfo, rr as MutationReorderOperationErrorsArgs, rt as CodeExample, s as PHConnectDefaultDrive, sa as SetOperationTemplateAction, si as ReorderStateExamplesAction, sn as Exact, sr as MutationSetAuthorWebsiteArgs, st as CopyChildDocumentSignal, t as DrivePreserveStrategies, ta as SetOperationReducerAction, ti as ReorderModulesAction, tn as DocumentOperationsIgnoreMap, tr as MutationReorderModuleOperationsArgs, tt as AssertIsStateOfType, u as PHConnectDrives, ua as SetPreferredEditorActionInput, ui as RevisionsFilter, un as IAction, ur as MutationSetModelExtensionArgs, ut as CreateDocument, v as PHConnectPwaRuntimeCaching, va as SignalResult, vi as SchemaSetNameAction, vn as InputMaybe, vr as MutationSetOperationErrorDescriptionArgs, vt as DeleteDocumentAction, w as PHPackageProvider, wa as SkipHeaderOperations, wi as SetAuthorWebsiteAction, wn as LoadStateActionInput, wr as MutationSetOperationTemplateArgs, wt as DeleteOperationErrorInput, x as PHConnectRenownAdapters, xa as SignatureVerificationHandler, xi as ScopeState, xn as LoadFromFile, xr as MutationSetOperationNameArgs, xt as DeleteModuleInput, y as PHConnectPwaUrlPattern, ya as SignalResults, yi as SchemaSetPreferredEditorAction, yn as IsDocumentOfType, yr as MutationSetOperationErrorNameArgs, yt as DeleteDocumentActionInput, z as Actions, za as UpdateStateExampleInput, zi as SetModuleNameInput, zn as MutationAddModuleArgs, zr as PruneAction, zs as IProcessorDispatch, zt as DocumentModelLocalState } from "./types-Bd8i6VlX.js";
|
|
3
3
|
import { i as PACKAGES_DEPENDENCIES, n as APPS_DEPENDENCIES, r as CLIS_DEPENDENCIES, t as ALL_POWERHOUSE_DEPENDENCIES } from "./constants-BP_gjn8g.js";
|
|
4
|
-
import { $ as LegacySynchronizationUnit, A as TriggerData, B as RegistryPackageMap, C as RemoveTriggerInput, D as SetSharingTypeInput, E as SetDriveNameInput, F as PackageInfo, G as DriveInput, H as RegistryPackageStatus, I as PackageListItem, J as SharingType, K as GenerateNodesCopyIdGenerator, L as PackagePage, M as TriggerType, N as UpdateFileInput, O as TransmitterType, P as UpdateNodeInput, Q as LegacyAddFileInput, R as RegistryPackage, S as RemoveListenerInput, T as SetDriveIconInput, U as DocumentDrivePHState, V as RegistryPackageSource, W as DriveDocumentModelModule, X as DocumentDriveDocument, Y as DocumentDriveAction, Z as LegacyAddFileAction, _ as ListenerInput, _t as SetDriveNameAction, a as CopyNodeInput, at as DocumentDriveNodeOperations, b as PullResponderTriggerData, c as DocumentDriveLocalState, ct as UpdateNodeAction, d as FolderNode, dt as DocumentDriveDriveAction, et as AddFileAction, f as Listener, ft as DocumentDriveDriveOperations, g as ListenerFilterInput, gt as SetDriveIconAction, h as ListenerFilter, ht as SetAvailableOfflineAction, i as AddTriggerInput, it as DocumentDriveNodeAction, j as TriggerInput, k as Trigger, lt as AddListenerAction, m as ListenerCallInfoInput, mt as RemoveTriggerAction, n as AddFolderInput, nt as CopyNodeAction, o as DeleteNodeInput, ot as MoveNodeAction, p as ListenerCallInfo, pt as RemoveListenerAction, q as GenerateNodesCopySrc, r as AddListenerInput, rt as DeleteNodeAction, s as DocumentDriveGlobalState, st as UpdateFileAction, t as AddFileInput, tt as AddFolderAction, u as FileNode, ut as AddTriggerAction, v as MoveNodeInput, vt as SetSharingTypeAction, w as SetAvailableOfflineInput, x as PullResponderTriggerDataInput, y as Node, z as RegistryPackageList } from "./types-
|
|
4
|
+
import { $ as LegacySynchronizationUnit, A as TriggerData, B as RegistryPackageMap, C as RemoveTriggerInput, D as SetSharingTypeInput, E as SetDriveNameInput, F as PackageInfo, G as DriveInput, H as RegistryPackageStatus, I as PackageListItem, J as SharingType, K as GenerateNodesCopyIdGenerator, L as PackagePage, M as TriggerType, N as UpdateFileInput, O as TransmitterType, P as UpdateNodeInput, Q as LegacyAddFileInput, R as RegistryPackage, S as RemoveListenerInput, T as SetDriveIconInput, U as DocumentDrivePHState, V as RegistryPackageSource, W as DriveDocumentModelModule, X as DocumentDriveDocument, Y as DocumentDriveAction, Z as LegacyAddFileAction, _ as ListenerInput, _t as SetDriveNameAction, a as CopyNodeInput, at as DocumentDriveNodeOperations, b as PullResponderTriggerData, c as DocumentDriveLocalState, ct as UpdateNodeAction, d as FolderNode, dt as DocumentDriveDriveAction, et as AddFileAction, f as Listener, ft as DocumentDriveDriveOperations, g as ListenerFilterInput, gt as SetDriveIconAction, h as ListenerFilter, ht as SetAvailableOfflineAction, i as AddTriggerInput, it as DocumentDriveNodeAction, j as TriggerInput, k as Trigger, lt as AddListenerAction, m as ListenerCallInfoInput, mt as RemoveTriggerAction, n as AddFolderInput, nt as CopyNodeAction, o as DeleteNodeInput, ot as MoveNodeAction, p as ListenerCallInfo, pt as RemoveListenerAction, q as GenerateNodesCopySrc, r as AddListenerInput, rt as DeleteNodeAction, s as DocumentDriveGlobalState, st as UpdateFileAction, t as AddFileInput, tt as AddFolderAction, u as FileNode, ut as AddTriggerAction, v as MoveNodeInput, vt as SetSharingTypeAction, w as SetAvailableOfflineInput, x as PullResponderTriggerDataInput, y as Node, z as RegistryPackageList } from "./types-CBShShg8.js";
|
|
5
5
|
import { n as buildTreeUrl, r as shortGitSha, t as GITHUB_REPO_URL } from "./index-BJU79_T5.js";
|
|
6
|
-
export { ALL_POWERHOUSE_DEPENDENCIES, APPS_DEPENDENCIES, ActionErrorCallback, ActionSignatureContext, ActionSigningHandler, ActionVerificationHandler, Actions, AddChangeLogItemAction, AddChangeLogItemInput, AddFileAction, AddFileInput, AddFolderAction, AddFolderInput, AddListenerAction, AddListenerInput, AddModuleAction, AddModuleInput, AddOperationAction, AddOperationErrorAction, AddOperationErrorInput, AddOperationExampleAction, AddOperationExampleInput, AddOperationInput, AddRelationshipAction, AddRelationshipActionInput, AddStateExampleAction, AddStateExampleInput, AddTriggerAction, AddTriggerInput, AnalyticsDimension, AnalyticsOperand, AnalyticsQuery, AnalyticsSeries, AnalyticsSeriesInput, AnalyticsSeriesQuery, AnalyticsUpdateCallback, AssertIsDocumentOfType, AssertIsStateOfType, Author, CLIS_DEPENDENCIES, CodeExample, CompoundAnalyticsExpression, CompoundAnalyticsInputs, CompoundAnalyticsQuery, ConfigEntry, ConfigEntryType, ConversionMetric, CopyChildDocumentInput, CopyChildDocumentSignal, CopyNodeAction, CopyNodeInput, CreateChildDocumentInput, CreateChildDocumentSignal, CreateDocument, CreateDocumentAction, CreateDocumentActionInput, CreateState, DeleteChangeLogItemAction, DeleteChangeLogItemInput, DeleteChildDocumentInput, DeleteChildDocumentSignal, DeleteDocumentAction, DeleteDocumentActionInput, DeleteModuleAction, DeleteModuleInput, DeleteNodeAction, DeleteNodeInput, DeleteOperationAction, DeleteOperationErrorAction, DeleteOperationErrorInput, DeleteOperationExampleAction, DeleteOperationExampleInput, DeleteOperationInput, DeleteStateExampleAction, DeleteStateExampleInput, DocumentAction, DocumentDriveAction, DocumentDriveDocument, DocumentDriveDriveAction, DocumentDriveDriveOperations, DocumentDriveGlobalState, DocumentDriveLocalState, DocumentDriveNodeAction, DocumentDriveNodeOperations, DocumentDrivePHState, DocumentModelAction, DocumentModelDocument, DocumentModelDocumentModelModule, DocumentModelGlobalState, DocumentModelHeaderAction, DocumentModelHeaderOperations, DocumentModelInput, DocumentModelLib, DocumentModelLocalState, DocumentModelModule, DocumentModelModuleAction, DocumentModelModuleOperations, DocumentModelOperationAction, DocumentModelOperationErrorAction, DocumentModelOperationErrorOperations, DocumentModelOperationExampleAction, DocumentModelOperationExampleOperations, DocumentModelOperationOperations, DocumentModelPHState, DocumentModelStateAction, DocumentModelStateOperations, DocumentModelUtils, DocumentModelVersioningAction, DocumentModelVersioningOperations, DocumentOperationsIgnoreMap, DocumentSpecification, DriveDocumentModelModule, DriveInput, DrivePreserveStrategies, DrivePreserveStrategy, ENSInfo, EditorDispatch, EditorModule, EditorProps, Exact, FileInput, FileNode, FolderNode, GITHUB_REPO_URL, GenerateNodesCopyIdGenerator, GenerateNodesCopySrc, GetDocumentOptions, IAction, IAnalyticsStore, ID, IDocument, IOperation, IProcessor, IProcessorDispatch, IProcessorHostModule, IProcessorManager, ISignal, ISignalResult, ISigner, Incremental, InputMaybe, IsDocumentOfType, IsStateOfType, LegacyAddFileAction, LegacyAddFileInput, LegacySynchronizationUnit, Listener, ListenerCallInfo, ListenerCallInfoInput, ListenerFilter, ListenerFilterInput, ListenerInput, LoadFromFile, LoadFromInput, LoadStateAction, LoadStateActionInput, LoadStateActionStateInput, Load_State, LogLevel, LogLevels, MakeEmpty, MakeMaybe, MakeOptional, Manifest, MappedOperation, Maybe, MinimalBackupData, ModuleSpecification, MoveNodeAction, MoveNodeInput, MoveOperationAction, MoveOperationInput, MultiCurrencyConversion, Mutation, MutationAddChangeLogItemInputArgs, MutationAddModuleArgs, MutationAddOperationArgs, MutationAddOperationErrorArgs, MutationAddOperationExampleArgs, MutationAddStateExampleArgs, MutationDeleteChangeLogItemInputArgs, MutationDeleteModuleArgs, MutationDeleteOperationArgs, MutationDeleteOperationErrorArgs, MutationDeleteOperationExampleArgs, MutationDeleteStateExampleArgs, MutationLoadStateArgs, MutationMoveOperationArgs, MutationPruneArgs, MutationRedoArgs, MutationReorderChangeLogItemsInputArgs, MutationReorderModuleOperationsArgs, MutationReorderModulesArgs, MutationReorderOperationErrorsArgs, MutationReorderOperationExamplesArgs, MutationReorderStateExamplesArgs, MutationSetAuthorNameArgs, MutationSetAuthorWebsiteArgs, MutationSetInitialStateArgs, MutationSetModelDescriptionArgs, MutationSetModelExtensionArgs, MutationSetModelIdArgs, MutationSetModelNameArgs, MutationSetModuleDescriptionArgs, MutationSetModuleNameArgs, MutationSetNameArgs, MutationSetOperationDescriptionArgs, MutationSetOperationErrorCodeArgs, MutationSetOperationErrorDescriptionArgs, MutationSetOperationErrorNameArgs, MutationSetOperationErrorTemplateArgs, MutationSetOperationNameArgs, MutationSetOperationReducerArgs, MutationSetOperationSchemaArgs, MutationSetOperationTemplateArgs, MutationSetStateSchemaArgs, MutationUndoArgs, MutationUpdateChangeLogItemInputArgs, MutationUpdateOperationExampleArgs, MutationUpdateStateExampleArgs, NOOPAction, Node, OperationErrorSpecification, OperationIndex, OperationSpecification, OperationsByScope, PACKAGES_DEPENDENCIES, PHConnectApp, PHConnectBranding, PHConnectDefaultDrive, PHConnectDriveSection, PHConnectDriveSections, PHConnectDrives, PHConnectInstance, PHConnectPackages, PHConnectPwa, PHConnectPwaCacheStrategy, PHConnectPwaFileHandler, PHConnectPwaIcon, PHConnectPwaManifest, PHConnectPwaRuntimeCaching, PHConnectPwaUrlPattern, PHConnectRenown, PHConnectRuntimeConfig, PHConnectSentry, PHPackageProvider, PackageInfo, PackageListItem, PackageManagerArgs, PackagePage, ParsedCmdResult, PartialRecord, PartialState, PathValidation, PowerhouseConfig, PowerhouseModule, PowerhousePackage, ProcessorApp, ProcessorApps, ProcessorDispatchResult, ProcessorFactory, ProcessorFactoryBuilder, ProcessorFilter, ProcessorRecord, ProcessorStatus, Prune, PruneAction, PruneActionInput, Publisher, PullResponderTriggerData, PullResponderTriggerDataInput, Query, Redo, RedoAction, RedoActionInput, Reducer, ReducerOptions, RegistryPackage, RegistryPackageList, RegistryPackageMap, RegistryPackageSource, RegistryPackageStatus, ReleaseNewVersionAction, RemoveListenerAction, RemoveListenerInput, RemoveRelationshipAction, RemoveRelationshipActionInput, RemoveTriggerAction, RemoveTriggerInput, ReorderChangeLogItemsAction, ReorderChangeLogItemsInput, ReorderModuleOperationsAction, ReorderModuleOperationsInput, ReorderModulesAction, ReorderModulesInput, ReorderOperationErrorsAction, ReorderOperationErrorsInput, ReorderOperationExamplesAction, ReorderOperationExamplesInput, ReorderStateExamplesAction, ReorderStateExamplesInput, ReplayDocumentOptions, RevisionsFilter, SaveToFile, SaveToFileHandle, Scalars, SchemaLoadStateAction, SchemaNOOPAction, SchemaPruneAction, SchemaRedoAction, SchemaSetNameAction, SchemaSetPreferredEditorAction, SchemaUndoAction, ScopeState, ServiceAction, ServiceActions, SetAuthorNameAction, SetAuthorNameInput, SetAuthorWebsiteAction, SetAuthorWebsiteInput, SetAvailableOfflineAction, SetAvailableOfflineInput, SetDriveIconAction, SetDriveIconInput, SetDriveNameAction, SetDriveNameInput, SetInitialStateAction, SetInitialStateInput, SetModelDescriptionAction, SetModelDescriptionInput, SetModelExtensionAction, SetModelExtensionInput, SetModelIdAction, SetModelIdInput, SetModelNameAction, SetModelNameInput, SetModuleDescriptionAction, SetModuleDescriptionInput, SetModuleNameAction, SetModuleNameInput, SetNameAction, SetNameActionInput, SetNameOperation, SetOperationDescriptionAction, SetOperationDescriptionInput, SetOperationErrorCodeAction, SetOperationErrorCodeInput, SetOperationErrorDescriptionAction, SetOperationErrorDescriptionInput, SetOperationErrorNameAction, SetOperationErrorNameInput, SetOperationErrorTemplateAction, SetOperationErrorTemplateInput, SetOperationNameAction, SetOperationNameInput, SetOperationReducerAction, SetOperationReducerInput, SetOperationSchemaAction, SetOperationSchemaInput, SetOperationScopeAction, SetOperationScopeInput, SetOperationTemplateAction, SetOperationTemplateInput, SetPreferredEditorAction, SetPreferredEditorActionInput, SetPreferredEditorOperation, SetSharingTypeAction, SetSharingTypeInput, SetStateSchemaAction, SetStateSchemaInput, Set_Name, Set_PreferredEditor, SharingType, Signal, SignalDispatch, SignalResult, SignalResults, SignalType, SignatureVerificationHandler, SigningParameters, SkipHeaderOperationIndex, SkipHeaderOperations, State, StateReducer, SubgraphModule, TrackedProcessor, TransmitterType, Trigger, TriggerData, TriggerInput, TriggerType, Undo, UndoAction, UndoActionInput, UndoRedoAction, UpdateChangeLogItemAction, UpdateChangeLogItemInput, UpdateFileAction, UpdateFileInput, UpdateNodeAction, UpdateNodeInput, UpdateOperationExampleAction, UpdateOperationExampleInput, UpdateRelationshipAction, UpdateRelationshipActionInput, UpdateStateExampleAction, UpdateStateExampleInput, UpgradeDocumentAction, UpgradeDocumentActionInput, User, ValidationError, buildTreeUrl, shortGitSha };
|
|
6
|
+
export { ALL_POWERHOUSE_DEPENDENCIES, APPS_DEPENDENCIES, ActionErrorCallback, ActionSignatureContext, ActionSigningHandler, ActionVerificationHandler, Actions, AddChangeLogItemAction, AddChangeLogItemInput, AddFileAction, AddFileInput, AddFolderAction, AddFolderInput, AddListenerAction, AddListenerInput, AddModuleAction, AddModuleInput, AddOperationAction, AddOperationErrorAction, AddOperationErrorInput, AddOperationExampleAction, AddOperationExampleInput, AddOperationInput, AddRelationshipAction, AddRelationshipActionInput, AddStateExampleAction, AddStateExampleInput, AddTriggerAction, AddTriggerInput, AnalyticsDimension, AnalyticsOperand, AnalyticsQuery, AnalyticsSeries, AnalyticsSeriesInput, AnalyticsSeriesQuery, AnalyticsUpdateCallback, AssertIsDocumentOfType, AssertIsStateOfType, Author, CLIS_DEPENDENCIES, CodeExample, CompoundAnalyticsExpression, CompoundAnalyticsInputs, CompoundAnalyticsQuery, ConfigEntry, ConfigEntryType, ConversionMetric, CopyChildDocumentInput, CopyChildDocumentSignal, CopyNodeAction, CopyNodeInput, CreateChildDocumentInput, CreateChildDocumentSignal, CreateDocument, CreateDocumentAction, CreateDocumentActionInput, CreateState, DeleteChangeLogItemAction, DeleteChangeLogItemInput, DeleteChildDocumentInput, DeleteChildDocumentSignal, DeleteDocumentAction, DeleteDocumentActionInput, DeleteModuleAction, DeleteModuleInput, DeleteNodeAction, DeleteNodeInput, DeleteOperationAction, DeleteOperationErrorAction, DeleteOperationErrorInput, DeleteOperationExampleAction, DeleteOperationExampleInput, DeleteOperationInput, DeleteStateExampleAction, DeleteStateExampleInput, DocumentAction, DocumentDriveAction, DocumentDriveDocument, DocumentDriveDriveAction, DocumentDriveDriveOperations, DocumentDriveGlobalState, DocumentDriveLocalState, DocumentDriveNodeAction, DocumentDriveNodeOperations, DocumentDrivePHState, DocumentModelAction, DocumentModelDocument, DocumentModelDocumentModelModule, DocumentModelGlobalState, DocumentModelHeaderAction, DocumentModelHeaderOperations, DocumentModelInput, DocumentModelLib, DocumentModelLocalState, DocumentModelModule, DocumentModelModuleAction, DocumentModelModuleOperations, DocumentModelOperationAction, DocumentModelOperationErrorAction, DocumentModelOperationErrorOperations, DocumentModelOperationExampleAction, DocumentModelOperationExampleOperations, DocumentModelOperationOperations, DocumentModelPHState, DocumentModelStateAction, DocumentModelStateOperations, DocumentModelUtils, DocumentModelVersioningAction, DocumentModelVersioningOperations, DocumentOperationsIgnoreMap, DocumentSpecification, DriveDocumentModelModule, DriveInput, DrivePreserveStrategies, DrivePreserveStrategy, ENSInfo, EditorDispatch, EditorModule, EditorProps, Exact, FileInput, FileNode, FolderNode, GITHUB_REPO_URL, GenerateNodesCopyIdGenerator, GenerateNodesCopySrc, GetDocumentOptions, IAction, IAnalyticsStore, ID, IDocument, IOperation, IProcessor, IProcessorDispatch, IProcessorHostModule, IProcessorManager, ISignal, ISignalResult, ISigner, Incremental, InputMaybe, IsDocumentOfType, IsStateOfType, LegacyAddFileAction, LegacyAddFileInput, LegacySynchronizationUnit, Listener, ListenerCallInfo, ListenerCallInfoInput, ListenerFilter, ListenerFilterInput, ListenerInput, LoadFromFile, LoadFromInput, LoadStateAction, LoadStateActionInput, LoadStateActionStateInput, Load_State, LogLevel, LogLevels, MakeEmpty, MakeMaybe, MakeOptional, Manifest, MappedOperation, Maybe, MinimalBackupData, ModuleSpecification, MoveNodeAction, MoveNodeInput, MoveOperationAction, MoveOperationInput, MultiCurrencyConversion, Mutation, MutationAddChangeLogItemInputArgs, MutationAddModuleArgs, MutationAddOperationArgs, MutationAddOperationErrorArgs, MutationAddOperationExampleArgs, MutationAddStateExampleArgs, MutationDeleteChangeLogItemInputArgs, MutationDeleteModuleArgs, MutationDeleteOperationArgs, MutationDeleteOperationErrorArgs, MutationDeleteOperationExampleArgs, MutationDeleteStateExampleArgs, MutationLoadStateArgs, MutationMoveOperationArgs, MutationPruneArgs, MutationRedoArgs, MutationReorderChangeLogItemsInputArgs, MutationReorderModuleOperationsArgs, MutationReorderModulesArgs, MutationReorderOperationErrorsArgs, MutationReorderOperationExamplesArgs, MutationReorderStateExamplesArgs, MutationSetAuthorNameArgs, MutationSetAuthorWebsiteArgs, MutationSetInitialStateArgs, MutationSetModelDescriptionArgs, MutationSetModelExtensionArgs, MutationSetModelIdArgs, MutationSetModelNameArgs, MutationSetModuleDescriptionArgs, MutationSetModuleNameArgs, MutationSetNameArgs, MutationSetOperationDescriptionArgs, MutationSetOperationErrorCodeArgs, MutationSetOperationErrorDescriptionArgs, MutationSetOperationErrorNameArgs, MutationSetOperationErrorTemplateArgs, MutationSetOperationNameArgs, MutationSetOperationReducerArgs, MutationSetOperationSchemaArgs, MutationSetOperationTemplateArgs, MutationSetStateSchemaArgs, MutationUndoArgs, MutationUpdateChangeLogItemInputArgs, MutationUpdateOperationExampleArgs, MutationUpdateStateExampleArgs, NOOPAction, Node, OperationErrorSpecification, OperationIndex, OperationSpecification, OperationsByScope, PACKAGES_DEPENDENCIES, PHConnectApp, PHConnectBranding, PHConnectDefaultDrive, PHConnectDriveSection, PHConnectDriveSections, PHConnectDrives, PHConnectInstance, PHConnectPackages, PHConnectPwa, PHConnectPwaCacheStrategy, PHConnectPwaFileHandler, PHConnectPwaIcon, PHConnectPwaManifest, PHConnectPwaRuntimeCaching, PHConnectPwaUrlPattern, PHConnectRenown, PHConnectRenownAdapters, PHConnectRuntimeConfig, PHConnectSentry, PHPackageProvider, PHRenownPrivyAdapterConfig, PHRenownRainbowAdapterConfig, PackageInfo, PackageListItem, PackageManagerArgs, PackagePage, ParsedCmdResult, PartialRecord, PartialState, PathValidation, PowerhouseConfig, PowerhouseModule, PowerhousePackage, ProcessorApp, ProcessorApps, ProcessorDispatchResult, ProcessorFactory, ProcessorFactoryBuilder, ProcessorFilter, ProcessorRecord, ProcessorStatus, Prune, PruneAction, PruneActionInput, Publisher, PullResponderTriggerData, PullResponderTriggerDataInput, Query, Redo, RedoAction, RedoActionInput, Reducer, ReducerOptions, RegistryPackage, RegistryPackageList, RegistryPackageMap, RegistryPackageSource, RegistryPackageStatus, ReleaseNewVersionAction, RemoveListenerAction, RemoveListenerInput, RemoveRelationshipAction, RemoveRelationshipActionInput, RemoveTriggerAction, RemoveTriggerInput, ReorderChangeLogItemsAction, ReorderChangeLogItemsInput, ReorderModuleOperationsAction, ReorderModuleOperationsInput, ReorderModulesAction, ReorderModulesInput, ReorderOperationErrorsAction, ReorderOperationErrorsInput, ReorderOperationExamplesAction, ReorderOperationExamplesInput, ReorderStateExamplesAction, ReorderStateExamplesInput, ReplayDocumentOptions, RevisionsFilter, SaveToFile, SaveToFileHandle, Scalars, SchemaLoadStateAction, SchemaNOOPAction, SchemaPruneAction, SchemaRedoAction, SchemaSetNameAction, SchemaSetPreferredEditorAction, SchemaUndoAction, ScopeState, ServiceAction, ServiceActions, SetAuthorNameAction, SetAuthorNameInput, SetAuthorWebsiteAction, SetAuthorWebsiteInput, SetAvailableOfflineAction, SetAvailableOfflineInput, SetDriveIconAction, SetDriveIconInput, SetDriveNameAction, SetDriveNameInput, SetInitialStateAction, SetInitialStateInput, SetModelDescriptionAction, SetModelDescriptionInput, SetModelExtensionAction, SetModelExtensionInput, SetModelIdAction, SetModelIdInput, SetModelNameAction, SetModelNameInput, SetModuleDescriptionAction, SetModuleDescriptionInput, SetModuleNameAction, SetModuleNameInput, SetNameAction, SetNameActionInput, SetNameOperation, SetOperationDescriptionAction, SetOperationDescriptionInput, SetOperationErrorCodeAction, SetOperationErrorCodeInput, SetOperationErrorDescriptionAction, SetOperationErrorDescriptionInput, SetOperationErrorNameAction, SetOperationErrorNameInput, SetOperationErrorTemplateAction, SetOperationErrorTemplateInput, SetOperationNameAction, SetOperationNameInput, SetOperationReducerAction, SetOperationReducerInput, SetOperationSchemaAction, SetOperationSchemaInput, SetOperationScopeAction, SetOperationScopeInput, SetOperationTemplateAction, SetOperationTemplateInput, SetPreferredEditorAction, SetPreferredEditorActionInput, SetPreferredEditorOperation, SetSharingTypeAction, SetSharingTypeInput, SetStateSchemaAction, SetStateSchemaInput, Set_Name, Set_PreferredEditor, SharingType, Signal, SignalDispatch, SignalResult, SignalResults, SignalType, SignatureVerificationHandler, SigningParameters, SkipHeaderOperationIndex, SkipHeaderOperations, State, StateReducer, SubgraphModule, TrackedProcessor, TransmitterType, Trigger, TriggerData, TriggerInput, TriggerType, Undo, UndoAction, UndoActionInput, UndoRedoAction, UpdateChangeLogItemAction, UpdateChangeLogItemInput, UpdateFileAction, UpdateFileInput, UpdateNodeAction, UpdateNodeInput, UpdateOperationExampleAction, UpdateOperationExampleInput, UpdateRelationshipAction, UpdateRelationshipActionInput, UpdateStateExampleAction, UpdateStateExampleInput, UpgradeDocumentAction, UpgradeDocumentActionInput, User, ValidationError, buildTreeUrl, shortGitSha };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { As as
|
|
1
|
+
import { As as HashAlgorithms, Bs as IProcessorHostModule, Ds as hashNamespace, Du as DEFAULT_ANALYTICS_PROCESSOR_DB_NAME, Es as createRelationalDb, Fs as IRelationalQueryMethods, Gs as ProcessorFactory, Hs as ProcessorApp, Is as RelationalDbProcessor, Js as ProcessorRecord, Ks as ProcessorFactoryBuilder, Ls as RelationalDbProcessorClass, Ms as IRelationalDb, Ns as IRelationalDbProcessor, Os as relationalDbToQueryBuilder, Ou as DEFAULT_RELATIONAL_PROCESSOR_DB_NAME, Ps as IRelationalQueryBuilder, Rs as IProcessor, Ts as createNamespacedQueryBuilder, Us as ProcessorApps, Vs as IProcessorManager, Ws as ProcessorDispatchResult, Xs as TrackedProcessor, Ys as ProcessorStatus, js as IBaseRelationalDb, ks as ExtractProcessorSchemaOrSelf, ku as PROCESSOR_APPS, qs as ProcessorFilter, ws as createNamespacedDb, zs as IProcessorDispatch } from "../types-Bd8i6VlX.js";
|
|
2
2
|
export { DEFAULT_ANALYTICS_PROCESSOR_DB_NAME, DEFAULT_RELATIONAL_PROCESSOR_DB_NAME, ExtractProcessorSchemaOrSelf, HashAlgorithms, IBaseRelationalDb, IProcessor, IProcessorDispatch, IProcessorHostModule, IProcessorManager, IRelationalDb, IRelationalDbProcessor, IRelationalQueryBuilder, IRelationalQueryMethods, PROCESSOR_APPS, ProcessorApp, ProcessorApps, ProcessorDispatchResult, ProcessorFactory, ProcessorFactoryBuilder, ProcessorFilter, ProcessorRecord, ProcessorStatus, RelationalDbProcessor, RelationalDbProcessorClass, TrackedProcessor, createNamespacedDb, createNamespacedQueryBuilder, createRelationalDb, hashNamespace, relationalDbToQueryBuilder };
|
package/dist/registry/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { B as RegistryPackageMap, F as PackageInfo, H as RegistryPackageStatus, I as PackageListItem, L as PackagePage, R as RegistryPackage, V as RegistryPackageSource, z as RegistryPackageList } from "../types-
|
|
1
|
+
import { P as DEFAULT_REGISTRY_URL } from "../types-Bd8i6VlX.js";
|
|
2
|
+
import { B as RegistryPackageMap, F as PackageInfo, H as RegistryPackageStatus, I as PackageListItem, L as PackagePage, R as RegistryPackage, V as RegistryPackageSource, z as RegistryPackageList } from "../types-CBShShg8.js";
|
|
3
3
|
import { slimManifest } from "./manifest-slim.js";
|
|
4
4
|
import { toCdnUrl } from "./urls.js";
|
|
5
5
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["fs"],"sources":["../../clis/constants.ts","../../clis/file-system/get-config.ts","../../clis/file-system/spawn-async.ts","../../registry/registry.ts"],"sourcesContent":["import { homedir } from \"node:os\";\nimport { join } from \"node:path\";\nimport type { Manifest } from \"../document-model/types.js\";\nimport type { PowerhouseConfig } from \"./types.js\";\n\nexport const SERVICE_ACTIONS = [\n \"start\",\n \"stop\",\n \"status\",\n \"setup\",\n \"restart\",\n] as const;\n\nexport const SECONDS_IN_DAY = 24 * 60 * 60;\nexport const DEFAULT_EXPIRY_DAYS = 7;\nexport const DEFAULT_EXPIRY_SECONDS = DEFAULT_EXPIRY_DAYS * SECONDS_IN_DAY;\n\nexport const DRIVES_PRESERVE_STRATEGIES = [\n \"preserve-all\",\n \"preserve-by-url-and-detach\",\n] as const;\n\nexport const LOG_LEVELS = [\n \"debug\",\n \"info\",\n \"warn\",\n \"error\",\n \"verbose\",\n] as const;\n\nexport const DEFAULT_TIMEOUT = 300 as const;\n\nexport const DEFAULT_CONNECT_STUDIO_PORT = 3000 as const;\n\nexport const DEFAULT_VETRA_CONNECT_PORT = 3001 as const;\n\nexport const DEFAULT_CONNECT_PREVIEW_PORT = 4173 as const;\n\nexport const DEFAULT_CONNECT_OUTDIR = \".ph/connect-build/dist/\" as const;\n\nexport const DEFAULT_RENOWN_URL = \"https://www.renown.id\" as const;\n\nexport const DEFAULT_REGISTRY_URL = \"https://registry.vetra.io\" as const;\n\nexport const DEFAULT_SWITCHBOARD_PORT = 4001 as const;\n\nexport const DEFAULT_VETRA_DRIVE_ID = \"vetra\" as const;\n\nexport const MINIMUM_NODE_VERSION = \"24.0.0\" as const;\nexport const PH_BIN = \"ph-cli-legacy\" as const;\nexport const POWERHOUSE_CONFIG_FILE = \"powerhouse.config.json\" as const;\nexport const PH_GLOBAL_DIR_NAME = \".ph\" as const;\n// Keep PH_GLOBAL_PROJECT_NAME for backwards compatibility\nexport const PH_GLOBAL_PROJECT_NAME = PH_GLOBAL_DIR_NAME;\n\nexport const HOME_DIR = homedir();\n\nexport const POWERHOUSE_GLOBAL_DIR = join(HOME_DIR, PH_GLOBAL_DIR_NAME);\n\n// Workspace packages that go in peerDependencies of every generated project.\nexport const VERSIONED_PEER_DEPENDENCIES = [\n \"document-model\",\n \"@powerhousedao/reactor-browser\",\n];\n\ntype PeerSpec = { peer: string; dev: string };\n\nexport const REACTOR_API_PACKAGE = \"@powerhousedao/reactor-api\";\nexport const ANALYTICS_ENGINE_CORE_PACKAGE =\n \"@powerhousedao/analytics-engine-core\";\nexport const GRAPHQL_PACKAGE = \"graphql\";\nexport const GRAPHQL_TAG_PACKAGE = \"graphql-tag\";\n\n// External peerDependencies of every generated project.\n// `peer` is the consumer-facing range; `dev` is the exact build-tested pin.\n// graphql / graphql-tag are always-on because the workspace packages pulled\n// in by every `ph init` project (codegen, reactor-api, reactor-browser,\n// vetra-packages) declare them as peers — even projects without subgraphs\n// need them in scope so pnpm hoists a single graphql instance.\nexport const PEER_EXTERNAL_DEPENDENCIES = {\n [GRAPHQL_PACKAGE]: { peer: \"^16\", dev: \"16.12.0\" },\n [GRAPHQL_TAG_PACKAGE]: { peer: \"^2\", dev: \"2.12.6\" },\n react: { peer: \"^19\", dev: \"19.2.6\" },\n \"react-dom\": { peer: \"^19\", dev: \"19.2.6\" },\n zod: { peer: \"^4\", dev: \"4.3.6\" },\n} as const satisfies Record<string, PeerSpec>;\n\n// Per-feature deps added dynamically by codegen when required.\nexport const FEATURE_DEPENDENCIES = {\n analyticsProcessor: {\n peerVersioned: [ANALYTICS_ENGINE_CORE_PACKAGE],\n peerExternal: {},\n },\n} as const satisfies Record<\n string,\n { peerVersioned: readonly string[]; peerExternal: Record<string, PeerSpec> }\n>;\n\nexport const VERSIONED_DEPENDENCIES = [\n ...VERSIONED_PEER_DEPENDENCIES,\n ...FEATURE_DEPENDENCIES.analyticsProcessor.peerVersioned,\n];\n\n// Transitive dependencies whose postinstall scripts the generated project\n// trusts. Mirrors the `allowBuilds` map in the boilerplate's\n// pnpm-workspace.yaml and is also passed as `--allow-build` flags to\n// `pnpm dlx @powerhousedao/ph-cli init` so pnpm 11's strict-dep-builds\n// default doesn't prompt during the outer dlx download.\nexport const BOILERPLATE_ALLOWED_BUILDS = [\n \"@apollo/protobufjs\",\n \"@datadog/pprof\",\n \"@parcel/watcher\",\n \"esbuild\",\n \"protobufjs\",\n] as const;\n\n// pnpm `overrides` written into the generated project's pnpm-workspace.yaml to\n// force a single chosen version of each, avoiding duplicates from coexisting\n// version ranges. Generated-project only — never change the monorepo catalog\n// for this (a re-resolution there pulls a tsc-crashing TS6 beta).\nexport const BOILERPLATE_PNPM_OVERRIDES = {\n \"date-fns\": \"4.3.0\",\n vite: \"8.0.14\",\n rolldown: \"1.0.2\",\n} as const satisfies Record<string, string>;\n\nexport const VERSIONED_DEV_DEPENDENCIES = [\n \"@powerhousedao/ph-cli\",\n \"@powerhousedao/reactor\",\n \"@powerhousedao/shared\",\n \"@powerhousedao/connect\",\n \"@powerhousedao/design-system\",\n];\n\nexport const packageJsonExports = {\n \".\": {\n types: \"./dist/types/index.d.ts\",\n browser: \"./dist/browser/index.js\",\n node: \"./dist/node/index.mjs\",\n },\n \"./reactor\": {\n types: \"./dist/types/reactor/index.d.ts\",\n browser: \"./dist/browser/reactor/index.js\",\n },\n \"./document-models\": {\n types: \"./dist/types/document-models/index.d.ts\",\n browser: \"./dist/browser/document-models/index.js\",\n node: \"./dist/node/document-models/index.mjs\",\n },\n \"./document-models/*\": {\n types: \"./dist/types/document-models/*/index.d.ts\",\n browser: \"./dist/browser/document-models/*/index.js\",\n node: \"./dist/node/document-models/*/index.mjs\",\n },\n \"./editors\": {\n types: \"./dist/types/editors/index.d.ts\",\n browser: \"./dist/browser/editors/index.js\",\n node: \"./dist/node/editors/index.mjs\",\n },\n \"./editors/*\": {\n types: \"./dist/types/editors/*/editor.d.ts\",\n browser: \"./dist/browser/editors/*/editor.js\",\n node: \"./dist/node/editors/*/editor.mjs\",\n },\n \"./subgraphs\": {\n types: \"./dist/types/subgraphs/index.d.ts\",\n browser: \"./dist/browser/subgraphs/index.js\",\n node: \"./dist/node/subgraphs/index.mjs\",\n },\n \"./processors\": {\n types: \"./dist/types/processors/index.d.ts\",\n browser: \"./dist/browser/processors/index.js\",\n node: \"./dist/node/processors/index.mjs\",\n },\n \"./manifest\": \"./dist/powerhouse.manifest.json\",\n \"./style.css\": \"./dist/style.css\",\n} as const;\n\nexport const packageScripts = {\n \"test:watch\": \"vitest\",\n lint: \"oxlint --type-aware --type-check\",\n \"lint:fix\": \"oxlint --type-aware --type-check --fix\",\n format: \"oxfmt\",\n \"format:check\": \"oxfmt --check\",\n tsc: \"tsc\",\n \"tsc:watch\": \"tsc --watch\",\n generate: \"ph-cli generate\",\n connect: \"ph-cli connect\",\n build: \"ph-cli build\",\n reactor: \"ph-cli reactor\",\n service: \"ph-cli service\",\n vetra: \"ph-cli vetra\",\n \"service-startup\":\n \"bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-startup.sh\",\n \"service-unstartup\":\n \"bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh\",\n} as const;\n\nexport const externalDependencies = {} as const;\n\n// eslint/prettier devDependencies present in projects scaffolded before the oxc migration.\n// Stripped from package.json during `ph migrate`.\nexport const LEGACY_LINT_FORMAT_DEPENDENCIES = [\n \"@eslint/js\",\n \"eslint\",\n \"eslint-config-prettier\",\n \"eslint-plugin-prettier\",\n \"eslint-plugin-react\",\n \"eslint-plugin-react-hooks\",\n \"globals\",\n \"prettier\",\n \"typescript-eslint\",\n] as const;\n\n// Legacy lint/format config files written by eslint/prettier boilerplate.\n// Removed from the project root during `ph migrate`.\nexport const LEGACY_LINT_FORMAT_FILES = [\n \"eslint.config.js\",\n \"eslint.config.mjs\",\n \"eslint.config.cjs\",\n \"eslint.config.ts\",\n \".eslintrc\",\n \".eslintrc.js\",\n \".eslintrc.cjs\",\n \".eslintrc.json\",\n \".eslintrc.yml\",\n \".eslintrc.yaml\",\n \".eslintignore\",\n \".prettierrc\",\n \".prettierrc.js\",\n \".prettierrc.cjs\",\n \".prettierrc.json\",\n \".prettierrc.yml\",\n \".prettierrc.yaml\",\n \"prettier.config.js\",\n \"prettier.config.cjs\",\n \"prettier.config.mjs\",\n \".prettierignore\",\n] as const;\n\nexport const externalDevDependencies = {\n \"@electric-sql/pglite\": \"0.3.15\",\n \"@electric-sql/pglite-tools\": \"0.2.20\",\n \"@powerhousedao/document-engineering\": \"1.40.5\",\n \"@tailwindcss/cli\": \"^4.1.18\",\n \"@tailwindcss/vite\": \"^4.1.18\",\n \"@types/node\": \"^24.9.2\",\n \"@types/react\": \"^19.2.3\",\n \"@types/react-dom\": \"^19.2.3\",\n \"@vitejs/plugin-react\": \"^6.0.1\",\n \"@vitest/coverage-v8\": \"4.1.1\",\n oxfmt: \"0.55.0\",\n oxlint: \"1.70.0\",\n \"oxlint-tsgolint\": \"0.23.0\",\n tailwindcss: \"^4.1.16\",\n typescript: \"^5.9.3\",\n vite: \"^8.0.10\",\n \"vite-tsconfig-paths\": \"6.1.1\",\n vitest: \"4.1.1\",\n} as const;\n\nexport const defaultManifest: Manifest = {\n name: \"\",\n description: \"\",\n category: \"\",\n publisher: {\n name: \"\",\n url: \"\",\n },\n documentModels: [],\n editors: [],\n apps: [],\n subgraphs: [],\n processors: [],\n};\n\nconst DEFAULT_DOCUMENT_MODELS_DIR = \"./document-models\";\nconst DEFAULT_EDITORS_DIR = \"./editors\";\nconst DEFAULT_PROCESSORS_DIR = \"./processors\";\nconst DEFAULT_SUBGRAPHS_DIR = \"./subgraphs\";\nconst DEFAULT_IMPORT_SCRIPTS_DIR = \"./scripts\";\nconst DEFAULT_SKIP_FORMAT = false;\nconst DEFAULT_LOG_LEVEL = \"info\";\n\nexport const DEFAULT_CONFIG: PowerhouseConfig = {\n documentModelsDir: DEFAULT_DOCUMENT_MODELS_DIR,\n editorsDir: DEFAULT_EDITORS_DIR,\n processorsDir: DEFAULT_PROCESSORS_DIR,\n subgraphsDir: DEFAULT_SUBGRAPHS_DIR,\n importScriptsDir: DEFAULT_IMPORT_SCRIPTS_DIR,\n skipFormat: DEFAULT_SKIP_FORMAT,\n logLevel: DEFAULT_LOG_LEVEL,\n auth: {\n enabled: false,\n admins: [],\n },\n};\n","import { readFileSync } from \"node:fs\";\nimport { DEFAULT_CONFIG } from \"../constants.js\";\nimport type { PowerhouseConfig } from \"../types.js\";\n\nexport function getConfig(path = \"./powerhouse.config.json\") {\n let config: PowerhouseConfig = { ...DEFAULT_CONFIG };\n try {\n const configStr = readFileSync(path, \"utf-8\");\n const userConfig = JSON.parse(configStr) as PowerhouseConfig;\n config = { ...config, ...userConfig };\n } catch {\n // console.warn(\"No powerhouse.config.json found, using defaults\");\n }\n\n return config;\n}\n","import { spawn } from \"node:child_process\";\n\nexport function spawnAsync(\n command: string,\n args: string[],\n options: {\n cwd?: string;\n env?: NodeJS.ProcessEnv;\n } = {},\n): Promise<string> {\n return new Promise((resolve, reject) => {\n const cmd =\n process.platform === \"win32\" && command === \"npm\" ? \"npm.cmd\" : command;\n\n const child = spawn(cmd, args, {\n cwd: options.cwd,\n env: options.env,\n stdio: [\"ignore\", \"pipe\", \"pipe\"],\n });\n\n let stdout = \"\";\n let stderr = \"\";\n\n child.stdout.on(\"data\", (d: Buffer) => {\n stdout += d.toString();\n });\n\n child.stderr.on(\"data\", (d: Buffer) => {\n stderr += d.toString();\n });\n\n child.on(\"error\", reject);\n\n child.on(\"close\", (code) => {\n if (code === 0) {\n resolve(stdout.trim());\n } else {\n reject(\n new Error(stderr.trim() || `${command} exited with code ${code}`),\n );\n }\n });\n });\n}\n","import { promises as fs } from \"node:fs\";\nimport { homedir } from \"node:os\";\nimport { join } from \"node:path\";\nimport {\n DEFAULT_REGISTRY_URL,\n POWERHOUSE_CONFIG_FILE,\n} from \"../clis/constants.js\";\nimport { getConfig } from \"../clis/file-system/get-config.js\";\nimport { spawnAsync } from \"../clis/file-system/spawn-async.js\";\n\nexport { DEFAULT_REGISTRY_URL } from \"../clis/constants.js\";\n\n/**\n * Extract the host portion of a registry URL — what npm uses as the key in\n * `~/.npmrc` for per-registry tokens (e.g. `//registry.vetra.io/`).\n */\nexport function registryAuthKey(registryUrl: string): string {\n const url = new URL(registryUrl);\n // Always trailing slash; npm's lookup is exact-match against the leading\n // path of the registry URL, with `//` prefix and trailing `/`.\n const path = url.pathname.endsWith(\"/\") ? url.pathname : `${url.pathname}/`;\n return `//${url.host}${path}:_authToken`;\n}\n\nexport interface ResolveRegistryUrlOptions {\n /** Explicit registry URL (e.g. from --registry flag). Highest priority. */\n registry?: string;\n /** Project path to read powerhouse.config.json from. */\n projectPath: string;\n /** Environment variables. Defaults to process.env. */\n env?: Record<string, string | undefined>;\n}\n\n/**\n * Resolve the registry URL with priority: flag > env > config > default.\n */\nexport function resolveRegistryUrl(options: ResolveRegistryUrlOptions): string {\n const { registry, projectPath, env = process.env } = options;\n const configPath = join(projectPath, POWERHOUSE_CONFIG_FILE);\n const config = getConfig(configPath);\n\n return (\n registry ??\n env.PH_REGISTRY_URL ??\n config.packageRegistryUrl ??\n DEFAULT_REGISTRY_URL\n );\n}\n\n/**\n * Check if the user is authenticated with the given npm registry.\n * Returns the username on success, throws on failure.\n */\nexport async function checkNpmAuth(registryUrl: string): Promise<string> {\n return spawnAsync(\"npm\", [\"whoami\", \"--registry\", registryUrl]);\n}\n\nexport interface NpmPublishOptions {\n /** Registry URL to publish to. */\n registryUrl: string;\n /** Working directory (project root). */\n cwd: string;\n /** Additional arguments forwarded to npm publish. */\n args?: string[];\n /** Bearer token for the registry. When set, passed via a registry-scoped\n * `_authToken` config flag rather than read from the user's `.npmrc`. */\n authToken?: string;\n}\n\nexport interface NpmPublishResult {\n /** stdout from npm publish. */\n stdout: string;\n}\n\n/**\n * Run `npm publish` against the given registry.\n * Uses spawn with args array to avoid shell injection.\n *\n * When `authToken` is provided, the token is passed via a registry-scoped\n * `--//host/:_authToken=<token>` flag (npm's standard form for per-registry\n * tokens) so we never have to write to `~/.npmrc`.\n */\nexport async function npmPublish(\n options: NpmPublishOptions,\n): Promise<NpmPublishResult> {\n const { registryUrl, cwd, args = [], authToken } = options;\n const tokenArg = authToken\n ? [`--${registryAuthKey(registryUrl)}=${authToken}`]\n : [];\n const npmArgs = [\"publish\", \"--registry\", registryUrl, ...tokenArg, ...args];\n const stdout = await spawnAsync(\"npm\", npmArgs, { cwd });\n return { stdout };\n}\n\n/**\n * Write `_authToken=<token>` for the given registry host into `~/.npmrc`,\n * preserving any other lines. Replaces the existing entry for the same key\n * if present. Returns the absolute path to the npmrc that was written.\n */\nexport async function writeRegistryAuthToken(\n registryUrl: string,\n token: string,\n): Promise<string> {\n const npmrcPath = join(homedir(), \".npmrc\");\n const key = registryAuthKey(registryUrl);\n let existing = \"\";\n try {\n existing = await fs.readFile(npmrcPath, \"utf8\");\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code !== \"ENOENT\") throw err;\n }\n const lines = existing.split(\"\\n\");\n const filtered = lines.filter((line) => !line.startsWith(`${key}=`));\n // Also drop any trailing empties to avoid stacking blank lines on rewrite.\n while (filtered.length && filtered[filtered.length - 1] === \"\")\n filtered.pop();\n filtered.push(`${key}=${token}`);\n await fs.writeFile(npmrcPath, `${filtered.join(\"\\n\")}\\n`, \"utf8\");\n return npmrcPath;\n}\n\nexport interface NpmUnpublishOptions {\n /** Registry URL to unpublish from. */\n registryUrl: string;\n /** Working directory (project root). */\n cwd: string;\n /** Package spec: `<name>` (whole package) or `<name>@<version>` (single version). */\n spec: string;\n /** Additional arguments forwarded to npm unpublish. */\n args?: string[];\n /** Bearer token for the registry (same semantics as `NpmPublishOptions.authToken`). */\n authToken?: string;\n}\n\nexport interface NpmUnpublishResult {\n /** stdout from npm unpublish. */\n stdout: string;\n}\n\n/**\n * Run `npm unpublish` against the given registry.\n * Always passes `--force` because npm otherwise refuses to unpublish packages\n * older than 72h (a public-npmjs safeguard that doesn't apply to private registries).\n */\nexport async function npmUnpublish(\n options: NpmUnpublishOptions,\n): Promise<NpmUnpublishResult> {\n const { registryUrl, cwd, spec, args = [], authToken } = options;\n const tokenArg = authToken\n ? [`--${registryAuthKey(registryUrl)}=${authToken}`]\n : [];\n const npmArgs = [\n \"unpublish\",\n spec,\n \"--registry\",\n registryUrl,\n \"--force\",\n ...tokenArg,\n ...args,\n ];\n const stdout = await spawnAsync(\"npm\", npmArgs, { cwd });\n return { stdout };\n}\n"],"mappings":";;;;;;AA0CA,MAAa,uBA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UAAU,WAAW,GAAG,SAAS,KAAK,KAAK,CAAC,KAAK,OAAO;AACjE,QAAO;;;;;;;AA0BT,eAAsB,aACpB,SAC6B;CAC7B,MAAM,EAAE,aAAa,KAAK,MAAM,OAAO,EAAE,EAAE,cAAc;AAczD,QAAO,EAAE,QADM,MAAM,WAAW,OAThB;EACd;EACA;EACA;EACA;EACA;EACA,GATe,YACb,CAAC,KAAK,gBAAgB,YAAY,CAAC,GAAG,YAAY,GAClD,EAAE;EAQJ,GAAG;EACJ,EAC+C,EAAE,KAAK,CAAC,EACvC"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["fs"],"sources":["../../clis/constants.ts","../../clis/file-system/get-config.ts","../../clis/file-system/spawn-async.ts","../../registry/registry.ts"],"sourcesContent":["import { homedir } from \"node:os\";\nimport { join } from \"node:path\";\nimport type { Manifest } from \"../document-model/types.js\";\nimport type { PowerhouseConfig } from \"./types.js\";\n\nexport const SERVICE_ACTIONS = [\n \"start\",\n \"stop\",\n \"status\",\n \"setup\",\n \"restart\",\n] as const;\n\nexport const SECONDS_IN_DAY = 24 * 60 * 60;\nexport const DEFAULT_EXPIRY_DAYS = 7;\nexport const DEFAULT_EXPIRY_SECONDS = DEFAULT_EXPIRY_DAYS * SECONDS_IN_DAY;\n\nexport const DRIVES_PRESERVE_STRATEGIES = [\n \"preserve-all\",\n \"preserve-by-url-and-detach\",\n] as const;\n\nexport const LOG_LEVELS = [\n \"debug\",\n \"info\",\n \"warn\",\n \"error\",\n \"verbose\",\n] as const;\n\nexport const DEFAULT_TIMEOUT = 300 as const;\n\nexport const DEFAULT_CONNECT_STUDIO_PORT = 3000 as const;\n\nexport const DEFAULT_VETRA_CONNECT_PORT = 3001 as const;\n\nexport const DEFAULT_CONNECT_PREVIEW_PORT = 4173 as const;\n\nexport const DEFAULT_CONNECT_OUTDIR = \".ph/connect-build/dist/\" as const;\n\nexport const DEFAULT_RENOWN_URL = \"https://www.renown.id\" as const;\n\nexport const DEFAULT_REGISTRY_URL = \"https://registry.vetra.io\" as const;\n\nexport const DEFAULT_SWITCHBOARD_PORT = 4001 as const;\n\nexport const DEFAULT_VETRA_DRIVE_ID = \"vetra\" as const;\n\nexport const MINIMUM_NODE_VERSION = \"24.0.0\" as const;\nexport const PH_BIN = \"ph-cli-legacy\" as const;\nexport const POWERHOUSE_CONFIG_FILE = \"powerhouse.config.json\" as const;\nexport const PH_GLOBAL_DIR_NAME = \".ph\" as const;\n// Keep PH_GLOBAL_PROJECT_NAME for backwards compatibility\nexport const PH_GLOBAL_PROJECT_NAME = PH_GLOBAL_DIR_NAME;\n\nexport const HOME_DIR = homedir();\n\nexport const POWERHOUSE_GLOBAL_DIR = join(HOME_DIR, PH_GLOBAL_DIR_NAME);\n\n// Workspace packages that go in peerDependencies of every generated project.\nexport const VERSIONED_PEER_DEPENDENCIES = [\n \"document-model\",\n \"@powerhousedao/reactor-browser\",\n];\n\ntype PeerSpec = { peer: string; dev: string };\n\nexport const REACTOR_API_PACKAGE = \"@powerhousedao/reactor-api\";\nexport const ANALYTICS_ENGINE_CORE_PACKAGE =\n \"@powerhousedao/analytics-engine-core\";\nexport const GRAPHQL_PACKAGE = \"graphql\";\nexport const GRAPHQL_TAG_PACKAGE = \"graphql-tag\";\n\n// External peerDependencies of every generated project.\n// `peer` is the consumer-facing range; `dev` is the exact build-tested pin.\n// graphql / graphql-tag are always-on because the workspace packages pulled\n// in by every `ph init` project (codegen, reactor-api, reactor-browser,\n// vetra-packages) declare them as peers — even projects without subgraphs\n// need them in scope so pnpm hoists a single graphql instance.\nexport const PEER_EXTERNAL_DEPENDENCIES = {\n [GRAPHQL_PACKAGE]: { peer: \"^16\", dev: \"16.12.0\" },\n [GRAPHQL_TAG_PACKAGE]: { peer: \"^2\", dev: \"2.12.6\" },\n react: { peer: \"^19\", dev: \"19.2.6\" },\n \"react-dom\": { peer: \"^19\", dev: \"19.2.6\" },\n zod: { peer: \"^4\", dev: \"4.3.6\" },\n} as const satisfies Record<string, PeerSpec>;\n\n// Per-feature deps added dynamically by codegen when required.\nexport const FEATURE_DEPENDENCIES = {\n analyticsProcessor: {\n peerVersioned: [ANALYTICS_ENGINE_CORE_PACKAGE],\n peerExternal: {},\n },\n} as const satisfies Record<\n string,\n { peerVersioned: readonly string[]; peerExternal: Record<string, PeerSpec> }\n>;\n\nexport const VERSIONED_DEPENDENCIES = [\n ...VERSIONED_PEER_DEPENDENCIES,\n ...FEATURE_DEPENDENCIES.analyticsProcessor.peerVersioned,\n];\n\n// Transitive dependencies whose postinstall scripts the generated project\n// trusts. Mirrors the `allowBuilds` map in the boilerplate's\n// pnpm-workspace.yaml and is also passed as `--allow-build` flags to\n// `pnpm dlx @powerhousedao/ph-cli init` so pnpm 11's strict-dep-builds\n// default doesn't prompt during the outer dlx download.\nexport const BOILERPLATE_ALLOWED_BUILDS = [\n \"@apollo/protobufjs\",\n \"@datadog/pprof\",\n \"@parcel/watcher\",\n \"@reown/appkit\",\n \"bufferutil\",\n \"esbuild\",\n \"keccak\",\n \"protobufjs\",\n \"utf-8-validate\",\n] as const;\n\n// pnpm `overrides` written into the generated project's pnpm-workspace.yaml to\n// force a single chosen version of each, avoiding duplicates from coexisting\n// version ranges. Generated-project only — never change the monorepo catalog\n// for this (a re-resolution there pulls a tsc-crashing TS6 beta).\nexport const BOILERPLATE_PNPM_OVERRIDES = {\n \"date-fns\": \"4.3.0\",\n vite: \"8.0.14\",\n rolldown: \"1.0.2\",\n} as const satisfies Record<string, string>;\n\nexport const VERSIONED_DEV_DEPENDENCIES = [\n \"@powerhousedao/ph-cli\",\n \"@powerhousedao/reactor\",\n \"@powerhousedao/shared\",\n \"@powerhousedao/connect\",\n \"@powerhousedao/design-system\",\n];\n\nexport const packageJsonExports = {\n \".\": {\n types: \"./dist/types/index.d.ts\",\n browser: \"./dist/browser/index.js\",\n node: \"./dist/node/index.mjs\",\n },\n \"./reactor\": {\n types: \"./dist/types/reactor/index.d.ts\",\n browser: \"./dist/browser/reactor/index.js\",\n },\n \"./document-models\": {\n types: \"./dist/types/document-models/index.d.ts\",\n browser: \"./dist/browser/document-models/index.js\",\n node: \"./dist/node/document-models/index.mjs\",\n },\n \"./document-models/*\": {\n types: \"./dist/types/document-models/*/index.d.ts\",\n browser: \"./dist/browser/document-models/*/index.js\",\n node: \"./dist/node/document-models/*/index.mjs\",\n },\n \"./editors\": {\n types: \"./dist/types/editors/index.d.ts\",\n browser: \"./dist/browser/editors/index.js\",\n node: \"./dist/node/editors/index.mjs\",\n },\n \"./editors/*\": {\n types: \"./dist/types/editors/*/editor.d.ts\",\n browser: \"./dist/browser/editors/*/editor.js\",\n node: \"./dist/node/editors/*/editor.mjs\",\n },\n \"./subgraphs\": {\n types: \"./dist/types/subgraphs/index.d.ts\",\n browser: \"./dist/browser/subgraphs/index.js\",\n node: \"./dist/node/subgraphs/index.mjs\",\n },\n \"./processors\": {\n types: \"./dist/types/processors/index.d.ts\",\n browser: \"./dist/browser/processors/index.js\",\n node: \"./dist/node/processors/index.mjs\",\n },\n \"./manifest\": \"./dist/powerhouse.manifest.json\",\n \"./style.css\": \"./dist/style.css\",\n} as const;\n\nexport const packageScripts = {\n \"test:watch\": \"vitest\",\n lint: \"oxlint --type-aware --type-check\",\n \"lint:fix\": \"oxlint --type-aware --type-check --fix\",\n format: \"oxfmt\",\n \"format:check\": \"oxfmt --check\",\n tsc: \"tsc\",\n \"tsc:watch\": \"tsc --watch\",\n generate: \"ph-cli generate\",\n connect: \"ph-cli connect\",\n build: \"ph-cli build\",\n reactor: \"ph-cli reactor\",\n service: \"ph-cli service\",\n vetra: \"ph-cli vetra\",\n \"service-startup\":\n \"bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-startup.sh\",\n \"service-unstartup\":\n \"bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh\",\n} as const;\n\nexport const externalDependencies = {} as const;\n\n// eslint/prettier devDependencies present in projects scaffolded before the oxc migration.\n// Stripped from package.json during `ph migrate`.\nexport const LEGACY_LINT_FORMAT_DEPENDENCIES = [\n \"@eslint/js\",\n \"eslint\",\n \"eslint-config-prettier\",\n \"eslint-plugin-prettier\",\n \"eslint-plugin-react\",\n \"eslint-plugin-react-hooks\",\n \"globals\",\n \"prettier\",\n \"typescript-eslint\",\n] as const;\n\n// Legacy lint/format config files written by eslint/prettier boilerplate.\n// Removed from the project root during `ph migrate`.\nexport const LEGACY_LINT_FORMAT_FILES = [\n \"eslint.config.js\",\n \"eslint.config.mjs\",\n \"eslint.config.cjs\",\n \"eslint.config.ts\",\n \".eslintrc\",\n \".eslintrc.js\",\n \".eslintrc.cjs\",\n \".eslintrc.json\",\n \".eslintrc.yml\",\n \".eslintrc.yaml\",\n \".eslintignore\",\n \".prettierrc\",\n \".prettierrc.js\",\n \".prettierrc.cjs\",\n \".prettierrc.json\",\n \".prettierrc.yml\",\n \".prettierrc.yaml\",\n \"prettier.config.js\",\n \"prettier.config.cjs\",\n \"prettier.config.mjs\",\n \".prettierignore\",\n] as const;\n\nexport const externalDevDependencies = {\n \"@electric-sql/pglite\": \"0.3.15\",\n \"@electric-sql/pglite-tools\": \"0.2.20\",\n \"@powerhousedao/document-engineering\": \"1.40.5\",\n \"@tailwindcss/cli\": \"^4.1.18\",\n \"@tailwindcss/vite\": \"^4.1.18\",\n \"@types/node\": \"^24.9.2\",\n \"@types/react\": \"^19.2.3\",\n \"@types/react-dom\": \"^19.2.3\",\n \"@vitejs/plugin-react\": \"^6.0.1\",\n \"@vitest/coverage-v8\": \"4.1.1\",\n oxfmt: \"0.55.0\",\n oxlint: \"1.70.0\",\n \"oxlint-tsgolint\": \"0.23.0\",\n tailwindcss: \"^4.1.16\",\n typescript: \"^5.9.3\",\n vite: \"^8.0.10\",\n \"vite-tsconfig-paths\": \"6.1.1\",\n vitest: \"4.1.1\",\n} as const;\n\nexport const defaultManifest: Manifest = {\n name: \"\",\n description: \"\",\n category: \"\",\n publisher: {\n name: \"\",\n url: \"\",\n },\n documentModels: [],\n editors: [],\n apps: [],\n subgraphs: [],\n processors: [],\n};\n\nconst DEFAULT_DOCUMENT_MODELS_DIR = \"./document-models\";\nconst DEFAULT_EDITORS_DIR = \"./editors\";\nconst DEFAULT_PROCESSORS_DIR = \"./processors\";\nconst DEFAULT_SUBGRAPHS_DIR = \"./subgraphs\";\nconst DEFAULT_IMPORT_SCRIPTS_DIR = \"./scripts\";\nconst DEFAULT_SKIP_FORMAT = false;\nconst DEFAULT_LOG_LEVEL = \"info\";\n\nexport const DEFAULT_CONFIG: PowerhouseConfig = {\n documentModelsDir: DEFAULT_DOCUMENT_MODELS_DIR,\n editorsDir: DEFAULT_EDITORS_DIR,\n processorsDir: DEFAULT_PROCESSORS_DIR,\n subgraphsDir: DEFAULT_SUBGRAPHS_DIR,\n importScriptsDir: DEFAULT_IMPORT_SCRIPTS_DIR,\n skipFormat: DEFAULT_SKIP_FORMAT,\n logLevel: DEFAULT_LOG_LEVEL,\n auth: {\n enabled: false,\n admins: [],\n },\n};\n","import { readFileSync } from \"node:fs\";\nimport { DEFAULT_CONFIG } from \"../constants.js\";\nimport type { PowerhouseConfig } from \"../types.js\";\n\nexport function getConfig(path = \"./powerhouse.config.json\") {\n let config: PowerhouseConfig = { ...DEFAULT_CONFIG };\n try {\n const configStr = readFileSync(path, \"utf-8\");\n const userConfig = JSON.parse(configStr) as PowerhouseConfig;\n config = { ...config, ...userConfig };\n } catch {\n // console.warn(\"No powerhouse.config.json found, using defaults\");\n }\n\n return config;\n}\n","import { spawn } from \"node:child_process\";\n\nexport function spawnAsync(\n command: string,\n args: string[],\n options: {\n cwd?: string;\n env?: NodeJS.ProcessEnv;\n } = {},\n): Promise<string> {\n return new Promise((resolve, reject) => {\n const cmd =\n process.platform === \"win32\" && command === \"npm\" ? \"npm.cmd\" : command;\n\n const child = spawn(cmd, args, {\n cwd: options.cwd,\n env: options.env,\n stdio: [\"ignore\", \"pipe\", \"pipe\"],\n });\n\n let stdout = \"\";\n let stderr = \"\";\n\n child.stdout.on(\"data\", (d: Buffer) => {\n stdout += d.toString();\n });\n\n child.stderr.on(\"data\", (d: Buffer) => {\n stderr += d.toString();\n });\n\n child.on(\"error\", reject);\n\n child.on(\"close\", (code) => {\n if (code === 0) {\n resolve(stdout.trim());\n } else {\n reject(\n new Error(stderr.trim() || `${command} exited with code ${code}`),\n );\n }\n });\n });\n}\n","import { promises as fs } from \"node:fs\";\nimport { homedir } from \"node:os\";\nimport { join } from \"node:path\";\nimport {\n DEFAULT_REGISTRY_URL,\n POWERHOUSE_CONFIG_FILE,\n} from \"../clis/constants.js\";\nimport { getConfig } from \"../clis/file-system/get-config.js\";\nimport { spawnAsync } from \"../clis/file-system/spawn-async.js\";\n\nexport { DEFAULT_REGISTRY_URL } from \"../clis/constants.js\";\n\n/**\n * Extract the host portion of a registry URL — what npm uses as the key in\n * `~/.npmrc` for per-registry tokens (e.g. `//registry.vetra.io/`).\n */\nexport function registryAuthKey(registryUrl: string): string {\n const url = new URL(registryUrl);\n // Always trailing slash; npm's lookup is exact-match against the leading\n // path of the registry URL, with `//` prefix and trailing `/`.\n const path = url.pathname.endsWith(\"/\") ? url.pathname : `${url.pathname}/`;\n return `//${url.host}${path}:_authToken`;\n}\n\nexport interface ResolveRegistryUrlOptions {\n /** Explicit registry URL (e.g. from --registry flag). Highest priority. */\n registry?: string;\n /** Project path to read powerhouse.config.json from. */\n projectPath: string;\n /** Environment variables. Defaults to process.env. */\n env?: Record<string, string | undefined>;\n}\n\n/**\n * Resolve the registry URL with priority: flag > env > config > default.\n */\nexport function resolveRegistryUrl(options: ResolveRegistryUrlOptions): string {\n const { registry, projectPath, env = process.env } = options;\n const configPath = join(projectPath, POWERHOUSE_CONFIG_FILE);\n const config = getConfig(configPath);\n\n return (\n registry ??\n env.PH_REGISTRY_URL ??\n config.packageRegistryUrl ??\n DEFAULT_REGISTRY_URL\n );\n}\n\n/**\n * Check if the user is authenticated with the given npm registry.\n * Returns the username on success, throws on failure.\n */\nexport async function checkNpmAuth(registryUrl: string): Promise<string> {\n return spawnAsync(\"npm\", [\"whoami\", \"--registry\", registryUrl]);\n}\n\nexport interface NpmPublishOptions {\n /** Registry URL to publish to. */\n registryUrl: string;\n /** Working directory (project root). */\n cwd: string;\n /** Additional arguments forwarded to npm publish. */\n args?: string[];\n /** Bearer token for the registry. When set, passed via a registry-scoped\n * `_authToken` config flag rather than read from the user's `.npmrc`. */\n authToken?: string;\n}\n\nexport interface NpmPublishResult {\n /** stdout from npm publish. */\n stdout: string;\n}\n\n/**\n * Run `npm publish` against the given registry.\n * Uses spawn with args array to avoid shell injection.\n *\n * When `authToken` is provided, the token is passed via a registry-scoped\n * `--//host/:_authToken=<token>` flag (npm's standard form for per-registry\n * tokens) so we never have to write to `~/.npmrc`.\n */\nexport async function npmPublish(\n options: NpmPublishOptions,\n): Promise<NpmPublishResult> {\n const { registryUrl, cwd, args = [], authToken } = options;\n const tokenArg = authToken\n ? [`--${registryAuthKey(registryUrl)}=${authToken}`]\n : [];\n const npmArgs = [\"publish\", \"--registry\", registryUrl, ...tokenArg, ...args];\n const stdout = await spawnAsync(\"npm\", npmArgs, { cwd });\n return { stdout };\n}\n\n/**\n * Write `_authToken=<token>` for the given registry host into `~/.npmrc`,\n * preserving any other lines. Replaces the existing entry for the same key\n * if present. Returns the absolute path to the npmrc that was written.\n */\nexport async function writeRegistryAuthToken(\n registryUrl: string,\n token: string,\n): Promise<string> {\n const npmrcPath = join(homedir(), \".npmrc\");\n const key = registryAuthKey(registryUrl);\n let existing = \"\";\n try {\n existing = await fs.readFile(npmrcPath, \"utf8\");\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code !== \"ENOENT\") throw err;\n }\n const lines = existing.split(\"\\n\");\n const filtered = lines.filter((line) => !line.startsWith(`${key}=`));\n // Also drop any trailing empties to avoid stacking blank lines on rewrite.\n while (filtered.length && filtered[filtered.length - 1] === \"\")\n filtered.pop();\n filtered.push(`${key}=${token}`);\n await fs.writeFile(npmrcPath, `${filtered.join(\"\\n\")}\\n`, \"utf8\");\n return npmrcPath;\n}\n\nexport interface NpmUnpublishOptions {\n /** Registry URL to unpublish from. */\n registryUrl: string;\n /** Working directory (project root). */\n cwd: string;\n /** Package spec: `<name>` (whole package) or `<name>@<version>` (single version). */\n spec: string;\n /** Additional arguments forwarded to npm unpublish. */\n args?: string[];\n /** Bearer token for the registry (same semantics as `NpmPublishOptions.authToken`). */\n authToken?: string;\n}\n\nexport interface NpmUnpublishResult {\n /** stdout from npm unpublish. */\n stdout: string;\n}\n\n/**\n * Run `npm unpublish` against the given registry.\n * Always passes `--force` because npm otherwise refuses to unpublish packages\n * older than 72h (a public-npmjs safeguard that doesn't apply to private registries).\n */\nexport async function npmUnpublish(\n options: NpmUnpublishOptions,\n): Promise<NpmUnpublishResult> {\n const { registryUrl, cwd, spec, args = [], authToken } = options;\n const tokenArg = authToken\n ? [`--${registryAuthKey(registryUrl)}=${authToken}`]\n : [];\n const npmArgs = [\n \"unpublish\",\n spec,\n \"--registry\",\n registryUrl,\n \"--force\",\n ...tokenArg,\n ...args,\n ];\n const stdout = await spawnAsync(\"npm\", npmArgs, { cwd });\n return { stdout };\n}\n"],"mappings":";;;;;;AA0CA,MAAa,uBAAuB;AAQpC,MAAa,yBAAyB;AAOD,KAFb,SAAS,EAES,MAA6B;AAGvE,MAAa,8BAA8B,CACzC,kBACA,iCACD;AAyBD,MAAa,uBAAuB,EAClC,oBAAoB;CAClB,eAAe,CArBjB,uCAqBgD;CAC9C,cAAc,EAAE;CACjB,EACF;AAKqC,CACpC,GAAG,6BACH,GAAG,qBAAqB,mBAAmB,cAC5C;AA2LD,MAAa,iBAAmC;CAC9C,mBATkC;CAUlC,YAT0B;CAU1B,eAT6B;CAU7B,cAT4B;CAU5B,kBATiC;CAUjC,YAT0B;CAU1B,UATwB;CAUxB,MAAM;EACJ,SAAS;EACT,QAAQ,EAAE;EACX;CACF;;;ACxSD,SAAgB,UAAU,OAAO,4BAA4B;CAC3D,IAAI,SAA2B,EAAE,GAAG,gBAAgB;AACpD,KAAI;EACF,MAAM,YAAY,aA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B,MAAM,EAAE,aAAa,KAAK,OAAO,EAAE,EAAE,cAAc;AAMnD,QAAO,EAAE,QADM,MAAM,WAAW,OADhB;EAAC;EAAW;EAAc;EAAa,GAHtC,YACb,CAAC,KAAK,gBAAgB,YAAY,CAAC,GAAG,YAAY,GAClD,EAAE;EAC8D,GAAG;EAAK,EAC5B,EAAE,KAAK,CAAC,EACvC;;;;;;;AAQnB,eAAsB,uBACpB,aACA,OACiB;CACjB,MAAM,YAAY,KAAK,SAAS,EAAE,SAAS;CAC3C,MAAM,MAAM,gBAAgB,YAAY;CACxC,IAAI,WAAW;AACf,KAAI;AACF,aAAW,MAAMA,SAAG,SAAS,WAAW,OAAO;UACxC,KAAK;AACZ,MAAK,IAA8B,SAAS,SAAU,OAAM;;CAG9D,MAAM,WADQ,SAAS,MAAM,KAAK,CACX,QAAQ,SAAS,CAAC,KAAK,WAAW,GAAG,IAAI,GAAG,CAAC;AAEpE,QAAO,SAAS,UAAU,SAAS,SAAS,SAAS,OAAO,GAC1D,UAAS,KAAK;AAChB,UAAS,KAAK,GAAG,IAAI,GAAG,QAAQ;AAChC,OAAMA,SAAG,UAAU,WAAW,GAAG,SAAS,KAAK,KAAK,CAAC,KAAK,OAAO;AACjE,QAAO;;;;;;;AA0BT,eAAsB,aACpB,SAC6B;CAC7B,MAAM,EAAE,aAAa,KAAK,MAAM,OAAO,EAAE,EAAE,cAAc;AAczD,QAAO,EAAE,QADM,MAAM,WAAW,OAThB;EACd;EACA;EACA;EACA;EACA;EACA,GATe,YACb,CAAC,KAAK,gBAAgB,YAAY,CAAC,GAAG,YAAY,GAClD,EAAE;EAQJ,GAAG;EACJ,EAC+C,EAAE,KAAK,CAAC,EACvC"}
|
|
@@ -2579,11 +2579,26 @@ type PHConnectPackages = {
|
|
|
2579
2579
|
externalEnabled?: boolean; /** Subscribe to the static-mode `/__packages` SSE channel for live reload. */
|
|
2580
2580
|
liveReload?: boolean;
|
|
2581
2581
|
};
|
|
2582
|
+
type PHRenownRainbowAdapterConfig = {
|
|
2583
|
+
/** WalletConnect project id; required for the rainbow adapter to function. */walletConnectProjectId?: string; /** Optional Infura project id used to build RPC transports. */
|
|
2584
|
+
infuraProjectId?: string;
|
|
2585
|
+
};
|
|
2586
|
+
type PHRenownPrivyAdapterConfig = {
|
|
2587
|
+
/** Privy application id; required for the privy adapter to function. */appId?: string; /** Optional Privy client id. */
|
|
2588
|
+
clientId?: string; /** Login methods this adapter offers; defaults per adapter when omitted. */
|
|
2589
|
+
methods?: string[];
|
|
2590
|
+
};
|
|
2591
|
+
type PHConnectRenownAdapters = {
|
|
2592
|
+
rainbow?: PHRenownRainbowAdapterConfig;
|
|
2593
|
+
privy?: PHRenownPrivyAdapterConfig;
|
|
2594
|
+
};
|
|
2582
2595
|
type PHConnectRenown = {
|
|
2583
2596
|
url?: string;
|
|
2584
2597
|
networkId?: string;
|
|
2585
2598
|
chainId?: number; /** Renown localStorage namespace; share it across Connects to share login. */
|
|
2586
|
-
namespace?: string;
|
|
2599
|
+
namespace?: string; /** Switchboard GraphQL URL; when set, enables in-page (no-redirect) auth. */
|
|
2600
|
+
switchboardUrl?: string; /** Per-adapter wallet config; presence of a key enables that adapter. */
|
|
2601
|
+
adapters?: PHConnectRenownAdapters;
|
|
2587
2602
|
};
|
|
2588
2603
|
type PHConnectSentry = {
|
|
2589
2604
|
/** Sentry DSN URL. `null` disables Sentry entirely. */dsn?: string | null; /** Sentry environment label. */
|
|
@@ -2740,5 +2755,5 @@ type PowerhouseConfig = {
|
|
|
2740
2755
|
connect?: PHConnectRuntimeConfig;
|
|
2741
2756
|
};
|
|
2742
2757
|
//#endregion
|
|
2743
|
-
export { Author as $, AuthorSchema as $a, setPreferredEditor as $c, SetOperationReducerInput as $i, setNameOperation as $l, MutationReorderModulesArgs as $n, SetOperationErrorDescriptionInputSchema as $o, ReorderModulesInput as $r, actions as $s, DocumentSpecification as $t, ServiceActions as A, UpdateChangeLogItemInput as Aa, reorderOperationErrors as Ac, SetModelIdInput as Ai, mapSkippedOperationsV2 as Al, MinimalBackupData as An, RedoActionInputSchema as Ao, OperationSpecification as Ar, IRelationalDbProcessor as As, DocumentModelDocumentModelModule as At, AddModuleInput as B, ValidationError as Ba, setModuleDescription as Bc, SetOperationDescriptionAction as Bi, reshuffleByTimestamp as Bl, MutationAddStateExampleArgs as Bn, SetAuthorNameInputSchema as Bo, Redo as Br, ProcessorApps as Bs, DocumentModelOperationAction as Bt, PHPackageProvider as C, StateReducer as Ca, operationWithContext as Cc, SetInitialStateAction as Ci, groupOperationsByScope as Cl, Load_State as Cn, PowerhouseModuleSchema as Co, MutationUndoArgs as Cr, createRelationalDb as Cs, DeleteOperationExampleInput as Ct, UserActionSigner as Cu, PowerhouseConfig as D, UndoActionInput as Da, reorderChangeLogItems as Dc, SetModelExtensionAction as Di, isUndo as Dl, Manifest as Dn, PruneSchema as Do, NOOPAction as Dr, HashAlgorithms as Ds, DocumentAction as Dt, PathValidation as E, UndoAction as Ea, releaseNewVersion as Ec, SetModelDescriptionInput as Ei, isNoopOperation as El, MakeOptional as En, PruneActionSchema as Eo, MutationUpdateStateExampleArgs as Er, ExtractProcessorSchemaOrSelf as Es, DeleteStateExampleInput as Et, PROCESSOR_APPS as Eu, ActionVerificationHandler as F, UpdateStateExampleAction as Fa, setInitialState as Fc, SetModuleNameAction as Fi, precedes as Fl, MutationAddChangeLogItemInputArgs as Fn, ReorderModulesInputSchema as Fo, Prune as Fr, IProcessor as Fs, DocumentModelLib as Ft, AddOperationExampleInput as G, applyUpgradeDocumentAction as Ga, setOperationErrorDescription as Gc, SetOperationErrorDescriptionInput as Gi, split as Gl, MutationDeleteOperationExampleArgs as Gn, SetModelIdInputSchema as Go, ReleaseNewVersionAction as Gr, ProcessorRecord as Gs, DocumentModelOperationOperations as Gt, AddOperationErrorAction as H, UpgradeReducer as Ha, setName as Hc, SetOperationErrorCodeAction as Hi, skipHeaderOperations as Hl, MutationDeleteModuleArgs as Hn, SetInitialStateInputSchema as Ho, RedoActionInput as Hr, ProcessorFactory as Hs, DocumentModelOperationErrorOperations as Ht, Actions as I, UpdateStateExampleInput as Ia, setModelDescription as Ic, SetModuleNameInput as Ii, prepareOperations as Il, MutationAddModuleArgs as In, ReorderOperationErrorsInputSchema as Io, PruneAction as Ir, IProcessorDispatch as Is, DocumentModelLocalState as It, AddRelationshipActionInput as J, AddModuleInputSchema as Ja, setOperationName as Jc, SetOperationErrorTemplateAction as Ji, Operation as Jl, MutationMoveOperationArgs as Jn, SetModuleNameInputSchema as Jo, ReorderChangeLogItemsAction as Jr, Action as Js, DocumentModelStateOperations as Jt, AddOperationInput as K, computeUpgradeTransitions as Ka, setOperationErrorName as Kc, SetOperationErrorNameAction as Ki, updateHeaderRevision as Kl, MutationDeleteStateExampleArgs as Kn, SetModelNameInputSchema as Ko, RemoveRelationshipAction as Kr, ProcessorStatus as Ks, DocumentModelPHState as Kt, AddChangeLogItemAction as L, UpgradeDocumentAction as La, setModelExtension as Lc, SetNameAction as Li, readOnly as Ll, MutationAddOperationArgs as Ln, ReorderOperationExamplesInputSchema as Lo, PruneActionInput as Lr, IProcessorHostModule as Ls, DocumentModelModule as Lt, ActionErrorCallback as M, UpdateOperationExampleInput as Ma, reorderStateExamples as Mc, SetModelNameInput as Mi, nextSkipNumber as Ml, MoveOperationAction as Mn, RedoSchema as Mo, PartialRecord as Mr, IRelationalQueryMethods as Ms, DocumentModelHeaderAction as Mt, ActionSignatureContext as N, UpdateRelationshipAction as Na, setAuthorName as Nc, SetModuleDescriptionAction as Ni, operationsAreEqual as Nl, MoveOperationInput as Nn, ReorderChangeLogItemsInputSchema as No, PartialState as Nr, RelationalDbProcessor as Ns, DocumentModelHeaderOperations as Nt, PowerhousePackage as O, UndoRedoAction as Oa, reorderModuleOperations as Oc, SetModelExtensionInput as Oi, isUndoRedo as Ol, MappedOperation as On, PublisherSchema as Oo, OperationErrorSpecification as Or, IBaseRelationalDb as Os, DocumentModelAction as Ot, ActionSigningHandler as P, UpdateRelationshipActionInput as Pa, setAuthorWebsite as Pc, SetModuleDescriptionInput as Pi, parseResultingState as Pl, Mutation as Pn, ReorderModuleOperationsInputSchema as Po, PowerhouseModule as Pr, RelationalDbProcessorClass as Ps, DocumentModelInput as Pt, AssertIsStateOfType as Q, AddStateExampleInputSchema as Qa, setOperationTemplate as Qc, SetOperationReducerAction as Qi, redoOperation as Ql, MutationReorderModuleOperationsArgs as Qn, SetOperationErrorCodeInputSchema as Qo, ReorderModulesAction as Qr, actionSigner as Qs, DocumentOperationsIgnoreMap as Qt, AddChangeLogItemInput as R, UpgradeDocumentActionInput as Ra, setModelId as Rc, SetNameActionInput as Ri, removeExistingOperations as Rl, MutationAddOperationErrorArgs as Rn, ReorderStateExamplesInputSchema as Ro, Publisher as Rr, IProcessorManager as Rs, DocumentModelModuleAction as Rt, PHConnectSentry as S, State as Sa, operationFromOperation as Sc, SetAuthorWebsiteInput as Si, getDocumentLastModified as Sl, LoadStateActionStateInput as Sn, OperationSpecificationSchema as So, MutationSetStateSchemaArgs as Sr, createNamespacedQueryBuilder as Ss, DeleteOperationExampleAction as St, Signature as Su, ParsedCmdResult as T, Undo as Ta, redo as Tc, SetModelDescriptionAction as Ti, isDocumentAction as Tl, MakeMaybe as Tn, PruneActionInputSchema as To, MutationUpdateOperationExampleArgs as Tr, relationalDbToQueryBuilder as Ts, DeleteStateExampleAction as Tt, DEFAULT_RELATIONAL_PROCESSOR_DB_NAME as Tu, AddOperationErrorInput as U, UpgradeTransition as Ua, setOperationDescription as Uc, SetOperationErrorCodeInput as Ui, sortMappedOperations as Ul, MutationDeleteOperationArgs as Un, SetModelDescriptionInputSchema as Uo, Reducer as Ur, ProcessorFactoryBuilder as Us, DocumentModelOperationExampleAction as Ut, AddOperationAction as V, UpgradeManifest as Va, setModuleName as Vc, SetOperationDescriptionInput as Vi, reshuffleByTimestampAndIndex as Vl, MutationDeleteChangeLogItemInputArgs as Vn, SetAuthorWebsiteInputSchema as Vo, RedoAction as Vr, ProcessorDispatchResult as Vs, DocumentModelOperationErrorAction as Vt, AddOperationExampleAction as W, applyDeleteDocumentAction as Wa, setOperationErrorCode as Wc, SetOperationErrorDescriptionAction as Wi, sortOperations as Wl, MutationDeleteOperationErrorArgs as Wn, SetModelExtensionInputSchema as Wo, ReducerOptions as Wr, ProcessorFilter as Ws, DocumentModelOperationExampleOperations as Wt, AddStateExampleInput as X, AddOperationExampleInputSchema as Xa, setOperationSchema as Xc, SetOperationNameAction as Xi, OperationWithContext$1 as Xl, MutationRedoArgs as Xn, SetNameActionSchema as Xo, ReorderModuleOperationsAction as Xr, actionContext as Xs, DocumentModelVersioningAction as Xt, AddStateExampleAction as Y, AddOperationErrorInputSchema as Ya, setOperationReducer as Yc, SetOperationErrorTemplateInput as Yi, OperationContext as Yl, MutationPruneArgs as Yn, SetNameActionInputSchema as Yo, ReorderChangeLogItemsInput as Yr, ActionContext as Ys, DocumentModelUtils as Yt, AssertIsDocumentOfType as Z, AddOperationInputSchema as Za, setOperationScope as Zc, SetOperationNameInput as Zi, loadStateOperation as Zl, MutationReorderChangeLogItemsInputArgs as Zn, SetOperationDescriptionInputSchema as Zo, ReorderModuleOperationsInput as Zr, actionFromAction as Zs, DocumentModelVersioningOperations as Zt, PHConnectPwaManifest as _, SignalType as _a, loadState as _c, SchemaUndoAction as _i, filterDocumentOperationsResultingState as _l, IsStateOfType as _n, ManifestSchema as _o, MutationSetOperationErrorTemplateArgs as _r, UpdateOperationExampleInputSchema as _s, DeleteModuleAction as _t, defaultPHState as _u, PHConnectApp as a, SetOperationTemplateInput as aa, addStateExample as ac, ReorderStateExamplesInput as ai, verifyOperationSignature as al, FileInput as an, DeleteOperationErrorInputSchema as ao, MutationSetInitialStateArgs as ar, SetOperationScopeInputSchema as as, CreateChildDocumentInput as at, PHDocumentState as au, PHConnectRenown as b, SkipHeaderOperationIndex as ba, operationExampleCreators as bc, SetAuthorNameInput as bi, garbageCollectDocumentOperations as bl, LoadStateAction as bn, OperationErrorSchema as bo, MutationSetOperationSchemaArgs as br, isDefinedNonNullAny as bs, DeleteOperationErrorAction as bt, HashConfig as bu, PHConnectDriveSection as c, SetPreferredEditorOperation as ca, buildSignedAction as cc, SaveToFile as ci, PHDocument as cl, ID as cn, DeleteStateExampleInputSchema as co, MutationSetModelIdArgs as cr, SetPreferredEditorActionSchema as cs, CreateDocumentAction as ct, createDocumentState as cu, PHConnectInstance as d, Set_Name as da, deleteModule as dc, SchemaLoadStateAction as di, addUndo as dl, ISignal as dn, DocumentModelInputSchema as do, MutationSetModuleNameArgs as dr, Set_PreferredEditorSchema as ds, DeleteChangeLogItemAction as dt, createState as du, SetOperationSchemaAction as ea, addChangeLogItem as ec, ReorderOperationErrorsAction as ei, setStateSchema as el, ENSInfo as en, CodeExampleSchema as eo, MutationReorderOperationErrorsArgs as er, SetOperationErrorNameInputSchema as es, CodeExample as et, setPreferredEditorOperation as eu, PHConnectPackages as f, Set_PreferredEditor as fa, deleteOperation as fc, SchemaNOOPAction as fi, attachBranch as fl, ISignalResult as fn, DocumentSpecificationSchema as fo, MutationSetNameArgs as fr, StateSchema as fs, DeleteChangeLogItemInput as ft, defaultAuthState as fu, PHConnectPwaIcon as g, SignalResults as ga, documentModelActions as gc, SchemaSetPreferredEditorAction as gi, diffOperations as gl, IsDocumentOfType as gn, Load_StateSchema as go, MutationSetOperationErrorNameArgs as gr, UpdateChangeLogItemInputSchema as gs, DeleteDocumentActionInput as gt, defaultLocalState as gu, PHConnectPwaFileHandler as h, SignalResult as ha, deleteStateExample as hc, SchemaSetNameAction as hi, checkOperationsIntegrity as hl, InputMaybe as hn, LoadStateActionStateInputSchema as ho, MutationSetOperationErrorDescriptionArgs as hr, UndoSchema as hs, DeleteDocumentAction as ht, defaultGlobalState as hu, LogLevels as i, SetOperationTemplateAction as ia, addOperationExample as ic, ReorderStateExamplesAction as ii, updateStateExample as il, Exact as in, DeleteModuleInputSchema as io, MutationSetAuthorWebsiteArgs as ir, SetOperationSchemaInputSchema as is, CopyChildDocumentSignal as it, PHBaseState as iu, DEFAULT_REGISTRY_URL as j, UpdateOperationExampleAction as ja, reorderOperationExamples as jc, SetModelNameAction as ji, merge as jl, ModuleSpecification as jn, RedoActionSchema as jo, OperationsByScope as jr, IRelationalQueryBuilder as js, DocumentModelGlobalState as jt, ServiceAction as k, UpdateChangeLogItemAction as ka, reorderModules as kc, SetModelIdAction as ki, mapSkippedOperations as kl, Maybe as kn, PwaConfigSchema as ko, OperationIndex as kr, IRelationalDb as ks, DocumentModelDocument as kt, PHConnectDriveSections as l, SetStateSchemaAction as la, createAction as lc, SaveToFileHandle as li, PHDocumentHeader as ll, IDocument as ln, DocumentActionSchema as lo, MutationSetModelNameArgs as lr, SetStateSchemaInputSchema as ls, CreateDocumentActionInput as lt, createGlobalState as lu, PHConnectPwaCacheStrategy as m, SignalDispatch as ma, deleteOperationExample as mc, SchemaRedoAction as mi, checkCleanedOperationsIntegrity as ml, Incremental as mn, LoadStateActionSchema as mo, MutationSetOperationErrorCodeArgs as mr, UndoActionSchema as ms, DeleteChildDocumentSignal as mt, defaultDocumentState as mu, DrivePreserveStrategy as n, SetOperationScopeAction as na, addOperation as nc, ReorderOperationExamplesAction as ni, updateChangeLogItem as nl, EditorModule as nn, ConfigEntryTypeSchema as no, MutationReorderStateExamplesArgs as nr, SetOperationNameInputSchema as ns, ConfigEntryType as nt, undoOperationV2 as nu, PHConnectBranding as o, SetPreferredEditorAction as oa, baseActions as oc, ReplayDocumentOptions as oi, IntegrityIssueSubType as ol, GetDocumentOptions as on, DeleteOperationExampleInputSchema as oo, MutationSetModelDescriptionArgs as or, SetOperationTemplateInputSchema as os, CreateChildDocumentSignal as ot, createAuthState as ou, PHConnectPwa as p, Signal as pa, deleteOperationError as pc, SchemaPruneAction as pi, baseCreateDocument as pl, ISigner as pn, LoadStateActionInputSchema as po, MutationSetOperationDescriptionArgs as pr, UndoActionInputSchema as ps, DeleteChildDocumentInput as pt, defaultBaseState as pu, AddRelationshipAction as q, AddChangeLogItemInputSchema as qa, setOperationErrorTemplate as qc, SetOperationErrorNameInput as qi, DocumentOperations as ql, MutationLoadStateArgs as qn, SetModuleDescriptionInputSchema as qo, RemoveRelationshipActionInput as qr, TrackedProcessor as qs, DocumentModelStateAction as qt, LogLevel as r, SetOperationScopeInput as ra, addOperationError as rc, ReorderOperationExamplesInput as ri, updateOperationExample as rl, EditorProps as rn, DeleteChangeLogItemInputSchema as ro, MutationSetAuthorNameArgs as rr, SetOperationReducerInputSchema as rs, CopyChildDocumentInput as rt, PHAuthState as ru, PHConnectDefaultDrive as s, SetPreferredEditorActionInput as sa, buildOperationSignature as sc, RevisionsFilter as si, IntegrityIssueType as sl, IAction as sn, DeleteOperationInputSchema as so, MutationSetModelExtensionArgs as sr, SetPreferredEditorActionInputSchema as ss, CreateDocument as st, createBaseState as su, DrivePreserveStrategies as t, SetOperationSchemaInput as ta, addModule as tc, ReorderOperationErrorsInput as ti, undo as tl, EditorDispatch as tn, ConfigEntrySchema as to, MutationReorderOperationExamplesArgs as tr, SetOperationErrorTemplateInputSchema as ts, ConfigEntry as tt, undoOperation as tu, PHConnectDrives as u, SetStateSchemaInput as ua, deleteChangeLogItem as uc, Scalars as ui, PHDocumentMeta as ul, IOperation as un, DocumentModelGlobalStateSchema as uo, MutationSetModuleDescriptionArgs as ur, Set_NameSchema as us, CreateState as ut, createLocalState as uu, PHConnectPwaRuntimeCaching as v, SignatureVerificationHandler as va, moveOperation as vc, ScopeState as vi, filterDuplicatedOperations as vl, LoadFromFile as vn, ModuleSchema as vo, MutationSetOperationNameArgs as vr, UpdateStateExampleInputSchema as vs, DeleteModuleInput as vt, ActionSigner as vu, PackageManagerArgs as w, SubgraphModule as wa, prune as wc, SetInitialStateInput as wi, hashDocumentStateForScope as wl, MakeEmpty as wn, PowerhouseModulesSchema as wo, MutationUpdateChangeLogItemInputArgs as wr, hashNamespace as ws, DeleteOperationInput as wt, DEFAULT_ANALYTICS_PROCESSOR_DB_NAME as wu, PHConnectRuntimeConfig as x, SkipHeaderOperations as xa, operationFromAction as xc, SetAuthorWebsiteAction as xi, garbageCollectV2 as xl, LoadStateActionInput as xn, OperationScopeSchema as xo, MutationSetOperationTemplateArgs as xr, createNamespacedDb as xs, DeleteOperationErrorInput as xt, PHDocumentSignatureInfo as xu, PHConnectPwaUrlPattern as y, SigningParameters as ya, noop as yc, SetAuthorNameAction as yi, garbageCollect as yl, LoadFromInput as yn, MoveOperationInputSchema as yo, MutationSetOperationReducerArgs as yr, definedNonNullAnySchema as ys, DeleteOperationAction as yt, AppActionSigner as yu, AddModuleAction as z, User as za, setModelName as zc, SetNameOperation as zi, replayDocument as zl, MutationAddOperationExampleArgs as zn, ScopeStateSchema as zo, Query as zr, ProcessorApp as zs, DocumentModelModuleOperations as zt };
|
|
2744
|
-
//# sourceMappingURL=types-
|
|
2758
|
+
export { AddStateExampleInput as $, AddOperationExampleInputSchema as $a, setOperationSchema as $c, SetOperationNameAction as $i, OperationWithContext$1 as $l, MutationRedoArgs as $n, SetNameActionSchema as $o, ReorderModuleOperationsAction as $r, actionContext as $s, DocumentModelVersioningAction as $t, PowerhouseConfig as A, UndoActionInput as Aa, reorderChangeLogItems as Ac, SetModelExtensionAction as Ai, isUndo as Al, Manifest as An, PruneSchema as Ao, NOOPAction as Ar, HashAlgorithms as As, DocumentAction as At, AddChangeLogItemAction as B, UpgradeDocumentAction as Ba, setModelExtension as Bc, SetNameAction as Bi, readOnly as Bl, MutationAddOperationArgs as Bn, ReorderOperationExamplesInputSchema as Bo, PruneActionInput as Br, IProcessorHostModule as Bs, DocumentModelModule as Bt, PHConnectSentry as C, SkipHeaderOperationIndex as Ca, operationExampleCreators as Cc, SetAuthorNameInput as Ci, garbageCollectDocumentOperations as Cl, LoadStateAction as Cn, OperationErrorSchema as Co, MutationSetOperationSchemaArgs as Cr, isDefinedNonNullAny as Cs, DeleteOperationErrorAction as Ct, HashConfig as Cu, PackageManagerArgs as D, SubgraphModule as Da, prune as Dc, SetInitialStateInput as Di, hashDocumentStateForScope as Dl, MakeEmpty as Dn, PowerhouseModulesSchema as Do, MutationUpdateChangeLogItemInputArgs as Dr, hashNamespace as Ds, DeleteOperationInput as Dt, DEFAULT_ANALYTICS_PROCESSOR_DB_NAME as Du, PHRenownRainbowAdapterConfig as E, StateReducer as Ea, operationWithContext as Ec, SetInitialStateAction as Ei, groupOperationsByScope as El, Load_State as En, PowerhouseModuleSchema as Eo, MutationUndoArgs as Er, createRelationalDb as Es, DeleteOperationExampleInput as Et, UserActionSigner as Eu, ActionErrorCallback as F, UpdateOperationExampleInput as Fa, reorderStateExamples as Fc, SetModelNameInput as Fi, nextSkipNumber as Fl, MoveOperationAction as Fn, RedoSchema as Fo, PartialRecord as Fr, IRelationalQueryMethods as Fs, DocumentModelHeaderAction as Ft, AddOperationErrorAction as G, UpgradeReducer as Ga, setName as Gc, SetOperationErrorCodeAction as Gi, skipHeaderOperations as Gl, MutationDeleteModuleArgs as Gn, SetInitialStateInputSchema as Go, RedoActionInput as Gr, ProcessorFactory as Gs, DocumentModelOperationErrorOperations as Gt, AddModuleAction as H, User as Ha, setModelName as Hc, SetNameOperation as Hi, replayDocument as Hl, MutationAddOperationExampleArgs as Hn, ScopeStateSchema as Ho, Query as Hr, ProcessorApp as Hs, DocumentModelModuleOperations as Ht, ActionSignatureContext as I, UpdateRelationshipAction as Ia, setAuthorName as Ic, SetModuleDescriptionAction as Ii, operationsAreEqual as Il, MoveOperationInput as In, ReorderChangeLogItemsInputSchema as Io, PartialState as Ir, RelationalDbProcessor as Is, DocumentModelHeaderOperations as It, AddOperationExampleInput as J, applyUpgradeDocumentAction as Ja, setOperationErrorDescription as Jc, SetOperationErrorDescriptionInput as Ji, split as Jl, MutationDeleteOperationExampleArgs as Jn, SetModelIdInputSchema as Jo, ReleaseNewVersionAction as Jr, ProcessorRecord as Js, DocumentModelOperationOperations as Jt, AddOperationErrorInput as K, UpgradeTransition as Ka, setOperationDescription as Kc, SetOperationErrorCodeInput as Ki, sortMappedOperations as Kl, MutationDeleteOperationArgs as Kn, SetModelDescriptionInputSchema as Ko, Reducer as Kr, ProcessorFactoryBuilder as Ks, DocumentModelOperationExampleAction as Kt, ActionSigningHandler as L, UpdateRelationshipActionInput as La, setAuthorWebsite as Lc, SetModuleDescriptionInput as Li, parseResultingState as Ll, Mutation as Ln, ReorderModuleOperationsInputSchema as Lo, PowerhouseModule as Lr, RelationalDbProcessorClass as Ls, DocumentModelInput as Lt, ServiceAction as M, UpdateChangeLogItemAction as Ma, reorderModules as Mc, SetModelIdAction as Mi, mapSkippedOperations as Ml, Maybe as Mn, PwaConfigSchema as Mo, OperationIndex as Mr, IRelationalDb as Ms, DocumentModelDocument as Mt, ServiceActions as N, UpdateChangeLogItemInput as Na, reorderOperationErrors as Nc, SetModelIdInput as Ni, mapSkippedOperationsV2 as Nl, MinimalBackupData as Nn, RedoActionInputSchema as No, OperationSpecification as Nr, IRelationalDbProcessor as Ns, DocumentModelDocumentModelModule as Nt, ParsedCmdResult as O, Undo as Oa, redo as Oc, SetModelDescriptionAction as Oi, isDocumentAction as Ol, MakeMaybe as On, PruneActionInputSchema as Oo, MutationUpdateOperationExampleArgs as Or, relationalDbToQueryBuilder as Os, DeleteStateExampleAction as Ot, DEFAULT_RELATIONAL_PROCESSOR_DB_NAME as Ou, DEFAULT_REGISTRY_URL as P, UpdateOperationExampleAction as Pa, reorderOperationExamples as Pc, SetModelNameAction as Pi, merge as Pl, ModuleSpecification as Pn, RedoActionSchema as Po, OperationsByScope as Pr, IRelationalQueryBuilder as Ps, DocumentModelGlobalState as Pt, AddStateExampleAction as Q, AddOperationErrorInputSchema as Qa, setOperationReducer as Qc, SetOperationErrorTemplateInput as Qi, OperationContext as Ql, MutationPruneArgs as Qn, SetNameActionInputSchema as Qo, ReorderChangeLogItemsInput as Qr, ActionContext as Qs, DocumentModelUtils as Qt, ActionVerificationHandler as R, UpdateStateExampleAction as Ra, setInitialState as Rc, SetModuleNameAction as Ri, precedes as Rl, MutationAddChangeLogItemInputArgs as Rn, ReorderModulesInputSchema as Ro, Prune as Rr, IProcessor as Rs, DocumentModelLib as Rt, PHConnectRuntimeConfig as S, SigningParameters as Sa, noop as Sc, SetAuthorNameAction as Si, garbageCollect as Sl, LoadFromInput as Sn, MoveOperationInputSchema as So, MutationSetOperationReducerArgs as Sr, definedNonNullAnySchema as Ss, DeleteOperationAction as St, AppActionSigner as Su, PHRenownPrivyAdapterConfig as T, State as Ta, operationFromOperation as Tc, SetAuthorWebsiteInput as Ti, getDocumentLastModified as Tl, LoadStateActionStateInput as Tn, OperationSpecificationSchema as To, MutationSetStateSchemaArgs as Tr, createNamespacedQueryBuilder as Ts, DeleteOperationExampleAction as Tt, Signature as Tu, AddModuleInput as U, ValidationError as Ua, setModuleDescription as Uc, SetOperationDescriptionAction as Ui, reshuffleByTimestamp as Ul, MutationAddStateExampleArgs as Un, SetAuthorNameInputSchema as Uo, Redo as Ur, ProcessorApps as Us, DocumentModelOperationAction as Ut, AddChangeLogItemInput as V, UpgradeDocumentActionInput as Va, setModelId as Vc, SetNameActionInput as Vi, removeExistingOperations as Vl, MutationAddOperationErrorArgs as Vn, ReorderStateExamplesInputSchema as Vo, Publisher as Vr, IProcessorManager as Vs, DocumentModelModuleAction as Vt, AddOperationAction as W, UpgradeManifest as Wa, setModuleName as Wc, SetOperationDescriptionInput as Wi, reshuffleByTimestampAndIndex as Wl, MutationDeleteChangeLogItemInputArgs as Wn, SetAuthorWebsiteInputSchema as Wo, RedoAction as Wr, ProcessorDispatchResult as Ws, DocumentModelOperationErrorAction as Wt, AddRelationshipAction as X, AddChangeLogItemInputSchema as Xa, setOperationErrorTemplate as Xc, SetOperationErrorNameInput as Xi, DocumentOperations as Xl, MutationLoadStateArgs as Xn, SetModuleDescriptionInputSchema as Xo, RemoveRelationshipActionInput as Xr, TrackedProcessor as Xs, DocumentModelStateAction as Xt, AddOperationInput as Y, computeUpgradeTransitions as Ya, setOperationErrorName as Yc, SetOperationErrorNameAction as Yi, updateHeaderRevision as Yl, MutationDeleteStateExampleArgs as Yn, SetModelNameInputSchema as Yo, RemoveRelationshipAction as Yr, ProcessorStatus as Ys, DocumentModelPHState as Yt, AddRelationshipActionInput as Z, AddModuleInputSchema as Za, setOperationName as Zc, SetOperationErrorTemplateAction as Zi, Operation as Zl, MutationMoveOperationArgs as Zn, SetModuleNameInputSchema as Zo, ReorderChangeLogItemsAction as Zr, Action as Zs, DocumentModelStateOperations as Zt, PHConnectPwaManifest as _, SignalDispatch as _a, deleteOperationExample as _c, SchemaRedoAction as _i, checkCleanedOperationsIntegrity as _l, Incremental as _n, LoadStateActionSchema as _o, MutationSetOperationErrorCodeArgs as _r, UndoActionSchema as _s, DeleteChildDocumentSignal as _t, defaultDocumentState as _u, PHConnectApp as a, SetOperationScopeAction as aa, addOperation as ac, ReorderOperationExamplesAction as ai, updateChangeLogItem as al, EditorModule as an, ConfigEntryTypeSchema as ao, MutationReorderStateExamplesArgs as ar, SetOperationNameInputSchema as as, ConfigEntryType as at, undoOperationV2 as au, PHConnectRenown as b, SignalType as ba, loadState as bc, SchemaUndoAction as bi, filterDocumentOperationsResultingState as bl, IsStateOfType as bn, ManifestSchema as bo, MutationSetOperationErrorTemplateArgs as br, UpdateOperationExampleInputSchema as bs, DeleteModuleAction as bt, defaultPHState as bu, PHConnectDriveSection as c, SetOperationTemplateInput as ca, addStateExample as cc, ReorderStateExamplesInput as ci, verifyOperationSignature as cl, FileInput as cn, DeleteOperationErrorInputSchema as co, MutationSetInitialStateArgs as cr, SetOperationScopeInputSchema as cs, CreateChildDocumentInput as ct, PHDocumentState as cu, PHConnectInstance as d, SetPreferredEditorOperation as da, buildSignedAction as dc, SaveToFile as di, PHDocument as dl, ID as dn, DeleteStateExampleInputSchema as do, MutationSetModelIdArgs as dr, SetPreferredEditorActionSchema as ds, CreateDocumentAction as dt, createDocumentState as du, SetOperationNameInput as ea, actionFromAction as ec, ReorderModuleOperationsInput as ei, setOperationScope as el, DocumentModelVersioningOperations as en, AddOperationInputSchema as eo, MutationReorderChangeLogItemsInputArgs as er, SetOperationDescriptionInputSchema as es, AssertIsDocumentOfType as et, loadStateOperation as eu, PHConnectPackages as f, SetStateSchemaAction as fa, createAction as fc, SaveToFileHandle as fi, PHDocumentHeader as fl, IDocument as fn, DocumentActionSchema as fo, MutationSetModelNameArgs as fr, SetStateSchemaInputSchema as fs, CreateDocumentActionInput as ft, createGlobalState as fu, PHConnectPwaIcon as g, Signal as ga, deleteOperationError as gc, SchemaPruneAction as gi, baseCreateDocument as gl, ISigner as gn, LoadStateActionInputSchema as go, MutationSetOperationDescriptionArgs as gr, UndoActionInputSchema as gs, DeleteChildDocumentInput as gt, defaultBaseState as gu, PHConnectPwaFileHandler as h, Set_PreferredEditor as ha, deleteOperation as hc, SchemaNOOPAction as hi, attachBranch as hl, ISignalResult as hn, DocumentSpecificationSchema as ho, MutationSetNameArgs as hr, StateSchema as hs, DeleteChangeLogItemInput as ht, defaultAuthState as hu, LogLevels as i, SetOperationSchemaInput as ia, addModule as ic, ReorderOperationErrorsInput as ii, undo as il, EditorDispatch as in, ConfigEntrySchema as io, MutationReorderOperationExamplesArgs as ir, SetOperationErrorTemplateInputSchema as is, ConfigEntry as it, undoOperation as iu, PowerhousePackage as j, UndoRedoAction as ja, reorderModuleOperations as jc, SetModelExtensionInput as ji, isUndoRedo as jl, MappedOperation as jn, PublisherSchema as jo, OperationErrorSpecification as jr, IBaseRelationalDb as js, DocumentModelAction as jt, PathValidation as k, UndoAction as ka, releaseNewVersion as kc, SetModelDescriptionInput as ki, isNoopOperation as kl, MakeOptional as kn, PruneActionSchema as ko, MutationUpdateStateExampleArgs as kr, ExtractProcessorSchemaOrSelf as ks, DeleteStateExampleInput as kt, PROCESSOR_APPS as ku, PHConnectDriveSections as l, SetPreferredEditorAction as la, baseActions as lc, ReplayDocumentOptions as li, IntegrityIssueSubType as ll, GetDocumentOptions as ln, DeleteOperationExampleInputSchema as lo, MutationSetModelDescriptionArgs as lr, SetOperationTemplateInputSchema as ls, CreateChildDocumentSignal as lt, createAuthState as lu, PHConnectPwaCacheStrategy as m, Set_Name as ma, deleteModule as mc, SchemaLoadStateAction as mi, addUndo as ml, ISignal as mn, DocumentModelInputSchema as mo, MutationSetModuleNameArgs as mr, Set_PreferredEditorSchema as ms, DeleteChangeLogItemAction as mt, createState as mu, DrivePreserveStrategy as n, SetOperationReducerInput as na, actions as nc, ReorderModulesInput as ni, setPreferredEditor as nl, DocumentSpecification as nn, AuthorSchema as no, MutationReorderModulesArgs as nr, SetOperationErrorDescriptionInputSchema as ns, Author as nt, setNameOperation as nu, PHConnectBranding as o, SetOperationScopeInput as oa, addOperationError as oc, ReorderOperationExamplesInput as oi, updateOperationExample as ol, EditorProps as on, DeleteChangeLogItemInputSchema as oo, MutationSetAuthorNameArgs as or, SetOperationReducerInputSchema as os, CopyChildDocumentInput as ot, PHAuthState as ou, PHConnectPwa as p, SetStateSchemaInput as pa, deleteChangeLogItem as pc, Scalars as pi, PHDocumentMeta as pl, IOperation as pn, DocumentModelGlobalStateSchema as po, MutationSetModuleDescriptionArgs as pr, Set_NameSchema as ps, CreateState as pt, createLocalState as pu, AddOperationExampleAction as q, applyDeleteDocumentAction as qa, setOperationErrorCode as qc, SetOperationErrorDescriptionAction as qi, sortOperations as ql, MutationDeleteOperationErrorArgs as qn, SetModelExtensionInputSchema as qo, ReducerOptions as qr, ProcessorFilter as qs, DocumentModelOperationExampleOperations as qt, LogLevel as r, SetOperationSchemaAction as ra, addChangeLogItem as rc, ReorderOperationErrorsAction as ri, setStateSchema as rl, ENSInfo as rn, CodeExampleSchema as ro, MutationReorderOperationErrorsArgs as rr, SetOperationErrorNameInputSchema as rs, CodeExample as rt, setPreferredEditorOperation as ru, PHConnectDefaultDrive as s, SetOperationTemplateAction as sa, addOperationExample as sc, ReorderStateExamplesAction as si, updateStateExample as sl, Exact as sn, DeleteModuleInputSchema as so, MutationSetAuthorWebsiteArgs as sr, SetOperationSchemaInputSchema as ss, CopyChildDocumentSignal as st, PHBaseState as su, DrivePreserveStrategies as t, SetOperationReducerAction as ta, actionSigner as tc, ReorderModulesAction as ti, setOperationTemplate as tl, DocumentOperationsIgnoreMap as tn, AddStateExampleInputSchema as to, MutationReorderModuleOperationsArgs as tr, SetOperationErrorCodeInputSchema as ts, AssertIsStateOfType as tt, redoOperation as tu, PHConnectDrives as u, SetPreferredEditorActionInput as ua, buildOperationSignature as uc, RevisionsFilter as ui, IntegrityIssueType as ul, IAction as un, DeleteOperationInputSchema as uo, MutationSetModelExtensionArgs as ur, SetPreferredEditorActionInputSchema as us, CreateDocument as ut, createBaseState as uu, PHConnectPwaRuntimeCaching as v, SignalResult as va, deleteStateExample as vc, SchemaSetNameAction as vi, checkOperationsIntegrity as vl, InputMaybe as vn, LoadStateActionStateInputSchema as vo, MutationSetOperationErrorDescriptionArgs as vr, UndoSchema as vs, DeleteDocumentAction as vt, defaultGlobalState as vu, PHPackageProvider as w, SkipHeaderOperations as wa, operationFromAction as wc, SetAuthorWebsiteAction as wi, garbageCollectV2 as wl, LoadStateActionInput as wn, OperationScopeSchema as wo, MutationSetOperationTemplateArgs as wr, createNamespacedDb as ws, DeleteOperationErrorInput as wt, PHDocumentSignatureInfo as wu, PHConnectRenownAdapters as x, SignatureVerificationHandler as xa, moveOperation as xc, ScopeState as xi, filterDuplicatedOperations as xl, LoadFromFile as xn, ModuleSchema as xo, MutationSetOperationNameArgs as xr, UpdateStateExampleInputSchema as xs, DeleteModuleInput as xt, ActionSigner as xu, PHConnectPwaUrlPattern as y, SignalResults as ya, documentModelActions as yc, SchemaSetPreferredEditorAction as yi, diffOperations as yl, IsDocumentOfType as yn, Load_StateSchema as yo, MutationSetOperationErrorNameArgs as yr, UpdateChangeLogItemInputSchema as ys, DeleteDocumentActionInput as yt, defaultLocalState as yu, Actions as z, UpdateStateExampleInput as za, setModelDescription as zc, SetModuleNameInput as zi, prepareOperations as zl, MutationAddModuleArgs as zn, ReorderOperationErrorsInputSchema as zo, PruneAction as zr, IProcessorDispatch as zs, DocumentModelLocalState as zt };
|
|
2759
|
+
//# sourceMappingURL=types-Bd8i6VlX.d.ts.map
|