@processfocus/runtime-local 0.1.0-next.0
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/LICENSE.md +28 -0
- package/README.md +290 -0
- package/dist/authentication-server.mjs +188 -0
- package/dist/chunk-2sb4v2sx.js +70 -0
- package/dist/chunk-9weqs8n8.js +56031 -0
- package/dist/chunk-mvkr77wp.js +54113 -0
- package/dist/chunk-tkn4cnc8.js +453 -0
- package/dist/chunk-vpsm84e8.js +85 -0
- package/dist/dashboard-source/apps/frontend/app/%5Fpf/app-icons/[...path]/route.ts +63 -0
- package/dist/dashboard-source/apps/frontend/app/%5Fpf/health/page.tsx +19 -0
- package/dist/dashboard-source/apps/frontend/app/%5Fpf/public-form-branding/[...path]/route.ts +95 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/act-on-behalf/actions.ts +248 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/act-on-behalf/delegations-client.tsx +751 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/act-on-behalf/page.tsx +46 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/client-index.tsx +375 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/client.tsx +14 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/executions/@modal/(.)[executionId]/client.tsx +73 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/executions/@modal/(.)[executionId]/page.tsx +20 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/executions/@modal/(.)[executionId]/process-state/page.tsx +22 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/executions/@modal/default.tsx +3 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/executions/[executionId]/page.tsx +11 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/executions/[executionId]/process-state/page.tsx +23 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/executions/abandon-execution-dialog.tsx +137 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/executions/execution-card-menu.tsx +233 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/executions/layout.tsx +19 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/executions/page.tsx +1549 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/executions/process-state-dialog.tsx +91 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/executions/process-state-modal-client.tsx +33 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/executions/process-state-page-client.tsx +31 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/executions/process-state-route-fallback.tsx +18 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/executions/restart-execution-feedback.tsx +40 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/layout.tsx +129 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/lists/@modal/(.)item/[id]/client.tsx +215 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/lists/@modal/(.)item/[id]/page.tsx +23 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/lists/@modal/default.tsx +3 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/lists/[...listPath]/list-page-client.tsx +678 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/lists/[...listPath]/loading.tsx +10 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/lists/[...listPath]/page.tsx +228 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/lists/components/list-create-form.tsx +147 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/lists/components/list-item-edit-form.tsx +246 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/lists/hooks/metric-control-url-state.ts +71 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/lists/hooks/use-list-deleted-callback.ts +22 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/lists/hooks/use-list-item-detail.ts +315 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/lists/item/[id]/client.tsx +259 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/lists/item/[id]/page.tsx +46 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/lists/layout.tsx +14 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/lists/lib/list-detail-title.ts +20 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/lists/lib/list-refresh.ts +26 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/lists/utils.ts +20 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/loading.tsx +5 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/org-chart/org-chart-client.tsx +74 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/org-chart/page.tsx +120 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/page.tsx +13 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/passkeys/actions.ts +188 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/passkeys/page.tsx +33 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/passkeys/passkeys-client.tsx +320 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/@modal/(.)start/[...startStepPath]/client.tsx +152 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/@modal/(.)start/[...startStepPath]/page.tsx +41 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/@modal/default.tsx +3 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/client.tsx +33 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/components/process-form-actions.tsx +105 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/components/process-submit-button.tsx +81 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/components/start-process-form.tsx +282 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/layout.tsx +21 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/lib/mobile-process-catalog.ts +28 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/lib/start-process-actions.ts +13 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/loading.tsx +10 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/page.tsx +5 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/processes-client.tsx +504 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/start/[...startStepPath]/client.tsx +153 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/start/[...startStepPath]/page.tsx +39 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/workflow/[...processPath]/loading.tsx +20 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/workflow/[...processPath]/page.tsx +131 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/workflow/[...processPath]/process-documentation.tsx +209 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/workflow/[...processPath]/use-workflow-auto-refresh.ts +120 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/workflow/[...processPath]/workflow-flow.tsx +319 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/processes/workflow/[...processPath]/workflow-form-preview-sheet.tsx +98 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/cedar/[[...tab]]/loading.tsx +1 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/cedar/[[...tab]]/page.tsx +100 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/cedar/access-handbook.tsx +110 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/cedar/authorization-loading.tsx +25 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/cedar/authorization-tabs.tsx +47 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/cedar/cedar-authorize.ts +261 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/cedar/cedar-helpers.ts +17 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/cedar/cedar-source.tsx +34 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/cedar/cedar-types.ts +79 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/cedar/evaluate-cedar.ts +43 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/cedar/explorer.tsx +526 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/cedar/layout.tsx +23 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/cedar/load-cedar.ts +174 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/cedar/load-handbook.ts +390 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/cedar/org-data.ts +70 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/invitations/[invitationId]/page.tsx +22 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/invitations/invitation-detail-client.tsx +594 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/invitations/invitation-detail-skeleton.tsx +48 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/invitations/new/page.tsx +5 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/invitations-table.tsx +186 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/page.tsx +69 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/providers-table.tsx +48 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/roles-table.tsx +62 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/settings-client.tsx +244 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/users/[userId]/client.tsx +329 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/users/[userId]/page.tsx +21 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/users/[userId]/tokens/page.tsx +39 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/settings/users-table.tsx +82 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/stats/[...statsPath]/error.tsx +34 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/stats/[...statsPath]/not-found.tsx +13 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/stats/[...statsPath]/page.tsx +84 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/stats/[...statsPath]/stats-data-fetcher.tsx +93 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/to-dos/@modal/(.)complete/[...stepPath]/client.tsx +143 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/to-dos/@modal/(.)complete/[...stepPath]/page.tsx +50 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/to-dos/@modal/default.tsx +3 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/to-dos/complete/[...stepPath]/client.tsx +131 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/to-dos/complete/[...stepPath]/page.tsx +50 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/to-dos/components/complete-todo-form.tsx +172 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/to-dos/components/public-completion-correction-form.tsx +233 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/to-dos/components/todo-form-actions.tsx +26 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/to-dos/correct/[...stepPath]/page.tsx +58 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/to-dos/layout.tsx +14 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/to-dos/lib/mobile-todo-list.ts +154 -0
- package/dist/dashboard-source/apps/frontend/app/(protected)/to-dos/page.tsx +1317 -0
- package/dist/dashboard-source/apps/frontend/app/api/auth/callback/route.ts +259 -0
- package/dist/dashboard-source/apps/frontend/app/api/auth/delegation/route.ts +127 -0
- package/dist/dashboard-source/apps/frontend/app/api/auth/login/route.ts +49 -0
- package/dist/dashboard-source/apps/frontend/app/api/auth/logout/route.ts +33 -0
- package/dist/dashboard-source/apps/frontend/app/api/auth/passkey/auth-options/route.ts +79 -0
- package/dist/dashboard-source/apps/frontend/app/api/auth/passkey/auth-verify/route.ts +142 -0
- package/dist/dashboard-source/apps/frontend/app/api/auth/passkey/register/route.ts +103 -0
- package/dist/dashboard-source/apps/frontend/app/api/auth/passkey/register-verify/route.ts +136 -0
- package/dist/dashboard-source/apps/frontend/app/api/auth/passkey/registration-session/route.ts +129 -0
- package/dist/dashboard-source/apps/frontend/app/api/auth/passkey/start/route.ts +153 -0
- package/dist/dashboard-source/apps/frontend/app/api/auth/refresh/route.ts +122 -0
- package/dist/dashboard-source/apps/frontend/app/api/auth/switch-role/route.ts +177 -0
- package/dist/dashboard-source/apps/frontend/app/api/dev/import-completed/route.ts +22 -0
- package/dist/dashboard-source/apps/frontend/app/api/dev/import-events/route.ts +38 -0
- package/dist/dashboard-source/apps/frontend/app/api/embed/lookup/route.ts +266 -0
- package/dist/dashboard-source/apps/frontend/app/api/embed/submit/route.ts +118 -0
- package/dist/dashboard-source/apps/frontend/app/api/embed/test-host/route.ts +125 -0
- package/dist/dashboard-source/apps/frontend/app/api/public/to-dos/calendar-slots/route.ts +44 -0
- package/dist/dashboard-source/apps/frontend/app/api/public/to-dos/complete/route.ts +56 -0
- package/dist/dashboard-source/apps/frontend/app/api/public/to-dos/lookup/route.ts +61 -0
- package/dist/dashboard-source/apps/frontend/app/api/public/to-dos/request-fresh-link/route.ts +41 -0
- package/dist/dashboard-source/apps/frontend/app/api/revalidate/route.ts +61 -0
- package/dist/dashboard-source/apps/frontend/app/app-shell.tsx +100 -0
- package/dist/dashboard-source/apps/frontend/app/cli-auth/route.ts +261 -0
- package/dist/dashboard-source/apps/frontend/app/embed/[...startStepPath]/embed-client.tsx +393 -0
- package/dist/dashboard-source/apps/frontend/app/embed/[...startStepPath]/loading.tsx +13 -0
- package/dist/dashboard-source/apps/frontend/app/embed/[...startStepPath]/page.tsx +51 -0
- package/dist/dashboard-source/apps/frontend/app/embed/embedded.css +48 -0
- package/dist/dashboard-source/apps/frontend/app/embed/layout.tsx +15 -0
- package/dist/dashboard-source/apps/frontend/app/global.css +13 -0
- package/dist/dashboard-source/apps/frontend/app/layout.tsx +102 -0
- package/dist/dashboard-source/apps/frontend/app/login/layout.tsx +9 -0
- package/dist/dashboard-source/apps/frontend/app/login/login-button.tsx +35 -0
- package/dist/dashboard-source/apps/frontend/app/login/login-form-content.tsx +117 -0
- package/dist/dashboard-source/apps/frontend/app/login/login-form.tsx +30 -0
- package/dist/dashboard-source/apps/frontend/app/login/page.tsx +52 -0
- package/dist/dashboard-source/apps/frontend/app/login/passkey-button.tsx +226 -0
- package/dist/dashboard-source/apps/frontend/app/login/secret-login-form.tsx +91 -0
- package/dist/dashboard-source/apps/frontend/app/manifest.ts +7 -0
- package/dist/dashboard-source/apps/frontend/app/public/form/[token]/error.tsx +63 -0
- package/dist/dashboard-source/apps/frontend/app/public/form/[token]/layout.tsx +34 -0
- package/dist/dashboard-source/apps/frontend/app/public/form/[token]/page.tsx +129 -0
- package/dist/dashboard-source/apps/frontend/app/public/form/[token]/public-form-branding-card.tsx +42 -0
- package/dist/dashboard-source/apps/frontend/app/public/form/[token]/public-form-branding-context.tsx +27 -0
- package/dist/dashboard-source/apps/frontend/app/public/form/[token]/public-form-branding-html.tsx +40 -0
- package/dist/dashboard-source/apps/frontend/app/public/form/[token]/public-todo-client.tsx +553 -0
- package/dist/dashboard-source/apps/frontend/app/public/form/[token]/public-todo-state-content.tsx +27 -0
- package/dist/dashboard-source/apps/frontend/app/public.css +33 -0
- package/dist/dashboard-source/apps/frontend/app/register/passkey/layout.tsx +49 -0
- package/dist/dashboard-source/apps/frontend/app/register/passkey/page.tsx +36 -0
- package/dist/dashboard-source/apps/frontend/app/register/passkey/register-passkey-client.tsx +292 -0
- package/dist/dashboard-source/apps/frontend/app/theme.css +117 -0
- package/dist/dashboard-source/apps/frontend/components/DashboardSection.tsx +693 -0
- package/dist/dashboard-source/apps/frontend/components/Header.tsx +481 -0
- package/dist/dashboard-source/apps/frontend/components/OrgUnitNode.tsx +41 -0
- package/dist/dashboard-source/apps/frontend/components/app-sidebar.tsx +245 -0
- package/dist/dashboard-source/apps/frontend/components/auth-provider.tsx +158 -0
- package/dist/dashboard-source/apps/frontend/components/collections/collection-table-card.tsx +218 -0
- package/dist/dashboard-source/apps/frontend/components/collections/collection-table-header-row.tsx +97 -0
- package/dist/dashboard-source/apps/frontend/components/config-provider.tsx +27 -0
- package/dist/dashboard-source/apps/frontend/components/copy-button.tsx +40 -0
- package/dist/dashboard-source/apps/frontend/components/dashboard-activity.tsx +35 -0
- package/dist/dashboard-source/apps/frontend/components/dashboard-skeleton.tsx +17 -0
- package/dist/dashboard-source/apps/frontend/components/delegation-expiry.tsx +21 -0
- package/dist/dashboard-source/apps/frontend/components/feature-permissions-provider.tsx +28 -0
- package/dist/dashboard-source/apps/frontend/components/form-dialog-content.tsx +66 -0
- package/dist/dashboard-source/apps/frontend/components/frontend-client-plugin-host.tsx +27 -0
- package/dist/dashboard-source/apps/frontend/components/frontend-client-plugin-identify.tsx +33 -0
- package/dist/dashboard-source/apps/frontend/components/frontend-client-plugin-provider.tsx +55 -0
- package/dist/dashboard-source/apps/frontend/components/journey-timeline.tsx +378 -0
- package/dist/dashboard-source/apps/frontend/components/mobile-home-switchboard.tsx +98 -0
- package/dist/dashboard-source/apps/frontend/components/mocks-provider.tsx +27 -0
- package/dist/dashboard-source/apps/frontend/components/notification-bell.tsx +137 -0
- package/dist/dashboard-source/apps/frontend/components/org-settings-provider.tsx +26 -0
- package/dist/dashboard-source/apps/frontend/components/process-workflow-link.tsx +36 -0
- package/dist/dashboard-source/apps/frontend/components/session-reissue.tsx +48 -0
- package/dist/dashboard-source/apps/frontend/components/sidebar-lists.tsx +89 -0
- package/dist/dashboard-source/apps/frontend/components/sidebar-stats-views.tsx +65 -0
- package/dist/dashboard-source/apps/frontend/components/theme-provider.tsx +132 -0
- package/dist/dashboard-source/apps/frontend/components/todo-count-badge.tsx +59 -0
- package/dist/dashboard-source/apps/frontend/components/token-refresh-scheduler.tsx +304 -0
- package/dist/dashboard-source/apps/frontend/components/ui/checkbox.tsx +31 -0
- package/dist/dashboard-source/apps/frontend/components/ui/dialog.tsx +142 -0
- package/dist/dashboard-source/apps/frontend/components/ui/dropdown-menu.tsx +256 -0
- package/dist/dashboard-source/apps/frontend/components/ui/input.tsx +20 -0
- package/dist/dashboard-source/apps/frontend/components/ui/pagination.tsx +59 -0
- package/dist/dashboard-source/apps/frontend/components/ui/sheet.tsx +138 -0
- package/dist/dashboard-source/apps/frontend/components/ui/sidebar.tsx +741 -0
- package/dist/dashboard-source/apps/frontend/components/ui/skeleton.tsx +13 -0
- package/dist/dashboard-source/apps/frontend/components/ui/tab-pill.tsx +30 -0
- package/dist/dashboard-source/apps/frontend/components/ui/table.tsx +115 -0
- package/dist/dashboard-source/apps/frontend/components/ui/tooltip.tsx +60 -0
- package/dist/dashboard-source/apps/frontend/components/without-waiting-badge.tsx +24 -0
- package/dist/dashboard-source/apps/frontend/components/workflow/step-node.tsx +116 -0
- package/dist/dashboard-source/apps/frontend/components/workflow/swimlane-node.tsx +46 -0
- package/dist/dashboard-source/apps/frontend/components/workflow/workflow-edge.tsx +172 -0
- package/dist/dashboard-source/apps/frontend/hooks/use-draft-process-save.ts +189 -0
- package/dist/dashboard-source/apps/frontend/hooks/use-draft-state.ts +79 -0
- package/dist/dashboard-source/apps/frontend/hooks/use-form-metadata.ts +74 -0
- package/dist/dashboard-source/apps/frontend/hooks/use-mobile.ts +27 -0
- package/dist/dashboard-source/apps/frontend/hooks/use-notification-preference.ts +246 -0
- package/dist/dashboard-source/apps/frontend/hooks/use-processes-query.ts +56 -0
- package/dist/dashboard-source/apps/frontend/hooks/use-weekly-execution-stats.ts +101 -0
- package/dist/dashboard-source/apps/frontend/index.d.ts +12 -0
- package/dist/dashboard-source/apps/frontend/instrumentation.node.ts +25 -0
- package/dist/dashboard-source/apps/frontend/instrumentation.ts +19 -0
- package/dist/dashboard-source/apps/frontend/lib/app-icons-metadata.ts +66 -0
- package/dist/dashboard-source/apps/frontend/lib/appsync-events/adapter.ts +128 -0
- package/dist/dashboard-source/apps/frontend/lib/appsync-events/client.ts +355 -0
- package/dist/dashboard-source/apps/frontend/lib/appsync-events/config.ts +18 -0
- package/dist/dashboard-source/apps/frontend/lib/appsync-events/reconnect-registry.ts +34 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/act-on-behalf-menu.ts +9 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/callback-error.ts +26 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/client-session.ts +32 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/client.ts +46 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/config.ts +48 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/delegations.ts +62 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/issuer.ts +164 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/jwt.ts +17 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/logout.ts +35 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/passkeys-menu.ts +9 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/passkeys.ts +117 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/providers.ts +52 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/realtime-session-token.ts +62 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/reauthentication-state.ts +16 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/redirect.ts +105 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/secret-login-presentation.ts +33 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/session-cache-scope.ts +1 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/session-role.ts +6 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/session.ts +277 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/ssr-session.ts +76 -0
- package/dist/dashboard-source/apps/frontend/lib/auth/verify-passkey.ts +95 -0
- package/dist/dashboard-source/apps/frontend/lib/authorization-tabs.ts +19 -0
- package/dist/dashboard-source/apps/frontend/lib/cedar-highlight.ts +116 -0
- package/dist/dashboard-source/apps/frontend/lib/client-plugin-error-reporting.ts +28 -0
- package/dist/dashboard-source/apps/frontend/lib/collections/collection-provider-factory.tsx +1119 -0
- package/dist/dashboard-source/apps/frontend/lib/collections/collection-provider-scope.ts +48 -0
- package/dist/dashboard-source/apps/frontend/lib/collections/database-error-ui.tsx +61 -0
- package/dist/dashboard-source/apps/frontend/lib/collections/draft-process-execution-collection-provider.tsx +32 -0
- package/dist/dashboard-source/apps/frontend/lib/collections/draft-process-execution.ts +161 -0
- package/dist/dashboard-source/apps/frontend/lib/collections/execution-collection-provider.tsx +42 -0
- package/dist/dashboard-source/apps/frontend/lib/collections/execution.ts +215 -0
- package/dist/dashboard-source/apps/frontend/lib/collections/graphql-stream.ts +123 -0
- package/dist/dashboard-source/apps/frontend/lib/collections/process-collection-provider.tsx +30 -0
- package/dist/dashboard-source/apps/frontend/lib/collections/process.ts +123 -0
- package/dist/dashboard-source/apps/frontend/lib/collections/replication-factory.ts +394 -0
- package/dist/dashboard-source/apps/frontend/lib/collections/replication-registry.ts +196 -0
- package/dist/dashboard-source/apps/frontend/lib/collections/rxdb-database-name.ts +19 -0
- package/dist/dashboard-source/apps/frontend/lib/collections/rxdb-lifecycle.ts +368 -0
- package/dist/dashboard-source/apps/frontend/lib/collections/rxdb-provider.tsx +577 -0
- package/dist/dashboard-source/apps/frontend/lib/collections/todo-collection-provider.tsx +30 -0
- package/dist/dashboard-source/apps/frontend/lib/collections/todo.ts +133 -0
- package/dist/dashboard-source/apps/frontend/lib/current-provider-user.ts +30 -0
- package/dist/dashboard-source/apps/frontend/lib/dev/frontend-port-file.ts +41 -0
- package/dist/dashboard-source/apps/frontend/lib/dev/import-completed-events.ts +21 -0
- package/dist/dashboard-source/apps/frontend/lib/dev/import-completed-query-invalidation.tsx +62 -0
- package/dist/dashboard-source/apps/frontend/lib/dev/import-completed-refresh.ts +40 -0
- package/dist/dashboard-source/apps/frontend/lib/effect/error-boundary.tsx +84 -0
- package/dist/dashboard-source/apps/frontend/lib/effect/index.ts +31 -0
- package/dist/dashboard-source/apps/frontend/lib/effect/params.ts +57 -0
- package/dist/dashboard-source/apps/frontend/lib/effect/run-effect.ts +17 -0
- package/dist/dashboard-source/apps/frontend/lib/effect/runtime.ts +168 -0
- package/dist/dashboard-source/apps/frontend/lib/effect/services/access-token.ts +48 -0
- package/dist/dashboard-source/apps/frontend/lib/effect/services/authorization.ts +206 -0
- package/dist/dashboard-source/apps/frontend/lib/effect/services/form-validation.ts +36 -0
- package/dist/dashboard-source/apps/frontend/lib/effect/services/graphql.ts +94 -0
- package/dist/dashboard-source/apps/frontend/lib/effect/services/index.ts +21 -0
- package/dist/dashboard-source/apps/frontend/lib/embed-manifest-store.ts +20 -0
- package/dist/dashboard-source/apps/frontend/lib/embed-manifest.ts +152 -0
- package/dist/dashboard-source/apps/frontend/lib/embed-request-origin.ts +39 -0
- package/dist/dashboard-source/apps/frontend/lib/errors/get-display-error-message.ts +22 -0
- package/dist/dashboard-source/apps/frontend/lib/execution-menu-actions-registry.ts +26 -0
- package/dist/dashboard-source/apps/frontend/lib/feature-permissions.ts +13 -0
- package/dist/dashboard-source/apps/frontend/lib/frontend-boot-health.tsx +161 -0
- package/dist/dashboard-source/apps/frontend/lib/frontend-client-plugin-registry.ts +45 -0
- package/dist/dashboard-source/apps/frontend/lib/frontend-manifest-store.ts +214 -0
- package/dist/dashboard-source/apps/frontend/lib/frontend-manifest.ts +74 -0
- package/dist/dashboard-source/apps/frontend/lib/frontend-plugin-loaders.ts +191 -0
- package/dist/dashboard-source/apps/frontend/lib/generated/gql/fragment-masking.ts +87 -0
- package/dist/dashboard-source/apps/frontend/lib/generated/gql/gql.ts +292 -0
- package/dist/dashboard-source/apps/frontend/lib/generated/gql/graphql.ts +443 -0
- package/dist/dashboard-source/apps/frontend/lib/generated/gql/index.ts +2 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/client-consumer.tsx +23 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/client-error-reporting.ts +268 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/client-provider.tsx +59 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/dashboard-activity.ts +7 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/dependent-lookup-query.ts +78 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/endpoint.ts +26 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/execution-queries.ts +70 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/file-upload-provider.tsx +82 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/graphql-identifiers.ts +10 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/list-queries.ts +327 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/lookup-provider.tsx +81 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/org-chart-operations.ts +63 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/org-chart-queries.ts +67 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/provider-user-queries.ts +65 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/queries.ts +80 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/server-client.ts +15 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/settings-queries.ts +634 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/stats-views-server.ts +16 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/stats-views.ts +33 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/user-queries.ts +138 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/workflow-operations.ts +54 -0
- package/dist/dashboard-source/apps/frontend/lib/graphql/workflow-queries.ts +50 -0
- package/dist/dashboard-source/apps/frontend/lib/mobile-home-view-model.ts +74 -0
- package/dist/dashboard-source/apps/frontend/lib/mobile-shell-policy.ts +124 -0
- package/dist/dashboard-source/apps/frontend/lib/mock-data.ts +364 -0
- package/dist/dashboard-source/apps/frontend/lib/notifications/notification-preference.ts +251 -0
- package/dist/dashboard-source/apps/frontend/lib/notifications/todo-notification-observer.ts +178 -0
- package/dist/dashboard-source/apps/frontend/lib/notifications/todo-notifications-runtime.tsx +14 -0
- package/dist/dashboard-source/apps/frontend/lib/notifications/use-todo-notifications.tsx +103 -0
- package/dist/dashboard-source/apps/frontend/lib/org-chart-data.ts +50 -0
- package/dist/dashboard-source/apps/frontend/lib/org-chart-depth-config.ts +71 -0
- package/dist/dashboard-source/apps/frontend/lib/org-chart-layout.ts +149 -0
- package/dist/dashboard-source/apps/frontend/lib/org-chart-types.ts +17 -0
- package/dist/dashboard-source/apps/frontend/lib/org-identity.ts +57 -0
- package/dist/dashboard-source/apps/frontend/lib/organisation-plugin-loaders.ts +13 -0
- package/dist/dashboard-source/apps/frontend/lib/organisation-plugin-preparation.ts +2 -0
- package/dist/dashboard-source/apps/frontend/lib/plugins-client.tsx +99 -0
- package/dist/dashboard-source/apps/frontend/lib/plugins.ts +1 -0
- package/dist/dashboard-source/apps/frontend/lib/public-todo-form-runtime.ts +9 -0
- package/dist/dashboard-source/apps/frontend/lib/public-todo-graphql-errors.ts +45 -0
- package/dist/dashboard-source/apps/frontend/lib/public-todo-model.ts +200 -0
- package/dist/dashboard-source/apps/frontend/lib/public-todo-server.ts +209 -0
- package/dist/dashboard-source/apps/frontend/lib/query-client.ts +41 -0
- package/dist/dashboard-source/apps/frontend/lib/restart-execution-action.ts +76 -0
- package/dist/dashboard-source/apps/frontend/lib/runtime-config.ts +23 -0
- package/dist/dashboard-source/apps/frontend/lib/telemetry/constants.ts +5 -0
- package/dist/dashboard-source/apps/frontend/lib/telemetry/otlp-config.ts +16 -0
- package/dist/dashboard-source/apps/frontend/lib/telemetry/register-otel.ts +308 -0
- package/dist/dashboard-source/apps/frontend/lib/theme.ts +9 -0
- package/dist/dashboard-source/apps/frontend/lib/todo-types.ts +64 -0
- package/dist/dashboard-source/apps/frontend/lib/todo-utils.ts +144 -0
- package/dist/dashboard-source/apps/frontend/lib/types/org-identity.ts +7 -0
- package/dist/dashboard-source/apps/frontend/lib/utils.ts +16 -0
- package/dist/dashboard-source/apps/frontend/lib/workflow/constants.ts +118 -0
- package/dist/dashboard-source/apps/frontend/lib/workflow/edge-routing.ts +195 -0
- package/dist/dashboard-source/apps/frontend/lib/workflow/form-preview.ts +8 -0
- package/dist/dashboard-source/apps/frontend/lib/workflow/layout.ts +878 -0
- package/dist/dashboard-source/apps/frontend/lib/workflow/types.ts +63 -0
- package/dist/dashboard-source/apps/frontend/next.config.ts +238 -0
- package/dist/dashboard-source/apps/frontend/package.json +71 -0
- package/dist/dashboard-source/apps/frontend/postcss.config.mjs +5 -0
- package/dist/dashboard-source/apps/frontend/proxy.ts +293 -0
- package/dist/dashboard-source/apps/frontend/public/.gitkeep +0 -0
- package/dist/dashboard-source/apps/frontend/public/favicon.ico +0 -0
- package/dist/dashboard-source/apps/frontend/public/processfocus-embed.js +553 -0
- package/dist/dashboard-source/apps/frontend/tsconfig.json +35 -0
- package/dist/dashboard-source/modules/auth-local-cedar/src/index.ts +7 -0
- package/dist/dashboard-source/modules/auth-local-cedar/src/lib/auth-local-cedar.ts +1397 -0
- package/dist/dashboard-source/modules/auth-local-cedar/src/lib/cedar-reload-notifier.ts +18 -0
- package/dist/dashboard-source/modules/auth-local-cedar/src/lib/config-base.ts +346 -0
- package/dist/dashboard-source/modules/auth-local-cedar/src/lib/policy-watcher.ts +172 -0
- package/dist/dashboard-source/modules/auth-policy/src/index.ts +4 -0
- package/dist/dashboard-source/modules/auth-policy/src/lib/auth-policy.ts +263 -0
- package/dist/dashboard-source/modules/auth-policy/src/lib/current-principal.ts +34 -0
- package/dist/dashboard-source/modules/auth-policy/src/lib/errors.ts +47 -0
- package/dist/dashboard-source/modules/auth-policy/src/lib/types.ts +595 -0
- package/dist/dashboard-source/modules/auth-session/src/index.ts +22 -0
- package/dist/dashboard-source/modules/auth-session/src/lib/issuer-url.ts +192 -0
- package/dist/dashboard-source/modules/auth-session/src/lib/realtime-recipient.ts +76 -0
- package/dist/dashboard-source/modules/auth-session/src/lib/session-cache-scope.ts +24 -0
- package/dist/dashboard-source/modules/auth-session/src/lib/subjects.ts +54 -0
- package/dist/dashboard-source/modules/auth-session/src/lib/url.ts +2 -0
- package/dist/dashboard-source/modules/aws-common/src/index.ts +3 -0
- package/dist/dashboard-source/modules/aws-common/src/lib/acm.ts +50 -0
- package/dist/dashboard-source/modules/aws-common/src/lib/otlp-config.ts +66 -0
- package/dist/dashboard-source/modules/aws-common/src/lib/runtime-ssm.ts +28 -0
- package/dist/dashboard-source/modules/effect-json-logger/src/index.ts +1 -0
- package/dist/dashboard-source/modules/effect-json-logger/src/lib/effect-json-logger.ts +65 -0
- package/dist/dashboard-source/modules/form/src/hooks/use-local-storage.ts +78 -0
- package/dist/dashboard-source/modules/form/src/index.ts +20 -0
- package/dist/dashboard-source/modules/form/src/lib/ajv-standard-schema.ts +152 -0
- package/dist/dashboard-source/modules/form/src/lib/client-components-to-form.tsx +1421 -0
- package/dist/dashboard-source/modules/form/src/lib/friendly-validation-message.ts +85 -0
- package/dist/dashboard-source/modules/form/src/lib/lookup-context.tsx +58 -0
- package/dist/dashboard-source/modules/form/src/lib/plugin-registry.ts +34 -0
- package/dist/dashboard-source/modules/form/src/lib/walker.tsx +1554 -0
- package/dist/dashboard-source/modules/form-client-representation/src/lib/client-form-definition.ts +440 -0
- package/dist/dashboard-source/modules/form-client-representation/src/lib/plugin-registry.ts +13 -0
- package/dist/dashboard-source/modules/form-client-representation/src/lib/types.ts +336 -0
- package/dist/dashboard-source/modules/form-rule/src/index.ts +21 -0
- package/dist/dashboard-source/modules/form-rule/src/lib/evaluator.ts +531 -0
- package/dist/dashboard-source/modules/form-rule/src/lib/paths.ts +102 -0
- package/dist/dashboard-source/modules/form-rule/src/lib/types.ts +121 -0
- package/dist/dashboard-source/modules/form-schema/src/index.ts +8 -0
- package/dist/dashboard-source/modules/form-schema/src/lib/annotation-helpers.ts +44 -0
- package/dist/dashboard-source/modules/form-schema/src/lib/deferred-value.ts +21 -0
- package/dist/dashboard-source/modules/form-schema/src/lib/email.ts +50 -0
- package/dist/dashboard-source/modules/form-schema/src/lib/field-count.ts +82 -0
- package/dist/dashboard-source/modules/form-schema/src/lib/form-annotations.ts +58 -0
- package/dist/dashboard-source/modules/form-schema/src/lib/form-schema.ts +975 -0
- package/dist/dashboard-source/modules/form-schema/src/lib/phone.ts +60 -0
- package/dist/dashboard-source/modules/form-schema/src/lib/property-signature.ts +45 -0
- package/dist/dashboard-source/modules/frontend-endpoints/src/endpoint.ts +137 -0
- package/dist/dashboard-source/modules/frontend-endpoints/src/index.ts +11 -0
- package/dist/dashboard-source/modules/frontend-endpoints/src/port-files.ts +219 -0
- package/dist/dashboard-source/modules/frontend-manifest/src/index.ts +2 -0
- package/dist/dashboard-source/modules/frontend-manifest/src/lib/browser-plugin-artifact.ts +201 -0
- package/dist/dashboard-source/modules/frontend-manifest/src/lib/frontend-manifest.ts +408 -0
- package/dist/dashboard-source/modules/frontend-plugin-host/src/index.ts +29 -0
- package/dist/dashboard-source/modules/frontend-plugin-host/src/lib/frontend-plugin-host.ts +288 -0
- package/dist/dashboard-source/modules/openauth/src/client.ts +1045 -0
- package/dist/dashboard-source/modules/openauth/src/error.ts +140 -0
- package/dist/dashboard-source/modules/openauth/src/pkce.ts +40 -0
- package/dist/dashboard-source/modules/openauth/src/random.ts +24 -0
- package/dist/dashboard-source/modules/openauth/src/subject.ts +132 -0
- package/dist/dashboard-source/modules/openauth/src/util.ts +13 -0
- package/dist/dashboard-source/modules/request-time/src/index.ts +1 -0
- package/dist/dashboard-source/modules/request-time/src/lib/request-time.ts +30 -0
- package/dist/dashboard-source/modules/rxdb-collections/generated/draft-process-execution-schema.json +45 -0
- package/dist/dashboard-source/modules/rxdb-collections/generated/execution-schema.json +217 -0
- package/dist/dashboard-source/modules/rxdb-collections/generated/process-schema.json +77 -0
- package/dist/dashboard-source/modules/rxdb-collections/generated/todo-schema.json +94 -0
- package/dist/dashboard-source/modules/rxdb-collections/src/index.ts +2 -0
- package/dist/dashboard-source/modules/rxdb-collections/src/lib/rxdb-collections.ts +181 -0
- package/dist/dashboard-source/modules/rxdb-collections/src/lib/to-rxdb-schema.ts +166 -0
- package/dist/dashboard-source/modules/shadcn-components/src/index.ts +60 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/boolean-field.tsx +73 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/calendar-slot-field.tsx +808 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/date-field.tsx +127 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/field-set.tsx +14 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/file-field.tsx +321 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/file-upload-context.tsx +45 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/form-context.tsx +19 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/lookup-field.tsx +394 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/radio-field.tsx +96 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/select-field.tsx +106 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/text-field.tsx +245 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/ui/button.tsx +63 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/ui/checkbox.tsx +31 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/ui/command.tsx +101 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/ui/field.tsx +275 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/ui/input.tsx +29 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/ui/label.tsx +23 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/ui/popover.tsx +31 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/ui/separator.tsx +27 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/ui/textarea.tsx +19 -0
- package/dist/dashboard-source/modules/shadcn-components/src/lib/utils/utils.ts +4 -0
- package/dist/dashboard-source.json +70 -0
- package/dist/graphql-server.mjs +1319 -0
- package/dist/job-worker.mjs +989 -0
- package/dist/main.mjs +495 -0
- package/dist/prepare-dashboard.mjs +35 -0
- package/dist/resources/cedar/policies.cedar +315 -0
- package/dist/resources/cedar/schema.cedarschema +276 -0
- package/dist/resources/graphql-schema/rxdb.graphql +401 -0
- package/dist/resources/graphql-schema/system.graphql +1200 -0
- package/package.json +98 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ResultOf, DocumentTypeDecoration, TypedDocumentNode } from '@graphql-typed-document-node/core';
|
|
3
|
+
import type { FragmentDefinitionNode } from 'graphql';
|
|
4
|
+
import type { Incremental } from './graphql.ts';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export type FragmentType<TDocumentType extends DocumentTypeDecoration<any, any>> = TDocumentType extends DocumentTypeDecoration<
|
|
8
|
+
infer TType,
|
|
9
|
+
any
|
|
10
|
+
>
|
|
11
|
+
? [TType] extends [{ ' $fragmentName'?: infer TKey }]
|
|
12
|
+
? TKey extends string
|
|
13
|
+
? { ' $fragmentRefs'?: { [key in TKey]: TType } }
|
|
14
|
+
: never
|
|
15
|
+
: never
|
|
16
|
+
: never;
|
|
17
|
+
|
|
18
|
+
// return non-nullable if `fragmentType` is non-nullable
|
|
19
|
+
export function useFragment<TType>(
|
|
20
|
+
_documentNode: DocumentTypeDecoration<TType, any>,
|
|
21
|
+
fragmentType: FragmentType<DocumentTypeDecoration<TType, any>>
|
|
22
|
+
): TType;
|
|
23
|
+
// return nullable if `fragmentType` is undefined
|
|
24
|
+
export function useFragment<TType>(
|
|
25
|
+
_documentNode: DocumentTypeDecoration<TType, any>,
|
|
26
|
+
fragmentType: FragmentType<DocumentTypeDecoration<TType, any>> | undefined
|
|
27
|
+
): TType | undefined;
|
|
28
|
+
// return nullable if `fragmentType` is nullable
|
|
29
|
+
export function useFragment<TType>(
|
|
30
|
+
_documentNode: DocumentTypeDecoration<TType, any>,
|
|
31
|
+
fragmentType: FragmentType<DocumentTypeDecoration<TType, any>> | null
|
|
32
|
+
): TType | null;
|
|
33
|
+
// return nullable if `fragmentType` is nullable or undefined
|
|
34
|
+
export function useFragment<TType>(
|
|
35
|
+
_documentNode: DocumentTypeDecoration<TType, any>,
|
|
36
|
+
fragmentType: FragmentType<DocumentTypeDecoration<TType, any>> | null | undefined
|
|
37
|
+
): TType | null | undefined;
|
|
38
|
+
// return array of non-nullable if `fragmentType` is array of non-nullable
|
|
39
|
+
export function useFragment<TType>(
|
|
40
|
+
_documentNode: DocumentTypeDecoration<TType, any>,
|
|
41
|
+
fragmentType: Array<FragmentType<DocumentTypeDecoration<TType, any>>>
|
|
42
|
+
): Array<TType>;
|
|
43
|
+
// return array of nullable if `fragmentType` is array of nullable
|
|
44
|
+
export function useFragment<TType>(
|
|
45
|
+
_documentNode: DocumentTypeDecoration<TType, any>,
|
|
46
|
+
fragmentType: Array<FragmentType<DocumentTypeDecoration<TType, any>>> | null | undefined
|
|
47
|
+
): Array<TType> | null | undefined;
|
|
48
|
+
// return readonly array of non-nullable if `fragmentType` is array of non-nullable
|
|
49
|
+
export function useFragment<TType>(
|
|
50
|
+
_documentNode: DocumentTypeDecoration<TType, any>,
|
|
51
|
+
fragmentType: ReadonlyArray<FragmentType<DocumentTypeDecoration<TType, any>>>
|
|
52
|
+
): ReadonlyArray<TType>;
|
|
53
|
+
// return readonly array of nullable if `fragmentType` is array of nullable
|
|
54
|
+
export function useFragment<TType>(
|
|
55
|
+
_documentNode: DocumentTypeDecoration<TType, any>,
|
|
56
|
+
fragmentType: ReadonlyArray<FragmentType<DocumentTypeDecoration<TType, any>>> | null | undefined
|
|
57
|
+
): ReadonlyArray<TType> | null | undefined;
|
|
58
|
+
export function useFragment<TType>(
|
|
59
|
+
_documentNode: DocumentTypeDecoration<TType, any>,
|
|
60
|
+
fragmentType: FragmentType<DocumentTypeDecoration<TType, any>> | Array<FragmentType<DocumentTypeDecoration<TType, any>>> | ReadonlyArray<FragmentType<DocumentTypeDecoration<TType, any>>> | null | undefined
|
|
61
|
+
): TType | Array<TType> | ReadonlyArray<TType> | null | undefined {
|
|
62
|
+
return fragmentType as any;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
export function makeFragmentData<
|
|
67
|
+
F extends DocumentTypeDecoration<any, any>,
|
|
68
|
+
FT extends ResultOf<F>
|
|
69
|
+
>(data: FT, _fragment: F): FragmentType<F> {
|
|
70
|
+
return data as FragmentType<F>;
|
|
71
|
+
}
|
|
72
|
+
export function isFragmentReady<TQuery, TFrag>(
|
|
73
|
+
queryNode: DocumentTypeDecoration<TQuery, any>,
|
|
74
|
+
fragmentNode: TypedDocumentNode<TFrag>,
|
|
75
|
+
data: FragmentType<TypedDocumentNode<Incremental<TFrag>, any>> | null | undefined
|
|
76
|
+
): data is FragmentType<typeof fragmentNode> {
|
|
77
|
+
const deferredFields = (queryNode as { __meta__?: { deferredFields: Record<string, (keyof TFrag)[]> } }).__meta__
|
|
78
|
+
?.deferredFields;
|
|
79
|
+
|
|
80
|
+
if (!deferredFields) return true;
|
|
81
|
+
|
|
82
|
+
const fragDef = fragmentNode.definitions[0] as FragmentDefinitionNode | undefined;
|
|
83
|
+
const fragName = fragDef?.name?.value;
|
|
84
|
+
|
|
85
|
+
const fields = (fragName && deferredFields[fragName]) || [];
|
|
86
|
+
return fields.length > 0 && fields.every(field => data && field in data);
|
|
87
|
+
}
|
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import * as types from './graphql.ts';
|
|
3
|
+
import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Map of all GraphQL operations in the project.
|
|
7
|
+
*
|
|
8
|
+
* This map has several performance disadvantages:
|
|
9
|
+
* 1. It is not tree-shakeable, so it will include all operations in the project.
|
|
10
|
+
* 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.
|
|
11
|
+
* 3. It does not support dead code elimination, so it will add unused operations.
|
|
12
|
+
*
|
|
13
|
+
* Therefore it is highly recommended to use the babel or swc plugin for production.
|
|
14
|
+
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
|
|
15
|
+
*/
|
|
16
|
+
type Documents = {
|
|
17
|
+
"\n query PullDraftProcessExecution($checkpoint: PullCheckpoint, $limit: Int!) {\n pullDraftProcessExecution(checkpoint: $checkpoint, limit: $limit) {\n documents {\n id\n processId\n name\n startStepPath\n state\n fieldsCompleted\n totalFields\n updatedAt\n deleted\n lastSaved\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n ": typeof types.PullDraftProcessExecutionDocument,
|
|
18
|
+
"\n subscription StreamDraftProcessExecution {\n streamDraftProcessExecution {\n documents {\n id\n processId\n name\n startStepPath\n state\n fieldsCompleted\n totalFields\n updatedAt\n deleted\n lastSaved\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n ": typeof types.StreamDraftProcessExecutionDocument,
|
|
19
|
+
"\n query PullExecution($checkpoint: PullCheckpoint, $limit: Int!, $includeRunning: Boolean, $historySince: Float) {\n pullExecution(checkpoint: $checkpoint, limit: $limit, includeRunning: $includeRunning, historySince: $historySince) {\n documents {\n id\n updatedAt\n processStateId\n withoutWaiting\n processName\n processPath\n canAbandonExecution\n canRestartExecution\n status\n failureReason\n abandonedReason\n startedAt\n finishedAt\n completedSteps\n totalSteps\n durationMs\n estimatedCompletionAt\n slaWarningAt\n slaTargetAt\n deleted\n steps {\n id\n name\n path\n status\n failureReason\n role {\n id\n name\n }\n submittedViaEmbeddedForm\n externalSubmitterEmail\n assignedProviderUserEmail\n providerUser {\n id\n firstName\n lastName\n picture\n orgUnit\n }\n startedAt\n completedAt\n }\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n ": typeof types.PullExecutionDocument,
|
|
20
|
+
"\n subscription StreamExecution {\n streamExecution {\n documents {\n id\n updatedAt\n processStateId\n withoutWaiting\n processName\n processPath\n canAbandonExecution\n canRestartExecution\n status\n failureReason\n abandonedReason\n startedAt\n finishedAt\n completedSteps\n totalSteps\n durationMs\n estimatedCompletionAt\n slaWarningAt\n slaTargetAt\n deleted\n steps {\n id\n name\n path\n status\n failureReason\n role {\n id\n name\n }\n submittedViaEmbeddedForm\n externalSubmitterEmail\n assignedProviderUserEmail\n providerUser {\n id\n firstName\n lastName\n picture\n orgUnit\n }\n startedAt\n completedAt\n }\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n ": typeof types.StreamExecutionDocument,
|
|
21
|
+
"\n query PullProcess($checkpoint: PullCheckpoint, $limit: Int!) {\n pullProcess(checkpoint: $checkpoint, limit: $limit) {\n documents {\n id\n updatedAt\n name\n path\n activeInstances\n category\n duration\n formFieldCount\n purpose\n isFavorite\n orgUnit {\n id\n name\n level\n }\n canSkipScheduleWaits\n startStepPath\n deleted\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n ": typeof types.PullProcessDocument,
|
|
22
|
+
"\n subscription StreamProcess {\n streamProcess {\n documents {\n id\n updatedAt\n name\n path\n activeInstances\n category\n duration\n formFieldCount\n purpose\n isFavorite\n orgUnit {\n id\n name\n level\n }\n canSkipScheduleWaits\n startStepPath\n deleted\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n ": typeof types.StreamProcessDocument,
|
|
23
|
+
"\n query PullTodo($checkpoint: PullCheckpoint, $limit: Int!) {\n pullTodo(checkpoint: $checkpoint, limit: $limit) {\n documents {\n id\n updatedAt\n processExecutionId\n flowId\n processName\n stepName\n stepPath\n role\n description\n status\n priority\n assignedAt\n dueAt\n formComplexity\n deleted\n summary {\n label\n value\n }\n }\n checkpoint {\n id\n updatedAt\n mode\n backfillHead {\n id\n updatedAt\n }\n }\n }\n }\n ": typeof types.PullTodoDocument,
|
|
24
|
+
"\n subscription StreamTodo {\n streamTodo {\n documents {\n id\n updatedAt\n processExecutionId\n flowId\n processName\n stepName\n stepPath\n role\n description\n status\n priority\n assignedAt\n dueAt\n formComplexity\n deleted\n summary {\n label\n value\n }\n }\n checkpoint {\n id\n updatedAt\n mode\n }\n }\n }\n ": typeof types.StreamTodoDocument,
|
|
25
|
+
"\n query DashboardActivity {\n __typename\n }\n": typeof types.DashboardActivityDocument,
|
|
26
|
+
"\n query ProcessStateForExecution($executionId: ID!) {\n processStateForExecution(executionId: $executionId)\n }\n": typeof types.ProcessStateForExecutionDocument,
|
|
27
|
+
"\n mutation RestartExecution($executionId: ID!) {\n restartExecution(executionId: $executionId) {\n success\n restartedCount\n error\n }\n }\n": typeof types.RestartExecutionDocument,
|
|
28
|
+
"\n mutation AbandonExecution($executionId: ID!, $reason: String) {\n abandonExecution(executionId: $executionId, reason: $reason) {\n success\n error\n }\n }\n": typeof types.AbandonExecutionDocument,
|
|
29
|
+
"\n query AvailableLists {\n availableLists {\n id\n path\n name\n detailName\n canCreate\n purpose\n queryName\n outputColumns {\n field\n label\n description\n visibleInList\n sortable\n }\n itemQueryName\n updateMutationName\n updateInputTypeName\n deleteMutationName\n editableColumns {\n field\n label\n description\n }\n }\n }\n": typeof types.AvailableListsDocument,
|
|
30
|
+
"\n query ListFormMetadata($listPath: String!) {\n listFormMetadata(listPath: $listPath) {\n listPath\n listName\n updateMutationName\n updateInputTypeName\n deleteMutationName\n formDefinition\n defaultValues\n jsonSchema\n }\n }\n": typeof types.ListFormMetadataDocument,
|
|
31
|
+
"\n mutation ExportListCsv(\n $listPath: String!\n $filter: String\n $sort: ListSortInput\n ) {\n exportListCsv(listPath: $listPath, filter: $filter, sort: $sort) {\n downloadUrl\n }\n }\n ": typeof types.ExportListCsvDocument,
|
|
32
|
+
"\n query ListCreateFormMetadata($listPath: String!) {\n listCreateFormMetadata(listPath: $listPath) {\n createMutationName\n createInputTypeName\n formDefinition\n defaultValues\n jsonSchema\n }\n }\n": typeof types.ListCreateFormMetadataDocument,
|
|
33
|
+
"\n query OrgChartData {\n orgLevels {\n level\n maxDepth\n }\n org {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n": typeof types.OrgChartDataDocument,
|
|
34
|
+
"\n query CurrentProviderUser {\n currentProviderUser {\n id\n email\n name\n firstName\n lastName\n picture\n locale\n permittedRoles {\n id\n name\n path\n }\n }\n }\n": typeof types.CurrentProviderUserDocument,
|
|
35
|
+
"\n mutation RequestRole($rolePath: String!) {\n requestRole(rolePath: $rolePath) {\n success\n rolePath\n error\n }\n }\n": typeof types.RequestRoleDocument,
|
|
36
|
+
"\n query OrgIdentity {\n org {\n id\n name\n acronym\n startDayOfWeek\n }\n }\n": typeof types.OrgIdentityDocument,
|
|
37
|
+
"\n query CedarPolicies {\n cedarPolicies {\n policies\n schema\n }\n }\n": typeof types.CedarPoliciesDocument,
|
|
38
|
+
"\n query FormMetadata($stepPath: String!, $todoId: ID) {\n formMetadata(stepPath: $stepPath, todoId: $todoId) {\n stepPath\n processName\n stepName\n processPath\n mutationName\n inputTypeName\n completeMutationName\n totalFields\n formDefinition\n defaultValues\n jsonSchema\n }\n }\n": typeof types.FormMetadataDocument,
|
|
39
|
+
"\n query LookupSuggestions($stepPath: String!, $field: String!, $filter: String, $limit: Int, $todoId: ID) {\n lookupSuggestions(stepPath: $stepPath, field: $field, filter: $filter, limit: $limit, todoId: $todoId) {\n value\n label\n }\n }\n": typeof types.LookupSuggestionsDocument,
|
|
40
|
+
"\n query CalendarSlots($stepPath: String!, $field: String!, $todoId: ID) {\n calendarSlots(stepPath: $stepPath, field: $field, todoId: $todoId) {\n value\n label\n startsAt\n endsAt\n }\n }\n": typeof types.CalendarSlotsDocument,
|
|
41
|
+
"\n query AllUsers($page: Int!, $limit: Int!) {\n allUsers(page: $page, limit: $limit) {\n items {\n id\n provider\n sub\n lastLoggedIn\n isProviderUser\n providerUserName\n providerUserEmail\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n": typeof types.AllUsersDocument,
|
|
42
|
+
"\n query AllOAuthProviders($page: Int!, $limit: Int!) {\n allOAuthProviders(page: $page, limit: $limit) {\n items {\n id\n providerName\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n": typeof types.AllOAuthProvidersDocument,
|
|
43
|
+
"\n query AllInvitations(\n $page: Int!\n $limit: Int!\n $status: InvitationLifecycleStatus\n ) {\n allInvitations(page: $page, limit: $limit, status: $status) {\n items {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n": typeof types.AllInvitationsDocument,
|
|
44
|
+
"\n query InvitationDetail($invitationId: ID!) {\n invitationDetail(invitationId: $invitationId) {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n }\n": typeof types.InvitationDetailDocument,
|
|
45
|
+
"\n query AllSettingsRoles($page: Int!, $limit: Int!) {\n allRoles(page: $page, limit: $limit) {\n items {\n id\n name\n path\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n": typeof types.AllSettingsRolesDocument,
|
|
46
|
+
"\n query AllInvitationRoles($page: Int!, $limit: Int!) {\n allRoles(page: $page, limit: $limit) {\n items {\n id\n name\n path\n }\n totalCount\n }\n }\n": typeof types.AllInvitationRolesDocument,
|
|
47
|
+
"\n query AllSettingsData(\n $usersPage: Int!\n $usersLimit: Int!\n $invitationsPage: Int!\n $invitationsLimit: Int!\n $rolesPage: Int!\n $rolesLimit: Int!\n $providersPage: Int!\n $providersLimit: Int!\n ) {\n allUsers(page: $usersPage, limit: $usersLimit) {\n items {\n id\n provider\n sub\n lastLoggedIn\n isProviderUser\n providerUserName\n providerUserEmail\n }\n totalCount\n page\n limit\n hasNextPage\n }\n allInvitations(\n page: $invitationsPage\n limit: $invitationsLimit\n status: PENDING\n ) {\n items {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n totalCount\n page\n limit\n hasNextPage\n }\n allRoles(page: $rolesPage, limit: $rolesLimit) {\n items {\n id\n name\n path\n }\n totalCount\n page\n limit\n hasNextPage\n }\n allOAuthProviders(page: $providersPage, limit: $providersLimit) {\n items {\n id\n providerName\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n": typeof types.AllSettingsDataDocument,
|
|
48
|
+
"\n mutation CreateInvitation($email: String!, $roleIds: [ID!]!) {\n createInvitation(input: { email: $email, roleIds: $roleIds }) {\n __typename\n ... on SaveInvitationSuccess {\n invitation {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n }\n ... on SaveInvitationFailure {\n error\n }\n }\n }\n": typeof types.CreateInvitationDocument,
|
|
49
|
+
"\n mutation UpdateInvitation(\n $invitationId: ID!\n $email: String!\n $roleIds: [ID!]!\n ) {\n updateInvitation(\n invitationId: $invitationId\n input: { email: $email, roleIds: $roleIds }\n ) {\n __typename\n ... on SaveInvitationSuccess {\n invitation {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n }\n ... on SaveInvitationFailure {\n error\n }\n }\n }\n": typeof types.UpdateInvitationDocument,
|
|
50
|
+
"\n mutation DeleteInvitation($invitationId: ID!) {\n deleteInvitation(invitationId: $invitationId) {\n success\n error\n }\n }\n": typeof types.DeleteInvitationDocument,
|
|
51
|
+
"\n mutation GenerateRegistrationLink($invitationId: ID!) {\n generateRegistrationLink(invitationId: $invitationId) {\n __typename\n ... on RegistrationLinkActionSuccess {\n registrationLinkUrl\n expiresAt\n invitation {\n id\n email\n status\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n roles {\n id\n name\n path\n }\n }\n }\n ... on RegistrationLinkActionFailure {\n error\n }\n }\n }\n": typeof types.GenerateRegistrationLinkDocument,
|
|
52
|
+
"\n mutation RevealRegistrationLink($invitationId: ID!) {\n revealRegistrationLink(invitationId: $invitationId) {\n __typename\n ... on RegistrationLinkActionSuccess {\n registrationLinkUrl\n expiresAt\n invitation {\n id\n email\n status\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n roles {\n id\n name\n path\n }\n }\n }\n ... on RegistrationLinkActionFailure {\n error\n }\n }\n }\n": typeof types.RevealRegistrationLinkDocument,
|
|
53
|
+
"\n mutation RotateRegistrationLink($invitationId: ID!) {\n rotateRegistrationLink(invitationId: $invitationId) {\n __typename\n ... on RegistrationLinkActionSuccess {\n registrationLinkUrl\n expiresAt\n invitation {\n id\n email\n status\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n roles {\n id\n name\n path\n }\n }\n }\n ... on RegistrationLinkActionFailure {\n error\n }\n }\n }\n": typeof types.RotateRegistrationLinkDocument,
|
|
54
|
+
"\n mutation RevokeRegistrationLink($invitationId: ID!) {\n revokeRegistrationLink(invitationId: $invitationId) {\n __typename\n ... on SaveInvitationSuccess {\n invitation {\n id\n email\n status\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n roles {\n id\n name\n path\n }\n }\n }\n ... on SaveInvitationFailure {\n error\n }\n }\n }\n": typeof types.RevokeRegistrationLinkDocument,
|
|
55
|
+
"\n query UserDetail($userId: ID!) {\n userDetail(userId: $userId) {\n id\n provider\n sub\n lastLoggedIn\n providerUser {\n id\n email\n name\n firstName\n lastName\n roleIds\n notificationPreferences {\n notifications {\n todoAssignment {\n email\n }\n executionFailure {\n email\n }\n }\n }\n }\n }\n }\n": typeof types.UserDetailDocument,
|
|
56
|
+
"\n query AllRoles($page: Int!, $limit: Int!) {\n allRoles(page: $page, limit: $limit) {\n items {\n id\n name\n path\n }\n totalCount\n }\n }\n": typeof types.AllRolesDocument,
|
|
57
|
+
"\n mutation SaveProviderUser(\n $providerUserId: ID!\n $userId: ID!\n $roleIds: [ID!]!\n $preferences: NotificationPreferencesInput!\n ) {\n updateProviderUser(\n providerUserId: $providerUserId\n input: {\n roleIds: $roleIds\n }\n ) {\n __typename\n ... on UpdateProviderUserSuccess {\n providerUser {\n id\n email\n name\n firstName\n lastName\n roleIds\n }\n }\n ... on UpdateProviderUserFailure {\n error\n }\n }\n updateNotificationPreferences(userId: $userId, preferences: $preferences) {\n __typename\n ... on UpdateNotificationPreferencesSuccess {\n preferences {\n notifications {\n todoAssignment {\n email\n }\n executionFailure {\n email\n }\n }\n }\n }\n ... on UpdateNotificationPreferencesFailure {\n error\n }\n }\n }\n": typeof types.SaveProviderUserDocument,
|
|
58
|
+
"\n query ProcessWorkflow($processPath: String!) {\n processWorkflow(processPath: $processPath) {\n processId\n processName\n processPath\n processPurpose\n steps {\n id\n name\n path\n purpose\n processId\n role {\n id\n name\n path\n }\n phase {\n id\n name\n path\n order\n }\n isStartStep\n isEmbedded\n column\n }\n flows {\n id\n sourceStepId\n targetStepId\n condition\n isElse\n isOnError\n taggedErrors\n schedule\n }\n responsibilities {\n roleId\n roleName\n rolePath\n responsibility\n order\n }\n }\n }\n": typeof types.ProcessWorkflowDocument,
|
|
59
|
+
};
|
|
60
|
+
const documents: Documents = {
|
|
61
|
+
"\n query PullDraftProcessExecution($checkpoint: PullCheckpoint, $limit: Int!) {\n pullDraftProcessExecution(checkpoint: $checkpoint, limit: $limit) {\n documents {\n id\n processId\n name\n startStepPath\n state\n fieldsCompleted\n totalFields\n updatedAt\n deleted\n lastSaved\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n ": types.PullDraftProcessExecutionDocument,
|
|
62
|
+
"\n subscription StreamDraftProcessExecution {\n streamDraftProcessExecution {\n documents {\n id\n processId\n name\n startStepPath\n state\n fieldsCompleted\n totalFields\n updatedAt\n deleted\n lastSaved\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n ": types.StreamDraftProcessExecutionDocument,
|
|
63
|
+
"\n query PullExecution($checkpoint: PullCheckpoint, $limit: Int!, $includeRunning: Boolean, $historySince: Float) {\n pullExecution(checkpoint: $checkpoint, limit: $limit, includeRunning: $includeRunning, historySince: $historySince) {\n documents {\n id\n updatedAt\n processStateId\n withoutWaiting\n processName\n processPath\n canAbandonExecution\n canRestartExecution\n status\n failureReason\n abandonedReason\n startedAt\n finishedAt\n completedSteps\n totalSteps\n durationMs\n estimatedCompletionAt\n slaWarningAt\n slaTargetAt\n deleted\n steps {\n id\n name\n path\n status\n failureReason\n role {\n id\n name\n }\n submittedViaEmbeddedForm\n externalSubmitterEmail\n assignedProviderUserEmail\n providerUser {\n id\n firstName\n lastName\n picture\n orgUnit\n }\n startedAt\n completedAt\n }\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n ": types.PullExecutionDocument,
|
|
64
|
+
"\n subscription StreamExecution {\n streamExecution {\n documents {\n id\n updatedAt\n processStateId\n withoutWaiting\n processName\n processPath\n canAbandonExecution\n canRestartExecution\n status\n failureReason\n abandonedReason\n startedAt\n finishedAt\n completedSteps\n totalSteps\n durationMs\n estimatedCompletionAt\n slaWarningAt\n slaTargetAt\n deleted\n steps {\n id\n name\n path\n status\n failureReason\n role {\n id\n name\n }\n submittedViaEmbeddedForm\n externalSubmitterEmail\n assignedProviderUserEmail\n providerUser {\n id\n firstName\n lastName\n picture\n orgUnit\n }\n startedAt\n completedAt\n }\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n ": types.StreamExecutionDocument,
|
|
65
|
+
"\n query PullProcess($checkpoint: PullCheckpoint, $limit: Int!) {\n pullProcess(checkpoint: $checkpoint, limit: $limit) {\n documents {\n id\n updatedAt\n name\n path\n activeInstances\n category\n duration\n formFieldCount\n purpose\n isFavorite\n orgUnit {\n id\n name\n level\n }\n canSkipScheduleWaits\n startStepPath\n deleted\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n ": types.PullProcessDocument,
|
|
66
|
+
"\n subscription StreamProcess {\n streamProcess {\n documents {\n id\n updatedAt\n name\n path\n activeInstances\n category\n duration\n formFieldCount\n purpose\n isFavorite\n orgUnit {\n id\n name\n level\n }\n canSkipScheduleWaits\n startStepPath\n deleted\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n ": types.StreamProcessDocument,
|
|
67
|
+
"\n query PullTodo($checkpoint: PullCheckpoint, $limit: Int!) {\n pullTodo(checkpoint: $checkpoint, limit: $limit) {\n documents {\n id\n updatedAt\n processExecutionId\n flowId\n processName\n stepName\n stepPath\n role\n description\n status\n priority\n assignedAt\n dueAt\n formComplexity\n deleted\n summary {\n label\n value\n }\n }\n checkpoint {\n id\n updatedAt\n mode\n backfillHead {\n id\n updatedAt\n }\n }\n }\n }\n ": types.PullTodoDocument,
|
|
68
|
+
"\n subscription StreamTodo {\n streamTodo {\n documents {\n id\n updatedAt\n processExecutionId\n flowId\n processName\n stepName\n stepPath\n role\n description\n status\n priority\n assignedAt\n dueAt\n formComplexity\n deleted\n summary {\n label\n value\n }\n }\n checkpoint {\n id\n updatedAt\n mode\n }\n }\n }\n ": types.StreamTodoDocument,
|
|
69
|
+
"\n query DashboardActivity {\n __typename\n }\n": types.DashboardActivityDocument,
|
|
70
|
+
"\n query ProcessStateForExecution($executionId: ID!) {\n processStateForExecution(executionId: $executionId)\n }\n": types.ProcessStateForExecutionDocument,
|
|
71
|
+
"\n mutation RestartExecution($executionId: ID!) {\n restartExecution(executionId: $executionId) {\n success\n restartedCount\n error\n }\n }\n": types.RestartExecutionDocument,
|
|
72
|
+
"\n mutation AbandonExecution($executionId: ID!, $reason: String) {\n abandonExecution(executionId: $executionId, reason: $reason) {\n success\n error\n }\n }\n": types.AbandonExecutionDocument,
|
|
73
|
+
"\n query AvailableLists {\n availableLists {\n id\n path\n name\n detailName\n canCreate\n purpose\n queryName\n outputColumns {\n field\n label\n description\n visibleInList\n sortable\n }\n itemQueryName\n updateMutationName\n updateInputTypeName\n deleteMutationName\n editableColumns {\n field\n label\n description\n }\n }\n }\n": types.AvailableListsDocument,
|
|
74
|
+
"\n query ListFormMetadata($listPath: String!) {\n listFormMetadata(listPath: $listPath) {\n listPath\n listName\n updateMutationName\n updateInputTypeName\n deleteMutationName\n formDefinition\n defaultValues\n jsonSchema\n }\n }\n": types.ListFormMetadataDocument,
|
|
75
|
+
"\n mutation ExportListCsv(\n $listPath: String!\n $filter: String\n $sort: ListSortInput\n ) {\n exportListCsv(listPath: $listPath, filter: $filter, sort: $sort) {\n downloadUrl\n }\n }\n ": types.ExportListCsvDocument,
|
|
76
|
+
"\n query ListCreateFormMetadata($listPath: String!) {\n listCreateFormMetadata(listPath: $listPath) {\n createMutationName\n createInputTypeName\n formDefinition\n defaultValues\n jsonSchema\n }\n }\n": types.ListCreateFormMetadataDocument,
|
|
77
|
+
"\n query OrgChartData {\n orgLevels {\n level\n maxDepth\n }\n org {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n": types.OrgChartDataDocument,
|
|
78
|
+
"\n query CurrentProviderUser {\n currentProviderUser {\n id\n email\n name\n firstName\n lastName\n picture\n locale\n permittedRoles {\n id\n name\n path\n }\n }\n }\n": types.CurrentProviderUserDocument,
|
|
79
|
+
"\n mutation RequestRole($rolePath: String!) {\n requestRole(rolePath: $rolePath) {\n success\n rolePath\n error\n }\n }\n": types.RequestRoleDocument,
|
|
80
|
+
"\n query OrgIdentity {\n org {\n id\n name\n acronym\n startDayOfWeek\n }\n }\n": types.OrgIdentityDocument,
|
|
81
|
+
"\n query CedarPolicies {\n cedarPolicies {\n policies\n schema\n }\n }\n": types.CedarPoliciesDocument,
|
|
82
|
+
"\n query FormMetadata($stepPath: String!, $todoId: ID) {\n formMetadata(stepPath: $stepPath, todoId: $todoId) {\n stepPath\n processName\n stepName\n processPath\n mutationName\n inputTypeName\n completeMutationName\n totalFields\n formDefinition\n defaultValues\n jsonSchema\n }\n }\n": types.FormMetadataDocument,
|
|
83
|
+
"\n query LookupSuggestions($stepPath: String!, $field: String!, $filter: String, $limit: Int, $todoId: ID) {\n lookupSuggestions(stepPath: $stepPath, field: $field, filter: $filter, limit: $limit, todoId: $todoId) {\n value\n label\n }\n }\n": types.LookupSuggestionsDocument,
|
|
84
|
+
"\n query CalendarSlots($stepPath: String!, $field: String!, $todoId: ID) {\n calendarSlots(stepPath: $stepPath, field: $field, todoId: $todoId) {\n value\n label\n startsAt\n endsAt\n }\n }\n": types.CalendarSlotsDocument,
|
|
85
|
+
"\n query AllUsers($page: Int!, $limit: Int!) {\n allUsers(page: $page, limit: $limit) {\n items {\n id\n provider\n sub\n lastLoggedIn\n isProviderUser\n providerUserName\n providerUserEmail\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n": types.AllUsersDocument,
|
|
86
|
+
"\n query AllOAuthProviders($page: Int!, $limit: Int!) {\n allOAuthProviders(page: $page, limit: $limit) {\n items {\n id\n providerName\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n": types.AllOAuthProvidersDocument,
|
|
87
|
+
"\n query AllInvitations(\n $page: Int!\n $limit: Int!\n $status: InvitationLifecycleStatus\n ) {\n allInvitations(page: $page, limit: $limit, status: $status) {\n items {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n": types.AllInvitationsDocument,
|
|
88
|
+
"\n query InvitationDetail($invitationId: ID!) {\n invitationDetail(invitationId: $invitationId) {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n }\n": types.InvitationDetailDocument,
|
|
89
|
+
"\n query AllSettingsRoles($page: Int!, $limit: Int!) {\n allRoles(page: $page, limit: $limit) {\n items {\n id\n name\n path\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n": types.AllSettingsRolesDocument,
|
|
90
|
+
"\n query AllInvitationRoles($page: Int!, $limit: Int!) {\n allRoles(page: $page, limit: $limit) {\n items {\n id\n name\n path\n }\n totalCount\n }\n }\n": types.AllInvitationRolesDocument,
|
|
91
|
+
"\n query AllSettingsData(\n $usersPage: Int!\n $usersLimit: Int!\n $invitationsPage: Int!\n $invitationsLimit: Int!\n $rolesPage: Int!\n $rolesLimit: Int!\n $providersPage: Int!\n $providersLimit: Int!\n ) {\n allUsers(page: $usersPage, limit: $usersLimit) {\n items {\n id\n provider\n sub\n lastLoggedIn\n isProviderUser\n providerUserName\n providerUserEmail\n }\n totalCount\n page\n limit\n hasNextPage\n }\n allInvitations(\n page: $invitationsPage\n limit: $invitationsLimit\n status: PENDING\n ) {\n items {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n totalCount\n page\n limit\n hasNextPage\n }\n allRoles(page: $rolesPage, limit: $rolesLimit) {\n items {\n id\n name\n path\n }\n totalCount\n page\n limit\n hasNextPage\n }\n allOAuthProviders(page: $providersPage, limit: $providersLimit) {\n items {\n id\n providerName\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n": types.AllSettingsDataDocument,
|
|
92
|
+
"\n mutation CreateInvitation($email: String!, $roleIds: [ID!]!) {\n createInvitation(input: { email: $email, roleIds: $roleIds }) {\n __typename\n ... on SaveInvitationSuccess {\n invitation {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n }\n ... on SaveInvitationFailure {\n error\n }\n }\n }\n": types.CreateInvitationDocument,
|
|
93
|
+
"\n mutation UpdateInvitation(\n $invitationId: ID!\n $email: String!\n $roleIds: [ID!]!\n ) {\n updateInvitation(\n invitationId: $invitationId\n input: { email: $email, roleIds: $roleIds }\n ) {\n __typename\n ... on SaveInvitationSuccess {\n invitation {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n }\n ... on SaveInvitationFailure {\n error\n }\n }\n }\n": types.UpdateInvitationDocument,
|
|
94
|
+
"\n mutation DeleteInvitation($invitationId: ID!) {\n deleteInvitation(invitationId: $invitationId) {\n success\n error\n }\n }\n": types.DeleteInvitationDocument,
|
|
95
|
+
"\n mutation GenerateRegistrationLink($invitationId: ID!) {\n generateRegistrationLink(invitationId: $invitationId) {\n __typename\n ... on RegistrationLinkActionSuccess {\n registrationLinkUrl\n expiresAt\n invitation {\n id\n email\n status\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n roles {\n id\n name\n path\n }\n }\n }\n ... on RegistrationLinkActionFailure {\n error\n }\n }\n }\n": types.GenerateRegistrationLinkDocument,
|
|
96
|
+
"\n mutation RevealRegistrationLink($invitationId: ID!) {\n revealRegistrationLink(invitationId: $invitationId) {\n __typename\n ... on RegistrationLinkActionSuccess {\n registrationLinkUrl\n expiresAt\n invitation {\n id\n email\n status\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n roles {\n id\n name\n path\n }\n }\n }\n ... on RegistrationLinkActionFailure {\n error\n }\n }\n }\n": types.RevealRegistrationLinkDocument,
|
|
97
|
+
"\n mutation RotateRegistrationLink($invitationId: ID!) {\n rotateRegistrationLink(invitationId: $invitationId) {\n __typename\n ... on RegistrationLinkActionSuccess {\n registrationLinkUrl\n expiresAt\n invitation {\n id\n email\n status\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n roles {\n id\n name\n path\n }\n }\n }\n ... on RegistrationLinkActionFailure {\n error\n }\n }\n }\n": types.RotateRegistrationLinkDocument,
|
|
98
|
+
"\n mutation RevokeRegistrationLink($invitationId: ID!) {\n revokeRegistrationLink(invitationId: $invitationId) {\n __typename\n ... on SaveInvitationSuccess {\n invitation {\n id\n email\n status\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n roles {\n id\n name\n path\n }\n }\n }\n ... on SaveInvitationFailure {\n error\n }\n }\n }\n": types.RevokeRegistrationLinkDocument,
|
|
99
|
+
"\n query UserDetail($userId: ID!) {\n userDetail(userId: $userId) {\n id\n provider\n sub\n lastLoggedIn\n providerUser {\n id\n email\n name\n firstName\n lastName\n roleIds\n notificationPreferences {\n notifications {\n todoAssignment {\n email\n }\n executionFailure {\n email\n }\n }\n }\n }\n }\n }\n": types.UserDetailDocument,
|
|
100
|
+
"\n query AllRoles($page: Int!, $limit: Int!) {\n allRoles(page: $page, limit: $limit) {\n items {\n id\n name\n path\n }\n totalCount\n }\n }\n": types.AllRolesDocument,
|
|
101
|
+
"\n mutation SaveProviderUser(\n $providerUserId: ID!\n $userId: ID!\n $roleIds: [ID!]!\n $preferences: NotificationPreferencesInput!\n ) {\n updateProviderUser(\n providerUserId: $providerUserId\n input: {\n roleIds: $roleIds\n }\n ) {\n __typename\n ... on UpdateProviderUserSuccess {\n providerUser {\n id\n email\n name\n firstName\n lastName\n roleIds\n }\n }\n ... on UpdateProviderUserFailure {\n error\n }\n }\n updateNotificationPreferences(userId: $userId, preferences: $preferences) {\n __typename\n ... on UpdateNotificationPreferencesSuccess {\n preferences {\n notifications {\n todoAssignment {\n email\n }\n executionFailure {\n email\n }\n }\n }\n }\n ... on UpdateNotificationPreferencesFailure {\n error\n }\n }\n }\n": types.SaveProviderUserDocument,
|
|
102
|
+
"\n query ProcessWorkflow($processPath: String!) {\n processWorkflow(processPath: $processPath) {\n processId\n processName\n processPath\n processPurpose\n steps {\n id\n name\n path\n purpose\n processId\n role {\n id\n name\n path\n }\n phase {\n id\n name\n path\n order\n }\n isStartStep\n isEmbedded\n column\n }\n flows {\n id\n sourceStepId\n targetStepId\n condition\n isElse\n isOnError\n taggedErrors\n schedule\n }\n responsibilities {\n roleId\n roleName\n rolePath\n responsibility\n order\n }\n }\n }\n": types.ProcessWorkflowDocument,
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
107
|
+
*
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* ```ts
|
|
111
|
+
* const query = graphql(`query GetUser($id: ID!) { user(id: $id) { name } }`);
|
|
112
|
+
* ```
|
|
113
|
+
*
|
|
114
|
+
* The query argument is unknown!
|
|
115
|
+
* Please regenerate the types.
|
|
116
|
+
*/
|
|
117
|
+
export function graphql(source: string): unknown;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
121
|
+
*/
|
|
122
|
+
export function graphql(source: "\n query PullDraftProcessExecution($checkpoint: PullCheckpoint, $limit: Int!) {\n pullDraftProcessExecution(checkpoint: $checkpoint, limit: $limit) {\n documents {\n id\n processId\n name\n startStepPath\n state\n fieldsCompleted\n totalFields\n updatedAt\n deleted\n lastSaved\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n "): (typeof documents)["\n query PullDraftProcessExecution($checkpoint: PullCheckpoint, $limit: Int!) {\n pullDraftProcessExecution(checkpoint: $checkpoint, limit: $limit) {\n documents {\n id\n processId\n name\n startStepPath\n state\n fieldsCompleted\n totalFields\n updatedAt\n deleted\n lastSaved\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n "];
|
|
123
|
+
/**
|
|
124
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
125
|
+
*/
|
|
126
|
+
export function graphql(source: "\n subscription StreamDraftProcessExecution {\n streamDraftProcessExecution {\n documents {\n id\n processId\n name\n startStepPath\n state\n fieldsCompleted\n totalFields\n updatedAt\n deleted\n lastSaved\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n "): (typeof documents)["\n subscription StreamDraftProcessExecution {\n streamDraftProcessExecution {\n documents {\n id\n processId\n name\n startStepPath\n state\n fieldsCompleted\n totalFields\n updatedAt\n deleted\n lastSaved\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n "];
|
|
127
|
+
/**
|
|
128
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
129
|
+
*/
|
|
130
|
+
export function graphql(source: "\n query PullExecution($checkpoint: PullCheckpoint, $limit: Int!, $includeRunning: Boolean, $historySince: Float) {\n pullExecution(checkpoint: $checkpoint, limit: $limit, includeRunning: $includeRunning, historySince: $historySince) {\n documents {\n id\n updatedAt\n processStateId\n withoutWaiting\n processName\n processPath\n canAbandonExecution\n canRestartExecution\n status\n failureReason\n abandonedReason\n startedAt\n finishedAt\n completedSteps\n totalSteps\n durationMs\n estimatedCompletionAt\n slaWarningAt\n slaTargetAt\n deleted\n steps {\n id\n name\n path\n status\n failureReason\n role {\n id\n name\n }\n submittedViaEmbeddedForm\n externalSubmitterEmail\n assignedProviderUserEmail\n providerUser {\n id\n firstName\n lastName\n picture\n orgUnit\n }\n startedAt\n completedAt\n }\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n "): (typeof documents)["\n query PullExecution($checkpoint: PullCheckpoint, $limit: Int!, $includeRunning: Boolean, $historySince: Float) {\n pullExecution(checkpoint: $checkpoint, limit: $limit, includeRunning: $includeRunning, historySince: $historySince) {\n documents {\n id\n updatedAt\n processStateId\n withoutWaiting\n processName\n processPath\n canAbandonExecution\n canRestartExecution\n status\n failureReason\n abandonedReason\n startedAt\n finishedAt\n completedSteps\n totalSteps\n durationMs\n estimatedCompletionAt\n slaWarningAt\n slaTargetAt\n deleted\n steps {\n id\n name\n path\n status\n failureReason\n role {\n id\n name\n }\n submittedViaEmbeddedForm\n externalSubmitterEmail\n assignedProviderUserEmail\n providerUser {\n id\n firstName\n lastName\n picture\n orgUnit\n }\n startedAt\n completedAt\n }\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n "];
|
|
131
|
+
/**
|
|
132
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
133
|
+
*/
|
|
134
|
+
export function graphql(source: "\n subscription StreamExecution {\n streamExecution {\n documents {\n id\n updatedAt\n processStateId\n withoutWaiting\n processName\n processPath\n canAbandonExecution\n canRestartExecution\n status\n failureReason\n abandonedReason\n startedAt\n finishedAt\n completedSteps\n totalSteps\n durationMs\n estimatedCompletionAt\n slaWarningAt\n slaTargetAt\n deleted\n steps {\n id\n name\n path\n status\n failureReason\n role {\n id\n name\n }\n submittedViaEmbeddedForm\n externalSubmitterEmail\n assignedProviderUserEmail\n providerUser {\n id\n firstName\n lastName\n picture\n orgUnit\n }\n startedAt\n completedAt\n }\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n "): (typeof documents)["\n subscription StreamExecution {\n streamExecution {\n documents {\n id\n updatedAt\n processStateId\n withoutWaiting\n processName\n processPath\n canAbandonExecution\n canRestartExecution\n status\n failureReason\n abandonedReason\n startedAt\n finishedAt\n completedSteps\n totalSteps\n durationMs\n estimatedCompletionAt\n slaWarningAt\n slaTargetAt\n deleted\n steps {\n id\n name\n path\n status\n failureReason\n role {\n id\n name\n }\n submittedViaEmbeddedForm\n externalSubmitterEmail\n assignedProviderUserEmail\n providerUser {\n id\n firstName\n lastName\n picture\n orgUnit\n }\n startedAt\n completedAt\n }\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n "];
|
|
135
|
+
/**
|
|
136
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
137
|
+
*/
|
|
138
|
+
export function graphql(source: "\n query PullProcess($checkpoint: PullCheckpoint, $limit: Int!) {\n pullProcess(checkpoint: $checkpoint, limit: $limit) {\n documents {\n id\n updatedAt\n name\n path\n activeInstances\n category\n duration\n formFieldCount\n purpose\n isFavorite\n orgUnit {\n id\n name\n level\n }\n canSkipScheduleWaits\n startStepPath\n deleted\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n "): (typeof documents)["\n query PullProcess($checkpoint: PullCheckpoint, $limit: Int!) {\n pullProcess(checkpoint: $checkpoint, limit: $limit) {\n documents {\n id\n updatedAt\n name\n path\n activeInstances\n category\n duration\n formFieldCount\n purpose\n isFavorite\n orgUnit {\n id\n name\n level\n }\n canSkipScheduleWaits\n startStepPath\n deleted\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n "];
|
|
139
|
+
/**
|
|
140
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
141
|
+
*/
|
|
142
|
+
export function graphql(source: "\n subscription StreamProcess {\n streamProcess {\n documents {\n id\n updatedAt\n name\n path\n activeInstances\n category\n duration\n formFieldCount\n purpose\n isFavorite\n orgUnit {\n id\n name\n level\n }\n canSkipScheduleWaits\n startStepPath\n deleted\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n "): (typeof documents)["\n subscription StreamProcess {\n streamProcess {\n documents {\n id\n updatedAt\n name\n path\n activeInstances\n category\n duration\n formFieldCount\n purpose\n isFavorite\n orgUnit {\n id\n name\n level\n }\n canSkipScheduleWaits\n startStepPath\n deleted\n }\n checkpoint {\n id\n updatedAt\n }\n }\n }\n "];
|
|
143
|
+
/**
|
|
144
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
145
|
+
*/
|
|
146
|
+
export function graphql(source: "\n query PullTodo($checkpoint: PullCheckpoint, $limit: Int!) {\n pullTodo(checkpoint: $checkpoint, limit: $limit) {\n documents {\n id\n updatedAt\n processExecutionId\n flowId\n processName\n stepName\n stepPath\n role\n description\n status\n priority\n assignedAt\n dueAt\n formComplexity\n deleted\n summary {\n label\n value\n }\n }\n checkpoint {\n id\n updatedAt\n mode\n backfillHead {\n id\n updatedAt\n }\n }\n }\n }\n "): (typeof documents)["\n query PullTodo($checkpoint: PullCheckpoint, $limit: Int!) {\n pullTodo(checkpoint: $checkpoint, limit: $limit) {\n documents {\n id\n updatedAt\n processExecutionId\n flowId\n processName\n stepName\n stepPath\n role\n description\n status\n priority\n assignedAt\n dueAt\n formComplexity\n deleted\n summary {\n label\n value\n }\n }\n checkpoint {\n id\n updatedAt\n mode\n backfillHead {\n id\n updatedAt\n }\n }\n }\n }\n "];
|
|
147
|
+
/**
|
|
148
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
149
|
+
*/
|
|
150
|
+
export function graphql(source: "\n subscription StreamTodo {\n streamTodo {\n documents {\n id\n updatedAt\n processExecutionId\n flowId\n processName\n stepName\n stepPath\n role\n description\n status\n priority\n assignedAt\n dueAt\n formComplexity\n deleted\n summary {\n label\n value\n }\n }\n checkpoint {\n id\n updatedAt\n mode\n }\n }\n }\n "): (typeof documents)["\n subscription StreamTodo {\n streamTodo {\n documents {\n id\n updatedAt\n processExecutionId\n flowId\n processName\n stepName\n stepPath\n role\n description\n status\n priority\n assignedAt\n dueAt\n formComplexity\n deleted\n summary {\n label\n value\n }\n }\n checkpoint {\n id\n updatedAt\n mode\n }\n }\n }\n "];
|
|
151
|
+
/**
|
|
152
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
153
|
+
*/
|
|
154
|
+
export function graphql(source: "\n query DashboardActivity {\n __typename\n }\n"): (typeof documents)["\n query DashboardActivity {\n __typename\n }\n"];
|
|
155
|
+
/**
|
|
156
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
157
|
+
*/
|
|
158
|
+
export function graphql(source: "\n query ProcessStateForExecution($executionId: ID!) {\n processStateForExecution(executionId: $executionId)\n }\n"): (typeof documents)["\n query ProcessStateForExecution($executionId: ID!) {\n processStateForExecution(executionId: $executionId)\n }\n"];
|
|
159
|
+
/**
|
|
160
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
161
|
+
*/
|
|
162
|
+
export function graphql(source: "\n mutation RestartExecution($executionId: ID!) {\n restartExecution(executionId: $executionId) {\n success\n restartedCount\n error\n }\n }\n"): (typeof documents)["\n mutation RestartExecution($executionId: ID!) {\n restartExecution(executionId: $executionId) {\n success\n restartedCount\n error\n }\n }\n"];
|
|
163
|
+
/**
|
|
164
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
165
|
+
*/
|
|
166
|
+
export function graphql(source: "\n mutation AbandonExecution($executionId: ID!, $reason: String) {\n abandonExecution(executionId: $executionId, reason: $reason) {\n success\n error\n }\n }\n"): (typeof documents)["\n mutation AbandonExecution($executionId: ID!, $reason: String) {\n abandonExecution(executionId: $executionId, reason: $reason) {\n success\n error\n }\n }\n"];
|
|
167
|
+
/**
|
|
168
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
169
|
+
*/
|
|
170
|
+
export function graphql(source: "\n query AvailableLists {\n availableLists {\n id\n path\n name\n detailName\n canCreate\n purpose\n queryName\n outputColumns {\n field\n label\n description\n visibleInList\n sortable\n }\n itemQueryName\n updateMutationName\n updateInputTypeName\n deleteMutationName\n editableColumns {\n field\n label\n description\n }\n }\n }\n"): (typeof documents)["\n query AvailableLists {\n availableLists {\n id\n path\n name\n detailName\n canCreate\n purpose\n queryName\n outputColumns {\n field\n label\n description\n visibleInList\n sortable\n }\n itemQueryName\n updateMutationName\n updateInputTypeName\n deleteMutationName\n editableColumns {\n field\n label\n description\n }\n }\n }\n"];
|
|
171
|
+
/**
|
|
172
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
173
|
+
*/
|
|
174
|
+
export function graphql(source: "\n query ListFormMetadata($listPath: String!) {\n listFormMetadata(listPath: $listPath) {\n listPath\n listName\n updateMutationName\n updateInputTypeName\n deleteMutationName\n formDefinition\n defaultValues\n jsonSchema\n }\n }\n"): (typeof documents)["\n query ListFormMetadata($listPath: String!) {\n listFormMetadata(listPath: $listPath) {\n listPath\n listName\n updateMutationName\n updateInputTypeName\n deleteMutationName\n formDefinition\n defaultValues\n jsonSchema\n }\n }\n"];
|
|
175
|
+
/**
|
|
176
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
177
|
+
*/
|
|
178
|
+
export function graphql(source: "\n mutation ExportListCsv(\n $listPath: String!\n $filter: String\n $sort: ListSortInput\n ) {\n exportListCsv(listPath: $listPath, filter: $filter, sort: $sort) {\n downloadUrl\n }\n }\n "): (typeof documents)["\n mutation ExportListCsv(\n $listPath: String!\n $filter: String\n $sort: ListSortInput\n ) {\n exportListCsv(listPath: $listPath, filter: $filter, sort: $sort) {\n downloadUrl\n }\n }\n "];
|
|
179
|
+
/**
|
|
180
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
181
|
+
*/
|
|
182
|
+
export function graphql(source: "\n query ListCreateFormMetadata($listPath: String!) {\n listCreateFormMetadata(listPath: $listPath) {\n createMutationName\n createInputTypeName\n formDefinition\n defaultValues\n jsonSchema\n }\n }\n"): (typeof documents)["\n query ListCreateFormMetadata($listPath: String!) {\n listCreateFormMetadata(listPath: $listPath) {\n createMutationName\n createInputTypeName\n formDefinition\n defaultValues\n jsonSchema\n }\n }\n"];
|
|
183
|
+
/**
|
|
184
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
185
|
+
*/
|
|
186
|
+
export function graphql(source: "\n query OrgChartData {\n orgLevels {\n level\n maxDepth\n }\n org {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n"): (typeof documents)["\n query OrgChartData {\n orgLevels {\n level\n maxDepth\n }\n org {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n subunits {\n id\n name\n level\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n"];
|
|
187
|
+
/**
|
|
188
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
189
|
+
*/
|
|
190
|
+
export function graphql(source: "\n query CurrentProviderUser {\n currentProviderUser {\n id\n email\n name\n firstName\n lastName\n picture\n locale\n permittedRoles {\n id\n name\n path\n }\n }\n }\n"): (typeof documents)["\n query CurrentProviderUser {\n currentProviderUser {\n id\n email\n name\n firstName\n lastName\n picture\n locale\n permittedRoles {\n id\n name\n path\n }\n }\n }\n"];
|
|
191
|
+
/**
|
|
192
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
193
|
+
*/
|
|
194
|
+
export function graphql(source: "\n mutation RequestRole($rolePath: String!) {\n requestRole(rolePath: $rolePath) {\n success\n rolePath\n error\n }\n }\n"): (typeof documents)["\n mutation RequestRole($rolePath: String!) {\n requestRole(rolePath: $rolePath) {\n success\n rolePath\n error\n }\n }\n"];
|
|
195
|
+
/**
|
|
196
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
197
|
+
*/
|
|
198
|
+
export function graphql(source: "\n query OrgIdentity {\n org {\n id\n name\n acronym\n startDayOfWeek\n }\n }\n"): (typeof documents)["\n query OrgIdentity {\n org {\n id\n name\n acronym\n startDayOfWeek\n }\n }\n"];
|
|
199
|
+
/**
|
|
200
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
201
|
+
*/
|
|
202
|
+
export function graphql(source: "\n query CedarPolicies {\n cedarPolicies {\n policies\n schema\n }\n }\n"): (typeof documents)["\n query CedarPolicies {\n cedarPolicies {\n policies\n schema\n }\n }\n"];
|
|
203
|
+
/**
|
|
204
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
205
|
+
*/
|
|
206
|
+
export function graphql(source: "\n query FormMetadata($stepPath: String!, $todoId: ID) {\n formMetadata(stepPath: $stepPath, todoId: $todoId) {\n stepPath\n processName\n stepName\n processPath\n mutationName\n inputTypeName\n completeMutationName\n totalFields\n formDefinition\n defaultValues\n jsonSchema\n }\n }\n"): (typeof documents)["\n query FormMetadata($stepPath: String!, $todoId: ID) {\n formMetadata(stepPath: $stepPath, todoId: $todoId) {\n stepPath\n processName\n stepName\n processPath\n mutationName\n inputTypeName\n completeMutationName\n totalFields\n formDefinition\n defaultValues\n jsonSchema\n }\n }\n"];
|
|
207
|
+
/**
|
|
208
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
209
|
+
*/
|
|
210
|
+
export function graphql(source: "\n query LookupSuggestions($stepPath: String!, $field: String!, $filter: String, $limit: Int, $todoId: ID) {\n lookupSuggestions(stepPath: $stepPath, field: $field, filter: $filter, limit: $limit, todoId: $todoId) {\n value\n label\n }\n }\n"): (typeof documents)["\n query LookupSuggestions($stepPath: String!, $field: String!, $filter: String, $limit: Int, $todoId: ID) {\n lookupSuggestions(stepPath: $stepPath, field: $field, filter: $filter, limit: $limit, todoId: $todoId) {\n value\n label\n }\n }\n"];
|
|
211
|
+
/**
|
|
212
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
213
|
+
*/
|
|
214
|
+
export function graphql(source: "\n query CalendarSlots($stepPath: String!, $field: String!, $todoId: ID) {\n calendarSlots(stepPath: $stepPath, field: $field, todoId: $todoId) {\n value\n label\n startsAt\n endsAt\n }\n }\n"): (typeof documents)["\n query CalendarSlots($stepPath: String!, $field: String!, $todoId: ID) {\n calendarSlots(stepPath: $stepPath, field: $field, todoId: $todoId) {\n value\n label\n startsAt\n endsAt\n }\n }\n"];
|
|
215
|
+
/**
|
|
216
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
217
|
+
*/
|
|
218
|
+
export function graphql(source: "\n query AllUsers($page: Int!, $limit: Int!) {\n allUsers(page: $page, limit: $limit) {\n items {\n id\n provider\n sub\n lastLoggedIn\n isProviderUser\n providerUserName\n providerUserEmail\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n"): (typeof documents)["\n query AllUsers($page: Int!, $limit: Int!) {\n allUsers(page: $page, limit: $limit) {\n items {\n id\n provider\n sub\n lastLoggedIn\n isProviderUser\n providerUserName\n providerUserEmail\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n"];
|
|
219
|
+
/**
|
|
220
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
221
|
+
*/
|
|
222
|
+
export function graphql(source: "\n query AllOAuthProviders($page: Int!, $limit: Int!) {\n allOAuthProviders(page: $page, limit: $limit) {\n items {\n id\n providerName\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n"): (typeof documents)["\n query AllOAuthProviders($page: Int!, $limit: Int!) {\n allOAuthProviders(page: $page, limit: $limit) {\n items {\n id\n providerName\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n"];
|
|
223
|
+
/**
|
|
224
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
225
|
+
*/
|
|
226
|
+
export function graphql(source: "\n query AllInvitations(\n $page: Int!\n $limit: Int!\n $status: InvitationLifecycleStatus\n ) {\n allInvitations(page: $page, limit: $limit, status: $status) {\n items {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n"): (typeof documents)["\n query AllInvitations(\n $page: Int!\n $limit: Int!\n $status: InvitationLifecycleStatus\n ) {\n allInvitations(page: $page, limit: $limit, status: $status) {\n items {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n"];
|
|
227
|
+
/**
|
|
228
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
229
|
+
*/
|
|
230
|
+
export function graphql(source: "\n query InvitationDetail($invitationId: ID!) {\n invitationDetail(invitationId: $invitationId) {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n }\n"): (typeof documents)["\n query InvitationDetail($invitationId: ID!) {\n invitationDetail(invitationId: $invitationId) {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n }\n"];
|
|
231
|
+
/**
|
|
232
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
233
|
+
*/
|
|
234
|
+
export function graphql(source: "\n query AllSettingsRoles($page: Int!, $limit: Int!) {\n allRoles(page: $page, limit: $limit) {\n items {\n id\n name\n path\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n"): (typeof documents)["\n query AllSettingsRoles($page: Int!, $limit: Int!) {\n allRoles(page: $page, limit: $limit) {\n items {\n id\n name\n path\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n"];
|
|
235
|
+
/**
|
|
236
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
237
|
+
*/
|
|
238
|
+
export function graphql(source: "\n query AllInvitationRoles($page: Int!, $limit: Int!) {\n allRoles(page: $page, limit: $limit) {\n items {\n id\n name\n path\n }\n totalCount\n }\n }\n"): (typeof documents)["\n query AllInvitationRoles($page: Int!, $limit: Int!) {\n allRoles(page: $page, limit: $limit) {\n items {\n id\n name\n path\n }\n totalCount\n }\n }\n"];
|
|
239
|
+
/**
|
|
240
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
241
|
+
*/
|
|
242
|
+
export function graphql(source: "\n query AllSettingsData(\n $usersPage: Int!\n $usersLimit: Int!\n $invitationsPage: Int!\n $invitationsLimit: Int!\n $rolesPage: Int!\n $rolesLimit: Int!\n $providersPage: Int!\n $providersLimit: Int!\n ) {\n allUsers(page: $usersPage, limit: $usersLimit) {\n items {\n id\n provider\n sub\n lastLoggedIn\n isProviderUser\n providerUserName\n providerUserEmail\n }\n totalCount\n page\n limit\n hasNextPage\n }\n allInvitations(\n page: $invitationsPage\n limit: $invitationsLimit\n status: PENDING\n ) {\n items {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n totalCount\n page\n limit\n hasNextPage\n }\n allRoles(page: $rolesPage, limit: $rolesLimit) {\n items {\n id\n name\n path\n }\n totalCount\n page\n limit\n hasNextPage\n }\n allOAuthProviders(page: $providersPage, limit: $providersLimit) {\n items {\n id\n providerName\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n"): (typeof documents)["\n query AllSettingsData(\n $usersPage: Int!\n $usersLimit: Int!\n $invitationsPage: Int!\n $invitationsLimit: Int!\n $rolesPage: Int!\n $rolesLimit: Int!\n $providersPage: Int!\n $providersLimit: Int!\n ) {\n allUsers(page: $usersPage, limit: $usersLimit) {\n items {\n id\n provider\n sub\n lastLoggedIn\n isProviderUser\n providerUserName\n providerUserEmail\n }\n totalCount\n page\n limit\n hasNextPage\n }\n allInvitations(\n page: $invitationsPage\n limit: $invitationsLimit\n status: PENDING\n ) {\n items {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n totalCount\n page\n limit\n hasNextPage\n }\n allRoles(page: $rolesPage, limit: $rolesLimit) {\n items {\n id\n name\n path\n }\n totalCount\n page\n limit\n hasNextPage\n }\n allOAuthProviders(page: $providersPage, limit: $providersLimit) {\n items {\n id\n providerName\n }\n totalCount\n page\n limit\n hasNextPage\n }\n }\n"];
|
|
243
|
+
/**
|
|
244
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
245
|
+
*/
|
|
246
|
+
export function graphql(source: "\n mutation CreateInvitation($email: String!, $roleIds: [ID!]!) {\n createInvitation(input: { email: $email, roleIds: $roleIds }) {\n __typename\n ... on SaveInvitationSuccess {\n invitation {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n }\n ... on SaveInvitationFailure {\n error\n }\n }\n }\n"): (typeof documents)["\n mutation CreateInvitation($email: String!, $roleIds: [ID!]!) {\n createInvitation(input: { email: $email, roleIds: $roleIds }) {\n __typename\n ... on SaveInvitationSuccess {\n invitation {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n }\n ... on SaveInvitationFailure {\n error\n }\n }\n }\n"];
|
|
247
|
+
/**
|
|
248
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
249
|
+
*/
|
|
250
|
+
export function graphql(source: "\n mutation UpdateInvitation(\n $invitationId: ID!\n $email: String!\n $roleIds: [ID!]!\n ) {\n updateInvitation(\n invitationId: $invitationId\n input: { email: $email, roleIds: $roleIds }\n ) {\n __typename\n ... on SaveInvitationSuccess {\n invitation {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n }\n ... on SaveInvitationFailure {\n error\n }\n }\n }\n"): (typeof documents)["\n mutation UpdateInvitation(\n $invitationId: ID!\n $email: String!\n $roleIds: [ID!]!\n ) {\n updateInvitation(\n invitationId: $invitationId\n input: { email: $email, roleIds: $roleIds }\n ) {\n __typename\n ... on SaveInvitationSuccess {\n invitation {\n id\n email\n status\n roles {\n id\n name\n path\n }\n acceptedAt\n acceptedByProvider\n acceptedBySubject\n acceptedByProviderUserId\n legacyClosedAt\n legacyClosureReason\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n }\n }\n ... on SaveInvitationFailure {\n error\n }\n }\n }\n"];
|
|
251
|
+
/**
|
|
252
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
253
|
+
*/
|
|
254
|
+
export function graphql(source: "\n mutation DeleteInvitation($invitationId: ID!) {\n deleteInvitation(invitationId: $invitationId) {\n success\n error\n }\n }\n"): (typeof documents)["\n mutation DeleteInvitation($invitationId: ID!) {\n deleteInvitation(invitationId: $invitationId) {\n success\n error\n }\n }\n"];
|
|
255
|
+
/**
|
|
256
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
257
|
+
*/
|
|
258
|
+
export function graphql(source: "\n mutation GenerateRegistrationLink($invitationId: ID!) {\n generateRegistrationLink(invitationId: $invitationId) {\n __typename\n ... on RegistrationLinkActionSuccess {\n registrationLinkUrl\n expiresAt\n invitation {\n id\n email\n status\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n roles {\n id\n name\n path\n }\n }\n }\n ... on RegistrationLinkActionFailure {\n error\n }\n }\n }\n"): (typeof documents)["\n mutation GenerateRegistrationLink($invitationId: ID!) {\n generateRegistrationLink(invitationId: $invitationId) {\n __typename\n ... on RegistrationLinkActionSuccess {\n registrationLinkUrl\n expiresAt\n invitation {\n id\n email\n status\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n roles {\n id\n name\n path\n }\n }\n }\n ... on RegistrationLinkActionFailure {\n error\n }\n }\n }\n"];
|
|
259
|
+
/**
|
|
260
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
261
|
+
*/
|
|
262
|
+
export function graphql(source: "\n mutation RevealRegistrationLink($invitationId: ID!) {\n revealRegistrationLink(invitationId: $invitationId) {\n __typename\n ... on RegistrationLinkActionSuccess {\n registrationLinkUrl\n expiresAt\n invitation {\n id\n email\n status\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n roles {\n id\n name\n path\n }\n }\n }\n ... on RegistrationLinkActionFailure {\n error\n }\n }\n }\n"): (typeof documents)["\n mutation RevealRegistrationLink($invitationId: ID!) {\n revealRegistrationLink(invitationId: $invitationId) {\n __typename\n ... on RegistrationLinkActionSuccess {\n registrationLinkUrl\n expiresAt\n invitation {\n id\n email\n status\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n roles {\n id\n name\n path\n }\n }\n }\n ... on RegistrationLinkActionFailure {\n error\n }\n }\n }\n"];
|
|
263
|
+
/**
|
|
264
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
265
|
+
*/
|
|
266
|
+
export function graphql(source: "\n mutation RotateRegistrationLink($invitationId: ID!) {\n rotateRegistrationLink(invitationId: $invitationId) {\n __typename\n ... on RegistrationLinkActionSuccess {\n registrationLinkUrl\n expiresAt\n invitation {\n id\n email\n status\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n roles {\n id\n name\n path\n }\n }\n }\n ... on RegistrationLinkActionFailure {\n error\n }\n }\n }\n"): (typeof documents)["\n mutation RotateRegistrationLink($invitationId: ID!) {\n rotateRegistrationLink(invitationId: $invitationId) {\n __typename\n ... on RegistrationLinkActionSuccess {\n registrationLinkUrl\n expiresAt\n invitation {\n id\n email\n status\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n roles {\n id\n name\n path\n }\n }\n }\n ... on RegistrationLinkActionFailure {\n error\n }\n }\n }\n"];
|
|
267
|
+
/**
|
|
268
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
269
|
+
*/
|
|
270
|
+
export function graphql(source: "\n mutation RevokeRegistrationLink($invitationId: ID!) {\n revokeRegistrationLink(invitationId: $invitationId) {\n __typename\n ... on SaveInvitationSuccess {\n invitation {\n id\n email\n status\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n roles {\n id\n name\n path\n }\n }\n }\n ... on SaveInvitationFailure {\n error\n }\n }\n }\n"): (typeof documents)["\n mutation RevokeRegistrationLink($invitationId: ID!) {\n revokeRegistrationLink(invitationId: $invitationId) {\n __typename\n ... on SaveInvitationSuccess {\n invitation {\n id\n email\n status\n registrationLinkStatus\n registrationLinkExpiresAt\n registrationLinkGeneratedAt\n registrationLinkGeneratedBy\n registrationLinkRevealedAt\n registrationLinkRevealedBy\n registrationLinkRevokedAt\n registrationLinkRevokedBy\n roles {\n id\n name\n path\n }\n }\n }\n ... on SaveInvitationFailure {\n error\n }\n }\n }\n"];
|
|
271
|
+
/**
|
|
272
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
273
|
+
*/
|
|
274
|
+
export function graphql(source: "\n query UserDetail($userId: ID!) {\n userDetail(userId: $userId) {\n id\n provider\n sub\n lastLoggedIn\n providerUser {\n id\n email\n name\n firstName\n lastName\n roleIds\n notificationPreferences {\n notifications {\n todoAssignment {\n email\n }\n executionFailure {\n email\n }\n }\n }\n }\n }\n }\n"): (typeof documents)["\n query UserDetail($userId: ID!) {\n userDetail(userId: $userId) {\n id\n provider\n sub\n lastLoggedIn\n providerUser {\n id\n email\n name\n firstName\n lastName\n roleIds\n notificationPreferences {\n notifications {\n todoAssignment {\n email\n }\n executionFailure {\n email\n }\n }\n }\n }\n }\n }\n"];
|
|
275
|
+
/**
|
|
276
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
277
|
+
*/
|
|
278
|
+
export function graphql(source: "\n query AllRoles($page: Int!, $limit: Int!) {\n allRoles(page: $page, limit: $limit) {\n items {\n id\n name\n path\n }\n totalCount\n }\n }\n"): (typeof documents)["\n query AllRoles($page: Int!, $limit: Int!) {\n allRoles(page: $page, limit: $limit) {\n items {\n id\n name\n path\n }\n totalCount\n }\n }\n"];
|
|
279
|
+
/**
|
|
280
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
281
|
+
*/
|
|
282
|
+
export function graphql(source: "\n mutation SaveProviderUser(\n $providerUserId: ID!\n $userId: ID!\n $roleIds: [ID!]!\n $preferences: NotificationPreferencesInput!\n ) {\n updateProviderUser(\n providerUserId: $providerUserId\n input: {\n roleIds: $roleIds\n }\n ) {\n __typename\n ... on UpdateProviderUserSuccess {\n providerUser {\n id\n email\n name\n firstName\n lastName\n roleIds\n }\n }\n ... on UpdateProviderUserFailure {\n error\n }\n }\n updateNotificationPreferences(userId: $userId, preferences: $preferences) {\n __typename\n ... on UpdateNotificationPreferencesSuccess {\n preferences {\n notifications {\n todoAssignment {\n email\n }\n executionFailure {\n email\n }\n }\n }\n }\n ... on UpdateNotificationPreferencesFailure {\n error\n }\n }\n }\n"): (typeof documents)["\n mutation SaveProviderUser(\n $providerUserId: ID!\n $userId: ID!\n $roleIds: [ID!]!\n $preferences: NotificationPreferencesInput!\n ) {\n updateProviderUser(\n providerUserId: $providerUserId\n input: {\n roleIds: $roleIds\n }\n ) {\n __typename\n ... on UpdateProviderUserSuccess {\n providerUser {\n id\n email\n name\n firstName\n lastName\n roleIds\n }\n }\n ... on UpdateProviderUserFailure {\n error\n }\n }\n updateNotificationPreferences(userId: $userId, preferences: $preferences) {\n __typename\n ... on UpdateNotificationPreferencesSuccess {\n preferences {\n notifications {\n todoAssignment {\n email\n }\n executionFailure {\n email\n }\n }\n }\n }\n ... on UpdateNotificationPreferencesFailure {\n error\n }\n }\n }\n"];
|
|
283
|
+
/**
|
|
284
|
+
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
285
|
+
*/
|
|
286
|
+
export function graphql(source: "\n query ProcessWorkflow($processPath: String!) {\n processWorkflow(processPath: $processPath) {\n processId\n processName\n processPath\n processPurpose\n steps {\n id\n name\n path\n purpose\n processId\n role {\n id\n name\n path\n }\n phase {\n id\n name\n path\n order\n }\n isStartStep\n isEmbedded\n column\n }\n flows {\n id\n sourceStepId\n targetStepId\n condition\n isElse\n isOnError\n taggedErrors\n schedule\n }\n responsibilities {\n roleId\n roleName\n rolePath\n responsibility\n order\n }\n }\n }\n"): (typeof documents)["\n query ProcessWorkflow($processPath: String!) {\n processWorkflow(processPath: $processPath) {\n processId\n processName\n processPath\n processPurpose\n steps {\n id\n name\n path\n purpose\n processId\n role {\n id\n name\n path\n }\n phase {\n id\n name\n path\n order\n }\n isStartStep\n isEmbedded\n column\n }\n flows {\n id\n sourceStepId\n targetStepId\n condition\n isElse\n isOnError\n taggedErrors\n schedule\n }\n responsibilities {\n roleId\n roleName\n rolePath\n responsibility\n order\n }\n }\n }\n"];
|
|
287
|
+
|
|
288
|
+
export function graphql(source: string) {
|
|
289
|
+
return (documents as any)[source] ?? {};
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode< infer TType, any> ? TType : never;
|