@synchronized-console/shared 2.25.7 → 2.31.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/acc/helpers/types.d.ts +46 -0
- package/dist/commonjs/acc/helpers/types.d.ts.map +1 -0
- package/dist/commonjs/acc/helpers/types.js +3 -0
- package/dist/commonjs/acc/helpers/types.js.map +1 -0
- package/dist/commonjs/acc/index.d.ts +2 -0
- package/dist/commonjs/acc/index.d.ts.map +1 -0
- package/dist/commonjs/acc/index.js +18 -0
- package/dist/commonjs/acc/index.js.map +1 -0
- package/dist/commonjs/authz/checks/dashboards.d.ts +5 -0
- package/dist/commonjs/authz/checks/dashboards.d.ts.map +1 -0
- package/dist/commonjs/authz/checks/dashboards.js +11 -0
- package/dist/commonjs/authz/checks/dashboards.js.map +1 -0
- package/dist/commonjs/authz/domain/authErrors.d.ts +98 -3
- package/dist/commonjs/authz/domain/authErrors.d.ts.map +1 -1
- package/dist/commonjs/authz/domain/authErrors.js +66 -3
- package/dist/commonjs/authz/domain/authErrors.js.map +1 -1
- package/dist/commonjs/authz/domain/automate/operations.d.ts +5 -0
- package/dist/commonjs/authz/domain/automate/operations.d.ts.map +1 -0
- package/dist/commonjs/authz/domain/automate/operations.js +3 -0
- package/dist/commonjs/authz/domain/automate/operations.js.map +1 -0
- package/dist/commonjs/authz/domain/automate/types.d.ts +10 -0
- package/dist/commonjs/authz/domain/automate/types.d.ts.map +1 -0
- package/dist/commonjs/authz/domain/automate/types.js +3 -0
- package/dist/commonjs/authz/domain/automate/types.js.map +1 -0
- package/dist/commonjs/authz/domain/context.d.ts +12 -0
- package/dist/commonjs/authz/domain/context.d.ts.map +1 -1
- package/dist/commonjs/authz/domain/dashboards/operations.d.ts +5 -0
- package/dist/commonjs/authz/domain/dashboards/operations.d.ts.map +1 -0
- package/dist/commonjs/authz/domain/dashboards/operations.js +3 -0
- package/dist/commonjs/authz/domain/dashboards/operations.js.map +1 -0
- package/dist/commonjs/authz/domain/dashboards/types.d.ts +7 -0
- package/dist/commonjs/authz/domain/dashboards/types.d.ts.map +1 -0
- package/dist/commonjs/authz/domain/dashboards/types.js +3 -0
- package/dist/commonjs/authz/domain/dashboards/types.js.map +1 -0
- package/dist/commonjs/authz/domain/loaders.d.ts +63 -45
- package/dist/commonjs/authz/domain/loaders.d.ts.map +1 -1
- package/dist/commonjs/authz/domain/loaders.js +27 -21
- package/dist/commonjs/authz/domain/loaders.js.map +1 -1
- package/dist/commonjs/authz/domain/savedViews/operations.d.ts +10 -0
- package/dist/commonjs/authz/domain/savedViews/operations.d.ts.map +1 -0
- package/dist/commonjs/authz/domain/savedViews/operations.js +3 -0
- package/dist/commonjs/authz/domain/savedViews/operations.js.map +1 -0
- package/dist/commonjs/authz/domain/savedViews/types.d.ts +26 -0
- package/dist/commonjs/authz/domain/savedViews/types.d.ts.map +1 -0
- package/dist/commonjs/authz/domain/savedViews/types.js +6 -0
- package/dist/commonjs/authz/domain/savedViews/types.js.map +1 -0
- package/dist/commonjs/authz/domain/workspaces/operations.d.ts +2 -1
- package/dist/commonjs/authz/domain/workspaces/operations.d.ts.map +1 -1
- package/dist/commonjs/authz/domain/workspaces/types.d.ts +3 -0
- package/dist/commonjs/authz/domain/workspaces/types.d.ts.map +1 -1
- package/dist/commonjs/authz/fragments/automate.d.ts +7 -0
- package/dist/commonjs/authz/fragments/automate.d.ts.map +1 -0
- package/dist/commonjs/authz/fragments/automate.js +22 -0
- package/dist/commonjs/authz/fragments/automate.js.map +1 -0
- package/dist/commonjs/authz/fragments/dashboards.d.ts +8 -0
- package/dist/commonjs/authz/fragments/dashboards.d.ts.map +1 -0
- package/dist/commonjs/authz/fragments/dashboards.js +48 -0
- package/dist/commonjs/authz/fragments/dashboards.js.map +1 -0
- package/dist/commonjs/authz/fragments/projects.d.ts +13 -1
- package/dist/commonjs/authz/fragments/projects.d.ts.map +1 -1
- package/dist/commonjs/authz/fragments/projects.js +25 -1
- package/dist/commonjs/authz/fragments/projects.js.map +1 -1
- package/dist/commonjs/authz/fragments/savedViews.d.ts +30 -0
- package/dist/commonjs/authz/fragments/savedViews.d.ts.map +1 -0
- package/dist/commonjs/authz/fragments/savedViews.js +122 -0
- package/dist/commonjs/authz/fragments/savedViews.js.map +1 -0
- package/dist/commonjs/authz/fragments/workspaces.d.ts +9 -1
- package/dist/commonjs/authz/fragments/workspaces.d.ts.map +1 -1
- package/dist/commonjs/authz/fragments/workspaces.js +47 -1
- package/dist/commonjs/authz/fragments/workspaces.js.map +1 -1
- package/dist/commonjs/authz/helpers/graphql.d.ts +1 -1
- package/dist/commonjs/authz/helpers/graphql.d.ts.map +1 -1
- package/dist/commonjs/authz/helpers/graphql.js +1 -1
- package/dist/commonjs/authz/helpers/graphql.js.map +1 -1
- package/dist/commonjs/authz/index.d.ts +1 -0
- package/dist/commonjs/authz/index.d.ts.map +1 -1
- package/dist/commonjs/authz/index.js +1 -0
- package/dist/commonjs/authz/index.js.map +1 -1
- package/dist/commonjs/authz/policies/automate/function/canEditFunction.d.ts +10 -0
- package/dist/commonjs/authz/policies/automate/function/canEditFunction.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/automate/function/canEditFunction.js +19 -0
- package/dist/commonjs/authz/policies/automate/function/canEditFunction.js.map +1 -0
- package/dist/commonjs/authz/policies/dashboard/canCreateToken.d.ts +10 -0
- package/dist/commonjs/authz/policies/dashboard/canCreateToken.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/dashboard/canCreateToken.js +45 -0
- package/dist/commonjs/authz/policies/dashboard/canCreateToken.js.map +1 -0
- package/dist/commonjs/authz/policies/dashboard/canDelete.d.ts +10 -0
- package/dist/commonjs/authz/policies/dashboard/canDelete.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/dashboard/canDelete.js +45 -0
- package/dist/commonjs/authz/policies/dashboard/canDelete.js.map +1 -0
- package/dist/commonjs/authz/policies/dashboard/canEdit.d.ts +10 -0
- package/dist/commonjs/authz/policies/dashboard/canEdit.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/dashboard/canEdit.js +43 -0
- package/dist/commonjs/authz/policies/dashboard/canEdit.js.map +1 -0
- package/dist/commonjs/authz/policies/dashboard/canRead.d.ts +10 -0
- package/dist/commonjs/authz/policies/dashboard/canRead.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/dashboard/canRead.js +42 -0
- package/dist/commonjs/authz/policies/dashboard/canRead.js.map +1 -0
- package/dist/commonjs/authz/policies/index.d.ts +62 -1
- package/dist/commonjs/authz/policies/index.d.ts.map +1 -1
- package/dist/commonjs/authz/policies/index.js +52 -4
- package/dist/commonjs/authz/policies/index.js.map +1 -1
- package/dist/commonjs/authz/policies/project/canLoad.d.ts.map +1 -1
- package/dist/commonjs/authz/policies/project/canLoad.js +6 -0
- package/dist/commonjs/authz/policies/project/canLoad.js.map +1 -1
- package/dist/commonjs/authz/policies/project/canReadAccIntegrationSettings.d.ts +10 -0
- package/dist/commonjs/authz/policies/project/canReadAccIntegrationSettings.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/project/canReadAccIntegrationSettings.js +35 -0
- package/dist/commonjs/authz/policies/project/canReadAccIntegrationSettings.js.map +1 -0
- package/dist/commonjs/authz/policies/project/canUpdateEmbedTokens.d.ts +10 -0
- package/dist/commonjs/authz/policies/project/canUpdateEmbedTokens.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/project/canUpdateEmbedTokens.js +52 -0
- package/dist/commonjs/authz/policies/project/canUpdateEmbedTokens.js.map +1 -0
- package/dist/commonjs/authz/policies/project/savedViews/canCreate.d.ts +6 -0
- package/dist/commonjs/authz/policies/project/savedViews/canCreate.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/project/savedViews/canCreate.js +31 -0
- package/dist/commonjs/authz/policies/project/savedViews/canCreate.js.map +1 -0
- package/dist/commonjs/authz/policies/project/savedViews/canCreateSavedViewGroupToken.d.ts +6 -0
- package/dist/commonjs/authz/policies/project/savedViews/canCreateSavedViewGroupToken.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/project/savedViews/canCreateSavedViewGroupToken.js +61 -0
- package/dist/commonjs/authz/policies/project/savedViews/canCreateSavedViewGroupToken.js.map +1 -0
- package/dist/commonjs/authz/policies/project/savedViews/canEditDescription.d.ts +6 -0
- package/dist/commonjs/authz/policies/project/savedViews/canEditDescription.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/project/savedViews/canEditDescription.js +14 -0
- package/dist/commonjs/authz/policies/project/savedViews/canEditDescription.js.map +1 -0
- package/dist/commonjs/authz/policies/project/savedViews/canEditTitle.d.ts +6 -0
- package/dist/commonjs/authz/policies/project/savedViews/canEditTitle.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/project/savedViews/canEditTitle.js +14 -0
- package/dist/commonjs/authz/policies/project/savedViews/canEditTitle.js.map +1 -0
- package/dist/commonjs/authz/policies/project/savedViews/canMove.d.ts +6 -0
- package/dist/commonjs/authz/policies/project/savedViews/canMove.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/project/savedViews/canMove.js +14 -0
- package/dist/commonjs/authz/policies/project/savedViews/canMove.js.map +1 -0
- package/dist/commonjs/authz/policies/project/savedViews/canRead.d.ts +11 -0
- package/dist/commonjs/authz/policies/project/savedViews/canRead.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/project/savedViews/canRead.js +15 -0
- package/dist/commonjs/authz/policies/project/savedViews/canRead.js.map +1 -0
- package/dist/commonjs/authz/policies/project/savedViews/canSetAsHomeView.d.ts +6 -0
- package/dist/commonjs/authz/policies/project/savedViews/canSetAsHomeView.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/project/savedViews/canSetAsHomeView.js +45 -0
- package/dist/commonjs/authz/policies/project/savedViews/canSetAsHomeView.js.map +1 -0
- package/dist/commonjs/authz/policies/project/savedViews/canUpdate.d.ts +6 -0
- package/dist/commonjs/authz/policies/project/savedViews/canUpdate.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/project/savedViews/canUpdate.js +14 -0
- package/dist/commonjs/authz/policies/project/savedViews/canUpdate.js.map +1 -0
- package/dist/commonjs/authz/policies/project/savedViews/canUpdateGroup.d.ts +6 -0
- package/dist/commonjs/authz/policies/project/savedViews/canUpdateGroup.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/project/savedViews/canUpdateGroup.js +14 -0
- package/dist/commonjs/authz/policies/project/savedViews/canUpdateGroup.js.map +1 -0
- package/dist/commonjs/authz/policies/workspace/canCreateDashboards.d.ts +10 -0
- package/dist/commonjs/authz/policies/workspace/canCreateDashboards.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/workspace/canCreateDashboards.js +39 -0
- package/dist/commonjs/authz/policies/workspace/canCreateDashboards.js.map +1 -0
- package/dist/commonjs/authz/policies/workspace/canCreateWorkspace.d.ts +10 -0
- package/dist/commonjs/authz/policies/workspace/canCreateWorkspace.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/workspace/canCreateWorkspace.js +51 -0
- package/dist/commonjs/authz/policies/workspace/canCreateWorkspace.js.map +1 -0
- package/dist/commonjs/authz/policies/workspace/canListDashboards.d.ts +10 -0
- package/dist/commonjs/authz/policies/workspace/canListDashboards.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/workspace/canListDashboards.js +26 -0
- package/dist/commonjs/authz/policies/workspace/canListDashboards.js.map +1 -0
- package/dist/commonjs/authz/policies/workspace/canReadMemberEmail.d.ts +1 -1
- package/dist/commonjs/authz/policies/workspace/canReadMemberEmail.d.ts.map +1 -1
- package/dist/commonjs/authz/policies/workspace/canReadMemberEmail.js +1 -20
- package/dist/commonjs/authz/policies/workspace/canReadMemberEmail.js.map +1 -1
- package/dist/commonjs/authz/policies/workspace/{canUpdateEmbedOptions.d.ts → canUseWorkspacePlanFeature.d.ts} +13 -5
- package/dist/commonjs/authz/policies/workspace/canUseWorkspacePlanFeature.d.ts.map +1 -0
- package/dist/commonjs/authz/policies/workspace/canUseWorkspacePlanFeature.js +27 -0
- package/dist/commonjs/authz/policies/workspace/canUseWorkspacePlanFeature.js.map +1 -0
- package/dist/commonjs/automate/helpers/types.d.ts +313 -51
- package/dist/commonjs/automate/helpers/types.d.ts.map +1 -1
- package/dist/commonjs/automate/helpers/types.js +12 -2
- package/dist/commonjs/automate/helpers/types.js.map +1 -1
- package/dist/commonjs/blobs/index.d.ts +17 -0
- package/dist/commonjs/blobs/index.d.ts.map +1 -0
- package/dist/commonjs/blobs/index.js +114 -0
- package/dist/commonjs/blobs/index.js.map +1 -0
- package/dist/commonjs/core/constants.d.ts +4 -2
- package/dist/commonjs/core/constants.d.ts.map +1 -1
- package/dist/commonjs/core/constants.js +24 -4
- package/dist/commonjs/core/constants.js.map +1 -1
- package/dist/commonjs/core/helpers/encoding.d.ts +2 -0
- package/dist/commonjs/core/helpers/encoding.d.ts.map +1 -0
- package/dist/commonjs/core/helpers/encoding.js +15 -0
- package/dist/commonjs/core/helpers/encoding.js.map +1 -0
- package/dist/commonjs/core/helpers/error.d.ts +11 -0
- package/dist/commonjs/core/helpers/error.d.ts.map +1 -1
- package/dist/commonjs/core/helpers/error.js +60 -2
- package/dist/commonjs/core/helpers/error.js.map +1 -1
- package/dist/commonjs/core/helpers/url.d.ts +24 -0
- package/dist/commonjs/core/helpers/url.d.ts.map +1 -1
- package/dist/commonjs/core/helpers/url.js +30 -0
- package/dist/commonjs/core/helpers/url.js.map +1 -1
- package/dist/commonjs/core/helpers/utility.d.ts +16 -0
- package/dist/commonjs/core/helpers/utility.d.ts.map +1 -1
- package/dist/commonjs/core/helpers/utility.js +22 -1
- package/dist/commonjs/core/helpers/utility.js.map +1 -1
- package/dist/commonjs/core/index.d.ts +2 -0
- package/dist/commonjs/core/index.d.ts.map +1 -1
- package/dist/commonjs/core/index.js +2 -0
- package/dist/commonjs/core/index.js.map +1 -1
- package/dist/commonjs/core/utils/base64.d.ts +3 -0
- package/dist/commonjs/core/utils/base64.d.ts.map +1 -0
- package/dist/commonjs/core/utils/base64.js +25 -0
- package/dist/commonjs/core/utils/base64.js.map +1 -0
- package/dist/commonjs/environment/{multiRegionConfig.d.ts → db.d.ts} +54 -5
- package/dist/commonjs/environment/db.d.ts.map +1 -0
- package/dist/commonjs/environment/{multiRegionConfig.js → db.js} +45 -10
- package/dist/commonjs/environment/db.js.map +1 -0
- package/dist/commonjs/environment/featureFlags.d.ts +25 -0
- package/dist/commonjs/environment/featureFlags.d.ts.map +1 -0
- package/dist/commonjs/environment/featureFlags.js +6 -0
- package/dist/commonjs/environment/featureFlags.js.map +1 -0
- package/dist/commonjs/environment/index.d.ts +2 -15
- package/dist/commonjs/environment/index.d.ts.map +1 -1
- package/dist/commonjs/environment/index.js +44 -7
- package/dist/commonjs/environment/index.js.map +1 -1
- package/dist/commonjs/environment/node.d.ts +5 -0
- package/dist/commonjs/environment/node.d.ts.map +1 -0
- package/dist/commonjs/environment/node.js +15 -0
- package/dist/commonjs/environment/node.js.map +1 -0
- package/dist/commonjs/images/base64.d.ts +2 -0
- package/dist/commonjs/images/base64.d.ts.map +1 -0
- package/dist/commonjs/images/base64.js +19 -0
- package/dist/commonjs/images/base64.js.map +1 -0
- package/dist/commonjs/index.d.ts +1 -0
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +1 -0
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/observability/index.d.ts.map +1 -1
- package/dist/commonjs/observability/index.js +19 -2
- package/dist/commonjs/observability/index.js.map +1 -1
- package/dist/commonjs/queue/config.d.ts +3 -0
- package/dist/commonjs/queue/config.d.ts.map +1 -1
- package/dist/commonjs/queue/config.js +14 -5
- package/dist/commonjs/queue/config.js.map +1 -1
- package/dist/commonjs/rich-text-editor/helpers/index.d.ts +13 -1
- package/dist/commonjs/rich-text-editor/helpers/index.d.ts.map +1 -1
- package/dist/commonjs/rich-text-editor/helpers/index.js +1 -0
- package/dist/commonjs/rich-text-editor/helpers/index.js.map +1 -1
- package/dist/commonjs/saved-views/helpers/defaultGroup.d.ts +23 -0
- package/dist/commonjs/saved-views/helpers/defaultGroup.d.ts.map +1 -0
- package/dist/commonjs/saved-views/helpers/defaultGroup.js +58 -0
- package/dist/commonjs/saved-views/helpers/defaultGroup.js.map +1 -0
- package/dist/commonjs/saved-views/index.d.ts +2 -0
- package/dist/commonjs/saved-views/index.d.ts.map +1 -0
- package/dist/commonjs/saved-views/index.js +18 -0
- package/dist/commonjs/saved-views/index.js.map +1 -0
- package/dist/commonjs/viewer/helpers/route.d.ts +42 -7
- package/dist/commonjs/viewer/helpers/route.d.ts.map +1 -1
- package/dist/commonjs/viewer/helpers/route.js +149 -38
- package/dist/commonjs/viewer/helpers/route.js.map +1 -1
- package/dist/commonjs/viewer/helpers/state.d.ts +59 -6
- package/dist/commonjs/viewer/helpers/state.d.ts.map +1 -1
- package/dist/commonjs/viewer/helpers/state.js +100 -23
- package/dist/commonjs/viewer/helpers/state.js.map +1 -1
- package/dist/commonjs/workers/fileimport/job.d.ts +85 -9
- package/dist/commonjs/workers/fileimport/job.d.ts.map +1 -1
- package/dist/commonjs/workers/fileimport/job.js +21 -10
- package/dist/commonjs/workers/fileimport/job.js.map +1 -1
- package/dist/commonjs/workers/previews/job.d.ts +37 -20
- package/dist/commonjs/workers/previews/job.d.ts.map +1 -1
- package/dist/commonjs/workers/previews/job.js +23 -2
- package/dist/commonjs/workers/previews/job.js.map +1 -1
- package/dist/commonjs/workspaces/helpers/features.d.ts +55 -5
- package/dist/commonjs/workspaces/helpers/features.d.ts.map +1 -1
- package/dist/commonjs/workspaces/helpers/features.js +180 -114
- package/dist/commonjs/workspaces/helpers/features.js.map +1 -1
- package/dist/commonjs/workspaces/helpers/plans.d.ts +1 -0
- package/dist/commonjs/workspaces/helpers/plans.d.ts.map +1 -1
- package/dist/commonjs/workspaces/helpers/plans.js.map +1 -1
- package/dist/esm/acc/helpers/types.d.ts +46 -0
- package/dist/esm/acc/helpers/types.d.ts.map +1 -0
- package/dist/esm/acc/helpers/types.js +2 -0
- package/dist/esm/acc/helpers/types.js.map +1 -0
- package/dist/esm/acc/index.d.ts +2 -0
- package/dist/esm/acc/index.d.ts.map +1 -0
- package/dist/esm/acc/index.js +2 -0
- package/dist/esm/acc/index.js.map +1 -0
- package/dist/esm/authz/checks/dashboards.d.ts +5 -0
- package/dist/esm/authz/checks/dashboards.d.ts.map +1 -0
- package/dist/esm/authz/checks/dashboards.js +7 -0
- package/dist/esm/authz/checks/dashboards.js.map +1 -0
- package/dist/esm/authz/domain/authErrors.d.ts +98 -3
- package/dist/esm/authz/domain/authErrors.d.ts.map +1 -1
- package/dist/esm/authz/domain/authErrors.js +65 -2
- package/dist/esm/authz/domain/authErrors.js.map +1 -1
- package/dist/esm/authz/domain/automate/operations.d.ts +5 -0
- package/dist/esm/authz/domain/automate/operations.d.ts.map +1 -0
- package/dist/esm/authz/domain/automate/operations.js +2 -0
- package/dist/esm/authz/domain/automate/operations.js.map +1 -0
- package/dist/esm/authz/domain/automate/types.d.ts +10 -0
- package/dist/esm/authz/domain/automate/types.d.ts.map +1 -0
- package/dist/esm/authz/domain/automate/types.js +2 -0
- package/dist/esm/authz/domain/automate/types.js.map +1 -0
- package/dist/esm/authz/domain/context.d.ts +12 -0
- package/dist/esm/authz/domain/context.d.ts.map +1 -1
- package/dist/esm/authz/domain/dashboards/operations.d.ts +5 -0
- package/dist/esm/authz/domain/dashboards/operations.d.ts.map +1 -0
- package/dist/esm/authz/domain/dashboards/operations.js +2 -0
- package/dist/esm/authz/domain/dashboards/operations.js.map +1 -0
- package/dist/esm/authz/domain/dashboards/types.d.ts +7 -0
- package/dist/esm/authz/domain/dashboards/types.d.ts.map +1 -0
- package/dist/esm/authz/domain/dashboards/types.js +2 -0
- package/dist/esm/authz/domain/dashboards/types.js.map +1 -0
- package/dist/esm/authz/domain/loaders.d.ts +63 -45
- package/dist/esm/authz/domain/loaders.d.ts.map +1 -1
- package/dist/esm/authz/domain/loaders.js +27 -21
- package/dist/esm/authz/domain/loaders.js.map +1 -1
- package/dist/esm/authz/domain/savedViews/operations.d.ts +10 -0
- package/dist/esm/authz/domain/savedViews/operations.d.ts.map +1 -0
- package/dist/esm/authz/domain/savedViews/operations.js +2 -0
- package/dist/esm/authz/domain/savedViews/operations.js.map +1 -0
- package/dist/esm/authz/domain/savedViews/types.d.ts +26 -0
- package/dist/esm/authz/domain/savedViews/types.d.ts.map +1 -0
- package/dist/esm/authz/domain/savedViews/types.js +3 -0
- package/dist/esm/authz/domain/savedViews/types.js.map +1 -0
- package/dist/esm/authz/domain/workspaces/operations.d.ts +2 -1
- package/dist/esm/authz/domain/workspaces/operations.d.ts.map +1 -1
- package/dist/esm/authz/domain/workspaces/types.d.ts +3 -0
- package/dist/esm/authz/domain/workspaces/types.d.ts.map +1 -1
- package/dist/esm/authz/fragments/automate.d.ts +7 -0
- package/dist/esm/authz/fragments/automate.d.ts.map +1 -0
- package/dist/esm/authz/fragments/automate.js +17 -0
- package/dist/esm/authz/fragments/automate.js.map +1 -0
- package/dist/esm/authz/fragments/dashboards.d.ts +8 -0
- package/dist/esm/authz/fragments/dashboards.d.ts.map +1 -0
- package/dist/esm/authz/fragments/dashboards.js +42 -0
- package/dist/esm/authz/fragments/dashboards.js.map +1 -0
- package/dist/esm/authz/fragments/projects.d.ts +13 -1
- package/dist/esm/authz/fragments/projects.d.ts.map +1 -1
- package/dist/esm/authz/fragments/projects.js +24 -1
- package/dist/esm/authz/fragments/projects.js.map +1 -1
- package/dist/esm/authz/fragments/savedViews.d.ts +30 -0
- package/dist/esm/authz/fragments/savedViews.d.ts.map +1 -0
- package/dist/esm/authz/fragments/savedViews.js +117 -0
- package/dist/esm/authz/fragments/savedViews.js.map +1 -0
- package/dist/esm/authz/fragments/workspaces.d.ts +9 -1
- package/dist/esm/authz/fragments/workspaces.d.ts.map +1 -1
- package/dist/esm/authz/fragments/workspaces.js +45 -1
- package/dist/esm/authz/fragments/workspaces.js.map +1 -1
- package/dist/esm/authz/helpers/graphql.d.ts +1 -1
- package/dist/esm/authz/helpers/graphql.d.ts.map +1 -1
- package/dist/esm/authz/helpers/graphql.js +1 -1
- package/dist/esm/authz/helpers/graphql.js.map +1 -1
- package/dist/esm/authz/index.d.ts +1 -0
- package/dist/esm/authz/index.d.ts.map +1 -1
- package/dist/esm/authz/index.js +1 -0
- package/dist/esm/authz/index.js.map +1 -1
- package/dist/esm/authz/policies/automate/function/canEditFunction.d.ts +10 -0
- package/dist/esm/authz/policies/automate/function/canEditFunction.d.ts.map +1 -0
- package/dist/esm/authz/policies/automate/function/canEditFunction.js +15 -0
- package/dist/esm/authz/policies/automate/function/canEditFunction.js.map +1 -0
- package/dist/esm/authz/policies/dashboard/canCreateToken.d.ts +10 -0
- package/dist/esm/authz/policies/dashboard/canCreateToken.d.ts.map +1 -0
- package/dist/esm/authz/policies/dashboard/canCreateToken.js +41 -0
- package/dist/esm/authz/policies/dashboard/canCreateToken.js.map +1 -0
- package/dist/esm/authz/policies/dashboard/canDelete.d.ts +10 -0
- package/dist/esm/authz/policies/dashboard/canDelete.d.ts.map +1 -0
- package/dist/esm/authz/policies/dashboard/canDelete.js +41 -0
- package/dist/esm/authz/policies/dashboard/canDelete.js.map +1 -0
- package/dist/esm/authz/policies/dashboard/canEdit.d.ts +10 -0
- package/dist/esm/authz/policies/dashboard/canEdit.d.ts.map +1 -0
- package/dist/esm/authz/policies/dashboard/canEdit.js +39 -0
- package/dist/esm/authz/policies/dashboard/canEdit.js.map +1 -0
- package/dist/esm/authz/policies/dashboard/canRead.d.ts +10 -0
- package/dist/esm/authz/policies/dashboard/canRead.d.ts.map +1 -0
- package/dist/esm/authz/policies/dashboard/canRead.js +38 -0
- package/dist/esm/authz/policies/dashboard/canRead.js.map +1 -0
- package/dist/esm/authz/policies/index.d.ts +62 -1
- package/dist/esm/authz/policies/index.d.ts.map +1 -1
- package/dist/esm/authz/policies/index.js +52 -4
- package/dist/esm/authz/policies/index.js.map +1 -1
- package/dist/esm/authz/policies/project/canLoad.d.ts.map +1 -1
- package/dist/esm/authz/policies/project/canLoad.js +6 -0
- package/dist/esm/authz/policies/project/canLoad.js.map +1 -1
- package/dist/esm/authz/policies/project/canReadAccIntegrationSettings.d.ts +10 -0
- package/dist/esm/authz/policies/project/canReadAccIntegrationSettings.d.ts.map +1 -0
- package/dist/esm/authz/policies/project/canReadAccIntegrationSettings.js +31 -0
- package/dist/esm/authz/policies/project/canReadAccIntegrationSettings.js.map +1 -0
- package/dist/esm/authz/policies/project/canUpdateEmbedTokens.d.ts +10 -0
- package/dist/esm/authz/policies/project/canUpdateEmbedTokens.d.ts.map +1 -0
- package/dist/esm/authz/policies/project/canUpdateEmbedTokens.js +48 -0
- package/dist/esm/authz/policies/project/canUpdateEmbedTokens.js.map +1 -0
- package/dist/esm/authz/policies/project/savedViews/canCreate.d.ts +6 -0
- package/dist/esm/authz/policies/project/savedViews/canCreate.d.ts.map +1 -0
- package/dist/esm/authz/policies/project/savedViews/canCreate.js +27 -0
- package/dist/esm/authz/policies/project/savedViews/canCreate.js.map +1 -0
- package/dist/esm/authz/policies/project/savedViews/canCreateSavedViewGroupToken.d.ts +6 -0
- package/dist/esm/authz/policies/project/savedViews/canCreateSavedViewGroupToken.d.ts.map +1 -0
- package/dist/esm/authz/policies/project/savedViews/canCreateSavedViewGroupToken.js +57 -0
- package/dist/esm/authz/policies/project/savedViews/canCreateSavedViewGroupToken.js.map +1 -0
- package/dist/esm/authz/policies/project/savedViews/canEditDescription.d.ts +6 -0
- package/dist/esm/authz/policies/project/savedViews/canEditDescription.d.ts.map +1 -0
- package/dist/esm/authz/policies/project/savedViews/canEditDescription.js +10 -0
- package/dist/esm/authz/policies/project/savedViews/canEditDescription.js.map +1 -0
- package/dist/esm/authz/policies/project/savedViews/canEditTitle.d.ts +6 -0
- package/dist/esm/authz/policies/project/savedViews/canEditTitle.d.ts.map +1 -0
- package/dist/esm/authz/policies/project/savedViews/canEditTitle.js +10 -0
- package/dist/esm/authz/policies/project/savedViews/canEditTitle.js.map +1 -0
- package/dist/esm/authz/policies/project/savedViews/canMove.d.ts +6 -0
- package/dist/esm/authz/policies/project/savedViews/canMove.d.ts.map +1 -0
- package/dist/esm/authz/policies/project/savedViews/canMove.js +10 -0
- package/dist/esm/authz/policies/project/savedViews/canMove.js.map +1 -0
- package/dist/esm/authz/policies/project/savedViews/canRead.d.ts +11 -0
- package/dist/esm/authz/policies/project/savedViews/canRead.d.ts.map +1 -0
- package/dist/esm/authz/policies/project/savedViews/canRead.js +11 -0
- package/dist/esm/authz/policies/project/savedViews/canRead.js.map +1 -0
- package/dist/esm/authz/policies/project/savedViews/canSetAsHomeView.d.ts +6 -0
- package/dist/esm/authz/policies/project/savedViews/canSetAsHomeView.d.ts.map +1 -0
- package/dist/esm/authz/policies/project/savedViews/canSetAsHomeView.js +41 -0
- package/dist/esm/authz/policies/project/savedViews/canSetAsHomeView.js.map +1 -0
- package/dist/esm/authz/policies/project/savedViews/canUpdate.d.ts +6 -0
- package/dist/esm/authz/policies/project/savedViews/canUpdate.d.ts.map +1 -0
- package/dist/esm/authz/policies/project/savedViews/canUpdate.js +10 -0
- package/dist/esm/authz/policies/project/savedViews/canUpdate.js.map +1 -0
- package/dist/esm/authz/policies/project/savedViews/canUpdateGroup.d.ts +6 -0
- package/dist/esm/authz/policies/project/savedViews/canUpdateGroup.d.ts.map +1 -0
- package/dist/esm/authz/policies/project/savedViews/canUpdateGroup.js +10 -0
- package/dist/esm/authz/policies/project/savedViews/canUpdateGroup.js.map +1 -0
- package/dist/esm/authz/policies/workspace/canCreateDashboards.d.ts +10 -0
- package/dist/esm/authz/policies/workspace/canCreateDashboards.d.ts.map +1 -0
- package/dist/esm/authz/policies/workspace/canCreateDashboards.js +35 -0
- package/dist/esm/authz/policies/workspace/canCreateDashboards.js.map +1 -0
- package/dist/esm/authz/policies/workspace/canCreateWorkspace.d.ts +10 -0
- package/dist/esm/authz/policies/workspace/canCreateWorkspace.d.ts.map +1 -0
- package/dist/esm/authz/policies/workspace/canCreateWorkspace.js +47 -0
- package/dist/esm/authz/policies/workspace/canCreateWorkspace.js.map +1 -0
- package/dist/esm/authz/policies/workspace/canListDashboards.d.ts +10 -0
- package/dist/esm/authz/policies/workspace/canListDashboards.d.ts.map +1 -0
- package/dist/esm/authz/policies/workspace/canListDashboards.js +22 -0
- package/dist/esm/authz/policies/workspace/canListDashboards.js.map +1 -0
- package/dist/esm/authz/policies/workspace/canReadMemberEmail.d.ts +1 -1
- package/dist/esm/authz/policies/workspace/canReadMemberEmail.d.ts.map +1 -1
- package/dist/esm/authz/policies/workspace/canReadMemberEmail.js +2 -21
- package/dist/esm/authz/policies/workspace/canReadMemberEmail.js.map +1 -1
- package/dist/esm/authz/policies/workspace/{canUpdateEmbedOptions.d.ts → canUseWorkspacePlanFeature.d.ts} +13 -5
- package/dist/esm/authz/policies/workspace/canUseWorkspacePlanFeature.d.ts.map +1 -0
- package/dist/esm/authz/policies/workspace/canUseWorkspacePlanFeature.js +23 -0
- package/dist/esm/authz/policies/workspace/canUseWorkspacePlanFeature.js.map +1 -0
- package/dist/esm/automate/helpers/types.d.ts +313 -51
- package/dist/esm/automate/helpers/types.d.ts.map +1 -1
- package/dist/esm/automate/helpers/types.js +11 -1
- package/dist/esm/automate/helpers/types.js.map +1 -1
- package/dist/esm/blobs/index.d.ts +17 -0
- package/dist/esm/blobs/index.d.ts.map +1 -0
- package/dist/esm/blobs/index.js +111 -0
- package/dist/esm/blobs/index.js.map +1 -0
- package/dist/esm/core/constants.d.ts +4 -2
- package/dist/esm/core/constants.d.ts.map +1 -1
- package/dist/esm/core/constants.js +24 -4
- package/dist/esm/core/constants.js.map +1 -1
- package/dist/esm/core/helpers/encoding.d.ts +2 -0
- package/dist/esm/core/helpers/encoding.d.ts.map +1 -0
- package/dist/esm/core/helpers/encoding.js +11 -0
- package/dist/esm/core/helpers/encoding.js.map +1 -0
- package/dist/esm/core/helpers/error.d.ts +11 -0
- package/dist/esm/core/helpers/error.d.ts.map +1 -1
- package/dist/esm/core/helpers/error.js +56 -1
- package/dist/esm/core/helpers/error.js.map +1 -1
- package/dist/esm/core/helpers/url.d.ts +24 -0
- package/dist/esm/core/helpers/url.d.ts.map +1 -1
- package/dist/esm/core/helpers/url.js +30 -0
- package/dist/esm/core/helpers/url.js.map +1 -1
- package/dist/esm/core/helpers/utility.d.ts +16 -0
- package/dist/esm/core/helpers/utility.d.ts.map +1 -1
- package/dist/esm/core/helpers/utility.js +19 -0
- package/dist/esm/core/helpers/utility.js.map +1 -1
- package/dist/esm/core/index.d.ts +2 -0
- package/dist/esm/core/index.d.ts.map +1 -1
- package/dist/esm/core/index.js +2 -0
- package/dist/esm/core/index.js.map +1 -1
- package/dist/esm/core/utils/base64.d.ts +3 -0
- package/dist/esm/core/utils/base64.d.ts.map +1 -0
- package/dist/esm/core/utils/base64.js +21 -0
- package/dist/esm/core/utils/base64.js.map +1 -0
- package/dist/esm/environment/{multiRegionConfig.d.ts → db.d.ts} +54 -5
- package/dist/esm/environment/db.d.ts.map +1 -0
- package/dist/esm/environment/{multiRegionConfig.js → db.js} +40 -7
- package/dist/esm/environment/db.js.map +1 -0
- package/dist/esm/environment/featureFlags.d.ts +25 -0
- package/dist/esm/environment/featureFlags.d.ts.map +1 -0
- package/dist/esm/environment/featureFlags.js +5 -0
- package/dist/esm/environment/featureFlags.js.map +1 -0
- package/dist/esm/environment/index.d.ts +2 -15
- package/dist/esm/environment/index.d.ts.map +1 -1
- package/dist/esm/environment/index.js +44 -7
- package/dist/esm/environment/index.js.map +1 -1
- package/dist/esm/environment/node.d.ts +5 -0
- package/dist/esm/environment/node.d.ts.map +1 -0
- package/dist/esm/environment/node.js +11 -0
- package/dist/esm/environment/node.js.map +1 -0
- package/dist/esm/images/base64.d.ts +2 -0
- package/dist/esm/images/base64.d.ts.map +1 -0
- package/dist/esm/images/base64.js +15 -0
- package/dist/esm/images/base64.js.map +1 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/observability/index.d.ts.map +1 -1
- package/dist/esm/observability/index.js +19 -2
- package/dist/esm/observability/index.js.map +1 -1
- package/dist/esm/queue/config.d.ts +3 -0
- package/dist/esm/queue/config.d.ts.map +1 -1
- package/dist/esm/queue/config.js +12 -4
- package/dist/esm/queue/config.js.map +1 -1
- package/dist/esm/rich-text-editor/helpers/index.d.ts +13 -1
- package/dist/esm/rich-text-editor/helpers/index.d.ts.map +1 -1
- package/dist/esm/rich-text-editor/helpers/index.js +1 -0
- package/dist/esm/rich-text-editor/helpers/index.js.map +1 -1
- package/dist/esm/saved-views/helpers/defaultGroup.d.ts +23 -0
- package/dist/esm/saved-views/helpers/defaultGroup.d.ts.map +1 -0
- package/dist/esm/saved-views/helpers/defaultGroup.js +51 -0
- package/dist/esm/saved-views/helpers/defaultGroup.js.map +1 -0
- package/dist/esm/saved-views/index.d.ts +2 -0
- package/dist/esm/saved-views/index.d.ts.map +1 -0
- package/dist/esm/saved-views/index.js +2 -0
- package/dist/esm/saved-views/index.js.map +1 -0
- package/dist/esm/viewer/helpers/route.d.ts +42 -7
- package/dist/esm/viewer/helpers/route.d.ts.map +1 -1
- package/dist/esm/viewer/helpers/route.js +140 -30
- package/dist/esm/viewer/helpers/route.js.map +1 -1
- package/dist/esm/viewer/helpers/state.d.ts +59 -6
- package/dist/esm/viewer/helpers/state.d.ts.map +1 -1
- package/dist/esm/viewer/helpers/state.js +97 -22
- package/dist/esm/viewer/helpers/state.js.map +1 -1
- package/dist/esm/workers/fileimport/job.d.ts +85 -9
- package/dist/esm/workers/fileimport/job.d.ts.map +1 -1
- package/dist/esm/workers/fileimport/job.js +20 -9
- package/dist/esm/workers/fileimport/job.js.map +1 -1
- package/dist/esm/workers/previews/job.d.ts +37 -20
- package/dist/esm/workers/previews/job.d.ts.map +1 -1
- package/dist/esm/workers/previews/job.js +20 -1
- package/dist/esm/workers/previews/job.js.map +1 -1
- package/dist/esm/workspaces/helpers/features.d.ts +55 -5
- package/dist/esm/workspaces/helpers/features.d.ts.map +1 -1
- package/dist/esm/workspaces/helpers/features.js +173 -113
- package/dist/esm/workspaces/helpers/features.js.map +1 -1
- package/dist/esm/workspaces/helpers/plans.d.ts +1 -0
- package/dist/esm/workspaces/helpers/plans.d.ts.map +1 -1
- package/dist/esm/workspaces/helpers/plans.js.map +1 -1
- package/package.json +110 -8
- package/src/acc/helpers/types.ts +42 -0
- package/src/acc/index.ts +1 -0
- package/src/authz/checks/dashboards.spec.ts +46 -0
- package/src/authz/checks/dashboards.ts +14 -0
- package/src/authz/domain/authErrors.ts +87 -2
- package/src/authz/domain/automate/operations.ts +5 -0
- package/src/authz/domain/automate/types.ts +9 -0
- package/src/authz/domain/context.ts +8 -0
- package/src/authz/domain/dashboards/operations.ts +3 -0
- package/src/authz/domain/dashboards/types.ts +6 -0
- package/src/authz/domain/loaders.ts +40 -24
- package/src/authz/domain/savedViews/operations.ts +11 -0
- package/src/authz/domain/savedViews/types.ts +25 -0
- package/src/authz/domain/workspaces/operations.ts +3 -1
- package/src/authz/domain/workspaces/types.ts +4 -0
- package/src/authz/fragments/automate.spec.ts +120 -0
- package/src/authz/fragments/automate.ts +36 -0
- package/src/authz/fragments/dashboards.ts +90 -0
- package/src/authz/fragments/projects.spec.ts +135 -10
- package/src/authz/fragments/projects.ts +53 -1
- package/src/authz/fragments/savedViews.spec.ts +551 -0
- package/src/authz/fragments/savedViews.ts +245 -0
- package/src/authz/fragments/workspaces.spec.ts +234 -7
- package/src/authz/fragments/workspaces.ts +84 -0
- package/src/authz/helpers/graphql.ts +2 -2
- package/src/authz/index.ts +1 -0
- package/src/authz/policies/automate/function/canEditFunction.spec.ts +87 -0
- package/src/authz/policies/automate/function/canEditFunction.ts +46 -0
- package/src/authz/policies/dashboard/canCreateToken.ts +89 -0
- package/src/authz/policies/dashboard/canDelete.ts +84 -0
- package/src/authz/policies/dashboard/canEdit.ts +79 -0
- package/src/authz/policies/dashboard/canRead.ts +83 -0
- package/src/authz/policies/index.spec.ts +13 -0
- package/src/authz/policies/index.ts +52 -4
- package/src/authz/policies/project/automation/canCreate.spec.ts +2 -1
- package/src/authz/policies/project/automation/canDelete.spec.ts +2 -1
- package/src/authz/policies/project/automation/canUpdate.spec.ts +2 -1
- package/src/authz/policies/project/canBroadcastActivity.spec.ts +2 -2
- package/src/authz/policies/project/canDelete.spec.ts +2 -2
- package/src/authz/policies/project/canLeave.spec.ts +2 -2
- package/src/authz/policies/project/canLoad.spec.ts +17 -1
- package/src/authz/policies/project/canLoad.ts +7 -0
- package/src/authz/policies/project/canMoveToWorkspace.spec.ts +6 -10
- package/src/authz/policies/project/canPublish.spec.ts +2 -1
- package/src/authz/policies/project/canRead.spec.ts +2 -3
- package/src/authz/policies/project/canReadAccIntegrationSettings.spec.ts +133 -0
- package/src/authz/policies/project/canReadAccIntegrationSettings.ts +87 -0
- package/src/authz/policies/project/canReadSettings.spec.ts +2 -2
- package/src/authz/policies/project/canReadWebhooks.spec.ts +2 -2
- package/src/authz/policies/project/canUpdate.spec.ts +2 -5
- package/src/authz/policies/project/canUpdateEmbedTokens.spec.ts +132 -0
- package/src/authz/policies/project/canUpdateEmbedTokens.ts +101 -0
- package/src/authz/policies/project/comment/canArchive.spec.ts +6 -5
- package/src/authz/policies/project/comment/canCreate.spec.ts +2 -2
- package/src/authz/policies/project/comment/canEdit.spec.ts +6 -5
- package/src/authz/policies/project/model/canDelete.spec.ts +6 -2
- package/src/authz/policies/project/model/canUpdate.spec.ts +2 -5
- package/src/authz/policies/project/savedViews/canCreate.spec.ts +186 -0
- package/src/authz/policies/project/savedViews/canCreate.ts +81 -0
- package/src/authz/policies/project/savedViews/canCreateSavedViewGroupToken.spec.ts +250 -0
- package/src/authz/policies/project/savedViews/canCreateSavedViewGroupToken.ts +117 -0
- package/src/authz/policies/project/savedViews/canEditDescription.spec.ts +206 -0
- package/src/authz/policies/project/savedViews/canEditDescription.ts +67 -0
- package/src/authz/policies/project/savedViews/canEditTitle.spec.ts +204 -0
- package/src/authz/policies/project/savedViews/canEditTitle.ts +67 -0
- package/src/authz/policies/project/savedViews/canMove.spec.ts +204 -0
- package/src/authz/policies/project/savedViews/canMove.ts +67 -0
- package/src/authz/policies/project/savedViews/canRead.ts +72 -0
- package/src/authz/policies/project/savedViews/canSetAsHomeView.spec.ts +248 -0
- package/src/authz/policies/project/savedViews/canSetAsHomeView.ts +108 -0
- package/src/authz/policies/project/savedViews/canUpdate.spec.ts +191 -0
- package/src/authz/policies/project/savedViews/canUpdate.ts +67 -0
- package/src/authz/policies/project/savedViews/canUpdateGroup.spec.ts +227 -0
- package/src/authz/policies/project/savedViews/canUpdateGroup.ts +63 -0
- package/src/authz/policies/project/version/canUpdate.spec.ts +6 -5
- package/src/authz/policies/workspace/canCreateDashboards.ts +71 -0
- package/src/authz/policies/workspace/canCreateWorkspace.spec.ts +380 -0
- package/src/authz/policies/workspace/canCreateWorkspace.ts +77 -0
- package/src/authz/policies/workspace/canListDashboards.ts +53 -0
- package/src/authz/policies/workspace/canReadMemberEmail.spec.ts +25 -36
- package/src/authz/policies/workspace/canReadMemberEmail.ts +11 -34
- package/src/authz/policies/workspace/canReceiveProjectsUpdatedMessage.spec.ts +2 -5
- package/src/authz/policies/workspace/{canUpdateEmbedOptions.spec.ts → canUseWorkspacePlanFeature.spec.ts} +40 -38
- package/src/authz/policies/workspace/canUseWorkspacePlanFeature.ts +69 -0
- package/src/automate/helpers/types.ts +17 -3
- package/src/blobs/index.ts +121 -0
- package/src/core/constants.ts +25 -4
- package/src/core/helpers/encoding.ts +12 -0
- package/src/core/helpers/error.spec.ts +215 -0
- package/src/core/helpers/error.ts +58 -1
- package/src/core/helpers/url.ts +33 -0
- package/src/core/helpers/utility.spec.ts +19 -1
- package/src/core/helpers/utility.ts +31 -0
- package/src/core/index.ts +2 -0
- package/src/core/utils/base64.spec.ts +31 -0
- package/src/core/utils/base64.ts +19 -0
- package/src/environment/db.spec.ts +48 -0
- package/src/environment/{multiRegionConfig.ts → db.ts} +62 -8
- package/src/environment/featureFlags.ts +25 -0
- package/src/environment/index.spec.ts +126 -0
- package/src/environment/index.ts +51 -24
- package/src/environment/node.ts +11 -0
- package/src/images/base64.spec.ts +42 -0
- package/src/images/base64.ts +15 -0
- package/src/index.ts +1 -0
- package/src/observability/index.ts +22 -2
- package/src/queue/config.ts +18 -6
- package/src/rich-text-editor/helpers/index.ts +15 -1
- package/src/saved-views/helpers/defaultGroup.spec.ts +12 -0
- package/src/saved-views/helpers/defaultGroup.ts +70 -0
- package/src/saved-views/index.ts +1 -0
- package/src/tests/fakes.ts +55 -4
- package/src/viewer/helpers/route.spec.ts +353 -0
- package/src/viewer/helpers/route.ts +180 -25
- package/src/viewer/helpers/state.spec.ts +252 -0
- package/src/viewer/helpers/state.ts +158 -27
- package/src/workers/fileimport/job.ts +40 -21
- package/src/workers/previews/job.ts +23 -1
- package/src/workspaces/helpers/features.spec.ts +99 -0
- package/src/workspaces/helpers/features.ts +215 -119
- package/src/workspaces/helpers/plans.ts +1 -0
- package/dist/commonjs/authz/policies/workspace/canUpdateEmbedOptions.d.ts.map +0 -1
- package/dist/commonjs/authz/policies/workspace/canUpdateEmbedOptions.js +0 -44
- package/dist/commonjs/authz/policies/workspace/canUpdateEmbedOptions.js.map +0 -1
- package/dist/commonjs/environment/multiRegionConfig.d.ts.map +0 -1
- package/dist/commonjs/environment/multiRegionConfig.js.map +0 -1
- package/dist/esm/authz/policies/workspace/canUpdateEmbedOptions.d.ts.map +0 -1
- package/dist/esm/authz/policies/workspace/canUpdateEmbedOptions.js +0 -40
- package/dist/esm/authz/policies/workspace/canUpdateEmbedOptions.js.map +0 -1
- package/dist/esm/environment/multiRegionConfig.d.ts.map +0 -1
- package/dist/esm/environment/multiRegionConfig.js.map +0 -1
- package/src/authz/policies/workspace/canUpdateEmbedOptions.ts +0 -89
|
@@ -7,11 +7,11 @@ declare const versionCreatedTriggerDefinition: z.ZodObject<{
|
|
|
7
7
|
type: z.ZodLiteral<"VERSION_CREATED">;
|
|
8
8
|
modelId: z.ZodString;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
modelId: string;
|
|
11
10
|
type: "VERSION_CREATED";
|
|
12
|
-
}, {
|
|
13
11
|
modelId: string;
|
|
12
|
+
}, {
|
|
14
13
|
type: "VERSION_CREATED";
|
|
14
|
+
modelId: string;
|
|
15
15
|
}>;
|
|
16
16
|
export type VersionCreatedTriggerDefinition = z.infer<typeof versionCreatedTriggerDefinition>;
|
|
17
17
|
declare const triggerDefinitionsSchema: z.ZodObject<{
|
|
@@ -20,23 +20,23 @@ declare const triggerDefinitionsSchema: z.ZodObject<{
|
|
|
20
20
|
type: z.ZodLiteral<"VERSION_CREATED">;
|
|
21
21
|
modelId: z.ZodString;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
modelId: string;
|
|
24
23
|
type: "VERSION_CREATED";
|
|
25
|
-
}, {
|
|
26
24
|
modelId: string;
|
|
25
|
+
}, {
|
|
27
26
|
type: "VERSION_CREATED";
|
|
27
|
+
modelId: string;
|
|
28
28
|
}>, "many">;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
30
|
version: 1;
|
|
31
31
|
definitions: {
|
|
32
|
-
modelId: string;
|
|
33
32
|
type: "VERSION_CREATED";
|
|
33
|
+
modelId: string;
|
|
34
34
|
}[];
|
|
35
35
|
}, {
|
|
36
36
|
version: 1;
|
|
37
37
|
definitions: {
|
|
38
|
-
modelId: string;
|
|
39
38
|
type: "VERSION_CREATED";
|
|
39
|
+
modelId: string;
|
|
40
40
|
}[];
|
|
41
41
|
}>;
|
|
42
42
|
export type TriggerDefinitionsSchema = z.infer<typeof triggerDefinitionsSchema>;
|
|
@@ -45,7 +45,10 @@ export type ObjectResultLevel = z.infer<typeof objectResultLevel>;
|
|
|
45
45
|
export declare const resultSchemaV1: z.ZodObject<{
|
|
46
46
|
version: z.ZodLiteral<1>;
|
|
47
47
|
values: z.ZodObject<{
|
|
48
|
-
objectResults: z.ZodArray<z.ZodObject<{
|
|
48
|
+
objectResults: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
49
|
+
category: z.ZodString;
|
|
50
|
+
level: z.ZodUnion<[z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
|
|
51
|
+
message: z.ZodNullable<z.ZodString>;
|
|
49
52
|
metadata: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
50
53
|
gradient: z.ZodOptional<z.ZodBoolean>;
|
|
51
54
|
gradientValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -66,31 +69,29 @@ export declare const resultSchemaV1: z.ZodObject<{
|
|
|
66
69
|
gradientValue: number;
|
|
67
70
|
}> | undefined;
|
|
68
71
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
69
|
-
message: z.ZodNullable<z.ZodString>;
|
|
70
|
-
category: z.ZodString;
|
|
71
|
-
level: z.ZodUnion<[z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
|
|
72
72
|
visualOverrides: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
73
|
+
}, {
|
|
73
74
|
objectIds: z.ZodArray<z.ZodString, "many">;
|
|
74
|
-
}
|
|
75
|
+
}>, "strip", z.ZodTypeAny, {
|
|
76
|
+
message: string | null;
|
|
75
77
|
metadata: ({
|
|
76
78
|
gradient?: boolean | undefined;
|
|
77
79
|
gradientValues?: Record<string, {
|
|
78
80
|
gradientValue: number;
|
|
79
81
|
}> | undefined;
|
|
80
82
|
} & Record<string, unknown>) | null;
|
|
81
|
-
message: string | null;
|
|
82
83
|
category: string;
|
|
83
84
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
84
85
|
visualOverrides: Record<string, unknown> | null;
|
|
85
86
|
objectIds: string[];
|
|
86
87
|
}, {
|
|
88
|
+
message: string | null;
|
|
87
89
|
metadata: ({
|
|
88
90
|
gradient?: boolean | undefined;
|
|
89
91
|
gradientValues?: Record<string, {
|
|
90
92
|
gradientValue: number;
|
|
91
93
|
}> | undefined;
|
|
92
94
|
} & Record<string, unknown>) | null;
|
|
93
|
-
message: string | null;
|
|
94
95
|
category: string;
|
|
95
96
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
96
97
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -99,13 +100,13 @@ export declare const resultSchemaV1: z.ZodObject<{
|
|
|
99
100
|
blobIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
100
101
|
}, "strip", z.ZodTypeAny, {
|
|
101
102
|
objectResults: {
|
|
103
|
+
message: string | null;
|
|
102
104
|
metadata: ({
|
|
103
105
|
gradient?: boolean | undefined;
|
|
104
106
|
gradientValues?: Record<string, {
|
|
105
107
|
gradientValue: number;
|
|
106
108
|
}> | undefined;
|
|
107
109
|
} & Record<string, unknown>) | null;
|
|
108
|
-
message: string | null;
|
|
109
110
|
category: string;
|
|
110
111
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
111
112
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -114,13 +115,13 @@ export declare const resultSchemaV1: z.ZodObject<{
|
|
|
114
115
|
blobIds?: string[] | undefined;
|
|
115
116
|
}, {
|
|
116
117
|
objectResults: {
|
|
118
|
+
message: string | null;
|
|
117
119
|
metadata: ({
|
|
118
120
|
gradient?: boolean | undefined;
|
|
119
121
|
gradientValues?: Record<string, {
|
|
120
122
|
gradientValue: number;
|
|
121
123
|
}> | undefined;
|
|
122
124
|
} & Record<string, unknown>) | null;
|
|
123
|
-
message: string | null;
|
|
124
125
|
category: string;
|
|
125
126
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
126
127
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -131,13 +132,13 @@ export declare const resultSchemaV1: z.ZodObject<{
|
|
|
131
132
|
}, "strip", z.ZodTypeAny, {
|
|
132
133
|
values: {
|
|
133
134
|
objectResults: {
|
|
135
|
+
message: string | null;
|
|
134
136
|
metadata: ({
|
|
135
137
|
gradient?: boolean | undefined;
|
|
136
138
|
gradientValues?: Record<string, {
|
|
137
139
|
gradientValue: number;
|
|
138
140
|
}> | undefined;
|
|
139
141
|
} & Record<string, unknown>) | null;
|
|
140
|
-
message: string | null;
|
|
141
142
|
category: string;
|
|
142
143
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
143
144
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -149,13 +150,13 @@ export declare const resultSchemaV1: z.ZodObject<{
|
|
|
149
150
|
}, {
|
|
150
151
|
values: {
|
|
151
152
|
objectResults: {
|
|
153
|
+
message: string | null;
|
|
152
154
|
metadata: ({
|
|
153
155
|
gradient?: boolean | undefined;
|
|
154
156
|
gradientValues?: Record<string, {
|
|
155
157
|
gradientValue: number;
|
|
156
158
|
}> | undefined;
|
|
157
159
|
} & Record<string, unknown>) | null;
|
|
158
|
-
message: string | null;
|
|
159
160
|
category: string;
|
|
160
161
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
161
162
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -169,7 +170,10 @@ export type ResultSchemaV1 = z.infer<typeof resultSchemaV1>;
|
|
|
169
170
|
export declare const resultSchemaV2: z.ZodObject<{
|
|
170
171
|
version: z.ZodLiteral<2>;
|
|
171
172
|
values: z.ZodObject<{
|
|
172
|
-
objectResults: z.ZodArray<z.ZodObject<{
|
|
173
|
+
objectResults: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
174
|
+
category: z.ZodString;
|
|
175
|
+
level: z.ZodUnion<[z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
|
|
176
|
+
message: z.ZodNullable<z.ZodString>;
|
|
173
177
|
metadata: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
174
178
|
gradient: z.ZodOptional<z.ZodBoolean>;
|
|
175
179
|
gradientValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -190,31 +194,29 @@ export declare const resultSchemaV2: z.ZodObject<{
|
|
|
190
194
|
gradientValue: number;
|
|
191
195
|
}> | undefined;
|
|
192
196
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
193
|
-
message: z.ZodNullable<z.ZodString>;
|
|
194
|
-
category: z.ZodString;
|
|
195
|
-
level: z.ZodUnion<[z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
|
|
196
197
|
visualOverrides: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
198
|
+
}, {
|
|
197
199
|
objectAppIds: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
198
|
-
}
|
|
200
|
+
}>, "strip", z.ZodTypeAny, {
|
|
201
|
+
message: string | null;
|
|
199
202
|
metadata: ({
|
|
200
203
|
gradient?: boolean | undefined;
|
|
201
204
|
gradientValues?: Record<string, {
|
|
202
205
|
gradientValue: number;
|
|
203
206
|
}> | undefined;
|
|
204
207
|
} & Record<string, unknown>) | null;
|
|
205
|
-
message: string | null;
|
|
206
208
|
category: string;
|
|
207
209
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
208
210
|
visualOverrides: Record<string, unknown> | null;
|
|
209
211
|
objectAppIds: Record<string, string | null>;
|
|
210
212
|
}, {
|
|
213
|
+
message: string | null;
|
|
211
214
|
metadata: ({
|
|
212
215
|
gradient?: boolean | undefined;
|
|
213
216
|
gradientValues?: Record<string, {
|
|
214
217
|
gradientValue: number;
|
|
215
218
|
}> | undefined;
|
|
216
219
|
} & Record<string, unknown>) | null;
|
|
217
|
-
message: string | null;
|
|
218
220
|
category: string;
|
|
219
221
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
220
222
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -223,13 +225,13 @@ export declare const resultSchemaV2: z.ZodObject<{
|
|
|
223
225
|
blobIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
224
226
|
}, "strip", z.ZodTypeAny, {
|
|
225
227
|
objectResults: {
|
|
228
|
+
message: string | null;
|
|
226
229
|
metadata: ({
|
|
227
230
|
gradient?: boolean | undefined;
|
|
228
231
|
gradientValues?: Record<string, {
|
|
229
232
|
gradientValue: number;
|
|
230
233
|
}> | undefined;
|
|
231
234
|
} & Record<string, unknown>) | null;
|
|
232
|
-
message: string | null;
|
|
233
235
|
category: string;
|
|
234
236
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
235
237
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -238,13 +240,13 @@ export declare const resultSchemaV2: z.ZodObject<{
|
|
|
238
240
|
blobIds?: string[] | undefined;
|
|
239
241
|
}, {
|
|
240
242
|
objectResults: {
|
|
243
|
+
message: string | null;
|
|
241
244
|
metadata: ({
|
|
242
245
|
gradient?: boolean | undefined;
|
|
243
246
|
gradientValues?: Record<string, {
|
|
244
247
|
gradientValue: number;
|
|
245
248
|
}> | undefined;
|
|
246
249
|
} & Record<string, unknown>) | null;
|
|
247
|
-
message: string | null;
|
|
248
250
|
category: string;
|
|
249
251
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
250
252
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -255,13 +257,13 @@ export declare const resultSchemaV2: z.ZodObject<{
|
|
|
255
257
|
}, "strip", z.ZodTypeAny, {
|
|
256
258
|
values: {
|
|
257
259
|
objectResults: {
|
|
260
|
+
message: string | null;
|
|
258
261
|
metadata: ({
|
|
259
262
|
gradient?: boolean | undefined;
|
|
260
263
|
gradientValues?: Record<string, {
|
|
261
264
|
gradientValue: number;
|
|
262
265
|
}> | undefined;
|
|
263
266
|
} & Record<string, unknown>) | null;
|
|
264
|
-
message: string | null;
|
|
265
267
|
category: string;
|
|
266
268
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
267
269
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -273,13 +275,13 @@ export declare const resultSchemaV2: z.ZodObject<{
|
|
|
273
275
|
}, {
|
|
274
276
|
values: {
|
|
275
277
|
objectResults: {
|
|
278
|
+
message: string | null;
|
|
276
279
|
metadata: ({
|
|
277
280
|
gradient?: boolean | undefined;
|
|
278
281
|
gradientValues?: Record<string, {
|
|
279
282
|
gradientValue: number;
|
|
280
283
|
}> | undefined;
|
|
281
284
|
} & Record<string, unknown>) | null;
|
|
282
|
-
message: string | null;
|
|
283
285
|
category: string;
|
|
284
286
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
285
287
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -289,10 +291,15 @@ export declare const resultSchemaV2: z.ZodObject<{
|
|
|
289
291
|
};
|
|
290
292
|
version: 2;
|
|
291
293
|
}>;
|
|
292
|
-
export
|
|
293
|
-
|
|
294
|
+
export type ResultSchemaV2 = z.infer<typeof resultSchemaV2>;
|
|
295
|
+
export declare const resultSchemaV3: z.ZodObject<{
|
|
296
|
+
version: z.ZodLiteral<3>;
|
|
294
297
|
values: z.ZodObject<{
|
|
295
|
-
|
|
298
|
+
versionResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
299
|
+
objectResults: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
300
|
+
category: z.ZodString;
|
|
301
|
+
level: z.ZodUnion<[z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
|
|
302
|
+
message: z.ZodNullable<z.ZodString>;
|
|
296
303
|
metadata: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
297
304
|
gradient: z.ZodOptional<z.ZodBoolean>;
|
|
298
305
|
gradientValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -313,31 +320,158 @@ export declare const resultSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObje
|
|
|
313
320
|
gradientValue: number;
|
|
314
321
|
}> | undefined;
|
|
315
322
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
316
|
-
|
|
323
|
+
visualOverrides: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
324
|
+
}, {
|
|
325
|
+
objectAppIds: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
326
|
+
}>, "strip", z.ZodTypeAny, {
|
|
327
|
+
message: string | null;
|
|
328
|
+
metadata: ({
|
|
329
|
+
gradient?: boolean | undefined;
|
|
330
|
+
gradientValues?: Record<string, {
|
|
331
|
+
gradientValue: number;
|
|
332
|
+
}> | undefined;
|
|
333
|
+
} & Record<string, unknown>) | null;
|
|
334
|
+
category: string;
|
|
335
|
+
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
336
|
+
visualOverrides: Record<string, unknown> | null;
|
|
337
|
+
objectAppIds: Record<string, string | null>;
|
|
338
|
+
}, {
|
|
339
|
+
message: string | null;
|
|
340
|
+
metadata: ({
|
|
341
|
+
gradient?: boolean | undefined;
|
|
342
|
+
gradientValues?: Record<string, {
|
|
343
|
+
gradientValue: number;
|
|
344
|
+
}> | undefined;
|
|
345
|
+
} & Record<string, unknown>) | null;
|
|
346
|
+
category: string;
|
|
347
|
+
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
348
|
+
visualOverrides: Record<string, unknown> | null;
|
|
349
|
+
objectAppIds: Record<string, string | null>;
|
|
350
|
+
}>, "many">>;
|
|
351
|
+
blobIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
352
|
+
}, "strip", z.ZodTypeAny, {
|
|
353
|
+
objectResults?: {
|
|
354
|
+
message: string | null;
|
|
355
|
+
metadata: ({
|
|
356
|
+
gradient?: boolean | undefined;
|
|
357
|
+
gradientValues?: Record<string, {
|
|
358
|
+
gradientValue: number;
|
|
359
|
+
}> | undefined;
|
|
360
|
+
} & Record<string, unknown>) | null;
|
|
361
|
+
category: string;
|
|
362
|
+
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
363
|
+
visualOverrides: Record<string, unknown> | null;
|
|
364
|
+
objectAppIds: Record<string, string | null>;
|
|
365
|
+
}[] | undefined;
|
|
366
|
+
blobIds?: string[] | undefined;
|
|
367
|
+
versionResult?: Record<string, unknown> | undefined;
|
|
368
|
+
}, {
|
|
369
|
+
objectResults?: {
|
|
370
|
+
message: string | null;
|
|
371
|
+
metadata: ({
|
|
372
|
+
gradient?: boolean | undefined;
|
|
373
|
+
gradientValues?: Record<string, {
|
|
374
|
+
gradientValue: number;
|
|
375
|
+
}> | undefined;
|
|
376
|
+
} & Record<string, unknown>) | null;
|
|
377
|
+
category: string;
|
|
378
|
+
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
379
|
+
visualOverrides: Record<string, unknown> | null;
|
|
380
|
+
objectAppIds: Record<string, string | null>;
|
|
381
|
+
}[] | undefined;
|
|
382
|
+
blobIds?: string[] | undefined;
|
|
383
|
+
versionResult?: Record<string, unknown> | undefined;
|
|
384
|
+
}>;
|
|
385
|
+
}, "strip", z.ZodTypeAny, {
|
|
386
|
+
values: {
|
|
387
|
+
objectResults?: {
|
|
388
|
+
message: string | null;
|
|
389
|
+
metadata: ({
|
|
390
|
+
gradient?: boolean | undefined;
|
|
391
|
+
gradientValues?: Record<string, {
|
|
392
|
+
gradientValue: number;
|
|
393
|
+
}> | undefined;
|
|
394
|
+
} & Record<string, unknown>) | null;
|
|
395
|
+
category: string;
|
|
396
|
+
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
397
|
+
visualOverrides: Record<string, unknown> | null;
|
|
398
|
+
objectAppIds: Record<string, string | null>;
|
|
399
|
+
}[] | undefined;
|
|
400
|
+
blobIds?: string[] | undefined;
|
|
401
|
+
versionResult?: Record<string, unknown> | undefined;
|
|
402
|
+
};
|
|
403
|
+
version: 3;
|
|
404
|
+
}, {
|
|
405
|
+
values: {
|
|
406
|
+
objectResults?: {
|
|
407
|
+
message: string | null;
|
|
408
|
+
metadata: ({
|
|
409
|
+
gradient?: boolean | undefined;
|
|
410
|
+
gradientValues?: Record<string, {
|
|
411
|
+
gradientValue: number;
|
|
412
|
+
}> | undefined;
|
|
413
|
+
} & Record<string, unknown>) | null;
|
|
414
|
+
category: string;
|
|
415
|
+
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
416
|
+
visualOverrides: Record<string, unknown> | null;
|
|
417
|
+
objectAppIds: Record<string, string | null>;
|
|
418
|
+
}[] | undefined;
|
|
419
|
+
blobIds?: string[] | undefined;
|
|
420
|
+
versionResult?: Record<string, unknown> | undefined;
|
|
421
|
+
};
|
|
422
|
+
version: 3;
|
|
423
|
+
}>;
|
|
424
|
+
export type ResultSchemaV3 = z.infer<typeof resultSchemaV3>;
|
|
425
|
+
export declare const resultSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
|
|
426
|
+
version: z.ZodLiteral<1>;
|
|
427
|
+
values: z.ZodObject<{
|
|
428
|
+
objectResults: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
317
429
|
category: z.ZodString;
|
|
318
430
|
level: z.ZodUnion<[z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
|
|
431
|
+
message: z.ZodNullable<z.ZodString>;
|
|
432
|
+
metadata: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
433
|
+
gradient: z.ZodOptional<z.ZodBoolean>;
|
|
434
|
+
gradientValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
435
|
+
gradientValue: z.ZodNumber;
|
|
436
|
+
}, "strip", z.ZodTypeAny, {
|
|
437
|
+
gradientValue: number;
|
|
438
|
+
}, {
|
|
439
|
+
gradientValue: number;
|
|
440
|
+
}>>>;
|
|
441
|
+
}, "strip", z.ZodTypeAny, {
|
|
442
|
+
gradient?: boolean | undefined;
|
|
443
|
+
gradientValues?: Record<string, {
|
|
444
|
+
gradientValue: number;
|
|
445
|
+
}> | undefined;
|
|
446
|
+
}, {
|
|
447
|
+
gradient?: boolean | undefined;
|
|
448
|
+
gradientValues?: Record<string, {
|
|
449
|
+
gradientValue: number;
|
|
450
|
+
}> | undefined;
|
|
451
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
319
452
|
visualOverrides: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
453
|
+
}, {
|
|
320
454
|
objectIds: z.ZodArray<z.ZodString, "many">;
|
|
321
|
-
}
|
|
455
|
+
}>, "strip", z.ZodTypeAny, {
|
|
456
|
+
message: string | null;
|
|
322
457
|
metadata: ({
|
|
323
458
|
gradient?: boolean | undefined;
|
|
324
459
|
gradientValues?: Record<string, {
|
|
325
460
|
gradientValue: number;
|
|
326
461
|
}> | undefined;
|
|
327
462
|
} & Record<string, unknown>) | null;
|
|
328
|
-
message: string | null;
|
|
329
463
|
category: string;
|
|
330
464
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
331
465
|
visualOverrides: Record<string, unknown> | null;
|
|
332
466
|
objectIds: string[];
|
|
333
467
|
}, {
|
|
468
|
+
message: string | null;
|
|
334
469
|
metadata: ({
|
|
335
470
|
gradient?: boolean | undefined;
|
|
336
471
|
gradientValues?: Record<string, {
|
|
337
472
|
gradientValue: number;
|
|
338
473
|
}> | undefined;
|
|
339
474
|
} & Record<string, unknown>) | null;
|
|
340
|
-
message: string | null;
|
|
341
475
|
category: string;
|
|
342
476
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
343
477
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -346,13 +480,13 @@ export declare const resultSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObje
|
|
|
346
480
|
blobIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
347
481
|
}, "strip", z.ZodTypeAny, {
|
|
348
482
|
objectResults: {
|
|
483
|
+
message: string | null;
|
|
349
484
|
metadata: ({
|
|
350
485
|
gradient?: boolean | undefined;
|
|
351
486
|
gradientValues?: Record<string, {
|
|
352
487
|
gradientValue: number;
|
|
353
488
|
}> | undefined;
|
|
354
489
|
} & Record<string, unknown>) | null;
|
|
355
|
-
message: string | null;
|
|
356
490
|
category: string;
|
|
357
491
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
358
492
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -361,13 +495,13 @@ export declare const resultSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObje
|
|
|
361
495
|
blobIds?: string[] | undefined;
|
|
362
496
|
}, {
|
|
363
497
|
objectResults: {
|
|
498
|
+
message: string | null;
|
|
364
499
|
metadata: ({
|
|
365
500
|
gradient?: boolean | undefined;
|
|
366
501
|
gradientValues?: Record<string, {
|
|
367
502
|
gradientValue: number;
|
|
368
503
|
}> | undefined;
|
|
369
504
|
} & Record<string, unknown>) | null;
|
|
370
|
-
message: string | null;
|
|
371
505
|
category: string;
|
|
372
506
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
373
507
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -378,13 +512,13 @@ export declare const resultSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObje
|
|
|
378
512
|
}, "strip", z.ZodTypeAny, {
|
|
379
513
|
values: {
|
|
380
514
|
objectResults: {
|
|
515
|
+
message: string | null;
|
|
381
516
|
metadata: ({
|
|
382
517
|
gradient?: boolean | undefined;
|
|
383
518
|
gradientValues?: Record<string, {
|
|
384
519
|
gradientValue: number;
|
|
385
520
|
}> | undefined;
|
|
386
521
|
} & Record<string, unknown>) | null;
|
|
387
|
-
message: string | null;
|
|
388
522
|
category: string;
|
|
389
523
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
390
524
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -396,13 +530,13 @@ export declare const resultSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObje
|
|
|
396
530
|
}, {
|
|
397
531
|
values: {
|
|
398
532
|
objectResults: {
|
|
533
|
+
message: string | null;
|
|
399
534
|
metadata: ({
|
|
400
535
|
gradient?: boolean | undefined;
|
|
401
536
|
gradientValues?: Record<string, {
|
|
402
537
|
gradientValue: number;
|
|
403
538
|
}> | undefined;
|
|
404
539
|
} & Record<string, unknown>) | null;
|
|
405
|
-
message: string | null;
|
|
406
540
|
category: string;
|
|
407
541
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
408
542
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -414,7 +548,10 @@ export declare const resultSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObje
|
|
|
414
548
|
}>, z.ZodObject<{
|
|
415
549
|
version: z.ZodLiteral<2>;
|
|
416
550
|
values: z.ZodObject<{
|
|
417
|
-
objectResults: z.ZodArray<z.ZodObject<{
|
|
551
|
+
objectResults: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
552
|
+
category: z.ZodString;
|
|
553
|
+
level: z.ZodUnion<[z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
|
|
554
|
+
message: z.ZodNullable<z.ZodString>;
|
|
418
555
|
metadata: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
419
556
|
gradient: z.ZodOptional<z.ZodBoolean>;
|
|
420
557
|
gradientValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -435,31 +572,29 @@ export declare const resultSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObje
|
|
|
435
572
|
gradientValue: number;
|
|
436
573
|
}> | undefined;
|
|
437
574
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
438
|
-
message: z.ZodNullable<z.ZodString>;
|
|
439
|
-
category: z.ZodString;
|
|
440
|
-
level: z.ZodUnion<[z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
|
|
441
575
|
visualOverrides: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
576
|
+
}, {
|
|
442
577
|
objectAppIds: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
443
|
-
}
|
|
578
|
+
}>, "strip", z.ZodTypeAny, {
|
|
579
|
+
message: string | null;
|
|
444
580
|
metadata: ({
|
|
445
581
|
gradient?: boolean | undefined;
|
|
446
582
|
gradientValues?: Record<string, {
|
|
447
583
|
gradientValue: number;
|
|
448
584
|
}> | undefined;
|
|
449
585
|
} & Record<string, unknown>) | null;
|
|
450
|
-
message: string | null;
|
|
451
586
|
category: string;
|
|
452
587
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
453
588
|
visualOverrides: Record<string, unknown> | null;
|
|
454
589
|
objectAppIds: Record<string, string | null>;
|
|
455
590
|
}, {
|
|
591
|
+
message: string | null;
|
|
456
592
|
metadata: ({
|
|
457
593
|
gradient?: boolean | undefined;
|
|
458
594
|
gradientValues?: Record<string, {
|
|
459
595
|
gradientValue: number;
|
|
460
596
|
}> | undefined;
|
|
461
597
|
} & Record<string, unknown>) | null;
|
|
462
|
-
message: string | null;
|
|
463
598
|
category: string;
|
|
464
599
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
465
600
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -468,13 +603,13 @@ export declare const resultSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObje
|
|
|
468
603
|
blobIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
469
604
|
}, "strip", z.ZodTypeAny, {
|
|
470
605
|
objectResults: {
|
|
606
|
+
message: string | null;
|
|
471
607
|
metadata: ({
|
|
472
608
|
gradient?: boolean | undefined;
|
|
473
609
|
gradientValues?: Record<string, {
|
|
474
610
|
gradientValue: number;
|
|
475
611
|
}> | undefined;
|
|
476
612
|
} & Record<string, unknown>) | null;
|
|
477
|
-
message: string | null;
|
|
478
613
|
category: string;
|
|
479
614
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
480
615
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -483,13 +618,13 @@ export declare const resultSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObje
|
|
|
483
618
|
blobIds?: string[] | undefined;
|
|
484
619
|
}, {
|
|
485
620
|
objectResults: {
|
|
621
|
+
message: string | null;
|
|
486
622
|
metadata: ({
|
|
487
623
|
gradient?: boolean | undefined;
|
|
488
624
|
gradientValues?: Record<string, {
|
|
489
625
|
gradientValue: number;
|
|
490
626
|
}> | undefined;
|
|
491
627
|
} & Record<string, unknown>) | null;
|
|
492
|
-
message: string | null;
|
|
493
628
|
category: string;
|
|
494
629
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
495
630
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -500,13 +635,13 @@ export declare const resultSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObje
|
|
|
500
635
|
}, "strip", z.ZodTypeAny, {
|
|
501
636
|
values: {
|
|
502
637
|
objectResults: {
|
|
638
|
+
message: string | null;
|
|
503
639
|
metadata: ({
|
|
504
640
|
gradient?: boolean | undefined;
|
|
505
641
|
gradientValues?: Record<string, {
|
|
506
642
|
gradientValue: number;
|
|
507
643
|
}> | undefined;
|
|
508
644
|
} & Record<string, unknown>) | null;
|
|
509
|
-
message: string | null;
|
|
510
645
|
category: string;
|
|
511
646
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
512
647
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -518,13 +653,13 @@ export declare const resultSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObje
|
|
|
518
653
|
}, {
|
|
519
654
|
values: {
|
|
520
655
|
objectResults: {
|
|
656
|
+
message: string | null;
|
|
521
657
|
metadata: ({
|
|
522
658
|
gradient?: boolean | undefined;
|
|
523
659
|
gradientValues?: Record<string, {
|
|
524
660
|
gradientValue: number;
|
|
525
661
|
}> | undefined;
|
|
526
662
|
} & Record<string, unknown>) | null;
|
|
527
|
-
message: string | null;
|
|
528
663
|
category: string;
|
|
529
664
|
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
530
665
|
visualOverrides: Record<string, unknown> | null;
|
|
@@ -533,8 +668,135 @@ export declare const resultSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObje
|
|
|
533
668
|
blobIds?: string[] | undefined;
|
|
534
669
|
};
|
|
535
670
|
version: 2;
|
|
671
|
+
}>, z.ZodObject<{
|
|
672
|
+
version: z.ZodLiteral<3>;
|
|
673
|
+
values: z.ZodObject<{
|
|
674
|
+
versionResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
675
|
+
objectResults: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
676
|
+
category: z.ZodString;
|
|
677
|
+
level: z.ZodUnion<[z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
|
|
678
|
+
message: z.ZodNullable<z.ZodString>;
|
|
679
|
+
metadata: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
680
|
+
gradient: z.ZodOptional<z.ZodBoolean>;
|
|
681
|
+
gradientValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
682
|
+
gradientValue: z.ZodNumber;
|
|
683
|
+
}, "strip", z.ZodTypeAny, {
|
|
684
|
+
gradientValue: number;
|
|
685
|
+
}, {
|
|
686
|
+
gradientValue: number;
|
|
687
|
+
}>>>;
|
|
688
|
+
}, "strip", z.ZodTypeAny, {
|
|
689
|
+
gradient?: boolean | undefined;
|
|
690
|
+
gradientValues?: Record<string, {
|
|
691
|
+
gradientValue: number;
|
|
692
|
+
}> | undefined;
|
|
693
|
+
}, {
|
|
694
|
+
gradient?: boolean | undefined;
|
|
695
|
+
gradientValues?: Record<string, {
|
|
696
|
+
gradientValue: number;
|
|
697
|
+
}> | undefined;
|
|
698
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
699
|
+
visualOverrides: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
700
|
+
}, {
|
|
701
|
+
objectAppIds: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
702
|
+
}>, "strip", z.ZodTypeAny, {
|
|
703
|
+
message: string | null;
|
|
704
|
+
metadata: ({
|
|
705
|
+
gradient?: boolean | undefined;
|
|
706
|
+
gradientValues?: Record<string, {
|
|
707
|
+
gradientValue: number;
|
|
708
|
+
}> | undefined;
|
|
709
|
+
} & Record<string, unknown>) | null;
|
|
710
|
+
category: string;
|
|
711
|
+
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
712
|
+
visualOverrides: Record<string, unknown> | null;
|
|
713
|
+
objectAppIds: Record<string, string | null>;
|
|
714
|
+
}, {
|
|
715
|
+
message: string | null;
|
|
716
|
+
metadata: ({
|
|
717
|
+
gradient?: boolean | undefined;
|
|
718
|
+
gradientValues?: Record<string, {
|
|
719
|
+
gradientValue: number;
|
|
720
|
+
}> | undefined;
|
|
721
|
+
} & Record<string, unknown>) | null;
|
|
722
|
+
category: string;
|
|
723
|
+
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
724
|
+
visualOverrides: Record<string, unknown> | null;
|
|
725
|
+
objectAppIds: Record<string, string | null>;
|
|
726
|
+
}>, "many">>;
|
|
727
|
+
blobIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
728
|
+
}, "strip", z.ZodTypeAny, {
|
|
729
|
+
objectResults?: {
|
|
730
|
+
message: string | null;
|
|
731
|
+
metadata: ({
|
|
732
|
+
gradient?: boolean | undefined;
|
|
733
|
+
gradientValues?: Record<string, {
|
|
734
|
+
gradientValue: number;
|
|
735
|
+
}> | undefined;
|
|
736
|
+
} & Record<string, unknown>) | null;
|
|
737
|
+
category: string;
|
|
738
|
+
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
739
|
+
visualOverrides: Record<string, unknown> | null;
|
|
740
|
+
objectAppIds: Record<string, string | null>;
|
|
741
|
+
}[] | undefined;
|
|
742
|
+
blobIds?: string[] | undefined;
|
|
743
|
+
versionResult?: Record<string, unknown> | undefined;
|
|
744
|
+
}, {
|
|
745
|
+
objectResults?: {
|
|
746
|
+
message: string | null;
|
|
747
|
+
metadata: ({
|
|
748
|
+
gradient?: boolean | undefined;
|
|
749
|
+
gradientValues?: Record<string, {
|
|
750
|
+
gradientValue: number;
|
|
751
|
+
}> | undefined;
|
|
752
|
+
} & Record<string, unknown>) | null;
|
|
753
|
+
category: string;
|
|
754
|
+
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
755
|
+
visualOverrides: Record<string, unknown> | null;
|
|
756
|
+
objectAppIds: Record<string, string | null>;
|
|
757
|
+
}[] | undefined;
|
|
758
|
+
blobIds?: string[] | undefined;
|
|
759
|
+
versionResult?: Record<string, unknown> | undefined;
|
|
760
|
+
}>;
|
|
761
|
+
}, "strip", z.ZodTypeAny, {
|
|
762
|
+
values: {
|
|
763
|
+
objectResults?: {
|
|
764
|
+
message: string | null;
|
|
765
|
+
metadata: ({
|
|
766
|
+
gradient?: boolean | undefined;
|
|
767
|
+
gradientValues?: Record<string, {
|
|
768
|
+
gradientValue: number;
|
|
769
|
+
}> | undefined;
|
|
770
|
+
} & Record<string, unknown>) | null;
|
|
771
|
+
category: string;
|
|
772
|
+
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
773
|
+
visualOverrides: Record<string, unknown> | null;
|
|
774
|
+
objectAppIds: Record<string, string | null>;
|
|
775
|
+
}[] | undefined;
|
|
776
|
+
blobIds?: string[] | undefined;
|
|
777
|
+
versionResult?: Record<string, unknown> | undefined;
|
|
778
|
+
};
|
|
779
|
+
version: 3;
|
|
780
|
+
}, {
|
|
781
|
+
values: {
|
|
782
|
+
objectResults?: {
|
|
783
|
+
message: string | null;
|
|
784
|
+
metadata: ({
|
|
785
|
+
gradient?: boolean | undefined;
|
|
786
|
+
gradientValues?: Record<string, {
|
|
787
|
+
gradientValue: number;
|
|
788
|
+
}> | undefined;
|
|
789
|
+
} & Record<string, unknown>) | null;
|
|
790
|
+
category: string;
|
|
791
|
+
level: "SUCCESS" | "INFO" | "WARNING" | "ERROR";
|
|
792
|
+
visualOverrides: Record<string, unknown> | null;
|
|
793
|
+
objectAppIds: Record<string, string | null>;
|
|
794
|
+
}[] | undefined;
|
|
795
|
+
blobIds?: string[] | undefined;
|
|
796
|
+
versionResult?: Record<string, unknown> | undefined;
|
|
797
|
+
};
|
|
798
|
+
version: 3;
|
|
536
799
|
}>]>;
|
|
537
|
-
export type ResultSchemaV2 = z.infer<typeof resultSchemaV2>;
|
|
538
800
|
export type ResultsSchema = z.infer<typeof resultSchema>;
|
|
539
801
|
type UnformattedTriggerDefinitionSchema = PartialDeep<TriggerDefinitionsSchema>;
|
|
540
802
|
type UnformattedResultsSchema = PartialDeep<ResultsSchema>;
|