@powerhousedao/reactor-browser 6.0.0-dev.7 → 6.0.0-dev.78
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/bundle.d.ts +2 -0
- package/dist/bundle.d.ts.map +1 -0
- package/dist/codegen.d.ts +4 -0
- package/dist/codegen.d.ts.map +1 -0
- package/dist/src/actions/dispatch.d.ts.map +1 -1
- package/dist/src/actions/document.d.ts +17 -4
- package/dist/src/actions/document.d.ts.map +1 -1
- package/dist/src/actions/drive.d.ts +1 -1
- package/dist/src/actions/drive.d.ts.map +1 -1
- package/dist/src/actions/index.d.ts +1 -1
- package/dist/src/actions/index.d.ts.map +1 -1
- package/dist/src/actions/queue.d.ts +2 -2
- package/dist/src/actions/queue.d.ts.map +1 -1
- package/dist/src/actions/sign.d.ts.map +1 -1
- package/dist/src/analytics/context.d.ts.map +1 -1
- package/dist/src/analytics.js +67617 -3
- package/dist/src/connect.js +2516 -2
- package/dist/src/errors.d.ts +1 -0
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/graphql/client.d.ts +33 -0
- package/dist/src/graphql/client.d.ts.map +1 -0
- package/dist/src/graphql/gen/schema.d.ts +1006 -0
- package/dist/src/graphql/gen/schema.d.ts.map +1 -0
- package/dist/src/hooks/add-ph-event-handlers.d.ts.map +1 -1
- package/dist/src/hooks/config/connect.d.ts +2 -2
- package/dist/src/hooks/connect.d.ts +4 -7
- package/dist/src/hooks/connect.d.ts.map +1 -1
- package/dist/src/hooks/connection-state.d.ts +11 -0
- package/dist/src/hooks/connection-state.d.ts.map +1 -0
- package/dist/src/hooks/document-operations.d.ts +20 -0
- package/dist/src/hooks/document-operations.d.ts.map +1 -0
- package/dist/src/hooks/index.d.ts +4 -3
- package/dist/src/hooks/index.d.ts.map +1 -1
- package/dist/src/hooks/node-actions.d.ts +1 -0
- package/dist/src/hooks/node-actions.d.ts.map +1 -1
- package/dist/src/hooks/reactor.d.ts +7 -27
- package/dist/src/hooks/reactor.d.ts.map +1 -1
- package/dist/src/hooks/renown.d.ts +10 -1
- package/dist/src/hooks/renown.d.ts.map +1 -1
- package/dist/src/hooks/use-feature-flags.d.ts +0 -27
- package/dist/src/hooks/use-feature-flags.d.ts.map +1 -1
- package/dist/src/hooks/use-get-switchboard-link.d.ts.map +1 -1
- package/dist/src/hooks/vetra-packages.d.ts +7 -6
- package/dist/src/hooks/vetra-packages.d.ts.map +1 -1
- package/dist/src/index.d.ts +6 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +31965 -15
- package/dist/src/package-manager.d.ts +13 -0
- package/dist/src/package-manager.d.ts.map +1 -0
- package/dist/src/pglite/drop.d.ts +1 -0
- package/dist/src/pglite/drop.d.ts.map +1 -1
- package/dist/src/pglite/index.d.ts +1 -1
- package/dist/src/pglite/index.d.ts.map +1 -1
- package/dist/src/re-exports.d.ts +3 -0
- package/dist/src/re-exports.d.ts.map +1 -0
- package/dist/src/reactor-client-document-cache.d.ts +0 -2
- package/dist/src/reactor-client-document-cache.d.ts.map +1 -1
- package/dist/src/reactor.d.ts +16 -7
- package/dist/src/reactor.d.ts.map +1 -1
- package/dist/src/registry/client.d.ts +8 -0
- package/dist/src/registry/client.d.ts.map +1 -0
- package/dist/src/registry/index.d.ts +3 -0
- package/dist/src/registry/index.d.ts.map +1 -0
- package/dist/src/registry/types.d.ts +9 -0
- package/dist/src/registry/types.d.ts.map +1 -0
- package/dist/src/relational/hooks/useRelationalDb.d.ts +3 -2
- package/dist/src/relational/hooks/useRelationalDb.d.ts.map +1 -1
- package/dist/src/relational/hooks/useRelationalQuery.d.ts +2 -2
- package/dist/src/relational/hooks/useRelationalQuery.d.ts.map +1 -1
- package/dist/src/relational/utils/createProcessorQuery.d.ts +4 -4
- package/dist/src/relational/utils/createProcessorQuery.d.ts.map +1 -1
- package/dist/src/remote-controller/action-tracker.d.ts +20 -0
- package/dist/src/remote-controller/action-tracker.d.ts.map +1 -0
- package/dist/src/remote-controller/index.d.ts +7 -0
- package/dist/src/remote-controller/index.d.ts.map +1 -0
- package/dist/src/remote-controller/remote-client.d.ts +24 -0
- package/dist/src/remote-controller/remote-client.d.ts.map +1 -0
- package/dist/src/remote-controller/remote-controller.d.ts +85 -0
- package/dist/src/remote-controller/remote-controller.d.ts.map +1 -0
- package/dist/src/remote-controller/types.d.ts +99 -0
- package/dist/src/remote-controller/types.d.ts.map +1 -0
- package/dist/src/remote-controller/utils.d.ts +26 -0
- package/dist/src/remote-controller/utils.d.ts.map +1 -0
- package/dist/src/renown/components/RenownAuthButton.d.ts +18 -0
- package/dist/src/renown/components/RenownAuthButton.d.ts.map +1 -0
- package/dist/src/renown/components/RenownLoginButton.d.ts +15 -0
- package/dist/src/renown/components/RenownLoginButton.d.ts.map +1 -0
- package/dist/src/renown/components/RenownUserButton.d.ts +19 -0
- package/dist/src/renown/components/RenownUserButton.d.ts.map +1 -0
- package/dist/src/renown/components/icons.d.ts +20 -0
- package/dist/src/renown/components/icons.d.ts.map +1 -0
- package/dist/src/renown/components/image-data.d.ts +3 -0
- package/dist/src/renown/components/image-data.d.ts.map +1 -0
- package/dist/src/renown/components/index.d.ts +8 -0
- package/dist/src/renown/components/index.d.ts.map +1 -0
- package/dist/src/renown/index.d.ts +2 -0
- package/dist/src/renown/index.d.ts.map +1 -1
- package/dist/src/renown/provider.d.ts +9 -0
- package/dist/src/renown/provider.d.ts.map +1 -0
- package/dist/src/renown/utils.d.ts +9 -4
- package/dist/src/renown/utils.d.ts.map +1 -1
- package/dist/src/storage/base-storage.d.ts +9 -0
- package/dist/src/storage/base-storage.d.ts.map +1 -0
- package/dist/src/storage/local-storage.d.ts +5 -0
- package/dist/src/storage/local-storage.d.ts.map +1 -0
- package/dist/src/types/global.d.ts +5 -16
- package/dist/src/types/global.d.ts.map +1 -1
- package/dist/src/types/vetra.d.ts +22 -4
- package/dist/src/types/vetra.d.ts.map +1 -1
- package/dist/src/utils/drive-url.d.ts +2 -0
- package/dist/src/utils/drive-url.d.ts.map +1 -0
- package/dist/src/utils/drives.d.ts +5 -35
- package/dist/src/utils/drives.d.ts.map +1 -1
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/index.d.ts.map +1 -1
- package/dist/src/utils/vetra.d.ts.map +1 -1
- package/dist/test/remote-controller/action-tracker.test.d.ts +2 -0
- package/dist/test/remote-controller/action-tracker.test.d.ts.map +1 -0
- package/dist/test/remote-controller/remote-client.test.d.ts +2 -0
- package/dist/test/remote-controller/remote-client.test.d.ts.map +1 -0
- package/dist/test/remote-controller/remote-controller.test.d.ts +2 -0
- package/dist/test/remote-controller/remote-controller.test.d.ts.map +1 -0
- package/dist/test/remote-controller/utils.test.d.ts +2 -0
- package/dist/test/remote-controller/utils.test.d.ts.map +1 -0
- package/dist/test/renown/components.test.d.ts +2 -0
- package/dist/test/renown/components.test.d.ts.map +1 -0
- package/dist/test/renown/script.test.d.ts +2 -0
- package/dist/test/renown/script.test.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +41 -43
- package/dist/src/actions/dispatch.js +0 -47
- package/dist/src/actions/dispatch.js.map +0 -1
- package/dist/src/actions/document.js +0 -659
- package/dist/src/actions/document.js.map +0 -1
- package/dist/src/actions/drive.js +0 -255
- package/dist/src/actions/drive.js.map +0 -1
- package/dist/src/actions/index.js +0 -4
- package/dist/src/actions/index.js.map +0 -1
- package/dist/src/actions/queue.js +0 -160
- package/dist/src/actions/queue.js.map +0 -1
- package/dist/src/actions/sign.js +0 -71
- package/dist/src/actions/sign.js.map +0 -1
- package/dist/src/analytics/context.js +0 -148
- package/dist/src/analytics/context.js.map +0 -1
- package/dist/src/analytics/hooks/analytics-query.js +0 -157
- package/dist/src/analytics/hooks/analytics-query.js.map +0 -1
- package/dist/src/analytics/hooks/document-timeline.js +0 -10
- package/dist/src/analytics/hooks/document-timeline.js.map +0 -1
- package/dist/src/analytics/hooks/index.js +0 -4
- package/dist/src/analytics/hooks/index.js.map +0 -1
- package/dist/src/analytics/hooks/timeline-items.js +0 -104
- package/dist/src/analytics/hooks/timeline-items.js.map +0 -1
- package/dist/src/analytics/index.js +0 -3
- package/dist/src/analytics/index.js.map +0 -1
- package/dist/src/analytics/store/browser.js +0 -2
- package/dist/src/analytics/store/browser.js.map +0 -1
- package/dist/src/analytics/store/memory.js +0 -2
- package/dist/src/analytics/store/memory.js.map +0 -1
- package/dist/src/analytics/types.js +0 -2
- package/dist/src/analytics/types.js.map +0 -1
- package/dist/src/analytics.js.map +0 -1
- package/dist/src/connect.js.map +0 -1
- package/dist/src/constants.js +0 -3
- package/dist/src/constants.js.map +0 -1
- package/dist/src/context/index.js +0 -2
- package/dist/src/context/index.js.map +0 -1
- package/dist/src/context/read-mode.js +0 -177
- package/dist/src/context/read-mode.js.map +0 -1
- package/dist/src/document-cache.js +0 -143
- package/dist/src/document-cache.js.map +0 -1
- package/dist/src/document-model.js +0 -6
- package/dist/src/document-model.js.map +0 -1
- package/dist/src/errors.js +0 -27
- package/dist/src/errors.js.map +0 -1
- package/dist/src/global/core.js +0 -22
- package/dist/src/global/core.js.map +0 -1
- package/dist/src/global/index.js +0 -2
- package/dist/src/global/index.js.map +0 -1
- package/dist/src/global/types.js +0 -2
- package/dist/src/global/types.js.map +0 -1
- package/dist/src/hooks/add-ph-event-handlers.js +0 -109
- package/dist/src/hooks/add-ph-event-handlers.js.map +0 -1
- package/dist/src/hooks/allowed-document-model-modules.js +0 -10
- package/dist/src/hooks/allowed-document-model-modules.js.map +0 -1
- package/dist/src/hooks/child-nodes.js +0 -15
- package/dist/src/hooks/child-nodes.js.map +0 -1
- package/dist/src/hooks/config/connect.js +0 -210
- package/dist/src/hooks/config/connect.js.map +0 -1
- package/dist/src/hooks/config/editor.js +0 -43
- package/dist/src/hooks/config/editor.js.map +0 -1
- package/dist/src/hooks/config/set-config-by-key.js +0 -15
- package/dist/src/hooks/config/set-config-by-key.js.map +0 -1
- package/dist/src/hooks/config/set-config-by-object.js +0 -84
- package/dist/src/hooks/config/set-config-by-object.js.map +0 -1
- package/dist/src/hooks/config/use-value-by-key.js +0 -23
- package/dist/src/hooks/config/use-value-by-key.js.map +0 -1
- package/dist/src/hooks/config/utils.js +0 -6
- package/dist/src/hooks/config/utils.js.map +0 -1
- package/dist/src/hooks/connect.js +0 -16
- package/dist/src/hooks/connect.js.map +0 -1
- package/dist/src/hooks/crypto.d.ts +0 -9
- package/dist/src/hooks/crypto.d.ts.map +0 -1
- package/dist/src/hooks/crypto.js +0 -13
- package/dist/src/hooks/crypto.js.map +0 -1
- package/dist/src/hooks/did.d.ts +0 -2
- package/dist/src/hooks/did.d.ts.map +0 -1
- package/dist/src/hooks/did.js +0 -3
- package/dist/src/hooks/did.js.map +0 -1
- package/dist/src/hooks/dispatch.js +0 -20
- package/dist/src/hooks/dispatch.js.map +0 -1
- package/dist/src/hooks/document-by-id.js +0 -13
- package/dist/src/hooks/document-by-id.js.map +0 -1
- package/dist/src/hooks/document-cache.js +0 -124
- package/dist/src/hooks/document-cache.js.map +0 -1
- package/dist/src/hooks/document-model-modules.js +0 -10
- package/dist/src/hooks/document-model-modules.js.map +0 -1
- package/dist/src/hooks/document-of-type.js +0 -22
- package/dist/src/hooks/document-of-type.js.map +0 -1
- package/dist/src/hooks/document-types.js +0 -13
- package/dist/src/hooks/document-types.js.map +0 -1
- package/dist/src/hooks/drive-by-id.js +0 -12
- package/dist/src/hooks/drive-by-id.js.map +0 -1
- package/dist/src/hooks/drives.js +0 -9
- package/dist/src/hooks/drives.js.map +0 -1
- package/dist/src/hooks/editor-modules.js +0 -43
- package/dist/src/hooks/editor-modules.js.map +0 -1
- package/dist/src/hooks/features.js +0 -6
- package/dist/src/hooks/features.js.map +0 -1
- package/dist/src/hooks/folder-by-id.js +0 -6
- package/dist/src/hooks/folder-by-id.js.map +0 -1
- package/dist/src/hooks/import-script-modules.js +0 -6
- package/dist/src/hooks/import-script-modules.js.map +0 -1
- package/dist/src/hooks/index.js +0 -41
- package/dist/src/hooks/index.js.map +0 -1
- package/dist/src/hooks/items-in-selected-drive.js +0 -35
- package/dist/src/hooks/items-in-selected-drive.js.map +0 -1
- package/dist/src/hooks/items-in-selected-folder.js +0 -33
- package/dist/src/hooks/items-in-selected-folder.js.map +0 -1
- package/dist/src/hooks/loading.js +0 -3
- package/dist/src/hooks/loading.js.map +0 -1
- package/dist/src/hooks/login-status.d.ts +0 -2
- package/dist/src/hooks/login-status.d.ts.map +0 -1
- package/dist/src/hooks/login-status.js +0 -3
- package/dist/src/hooks/login-status.js.map +0 -1
- package/dist/src/hooks/make-ph-event-functions.js +0 -46
- package/dist/src/hooks/make-ph-event-functions.js.map +0 -1
- package/dist/src/hooks/modals.js +0 -26
- package/dist/src/hooks/modals.js.map +0 -1
- package/dist/src/hooks/node-actions.js +0 -97
- package/dist/src/hooks/node-actions.js.map +0 -1
- package/dist/src/hooks/node-by-id.js +0 -7
- package/dist/src/hooks/node-by-id.js.map +0 -1
- package/dist/src/hooks/node-path.js +0 -23
- package/dist/src/hooks/node-path.js.map +0 -1
- package/dist/src/hooks/parent-folder.js +0 -13
- package/dist/src/hooks/parent-folder.js.map +0 -1
- package/dist/src/hooks/processor-manager.d.ts +0 -9
- package/dist/src/hooks/processor-manager.d.ts.map +0 -1
- package/dist/src/hooks/processor-manager.js +0 -9
- package/dist/src/hooks/processor-manager.js.map +0 -1
- package/dist/src/hooks/processor-modules.d.ts +0 -4
- package/dist/src/hooks/processor-modules.d.ts.map +0 -1
- package/dist/src/hooks/processor-modules.js +0 -12
- package/dist/src/hooks/processor-modules.js.map +0 -1
- package/dist/src/hooks/reactor.js +0 -44
- package/dist/src/hooks/reactor.js.map +0 -1
- package/dist/src/hooks/renown.js +0 -9
- package/dist/src/hooks/renown.js.map +0 -1
- package/dist/src/hooks/revision-history.js +0 -17
- package/dist/src/hooks/revision-history.js.map +0 -1
- package/dist/src/hooks/selected-document.js +0 -35
- package/dist/src/hooks/selected-document.js.map +0 -1
- package/dist/src/hooks/selected-drive.js +0 -63
- package/dist/src/hooks/selected-drive.js.map +0 -1
- package/dist/src/hooks/selected-folder.js +0 -10
- package/dist/src/hooks/selected-folder.js.map +0 -1
- package/dist/src/hooks/selected-node.js +0 -54
- package/dist/src/hooks/selected-node.js.map +0 -1
- package/dist/src/hooks/selected-timeline-item.js +0 -9
- package/dist/src/hooks/selected-timeline-item.js.map +0 -1
- package/dist/src/hooks/subgraph-modules.js +0 -6
- package/dist/src/hooks/subgraph-modules.js.map +0 -1
- package/dist/src/hooks/supported-document-types.js +0 -7
- package/dist/src/hooks/supported-document-types.js.map +0 -1
- package/dist/src/hooks/timeline-revision.js +0 -9
- package/dist/src/hooks/timeline-revision.js.map +0 -1
- package/dist/src/hooks/toast.js +0 -9
- package/dist/src/hooks/toast.js.map +0 -1
- package/dist/src/hooks/use-feature-flags.js +0 -73
- package/dist/src/hooks/use-feature-flags.js.map +0 -1
- package/dist/src/hooks/use-get-switchboard-link.js +0 -38
- package/dist/src/hooks/use-get-switchboard-link.js.map +0 -1
- package/dist/src/hooks/use-on-drop-file.js +0 -21
- package/dist/src/hooks/use-on-drop-file.js.map +0 -1
- package/dist/src/hooks/user-permissions.js +0 -17
- package/dist/src/hooks/user-permissions.js.map +0 -1
- package/dist/src/hooks/user.d.ts +0 -8
- package/dist/src/hooks/user.d.ts.map +0 -1
- package/dist/src/hooks/user.js +0 -9
- package/dist/src/hooks/user.js.map +0 -1
- package/dist/src/hooks/vetra-packages.js +0 -17
- package/dist/src/hooks/vetra-packages.js.map +0 -1
- package/dist/src/index.js.map +0 -1
- package/dist/src/pglite/drop.js +0 -19
- package/dist/src/pglite/drop.js.map +0 -1
- package/dist/src/pglite/hooks/index.js +0 -2
- package/dist/src/pglite/hooks/index.js.map +0 -1
- package/dist/src/pglite/hooks/usePGlite.js +0 -37
- package/dist/src/pglite/hooks/usePGlite.js.map +0 -1
- package/dist/src/pglite/index.js +0 -3
- package/dist/src/pglite/index.js.map +0 -1
- package/dist/src/reactor-client-document-cache.js +0 -142
- package/dist/src/reactor-client-document-cache.js.map +0 -1
- package/dist/src/reactor.js +0 -162
- package/dist/src/reactor.js.map +0 -1
- package/dist/src/relational/hooks/index.js +0 -3
- package/dist/src/relational/hooks/index.js.map +0 -1
- package/dist/src/relational/hooks/useRelationalDb.js +0 -36
- package/dist/src/relational/hooks/useRelationalDb.js.map +0 -1
- package/dist/src/relational/hooks/useRelationalQuery.js +0 -76
- package/dist/src/relational/hooks/useRelationalQuery.js.map +0 -1
- package/dist/src/relational/index.js +0 -3
- package/dist/src/relational/index.js.map +0 -1
- package/dist/src/relational/utils/createProcessorQuery.js +0 -24
- package/dist/src/relational/utils/createProcessorQuery.js.map +0 -1
- package/dist/src/relational/utils/index.js +0 -2
- package/dist/src/relational/utils/index.js.map +0 -1
- package/dist/src/renown/constants.js +0 -40
- package/dist/src/renown/constants.js.map +0 -1
- package/dist/src/renown/index.js +0 -3
- package/dist/src/renown/index.js.map +0 -1
- package/dist/src/renown/utils.js +0 -56
- package/dist/src/renown/utils.js.map +0 -1
- package/dist/src/storage/index.js +0 -2
- package/dist/src/storage/index.js.map +0 -1
- package/dist/src/storage/types.js +0 -2
- package/dist/src/storage/types.js.map +0 -1
- package/dist/src/types/config.js +0 -2
- package/dist/src/types/config.js.map +0 -1
- package/dist/src/types/documents.js +0 -2
- package/dist/src/types/documents.js.map +0 -1
- package/dist/src/types/global.js +0 -2
- package/dist/src/types/global.js.map +0 -1
- package/dist/src/types/index.js +0 -2
- package/dist/src/types/index.js.map +0 -1
- package/dist/src/types/modals.js +0 -2
- package/dist/src/types/modals.js.map +0 -1
- package/dist/src/types/reactor.js +0 -2
- package/dist/src/types/reactor.js.map +0 -1
- package/dist/src/types/timeline.js +0 -2
- package/dist/src/types/timeline.js.map +0 -1
- package/dist/src/types/toast.js +0 -2
- package/dist/src/types/toast.js.map +0 -1
- package/dist/src/types/upload.js +0 -2
- package/dist/src/types/upload.js.map +0 -1
- package/dist/src/types/vetra.js +0 -2
- package/dist/src/types/vetra.js.map +0 -1
- package/dist/src/utils/documents.js +0 -20
- package/dist/src/utils/documents.js.map +0 -1
- package/dist/src/utils/drives.js +0 -142
- package/dist/src/utils/drives.js.map +0 -1
- package/dist/src/utils/export-document.js +0 -18
- package/dist/src/utils/export-document.js.map +0 -1
- package/dist/src/utils/get-revision-from-date.js +0 -10
- package/dist/src/utils/get-revision-from-date.js.map +0 -1
- package/dist/src/utils/index.js +0 -11
- package/dist/src/utils/index.js.map +0 -1
- package/dist/src/utils/nodes.js +0 -17
- package/dist/src/utils/nodes.js.map +0 -1
- package/dist/src/utils/switchboard.js +0 -76
- package/dist/src/utils/switchboard.js.map +0 -1
- package/dist/src/utils/url.js +0 -77
- package/dist/src/utils/url.js.map +0 -1
- package/dist/src/utils/user.js +0 -15
- package/dist/src/utils/user.js.map +0 -1
- package/dist/src/utils/validate-document.js +0 -38
- package/dist/src/utils/validate-document.js.map +0 -1
- package/dist/src/utils/vetra.js +0 -86
- package/dist/src/utils/vetra.js.map +0 -1
- package/dist/test/analytics.test.js +0 -263
- package/dist/test/analytics.test.js.map +0 -1
- package/dist/test/document-cache.test.js +0 -457
- package/dist/test/document-cache.test.js.map +0 -1
- package/dist/test/drop.test.js +0 -86
- package/dist/test/drop.test.js.map +0 -1
- package/dist/test/getSwitchboardUrl.test.js +0 -107
- package/dist/test/getSwitchboardUrl.test.js.map +0 -1
- package/dist/test/hooks/document-cache.test.js +0 -642
- package/dist/test/hooks/document-cache.test.js.map +0 -1
- package/dist/test/reactor.test.js +0 -26
- package/dist/test/reactor.test.js.map +0 -1
- package/dist/test/switchboard.test.js +0 -27
- package/dist/test/switchboard.test.js.map +0 -1
- package/dist/vitest.config.js +0 -24
- package/dist/vitest.config.js.map +0 -1
|
@@ -0,0 +1,1006 @@
|
|
|
1
|
+
import type { GraphQLClient, RequestOptions } from "graphql-request";
|
|
2
|
+
export type Maybe<T> = T | null | undefined;
|
|
3
|
+
export type InputMaybe<T> = T | null | undefined;
|
|
4
|
+
export type Exact<T extends {
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
}> = {
|
|
7
|
+
[K in keyof T]: T[K];
|
|
8
|
+
};
|
|
9
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
10
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
11
|
+
};
|
|
12
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
13
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
14
|
+
};
|
|
15
|
+
export type MakeEmpty<T extends {
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}, K extends keyof T> = {
|
|
18
|
+
[_ in K]?: never;
|
|
19
|
+
};
|
|
20
|
+
export type Incremental<T> = T | {
|
|
21
|
+
[P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never;
|
|
22
|
+
};
|
|
23
|
+
type GraphQLClientRequestHeaders = RequestOptions["requestHeaders"];
|
|
24
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
25
|
+
export type Scalars = {
|
|
26
|
+
ID: {
|
|
27
|
+
input: string;
|
|
28
|
+
output: string;
|
|
29
|
+
};
|
|
30
|
+
String: {
|
|
31
|
+
input: string;
|
|
32
|
+
output: string;
|
|
33
|
+
};
|
|
34
|
+
Boolean: {
|
|
35
|
+
input: boolean;
|
|
36
|
+
output: boolean;
|
|
37
|
+
};
|
|
38
|
+
Int: {
|
|
39
|
+
input: number;
|
|
40
|
+
output: number;
|
|
41
|
+
};
|
|
42
|
+
Float: {
|
|
43
|
+
input: number;
|
|
44
|
+
output: number;
|
|
45
|
+
};
|
|
46
|
+
DateTime: {
|
|
47
|
+
input: string | Date;
|
|
48
|
+
output: string | Date;
|
|
49
|
+
};
|
|
50
|
+
JSONObject: {
|
|
51
|
+
input: NonNullable<unknown>;
|
|
52
|
+
output: NonNullable<unknown>;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
export type Action = {
|
|
56
|
+
readonly attachments?: Maybe<ReadonlyArray<Attachment>>;
|
|
57
|
+
readonly context?: Maybe<ActionContext>;
|
|
58
|
+
readonly id: Scalars["String"]["output"];
|
|
59
|
+
readonly input: Scalars["JSONObject"]["output"];
|
|
60
|
+
readonly scope: Scalars["String"]["output"];
|
|
61
|
+
readonly timestampUtcMs: Scalars["String"]["output"];
|
|
62
|
+
readonly type: Scalars["String"]["output"];
|
|
63
|
+
};
|
|
64
|
+
export type ActionContext = {
|
|
65
|
+
readonly signer?: Maybe<ReactorSigner>;
|
|
66
|
+
};
|
|
67
|
+
export type ActionContextInput = {
|
|
68
|
+
readonly signer?: InputMaybe<ReactorSignerInput>;
|
|
69
|
+
};
|
|
70
|
+
export type ActionInput = {
|
|
71
|
+
readonly attachments?: InputMaybe<ReadonlyArray<AttachmentInput>>;
|
|
72
|
+
readonly context?: InputMaybe<ActionContextInput>;
|
|
73
|
+
readonly id: Scalars["String"]["input"];
|
|
74
|
+
readonly input: Scalars["JSONObject"]["input"];
|
|
75
|
+
readonly scope: Scalars["String"]["input"];
|
|
76
|
+
readonly timestampUtcMs: Scalars["String"]["input"];
|
|
77
|
+
readonly type: Scalars["String"]["input"];
|
|
78
|
+
};
|
|
79
|
+
export type Attachment = {
|
|
80
|
+
readonly data: Scalars["String"]["output"];
|
|
81
|
+
readonly extension?: Maybe<Scalars["String"]["output"]>;
|
|
82
|
+
readonly fileName?: Maybe<Scalars["String"]["output"]>;
|
|
83
|
+
readonly hash: Scalars["String"]["output"];
|
|
84
|
+
readonly mimeType: Scalars["String"]["output"];
|
|
85
|
+
};
|
|
86
|
+
export type AttachmentInput = {
|
|
87
|
+
readonly data: Scalars["String"]["input"];
|
|
88
|
+
readonly extension?: InputMaybe<Scalars["String"]["input"]>;
|
|
89
|
+
readonly fileName?: InputMaybe<Scalars["String"]["input"]>;
|
|
90
|
+
readonly hash: Scalars["String"]["input"];
|
|
91
|
+
readonly mimeType: Scalars["String"]["input"];
|
|
92
|
+
};
|
|
93
|
+
export type ChannelMeta = {
|
|
94
|
+
readonly id: Scalars["String"]["output"];
|
|
95
|
+
};
|
|
96
|
+
export type ChannelMetaInput = {
|
|
97
|
+
readonly id: Scalars["String"]["input"];
|
|
98
|
+
};
|
|
99
|
+
export type DeadLetterInfo = {
|
|
100
|
+
readonly branch: Scalars["String"]["output"];
|
|
101
|
+
readonly documentId: Scalars["String"]["output"];
|
|
102
|
+
readonly error: Scalars["String"]["output"];
|
|
103
|
+
readonly jobId: Scalars["String"]["output"];
|
|
104
|
+
readonly operationCount: Scalars["Int"]["output"];
|
|
105
|
+
readonly scopes: ReadonlyArray<Scalars["String"]["output"]>;
|
|
106
|
+
};
|
|
107
|
+
export type DocumentChangeContext = {
|
|
108
|
+
readonly childId?: Maybe<Scalars["String"]["output"]>;
|
|
109
|
+
readonly parentId?: Maybe<Scalars["String"]["output"]>;
|
|
110
|
+
};
|
|
111
|
+
export type DocumentChangeEvent = {
|
|
112
|
+
readonly context?: Maybe<DocumentChangeContext>;
|
|
113
|
+
readonly documents: ReadonlyArray<PhDocument>;
|
|
114
|
+
readonly type: DocumentChangeType;
|
|
115
|
+
};
|
|
116
|
+
export declare enum DocumentChangeType {
|
|
117
|
+
ChildAdded = "CHILD_ADDED",
|
|
118
|
+
ChildRemoved = "CHILD_REMOVED",
|
|
119
|
+
Created = "CREATED",
|
|
120
|
+
Deleted = "DELETED",
|
|
121
|
+
ParentAdded = "PARENT_ADDED",
|
|
122
|
+
ParentRemoved = "PARENT_REMOVED",
|
|
123
|
+
Updated = "UPDATED"
|
|
124
|
+
}
|
|
125
|
+
export type DocumentModelGlobalState = {
|
|
126
|
+
readonly id: Scalars["String"]["output"];
|
|
127
|
+
readonly name: Scalars["String"]["output"];
|
|
128
|
+
readonly namespace?: Maybe<Scalars["String"]["output"]>;
|
|
129
|
+
readonly specification: Scalars["JSONObject"]["output"];
|
|
130
|
+
readonly version?: Maybe<Scalars["String"]["output"]>;
|
|
131
|
+
};
|
|
132
|
+
export type DocumentModelResultPage = {
|
|
133
|
+
readonly cursor?: Maybe<Scalars["String"]["output"]>;
|
|
134
|
+
readonly hasNextPage: Scalars["Boolean"]["output"];
|
|
135
|
+
readonly hasPreviousPage: Scalars["Boolean"]["output"];
|
|
136
|
+
readonly items: ReadonlyArray<DocumentModelGlobalState>;
|
|
137
|
+
readonly totalCount: Scalars["Int"]["output"];
|
|
138
|
+
};
|
|
139
|
+
export type DocumentOperationsFilterInput = {
|
|
140
|
+
readonly actionTypes?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
141
|
+
readonly branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
142
|
+
readonly scopes?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
143
|
+
readonly sinceRevision?: InputMaybe<Scalars["Int"]["input"]>;
|
|
144
|
+
readonly timestampFrom?: InputMaybe<Scalars["String"]["input"]>;
|
|
145
|
+
readonly timestampTo?: InputMaybe<Scalars["String"]["input"]>;
|
|
146
|
+
};
|
|
147
|
+
export type DocumentWithChildren = {
|
|
148
|
+
readonly childIds: ReadonlyArray<Scalars["String"]["output"]>;
|
|
149
|
+
readonly document: PhDocument;
|
|
150
|
+
};
|
|
151
|
+
export type JobChangeEvent = {
|
|
152
|
+
readonly error?: Maybe<Scalars["String"]["output"]>;
|
|
153
|
+
readonly jobId: Scalars["String"]["output"];
|
|
154
|
+
readonly result: Scalars["JSONObject"]["output"];
|
|
155
|
+
readonly status: Scalars["String"]["output"];
|
|
156
|
+
};
|
|
157
|
+
export type JobInfo = {
|
|
158
|
+
readonly completedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
159
|
+
readonly createdAt: Scalars["DateTime"]["output"];
|
|
160
|
+
readonly error?: Maybe<Scalars["String"]["output"]>;
|
|
161
|
+
readonly id: Scalars["String"]["output"];
|
|
162
|
+
readonly result: Scalars["JSONObject"]["output"];
|
|
163
|
+
readonly status: Scalars["String"]["output"];
|
|
164
|
+
};
|
|
165
|
+
export type MoveChildrenResult = {
|
|
166
|
+
readonly source: PhDocument;
|
|
167
|
+
readonly target: PhDocument;
|
|
168
|
+
};
|
|
169
|
+
export type Mutation = {
|
|
170
|
+
readonly addChildren: PhDocument;
|
|
171
|
+
readonly createDocument: PhDocument;
|
|
172
|
+
readonly createEmptyDocument: PhDocument;
|
|
173
|
+
readonly deleteDocument: Scalars["Boolean"]["output"];
|
|
174
|
+
readonly deleteDocuments: Scalars["Boolean"]["output"];
|
|
175
|
+
readonly moveChildren: MoveChildrenResult;
|
|
176
|
+
readonly mutateDocument: PhDocument;
|
|
177
|
+
readonly mutateDocumentAsync: Scalars["String"]["output"];
|
|
178
|
+
readonly pushSyncEnvelopes: Scalars["Boolean"]["output"];
|
|
179
|
+
readonly removeChildren: PhDocument;
|
|
180
|
+
readonly renameDocument: PhDocument;
|
|
181
|
+
readonly touchChannel: Scalars["Boolean"]["output"];
|
|
182
|
+
};
|
|
183
|
+
export type MutationAddChildrenArgs = {
|
|
184
|
+
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
185
|
+
documentIdentifiers: ReadonlyArray<Scalars["String"]["input"]>;
|
|
186
|
+
parentIdentifier: Scalars["String"]["input"];
|
|
187
|
+
};
|
|
188
|
+
export type MutationCreateDocumentArgs = {
|
|
189
|
+
document: Scalars["JSONObject"]["input"];
|
|
190
|
+
parentIdentifier?: InputMaybe<Scalars["String"]["input"]>;
|
|
191
|
+
};
|
|
192
|
+
export type MutationCreateEmptyDocumentArgs = {
|
|
193
|
+
documentType: Scalars["String"]["input"];
|
|
194
|
+
parentIdentifier?: InputMaybe<Scalars["String"]["input"]>;
|
|
195
|
+
};
|
|
196
|
+
export type MutationDeleteDocumentArgs = {
|
|
197
|
+
identifier: Scalars["String"]["input"];
|
|
198
|
+
propagate?: InputMaybe<PropagationMode>;
|
|
199
|
+
};
|
|
200
|
+
export type MutationDeleteDocumentsArgs = {
|
|
201
|
+
identifiers: ReadonlyArray<Scalars["String"]["input"]>;
|
|
202
|
+
propagate?: InputMaybe<PropagationMode>;
|
|
203
|
+
};
|
|
204
|
+
export type MutationMoveChildrenArgs = {
|
|
205
|
+
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
206
|
+
documentIdentifiers: ReadonlyArray<Scalars["String"]["input"]>;
|
|
207
|
+
sourceParentIdentifier: Scalars["String"]["input"];
|
|
208
|
+
targetParentIdentifier: Scalars["String"]["input"];
|
|
209
|
+
};
|
|
210
|
+
export type MutationMutateDocumentArgs = {
|
|
211
|
+
actions: ReadonlyArray<Scalars["JSONObject"]["input"]>;
|
|
212
|
+
documentIdentifier: Scalars["String"]["input"];
|
|
213
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
214
|
+
};
|
|
215
|
+
export type MutationMutateDocumentAsyncArgs = {
|
|
216
|
+
actions: ReadonlyArray<Scalars["JSONObject"]["input"]>;
|
|
217
|
+
documentIdentifier: Scalars["String"]["input"];
|
|
218
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
219
|
+
};
|
|
220
|
+
export type MutationPushSyncEnvelopesArgs = {
|
|
221
|
+
envelopes: ReadonlyArray<SyncEnvelopeInput>;
|
|
222
|
+
};
|
|
223
|
+
export type MutationRemoveChildrenArgs = {
|
|
224
|
+
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
225
|
+
documentIdentifiers: ReadonlyArray<Scalars["String"]["input"]>;
|
|
226
|
+
parentIdentifier: Scalars["String"]["input"];
|
|
227
|
+
};
|
|
228
|
+
export type MutationRenameDocumentArgs = {
|
|
229
|
+
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
230
|
+
documentIdentifier: Scalars["String"]["input"];
|
|
231
|
+
name: Scalars["String"]["input"];
|
|
232
|
+
};
|
|
233
|
+
export type MutationTouchChannelArgs = {
|
|
234
|
+
input: TouchChannelInput;
|
|
235
|
+
};
|
|
236
|
+
export type OperationContext = {
|
|
237
|
+
readonly branch: Scalars["String"]["output"];
|
|
238
|
+
readonly documentId: Scalars["String"]["output"];
|
|
239
|
+
readonly documentType: Scalars["String"]["output"];
|
|
240
|
+
readonly ordinal: Scalars["Int"]["output"];
|
|
241
|
+
readonly scope: Scalars["String"]["output"];
|
|
242
|
+
};
|
|
243
|
+
export type OperationContextInput = {
|
|
244
|
+
readonly branch: Scalars["String"]["input"];
|
|
245
|
+
readonly documentId: Scalars["String"]["input"];
|
|
246
|
+
readonly documentType: Scalars["String"]["input"];
|
|
247
|
+
readonly ordinal: Scalars["Int"]["input"];
|
|
248
|
+
readonly scope: Scalars["String"]["input"];
|
|
249
|
+
};
|
|
250
|
+
export type OperationInput = {
|
|
251
|
+
readonly action: ActionInput;
|
|
252
|
+
readonly error?: InputMaybe<Scalars["String"]["input"]>;
|
|
253
|
+
readonly hash: Scalars["String"]["input"];
|
|
254
|
+
readonly id?: InputMaybe<Scalars["String"]["input"]>;
|
|
255
|
+
readonly index: Scalars["Int"]["input"];
|
|
256
|
+
readonly skip: Scalars["Int"]["input"];
|
|
257
|
+
readonly timestampUtcMs: Scalars["String"]["input"];
|
|
258
|
+
};
|
|
259
|
+
export type OperationWithContext = {
|
|
260
|
+
readonly context: OperationContext;
|
|
261
|
+
readonly operation: ReactorOperation;
|
|
262
|
+
};
|
|
263
|
+
export type OperationWithContextInput = {
|
|
264
|
+
readonly context: OperationContextInput;
|
|
265
|
+
readonly operation: OperationInput;
|
|
266
|
+
};
|
|
267
|
+
export type OperationsFilterInput = {
|
|
268
|
+
readonly actionTypes?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
269
|
+
readonly branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
270
|
+
readonly documentId: Scalars["String"]["input"];
|
|
271
|
+
readonly scopes?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
272
|
+
readonly sinceRevision?: InputMaybe<Scalars["Int"]["input"]>;
|
|
273
|
+
readonly timestampFrom?: InputMaybe<Scalars["String"]["input"]>;
|
|
274
|
+
readonly timestampTo?: InputMaybe<Scalars["String"]["input"]>;
|
|
275
|
+
};
|
|
276
|
+
export type PhDocument = {
|
|
277
|
+
readonly createdAtUtcIso: Scalars["DateTime"]["output"];
|
|
278
|
+
readonly documentType: Scalars["String"]["output"];
|
|
279
|
+
readonly id: Scalars["String"]["output"];
|
|
280
|
+
readonly lastModifiedAtUtcIso: Scalars["DateTime"]["output"];
|
|
281
|
+
readonly name: Scalars["String"]["output"];
|
|
282
|
+
readonly operations?: Maybe<ReactorOperationResultPage>;
|
|
283
|
+
readonly revisionsList: ReadonlyArray<Revision>;
|
|
284
|
+
readonly slug?: Maybe<Scalars["String"]["output"]>;
|
|
285
|
+
readonly state: Scalars["JSONObject"]["output"];
|
|
286
|
+
};
|
|
287
|
+
export type PhDocumentOperationsArgs = {
|
|
288
|
+
filter?: InputMaybe<DocumentOperationsFilterInput>;
|
|
289
|
+
paging?: InputMaybe<PagingInput>;
|
|
290
|
+
};
|
|
291
|
+
export type PhDocumentResultPage = {
|
|
292
|
+
readonly cursor?: Maybe<Scalars["String"]["output"]>;
|
|
293
|
+
readonly hasNextPage: Scalars["Boolean"]["output"];
|
|
294
|
+
readonly hasPreviousPage: Scalars["Boolean"]["output"];
|
|
295
|
+
readonly items: ReadonlyArray<PhDocument>;
|
|
296
|
+
readonly totalCount: Scalars["Int"]["output"];
|
|
297
|
+
};
|
|
298
|
+
export type PagingInput = {
|
|
299
|
+
readonly cursor?: InputMaybe<Scalars["String"]["input"]>;
|
|
300
|
+
readonly limit?: InputMaybe<Scalars["Int"]["input"]>;
|
|
301
|
+
readonly offset?: InputMaybe<Scalars["Int"]["input"]>;
|
|
302
|
+
};
|
|
303
|
+
export type PollSyncEnvelopesResult = {
|
|
304
|
+
readonly ackOrdinal: Scalars["Int"]["output"];
|
|
305
|
+
readonly deadLetters: ReadonlyArray<DeadLetterInfo>;
|
|
306
|
+
readonly envelopes: ReadonlyArray<SyncEnvelope>;
|
|
307
|
+
};
|
|
308
|
+
export declare enum PropagationMode {
|
|
309
|
+
Cascade = "CASCADE",
|
|
310
|
+
Orphan = "ORPHAN"
|
|
311
|
+
}
|
|
312
|
+
export type Query = {
|
|
313
|
+
readonly document?: Maybe<DocumentWithChildren>;
|
|
314
|
+
readonly documentChildren: PhDocumentResultPage;
|
|
315
|
+
readonly documentModels: DocumentModelResultPage;
|
|
316
|
+
readonly documentOperations: ReactorOperationResultPage;
|
|
317
|
+
readonly documentParents: PhDocumentResultPage;
|
|
318
|
+
readonly findDocuments: PhDocumentResultPage;
|
|
319
|
+
readonly jobStatus?: Maybe<JobInfo>;
|
|
320
|
+
readonly pollSyncEnvelopes: PollSyncEnvelopesResult;
|
|
321
|
+
};
|
|
322
|
+
export type QueryDocumentArgs = {
|
|
323
|
+
identifier: Scalars["String"]["input"];
|
|
324
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
325
|
+
};
|
|
326
|
+
export type QueryDocumentChildrenArgs = {
|
|
327
|
+
paging?: InputMaybe<PagingInput>;
|
|
328
|
+
parentIdentifier: Scalars["String"]["input"];
|
|
329
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
330
|
+
};
|
|
331
|
+
export type QueryDocumentModelsArgs = {
|
|
332
|
+
namespace?: InputMaybe<Scalars["String"]["input"]>;
|
|
333
|
+
paging?: InputMaybe<PagingInput>;
|
|
334
|
+
};
|
|
335
|
+
export type QueryDocumentOperationsArgs = {
|
|
336
|
+
filter: OperationsFilterInput;
|
|
337
|
+
paging?: InputMaybe<PagingInput>;
|
|
338
|
+
};
|
|
339
|
+
export type QueryDocumentParentsArgs = {
|
|
340
|
+
childIdentifier: Scalars["String"]["input"];
|
|
341
|
+
paging?: InputMaybe<PagingInput>;
|
|
342
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
343
|
+
};
|
|
344
|
+
export type QueryFindDocumentsArgs = {
|
|
345
|
+
paging?: InputMaybe<PagingInput>;
|
|
346
|
+
search: SearchFilterInput;
|
|
347
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
348
|
+
};
|
|
349
|
+
export type QueryJobStatusArgs = {
|
|
350
|
+
jobId: Scalars["String"]["input"];
|
|
351
|
+
};
|
|
352
|
+
export type QueryPollSyncEnvelopesArgs = {
|
|
353
|
+
channelId: Scalars["String"]["input"];
|
|
354
|
+
outboxAck: Scalars["Int"]["input"];
|
|
355
|
+
outboxLatest: Scalars["Int"]["input"];
|
|
356
|
+
};
|
|
357
|
+
export type ReactorOperation = {
|
|
358
|
+
readonly action: Action;
|
|
359
|
+
readonly error?: Maybe<Scalars["String"]["output"]>;
|
|
360
|
+
readonly hash: Scalars["String"]["output"];
|
|
361
|
+
readonly id?: Maybe<Scalars["String"]["output"]>;
|
|
362
|
+
readonly index: Scalars["Int"]["output"];
|
|
363
|
+
readonly skip: Scalars["Int"]["output"];
|
|
364
|
+
readonly timestampUtcMs: Scalars["String"]["output"];
|
|
365
|
+
};
|
|
366
|
+
export type ReactorOperationResultPage = {
|
|
367
|
+
readonly cursor?: Maybe<Scalars["String"]["output"]>;
|
|
368
|
+
readonly hasNextPage: Scalars["Boolean"]["output"];
|
|
369
|
+
readonly hasPreviousPage: Scalars["Boolean"]["output"];
|
|
370
|
+
readonly items: ReadonlyArray<ReactorOperation>;
|
|
371
|
+
readonly totalCount: Scalars["Int"]["output"];
|
|
372
|
+
};
|
|
373
|
+
export type ReactorSigner = {
|
|
374
|
+
readonly app?: Maybe<ReactorSignerApp>;
|
|
375
|
+
readonly signatures: ReadonlyArray<Scalars["String"]["output"]>;
|
|
376
|
+
readonly user?: Maybe<ReactorSignerUser>;
|
|
377
|
+
};
|
|
378
|
+
export type ReactorSignerApp = {
|
|
379
|
+
readonly key: Scalars["String"]["output"];
|
|
380
|
+
readonly name: Scalars["String"]["output"];
|
|
381
|
+
};
|
|
382
|
+
export type ReactorSignerAppInput = {
|
|
383
|
+
readonly key: Scalars["String"]["input"];
|
|
384
|
+
readonly name: Scalars["String"]["input"];
|
|
385
|
+
};
|
|
386
|
+
export type ReactorSignerInput = {
|
|
387
|
+
readonly app?: InputMaybe<ReactorSignerAppInput>;
|
|
388
|
+
readonly signatures: ReadonlyArray<Scalars["String"]["input"]>;
|
|
389
|
+
readonly user?: InputMaybe<ReactorSignerUserInput>;
|
|
390
|
+
};
|
|
391
|
+
export type ReactorSignerUser = {
|
|
392
|
+
readonly address: Scalars["String"]["output"];
|
|
393
|
+
readonly chainId: Scalars["Int"]["output"];
|
|
394
|
+
readonly networkId: Scalars["String"]["output"];
|
|
395
|
+
};
|
|
396
|
+
export type ReactorSignerUserInput = {
|
|
397
|
+
readonly address: Scalars["String"]["input"];
|
|
398
|
+
readonly chainId: Scalars["Int"]["input"];
|
|
399
|
+
readonly networkId: Scalars["String"]["input"];
|
|
400
|
+
};
|
|
401
|
+
export type RemoteCursor = {
|
|
402
|
+
readonly cursorOrdinal: Scalars["Int"]["output"];
|
|
403
|
+
readonly lastSyncedAtUtcMs?: Maybe<Scalars["String"]["output"]>;
|
|
404
|
+
readonly remoteName: Scalars["String"]["output"];
|
|
405
|
+
};
|
|
406
|
+
export type RemoteCursorInput = {
|
|
407
|
+
readonly cursorOrdinal: Scalars["Int"]["input"];
|
|
408
|
+
readonly lastSyncedAtUtcMs?: InputMaybe<Scalars["String"]["input"]>;
|
|
409
|
+
readonly remoteName: Scalars["String"]["input"];
|
|
410
|
+
};
|
|
411
|
+
export type RemoteFilterInput = {
|
|
412
|
+
readonly branch: Scalars["String"]["input"];
|
|
413
|
+
readonly documentId: ReadonlyArray<Scalars["String"]["input"]>;
|
|
414
|
+
readonly scope: ReadonlyArray<Scalars["String"]["input"]>;
|
|
415
|
+
};
|
|
416
|
+
export type Revision = {
|
|
417
|
+
readonly revision: Scalars["Int"]["output"];
|
|
418
|
+
readonly scope: Scalars["String"]["output"];
|
|
419
|
+
};
|
|
420
|
+
export type SearchFilterInput = {
|
|
421
|
+
readonly identifiers?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
422
|
+
readonly parentId?: InputMaybe<Scalars["String"]["input"]>;
|
|
423
|
+
readonly type?: InputMaybe<Scalars["String"]["input"]>;
|
|
424
|
+
};
|
|
425
|
+
export type Subscription = {
|
|
426
|
+
readonly documentChanges: DocumentChangeEvent;
|
|
427
|
+
readonly jobChanges: JobChangeEvent;
|
|
428
|
+
};
|
|
429
|
+
export type SubscriptionDocumentChangesArgs = {
|
|
430
|
+
search: SearchFilterInput;
|
|
431
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
432
|
+
};
|
|
433
|
+
export type SubscriptionJobChangesArgs = {
|
|
434
|
+
jobId: Scalars["String"]["input"];
|
|
435
|
+
};
|
|
436
|
+
export type SyncEnvelope = {
|
|
437
|
+
readonly channelMeta: ChannelMeta;
|
|
438
|
+
readonly cursor?: Maybe<RemoteCursor>;
|
|
439
|
+
readonly dependsOn?: Maybe<ReadonlyArray<Scalars["String"]["output"]>>;
|
|
440
|
+
readonly key?: Maybe<Scalars["String"]["output"]>;
|
|
441
|
+
readonly operations?: Maybe<ReadonlyArray<OperationWithContext>>;
|
|
442
|
+
readonly type: SyncEnvelopeType;
|
|
443
|
+
};
|
|
444
|
+
export type SyncEnvelopeInput = {
|
|
445
|
+
readonly channelMeta: ChannelMetaInput;
|
|
446
|
+
readonly cursor?: InputMaybe<RemoteCursorInput>;
|
|
447
|
+
readonly dependsOn?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
448
|
+
readonly key?: InputMaybe<Scalars["String"]["input"]>;
|
|
449
|
+
readonly operations?: InputMaybe<ReadonlyArray<OperationWithContextInput>>;
|
|
450
|
+
readonly type: SyncEnvelopeType;
|
|
451
|
+
};
|
|
452
|
+
export declare enum SyncEnvelopeType {
|
|
453
|
+
Ack = "ACK",
|
|
454
|
+
Operations = "OPERATIONS"
|
|
455
|
+
}
|
|
456
|
+
export type TouchChannelInput = {
|
|
457
|
+
readonly collectionId: Scalars["String"]["input"];
|
|
458
|
+
readonly filter: RemoteFilterInput;
|
|
459
|
+
readonly id: Scalars["String"]["input"];
|
|
460
|
+
readonly name: Scalars["String"]["input"];
|
|
461
|
+
readonly sinceTimestampUtcMs: Scalars["String"]["input"];
|
|
462
|
+
};
|
|
463
|
+
export type ViewFilterInput = {
|
|
464
|
+
readonly branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
465
|
+
readonly scopes?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
466
|
+
};
|
|
467
|
+
export type PhDocumentFieldsFragment = {
|
|
468
|
+
readonly id: string;
|
|
469
|
+
readonly slug?: string | null | undefined;
|
|
470
|
+
readonly name: string;
|
|
471
|
+
readonly documentType: string;
|
|
472
|
+
readonly state: NonNullable<unknown>;
|
|
473
|
+
readonly createdAtUtcIso: string | Date;
|
|
474
|
+
readonly lastModifiedAtUtcIso: string | Date;
|
|
475
|
+
readonly revisionsList: ReadonlyArray<{
|
|
476
|
+
readonly scope: string;
|
|
477
|
+
readonly revision: number;
|
|
478
|
+
}>;
|
|
479
|
+
};
|
|
480
|
+
export type GetDocumentModelsQueryVariables = Exact<{
|
|
481
|
+
namespace?: InputMaybe<Scalars["String"]["input"]>;
|
|
482
|
+
paging?: InputMaybe<PagingInput>;
|
|
483
|
+
}>;
|
|
484
|
+
export type GetDocumentModelsQuery = {
|
|
485
|
+
readonly documentModels: {
|
|
486
|
+
readonly totalCount: number;
|
|
487
|
+
readonly hasNextPage: boolean;
|
|
488
|
+
readonly hasPreviousPage: boolean;
|
|
489
|
+
readonly cursor?: string | null | undefined;
|
|
490
|
+
readonly items: ReadonlyArray<{
|
|
491
|
+
readonly id: string;
|
|
492
|
+
readonly name: string;
|
|
493
|
+
readonly namespace?: string | null | undefined;
|
|
494
|
+
readonly version?: string | null | undefined;
|
|
495
|
+
readonly specification: NonNullable<unknown>;
|
|
496
|
+
}>;
|
|
497
|
+
};
|
|
498
|
+
};
|
|
499
|
+
export type GetDocumentQueryVariables = Exact<{
|
|
500
|
+
identifier: Scalars["String"]["input"];
|
|
501
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
502
|
+
}>;
|
|
503
|
+
export type GetDocumentQuery = {
|
|
504
|
+
readonly document?: {
|
|
505
|
+
readonly childIds: ReadonlyArray<string>;
|
|
506
|
+
readonly document: {
|
|
507
|
+
readonly id: string;
|
|
508
|
+
readonly slug?: string | null | undefined;
|
|
509
|
+
readonly name: string;
|
|
510
|
+
readonly documentType: string;
|
|
511
|
+
readonly state: NonNullable<unknown>;
|
|
512
|
+
readonly createdAtUtcIso: string | Date;
|
|
513
|
+
readonly lastModifiedAtUtcIso: string | Date;
|
|
514
|
+
readonly revisionsList: ReadonlyArray<{
|
|
515
|
+
readonly scope: string;
|
|
516
|
+
readonly revision: number;
|
|
517
|
+
}>;
|
|
518
|
+
};
|
|
519
|
+
} | null | undefined;
|
|
520
|
+
};
|
|
521
|
+
export type GetDocumentChildrenQueryVariables = Exact<{
|
|
522
|
+
parentIdentifier: Scalars["String"]["input"];
|
|
523
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
524
|
+
paging?: InputMaybe<PagingInput>;
|
|
525
|
+
}>;
|
|
526
|
+
export type GetDocumentChildrenQuery = {
|
|
527
|
+
readonly documentChildren: {
|
|
528
|
+
readonly totalCount: number;
|
|
529
|
+
readonly hasNextPage: boolean;
|
|
530
|
+
readonly hasPreviousPage: boolean;
|
|
531
|
+
readonly cursor?: string | null | undefined;
|
|
532
|
+
readonly items: ReadonlyArray<{
|
|
533
|
+
readonly id: string;
|
|
534
|
+
readonly slug?: string | null | undefined;
|
|
535
|
+
readonly name: string;
|
|
536
|
+
readonly documentType: string;
|
|
537
|
+
readonly state: NonNullable<unknown>;
|
|
538
|
+
readonly createdAtUtcIso: string | Date;
|
|
539
|
+
readonly lastModifiedAtUtcIso: string | Date;
|
|
540
|
+
readonly revisionsList: ReadonlyArray<{
|
|
541
|
+
readonly scope: string;
|
|
542
|
+
readonly revision: number;
|
|
543
|
+
}>;
|
|
544
|
+
}>;
|
|
545
|
+
};
|
|
546
|
+
};
|
|
547
|
+
export type GetDocumentParentsQueryVariables = Exact<{
|
|
548
|
+
childIdentifier: Scalars["String"]["input"];
|
|
549
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
550
|
+
paging?: InputMaybe<PagingInput>;
|
|
551
|
+
}>;
|
|
552
|
+
export type GetDocumentParentsQuery = {
|
|
553
|
+
readonly documentParents: {
|
|
554
|
+
readonly totalCount: number;
|
|
555
|
+
readonly hasNextPage: boolean;
|
|
556
|
+
readonly hasPreviousPage: boolean;
|
|
557
|
+
readonly cursor?: string | null | undefined;
|
|
558
|
+
readonly items: ReadonlyArray<{
|
|
559
|
+
readonly id: string;
|
|
560
|
+
readonly slug?: string | null | undefined;
|
|
561
|
+
readonly name: string;
|
|
562
|
+
readonly documentType: string;
|
|
563
|
+
readonly state: NonNullable<unknown>;
|
|
564
|
+
readonly createdAtUtcIso: string | Date;
|
|
565
|
+
readonly lastModifiedAtUtcIso: string | Date;
|
|
566
|
+
readonly revisionsList: ReadonlyArray<{
|
|
567
|
+
readonly scope: string;
|
|
568
|
+
readonly revision: number;
|
|
569
|
+
}>;
|
|
570
|
+
}>;
|
|
571
|
+
};
|
|
572
|
+
};
|
|
573
|
+
export type FindDocumentsQueryVariables = Exact<{
|
|
574
|
+
search: SearchFilterInput;
|
|
575
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
576
|
+
paging?: InputMaybe<PagingInput>;
|
|
577
|
+
}>;
|
|
578
|
+
export type FindDocumentsQuery = {
|
|
579
|
+
readonly findDocuments: {
|
|
580
|
+
readonly totalCount: number;
|
|
581
|
+
readonly hasNextPage: boolean;
|
|
582
|
+
readonly hasPreviousPage: boolean;
|
|
583
|
+
readonly cursor?: string | null | undefined;
|
|
584
|
+
readonly items: ReadonlyArray<{
|
|
585
|
+
readonly id: string;
|
|
586
|
+
readonly slug?: string | null | undefined;
|
|
587
|
+
readonly name: string;
|
|
588
|
+
readonly documentType: string;
|
|
589
|
+
readonly state: NonNullable<unknown>;
|
|
590
|
+
readonly createdAtUtcIso: string | Date;
|
|
591
|
+
readonly lastModifiedAtUtcIso: string | Date;
|
|
592
|
+
readonly revisionsList: ReadonlyArray<{
|
|
593
|
+
readonly scope: string;
|
|
594
|
+
readonly revision: number;
|
|
595
|
+
}>;
|
|
596
|
+
}>;
|
|
597
|
+
};
|
|
598
|
+
};
|
|
599
|
+
export type GetDocumentOperationsQueryVariables = Exact<{
|
|
600
|
+
filter: OperationsFilterInput;
|
|
601
|
+
paging?: InputMaybe<PagingInput>;
|
|
602
|
+
}>;
|
|
603
|
+
export type GetDocumentOperationsQuery = {
|
|
604
|
+
readonly documentOperations: {
|
|
605
|
+
readonly totalCount: number;
|
|
606
|
+
readonly hasNextPage: boolean;
|
|
607
|
+
readonly hasPreviousPage: boolean;
|
|
608
|
+
readonly cursor?: string | null | undefined;
|
|
609
|
+
readonly items: ReadonlyArray<{
|
|
610
|
+
readonly index: number;
|
|
611
|
+
readonly timestampUtcMs: string;
|
|
612
|
+
readonly hash: string;
|
|
613
|
+
readonly skip: number;
|
|
614
|
+
readonly error?: string | null | undefined;
|
|
615
|
+
readonly id?: string | null | undefined;
|
|
616
|
+
readonly action: {
|
|
617
|
+
readonly id: string;
|
|
618
|
+
readonly type: string;
|
|
619
|
+
readonly timestampUtcMs: string;
|
|
620
|
+
readonly input: NonNullable<unknown>;
|
|
621
|
+
readonly scope: string;
|
|
622
|
+
readonly attachments?: ReadonlyArray<{
|
|
623
|
+
readonly data: string;
|
|
624
|
+
readonly mimeType: string;
|
|
625
|
+
readonly hash: string;
|
|
626
|
+
readonly extension?: string | null | undefined;
|
|
627
|
+
readonly fileName?: string | null | undefined;
|
|
628
|
+
}> | null | undefined;
|
|
629
|
+
readonly context?: {
|
|
630
|
+
readonly signer?: {
|
|
631
|
+
readonly signatures: ReadonlyArray<string>;
|
|
632
|
+
readonly user?: {
|
|
633
|
+
readonly address: string;
|
|
634
|
+
readonly networkId: string;
|
|
635
|
+
readonly chainId: number;
|
|
636
|
+
} | null | undefined;
|
|
637
|
+
readonly app?: {
|
|
638
|
+
readonly name: string;
|
|
639
|
+
readonly key: string;
|
|
640
|
+
} | null | undefined;
|
|
641
|
+
} | null | undefined;
|
|
642
|
+
} | null | undefined;
|
|
643
|
+
};
|
|
644
|
+
}>;
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
export type GetJobStatusQueryVariables = Exact<{
|
|
648
|
+
jobId: Scalars["String"]["input"];
|
|
649
|
+
}>;
|
|
650
|
+
export type GetJobStatusQuery = {
|
|
651
|
+
readonly jobStatus?: {
|
|
652
|
+
readonly id: string;
|
|
653
|
+
readonly status: string;
|
|
654
|
+
readonly result: NonNullable<unknown>;
|
|
655
|
+
readonly error?: string | null | undefined;
|
|
656
|
+
readonly createdAt: string | Date;
|
|
657
|
+
readonly completedAt?: string | Date | null | undefined;
|
|
658
|
+
} | null | undefined;
|
|
659
|
+
};
|
|
660
|
+
export type CreateDocumentMutationVariables = Exact<{
|
|
661
|
+
document: Scalars["JSONObject"]["input"];
|
|
662
|
+
parentIdentifier?: InputMaybe<Scalars["String"]["input"]>;
|
|
663
|
+
}>;
|
|
664
|
+
export type CreateDocumentMutation = {
|
|
665
|
+
readonly createDocument: {
|
|
666
|
+
readonly id: string;
|
|
667
|
+
readonly slug?: string | null | undefined;
|
|
668
|
+
readonly name: string;
|
|
669
|
+
readonly documentType: string;
|
|
670
|
+
readonly state: NonNullable<unknown>;
|
|
671
|
+
readonly createdAtUtcIso: string | Date;
|
|
672
|
+
readonly lastModifiedAtUtcIso: string | Date;
|
|
673
|
+
readonly revisionsList: ReadonlyArray<{
|
|
674
|
+
readonly scope: string;
|
|
675
|
+
readonly revision: number;
|
|
676
|
+
}>;
|
|
677
|
+
};
|
|
678
|
+
};
|
|
679
|
+
export type CreateEmptyDocumentMutationVariables = Exact<{
|
|
680
|
+
documentType: Scalars["String"]["input"];
|
|
681
|
+
parentIdentifier?: InputMaybe<Scalars["String"]["input"]>;
|
|
682
|
+
}>;
|
|
683
|
+
export type CreateEmptyDocumentMutation = {
|
|
684
|
+
readonly createEmptyDocument: {
|
|
685
|
+
readonly id: string;
|
|
686
|
+
readonly slug?: string | null | undefined;
|
|
687
|
+
readonly name: string;
|
|
688
|
+
readonly documentType: string;
|
|
689
|
+
readonly state: NonNullable<unknown>;
|
|
690
|
+
readonly createdAtUtcIso: string | Date;
|
|
691
|
+
readonly lastModifiedAtUtcIso: string | Date;
|
|
692
|
+
readonly revisionsList: ReadonlyArray<{
|
|
693
|
+
readonly scope: string;
|
|
694
|
+
readonly revision: number;
|
|
695
|
+
}>;
|
|
696
|
+
};
|
|
697
|
+
};
|
|
698
|
+
export type MutateDocumentMutationVariables = Exact<{
|
|
699
|
+
documentIdentifier: Scalars["String"]["input"];
|
|
700
|
+
actions: ReadonlyArray<Scalars["JSONObject"]["input"]>;
|
|
701
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
702
|
+
}>;
|
|
703
|
+
export type MutateDocumentMutation = {
|
|
704
|
+
readonly mutateDocument: {
|
|
705
|
+
readonly id: string;
|
|
706
|
+
readonly slug?: string | null | undefined;
|
|
707
|
+
readonly name: string;
|
|
708
|
+
readonly documentType: string;
|
|
709
|
+
readonly state: NonNullable<unknown>;
|
|
710
|
+
readonly createdAtUtcIso: string | Date;
|
|
711
|
+
readonly lastModifiedAtUtcIso: string | Date;
|
|
712
|
+
readonly revisionsList: ReadonlyArray<{
|
|
713
|
+
readonly scope: string;
|
|
714
|
+
readonly revision: number;
|
|
715
|
+
}>;
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
|
+
export type MutateDocumentAsyncMutationVariables = Exact<{
|
|
719
|
+
documentIdentifier: Scalars["String"]["input"];
|
|
720
|
+
actions: ReadonlyArray<Scalars["JSONObject"]["input"]>;
|
|
721
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
722
|
+
}>;
|
|
723
|
+
export type MutateDocumentAsyncMutation = {
|
|
724
|
+
readonly mutateDocumentAsync: string;
|
|
725
|
+
};
|
|
726
|
+
export type RenameDocumentMutationVariables = Exact<{
|
|
727
|
+
documentIdentifier: Scalars["String"]["input"];
|
|
728
|
+
name: Scalars["String"]["input"];
|
|
729
|
+
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
730
|
+
}>;
|
|
731
|
+
export type RenameDocumentMutation = {
|
|
732
|
+
readonly renameDocument: {
|
|
733
|
+
readonly id: string;
|
|
734
|
+
readonly slug?: string | null | undefined;
|
|
735
|
+
readonly name: string;
|
|
736
|
+
readonly documentType: string;
|
|
737
|
+
readonly state: NonNullable<unknown>;
|
|
738
|
+
readonly createdAtUtcIso: string | Date;
|
|
739
|
+
readonly lastModifiedAtUtcIso: string | Date;
|
|
740
|
+
readonly revisionsList: ReadonlyArray<{
|
|
741
|
+
readonly scope: string;
|
|
742
|
+
readonly revision: number;
|
|
743
|
+
}>;
|
|
744
|
+
};
|
|
745
|
+
};
|
|
746
|
+
export type AddChildrenMutationVariables = Exact<{
|
|
747
|
+
parentIdentifier: Scalars["String"]["input"];
|
|
748
|
+
documentIdentifiers: ReadonlyArray<Scalars["String"]["input"]>;
|
|
749
|
+
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
750
|
+
}>;
|
|
751
|
+
export type AddChildrenMutation = {
|
|
752
|
+
readonly addChildren: {
|
|
753
|
+
readonly id: string;
|
|
754
|
+
readonly slug?: string | null | undefined;
|
|
755
|
+
readonly name: string;
|
|
756
|
+
readonly documentType: string;
|
|
757
|
+
readonly state: NonNullable<unknown>;
|
|
758
|
+
readonly createdAtUtcIso: string | Date;
|
|
759
|
+
readonly lastModifiedAtUtcIso: string | Date;
|
|
760
|
+
readonly revisionsList: ReadonlyArray<{
|
|
761
|
+
readonly scope: string;
|
|
762
|
+
readonly revision: number;
|
|
763
|
+
}>;
|
|
764
|
+
};
|
|
765
|
+
};
|
|
766
|
+
export type RemoveChildrenMutationVariables = Exact<{
|
|
767
|
+
parentIdentifier: Scalars["String"]["input"];
|
|
768
|
+
documentIdentifiers: ReadonlyArray<Scalars["String"]["input"]>;
|
|
769
|
+
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
770
|
+
}>;
|
|
771
|
+
export type RemoveChildrenMutation = {
|
|
772
|
+
readonly removeChildren: {
|
|
773
|
+
readonly id: string;
|
|
774
|
+
readonly slug?: string | null | undefined;
|
|
775
|
+
readonly name: string;
|
|
776
|
+
readonly documentType: string;
|
|
777
|
+
readonly state: NonNullable<unknown>;
|
|
778
|
+
readonly createdAtUtcIso: string | Date;
|
|
779
|
+
readonly lastModifiedAtUtcIso: string | Date;
|
|
780
|
+
readonly revisionsList: ReadonlyArray<{
|
|
781
|
+
readonly scope: string;
|
|
782
|
+
readonly revision: number;
|
|
783
|
+
}>;
|
|
784
|
+
};
|
|
785
|
+
};
|
|
786
|
+
export type MoveChildrenMutationVariables = Exact<{
|
|
787
|
+
sourceParentIdentifier: Scalars["String"]["input"];
|
|
788
|
+
targetParentIdentifier: Scalars["String"]["input"];
|
|
789
|
+
documentIdentifiers: ReadonlyArray<Scalars["String"]["input"]>;
|
|
790
|
+
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
791
|
+
}>;
|
|
792
|
+
export type MoveChildrenMutation = {
|
|
793
|
+
readonly moveChildren: {
|
|
794
|
+
readonly source: {
|
|
795
|
+
readonly id: string;
|
|
796
|
+
readonly slug?: string | null | undefined;
|
|
797
|
+
readonly name: string;
|
|
798
|
+
readonly documentType: string;
|
|
799
|
+
readonly state: NonNullable<unknown>;
|
|
800
|
+
readonly createdAtUtcIso: string | Date;
|
|
801
|
+
readonly lastModifiedAtUtcIso: string | Date;
|
|
802
|
+
readonly revisionsList: ReadonlyArray<{
|
|
803
|
+
readonly scope: string;
|
|
804
|
+
readonly revision: number;
|
|
805
|
+
}>;
|
|
806
|
+
};
|
|
807
|
+
readonly target: {
|
|
808
|
+
readonly id: string;
|
|
809
|
+
readonly slug?: string | null | undefined;
|
|
810
|
+
readonly name: string;
|
|
811
|
+
readonly documentType: string;
|
|
812
|
+
readonly state: NonNullable<unknown>;
|
|
813
|
+
readonly createdAtUtcIso: string | Date;
|
|
814
|
+
readonly lastModifiedAtUtcIso: string | Date;
|
|
815
|
+
readonly revisionsList: ReadonlyArray<{
|
|
816
|
+
readonly scope: string;
|
|
817
|
+
readonly revision: number;
|
|
818
|
+
}>;
|
|
819
|
+
};
|
|
820
|
+
};
|
|
821
|
+
};
|
|
822
|
+
export type DeleteDocumentMutationVariables = Exact<{
|
|
823
|
+
identifier: Scalars["String"]["input"];
|
|
824
|
+
propagate?: InputMaybe<PropagationMode>;
|
|
825
|
+
}>;
|
|
826
|
+
export type DeleteDocumentMutation = {
|
|
827
|
+
readonly deleteDocument: boolean;
|
|
828
|
+
};
|
|
829
|
+
export type DeleteDocumentsMutationVariables = Exact<{
|
|
830
|
+
identifiers: ReadonlyArray<Scalars["String"]["input"]>;
|
|
831
|
+
propagate?: InputMaybe<PropagationMode>;
|
|
832
|
+
}>;
|
|
833
|
+
export type DeleteDocumentsMutation = {
|
|
834
|
+
readonly deleteDocuments: boolean;
|
|
835
|
+
};
|
|
836
|
+
export type DocumentChangesSubscriptionVariables = Exact<{
|
|
837
|
+
search: SearchFilterInput;
|
|
838
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
839
|
+
}>;
|
|
840
|
+
export type DocumentChangesSubscription = {
|
|
841
|
+
readonly documentChanges: {
|
|
842
|
+
readonly type: DocumentChangeType;
|
|
843
|
+
readonly documents: ReadonlyArray<{
|
|
844
|
+
readonly id: string;
|
|
845
|
+
readonly slug?: string | null | undefined;
|
|
846
|
+
readonly name: string;
|
|
847
|
+
readonly documentType: string;
|
|
848
|
+
readonly state: NonNullable<unknown>;
|
|
849
|
+
readonly createdAtUtcIso: string | Date;
|
|
850
|
+
readonly lastModifiedAtUtcIso: string | Date;
|
|
851
|
+
readonly revisionsList: ReadonlyArray<{
|
|
852
|
+
readonly scope: string;
|
|
853
|
+
readonly revision: number;
|
|
854
|
+
}>;
|
|
855
|
+
}>;
|
|
856
|
+
readonly context?: {
|
|
857
|
+
readonly parentId?: string | null | undefined;
|
|
858
|
+
readonly childId?: string | null | undefined;
|
|
859
|
+
} | null | undefined;
|
|
860
|
+
};
|
|
861
|
+
};
|
|
862
|
+
export type JobChangesSubscriptionVariables = Exact<{
|
|
863
|
+
jobId: Scalars["String"]["input"];
|
|
864
|
+
}>;
|
|
865
|
+
export type JobChangesSubscription = {
|
|
866
|
+
readonly jobChanges: {
|
|
867
|
+
readonly jobId: string;
|
|
868
|
+
readonly status: string;
|
|
869
|
+
readonly result: NonNullable<unknown>;
|
|
870
|
+
readonly error?: string | null | undefined;
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
export type PollSyncEnvelopesQueryVariables = Exact<{
|
|
874
|
+
channelId: Scalars["String"]["input"];
|
|
875
|
+
outboxAck: Scalars["Int"]["input"];
|
|
876
|
+
outboxLatest: Scalars["Int"]["input"];
|
|
877
|
+
}>;
|
|
878
|
+
export type PollSyncEnvelopesQuery = {
|
|
879
|
+
readonly pollSyncEnvelopes: {
|
|
880
|
+
readonly ackOrdinal: number;
|
|
881
|
+
readonly envelopes: ReadonlyArray<{
|
|
882
|
+
readonly type: SyncEnvelopeType;
|
|
883
|
+
readonly key?: string | null | undefined;
|
|
884
|
+
readonly dependsOn?: ReadonlyArray<string> | null | undefined;
|
|
885
|
+
readonly channelMeta: {
|
|
886
|
+
readonly id: string;
|
|
887
|
+
};
|
|
888
|
+
readonly operations?: ReadonlyArray<{
|
|
889
|
+
readonly operation: {
|
|
890
|
+
readonly index: number;
|
|
891
|
+
readonly timestampUtcMs: string;
|
|
892
|
+
readonly hash: string;
|
|
893
|
+
readonly skip: number;
|
|
894
|
+
readonly error?: string | null | undefined;
|
|
895
|
+
readonly id?: string | null | undefined;
|
|
896
|
+
readonly action: {
|
|
897
|
+
readonly id: string;
|
|
898
|
+
readonly type: string;
|
|
899
|
+
readonly timestampUtcMs: string;
|
|
900
|
+
readonly input: NonNullable<unknown>;
|
|
901
|
+
readonly scope: string;
|
|
902
|
+
readonly attachments?: ReadonlyArray<{
|
|
903
|
+
readonly data: string;
|
|
904
|
+
readonly mimeType: string;
|
|
905
|
+
readonly hash: string;
|
|
906
|
+
readonly extension?: string | null | undefined;
|
|
907
|
+
readonly fileName?: string | null | undefined;
|
|
908
|
+
}> | null | undefined;
|
|
909
|
+
readonly context?: {
|
|
910
|
+
readonly signer?: {
|
|
911
|
+
readonly signatures: ReadonlyArray<string>;
|
|
912
|
+
readonly user?: {
|
|
913
|
+
readonly address: string;
|
|
914
|
+
readonly networkId: string;
|
|
915
|
+
readonly chainId: number;
|
|
916
|
+
} | null | undefined;
|
|
917
|
+
readonly app?: {
|
|
918
|
+
readonly name: string;
|
|
919
|
+
readonly key: string;
|
|
920
|
+
} | null | undefined;
|
|
921
|
+
} | null | undefined;
|
|
922
|
+
} | null | undefined;
|
|
923
|
+
};
|
|
924
|
+
};
|
|
925
|
+
readonly context: {
|
|
926
|
+
readonly documentId: string;
|
|
927
|
+
readonly documentType: string;
|
|
928
|
+
readonly scope: string;
|
|
929
|
+
readonly branch: string;
|
|
930
|
+
};
|
|
931
|
+
}> | null | undefined;
|
|
932
|
+
readonly cursor?: {
|
|
933
|
+
readonly remoteName: string;
|
|
934
|
+
readonly cursorOrdinal: number;
|
|
935
|
+
readonly lastSyncedAtUtcMs?: string | null | undefined;
|
|
936
|
+
} | null | undefined;
|
|
937
|
+
}>;
|
|
938
|
+
readonly deadLetters: ReadonlyArray<{
|
|
939
|
+
readonly documentId: string;
|
|
940
|
+
readonly error: string;
|
|
941
|
+
}>;
|
|
942
|
+
};
|
|
943
|
+
};
|
|
944
|
+
export type TouchChannelMutationVariables = Exact<{
|
|
945
|
+
input: TouchChannelInput;
|
|
946
|
+
}>;
|
|
947
|
+
export type TouchChannelMutation = {
|
|
948
|
+
readonly touchChannel: boolean;
|
|
949
|
+
};
|
|
950
|
+
export type PushSyncEnvelopesMutationVariables = Exact<{
|
|
951
|
+
envelopes: ReadonlyArray<SyncEnvelopeInput>;
|
|
952
|
+
}>;
|
|
953
|
+
export type PushSyncEnvelopesMutation = {
|
|
954
|
+
readonly pushSyncEnvelopes: boolean;
|
|
955
|
+
};
|
|
956
|
+
export declare const PhDocumentFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
957
|
+
export declare const GetDocumentModelsDocument: import("graphql").DocumentNode;
|
|
958
|
+
export declare const GetDocumentDocument: import("graphql").DocumentNode;
|
|
959
|
+
export declare const GetDocumentChildrenDocument: import("graphql").DocumentNode;
|
|
960
|
+
export declare const GetDocumentParentsDocument: import("graphql").DocumentNode;
|
|
961
|
+
export declare const FindDocumentsDocument: import("graphql").DocumentNode;
|
|
962
|
+
export declare const GetDocumentOperationsDocument: import("graphql").DocumentNode;
|
|
963
|
+
export declare const GetJobStatusDocument: import("graphql").DocumentNode;
|
|
964
|
+
export declare const CreateDocumentDocument: import("graphql").DocumentNode;
|
|
965
|
+
export declare const CreateEmptyDocumentDocument: import("graphql").DocumentNode;
|
|
966
|
+
export declare const MutateDocumentDocument: import("graphql").DocumentNode;
|
|
967
|
+
export declare const MutateDocumentAsyncDocument: import("graphql").DocumentNode;
|
|
968
|
+
export declare const RenameDocumentDocument: import("graphql").DocumentNode;
|
|
969
|
+
export declare const AddChildrenDocument: import("graphql").DocumentNode;
|
|
970
|
+
export declare const RemoveChildrenDocument: import("graphql").DocumentNode;
|
|
971
|
+
export declare const MoveChildrenDocument: import("graphql").DocumentNode;
|
|
972
|
+
export declare const DeleteDocumentDocument: import("graphql").DocumentNode;
|
|
973
|
+
export declare const DeleteDocumentsDocument: import("graphql").DocumentNode;
|
|
974
|
+
export declare const DocumentChangesDocument: import("graphql").DocumentNode;
|
|
975
|
+
export declare const JobChangesDocument: import("graphql").DocumentNode;
|
|
976
|
+
export declare const PollSyncEnvelopesDocument: import("graphql").DocumentNode;
|
|
977
|
+
export declare const TouchChannelDocument: import("graphql").DocumentNode;
|
|
978
|
+
export declare const PushSyncEnvelopesDocument: import("graphql").DocumentNode;
|
|
979
|
+
export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
980
|
+
export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
981
|
+
GetDocumentModels(variables?: GetDocumentModelsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetDocumentModelsQuery>;
|
|
982
|
+
GetDocument(variables: GetDocumentQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetDocumentQuery>;
|
|
983
|
+
GetDocumentChildren(variables: GetDocumentChildrenQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetDocumentChildrenQuery>;
|
|
984
|
+
GetDocumentParents(variables: GetDocumentParentsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetDocumentParentsQuery>;
|
|
985
|
+
FindDocuments(variables: FindDocumentsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindDocumentsQuery>;
|
|
986
|
+
GetDocumentOperations(variables: GetDocumentOperationsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetDocumentOperationsQuery>;
|
|
987
|
+
GetJobStatus(variables: GetJobStatusQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetJobStatusQuery>;
|
|
988
|
+
CreateDocument(variables: CreateDocumentMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateDocumentMutation>;
|
|
989
|
+
CreateEmptyDocument(variables: CreateEmptyDocumentMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateEmptyDocumentMutation>;
|
|
990
|
+
MutateDocument(variables: MutateDocumentMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<MutateDocumentMutation>;
|
|
991
|
+
MutateDocumentAsync(variables: MutateDocumentAsyncMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<MutateDocumentAsyncMutation>;
|
|
992
|
+
RenameDocument(variables: RenameDocumentMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RenameDocumentMutation>;
|
|
993
|
+
AddChildren(variables: AddChildrenMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AddChildrenMutation>;
|
|
994
|
+
RemoveChildren(variables: RemoveChildrenMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RemoveChildrenMutation>;
|
|
995
|
+
MoveChildren(variables: MoveChildrenMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<MoveChildrenMutation>;
|
|
996
|
+
DeleteDocument(variables: DeleteDocumentMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteDocumentMutation>;
|
|
997
|
+
DeleteDocuments(variables: DeleteDocumentsMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteDocumentsMutation>;
|
|
998
|
+
DocumentChanges(variables: DocumentChangesSubscriptionVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DocumentChangesSubscription>;
|
|
999
|
+
JobChanges(variables: JobChangesSubscriptionVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<JobChangesSubscription>;
|
|
1000
|
+
PollSyncEnvelopes(variables: PollSyncEnvelopesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<PollSyncEnvelopesQuery>;
|
|
1001
|
+
TouchChannel(variables: TouchChannelMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<TouchChannelMutation>;
|
|
1002
|
+
PushSyncEnvelopes(variables: PushSyncEnvelopesMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<PushSyncEnvelopesMutation>;
|
|
1003
|
+
};
|
|
1004
|
+
export type Sdk = ReturnType<typeof getSdk>;
|
|
1005
|
+
export {};
|
|
1006
|
+
//# sourceMappingURL=schema.d.ts.map
|