@lssm/example.analytics-dashboard 0.0.0-canary-20251217062139 → 0.0.0-canary-20251217060834
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/dashboard/dashboard.contracts.d.ts +130 -130
- package/dist/dashboard/dashboard.contracts.js +5 -5
- package/dist/dashboard/dashboard.enum.d.ts +4 -4
- package/dist/dashboard/dashboard.enum.js +4 -5
- package/dist/dashboard/dashboard.schema.d.ts +79 -79
- package/dist/dashboard/dashboard.schema.js +42 -44
- package/dist/docs/analytics-dashboard.docblock.js +2 -3
- package/dist/events.d.ts +39 -39
- package/dist/events.js +24 -27
- package/dist/index.d.ts +1 -0
- package/dist/query/query.contracts.d.ts +1 -1
- package/dist/query/query.contracts.js +3 -3
- package/dist/query/query.enum.d.ts +2 -2
- package/dist/query/query.enum.js +2 -3
- package/dist/query/query.schema.d.ts +34 -34
- package/dist/query/query.schema.js +32 -34
- package/package.json +10 -10
- package/dist/libs/contracts/dist/capabilities/openbanking.js +0 -84
- package/dist/libs/contracts/dist/client/index.js +0 -5
- package/dist/libs/contracts/dist/client/react/feature-render.js +0 -2
- package/dist/libs/contracts/dist/client/react/form-render.js +0 -4
- package/dist/libs/contracts/dist/client/react/index.js +0 -4
- package/dist/libs/contracts/dist/contract-registry/index.js +0 -1
- package/dist/libs/contracts/dist/contract-registry/schemas.js +0 -57
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -91
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -365
- package/dist/libs/contracts/dist/docs/index.js +0 -29
- package/dist/libs/contracts/dist/docs/presentations.js +0 -67
- package/dist/libs/contracts/dist/docs/registry.js +0 -42
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -398
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -83
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -155
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -101
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -80
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -57
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -228
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -357
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -21
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -281
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -22
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -79
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -84
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -57
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -22
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -40
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -86
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -22
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -62
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -155
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -20
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -101
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -20
- package/dist/libs/contracts/dist/events.js +0 -9
- package/dist/libs/contracts/dist/experiments/evaluator.js +0 -1
- package/dist/libs/contracts/dist/index.js +0 -71
- package/dist/libs/contracts/dist/install.js +0 -2
- package/dist/libs/contracts/dist/integrations/contracts.js +0 -371
- package/dist/libs/contracts/dist/integrations/index.js +0 -18
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -225
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -157
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -3
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -208
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -240
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -24
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -52
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -75
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -87
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -66
- package/dist/libs/contracts/dist/integrations/providers/index.js +0 -11
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -68
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -68
- package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -116
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -73
- package/dist/libs/contracts/dist/integrations/providers/registry.js +0 -10
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -83
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -61
- package/dist/libs/contracts/dist/jsonschema.js +0 -1
- package/dist/libs/contracts/dist/knowledge/contracts.js +0 -299
- package/dist/libs/contracts/dist/knowledge/index.js +0 -7
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +0 -34
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +0 -34
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +0 -38
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +0 -6
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +0 -34
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +0 -37
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -34
- package/dist/libs/contracts/dist/llm/exporters.js +0 -18
- package/dist/libs/contracts/dist/llm/index.js +0 -2
- package/dist/libs/contracts/dist/llm/prompts.js +0 -1
- package/dist/libs/contracts/dist/onboarding-base.js +0 -179
- package/dist/libs/contracts/dist/openapi.js +0 -1
- package/dist/libs/contracts/dist/ownership.js +0 -36
- package/dist/libs/contracts/dist/presentations.js +0 -1
- package/dist/libs/contracts/dist/presentations.v2.js +0 -7
- package/dist/libs/contracts/dist/prompt.js +0 -1
- package/dist/libs/contracts/dist/promptRegistry.js +0 -1
- package/dist/libs/contracts/dist/regenerator/index.js +0 -1
- package/dist/libs/contracts/dist/regenerator/service.js +0 -1
- package/dist/libs/contracts/dist/registry.js +0 -2
- package/dist/libs/contracts/dist/resources.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -2
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -39
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -222
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -23
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -2
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/index.js +0 -6
- package/dist/libs/contracts/dist/server/graphql-pothos.js +0 -6
- package/dist/libs/contracts/dist/server/index.js +0 -8
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +0 -4
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +0 -2
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +0 -2
- package/dist/libs/contracts/dist/server/mcp/registerTools.js +0 -1
- package/dist/libs/contracts/dist/server/provider-mcp.js +0 -1
- package/dist/libs/contracts/dist/server/rest-elysia.js +0 -1
- package/dist/libs/contracts/dist/server/rest-express.js +0 -1
- package/dist/libs/contracts/dist/server/rest-generic.js +0 -1
- package/dist/libs/contracts/dist/server/rest-next-app.js +0 -1
- package/dist/libs/contracts/dist/server/rest-next-pages.js +0 -1
- package/dist/libs/contracts/dist/spec.js +0 -25
- package/dist/libs/contracts/dist/telemetry/index.js +0 -1
- package/dist/libs/contracts/dist/telemetry/tracker.js +0 -1
- package/dist/libs/contracts/dist/tests/index.js +0 -1
- package/dist/libs/contracts/dist/tests/runner.js +0 -2
- package/dist/libs/contracts/dist/workflow/index.js +0 -1
- package/dist/libs/contracts/dist/workflow/runner.js +0 -1
- package/dist/libs/schema/dist/EnumType.js +0 -40
- package/dist/libs/schema/dist/FieldType.js +0 -39
- package/dist/libs/schema/dist/ScalarTypeEnum.js +0 -222
- package/dist/libs/schema/dist/SchemaModel.js +0 -24
- package/dist/libs/schema/dist/entity/defineEntity.js +0 -1
- package/dist/libs/schema/dist/entity/index.js +0 -2
- package/dist/libs/schema/dist/entity/types.js +0 -1
- package/dist/libs/schema/dist/index.js +0 -6
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { e } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../libs/contracts/dist/knowledge/spaces/financial-docs.js
|
|
4
|
-
const t = {
|
|
5
|
-
meta: {
|
|
6
|
-
key: `knowledge.financial-docs`,
|
|
7
|
-
version: 1,
|
|
8
|
-
category: `canonical`,
|
|
9
|
-
displayName: `Financial Documents`,
|
|
10
|
-
title: `Household Financial Documents`,
|
|
11
|
-
description: `Invoices, bills, and contracts powering Pocket Family Office financial automation.`,
|
|
12
|
-
domain: `finance`,
|
|
13
|
-
owners: [`platform.finance`],
|
|
14
|
-
tags: [`finance`, `documents`],
|
|
15
|
-
stability: e.Beta
|
|
16
|
-
},
|
|
17
|
-
retention: { ttlDays: null },
|
|
18
|
-
access: {
|
|
19
|
-
policy: {
|
|
20
|
-
name: `knowledge.access.financial-docs`,
|
|
21
|
-
version: 1
|
|
22
|
-
},
|
|
23
|
-
trustLevel: `high`,
|
|
24
|
-
automationWritable: !0
|
|
25
|
-
},
|
|
26
|
-
indexing: {
|
|
27
|
-
embeddingModel: `mistral-embed`,
|
|
28
|
-
chunkSize: 700,
|
|
29
|
-
vectorDbIntegration: `vectordb.qdrant`
|
|
30
|
-
},
|
|
31
|
-
description: `Normalized financial documents enabling bill pay automation, reminders, and summaries.`
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { e } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../libs/contracts/dist/knowledge/spaces/financial-overview.js
|
|
4
|
-
const t = {
|
|
5
|
-
meta: {
|
|
6
|
-
key: `knowledge.financial-overview`,
|
|
7
|
-
version: 1,
|
|
8
|
-
category: `operational`,
|
|
9
|
-
displayName: `Financial Overview Summaries`,
|
|
10
|
-
title: `Derived Financial Summaries`,
|
|
11
|
-
description: `Aggregated cashflow summaries, category breakdowns, and balance trends derived from open banking data.`,
|
|
12
|
-
domain: `finance`,
|
|
13
|
-
owners: [`platform.finance`],
|
|
14
|
-
tags: [
|
|
15
|
-
`open-banking`,
|
|
16
|
-
`summaries`,
|
|
17
|
-
`cashflow`
|
|
18
|
-
],
|
|
19
|
-
stability: e.Experimental
|
|
20
|
-
},
|
|
21
|
-
retention: { ttlDays: 180 },
|
|
22
|
-
access: {
|
|
23
|
-
policy: {
|
|
24
|
-
name: `knowledge.access.financial-overview`,
|
|
25
|
-
version: 1
|
|
26
|
-
},
|
|
27
|
-
trustLevel: `medium`,
|
|
28
|
-
automationWritable: !0
|
|
29
|
-
},
|
|
30
|
-
indexing: {
|
|
31
|
-
embeddingModel: `mistral-embed`,
|
|
32
|
-
chunkSize: 600,
|
|
33
|
-
vectorDbIntegration: `vectordb.qdrant`
|
|
34
|
-
},
|
|
35
|
-
description: `Derived knowledge space containing weekly/monthly cashflow rollups and account health summaries. Raw transactions are excluded to respect privacy guardrails.`
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
//#endregion
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { e } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../libs/contracts/dist/knowledge/spaces/product-canon.js
|
|
4
|
-
const t = {
|
|
5
|
-
meta: {
|
|
6
|
-
key: `knowledge.product-canon`,
|
|
7
|
-
version: 1,
|
|
8
|
-
category: `canonical`,
|
|
9
|
-
displayName: `Product Canon`,
|
|
10
|
-
title: `Product Canon Knowledge Space`,
|
|
11
|
-
description: `Authoritative product knowledge covering strategy, roadmap, and delivery canon.`,
|
|
12
|
-
domain: `product`,
|
|
13
|
-
owners: [`platform.product`],
|
|
14
|
-
tags: [`knowledge`, `product`],
|
|
15
|
-
stability: e.Stable
|
|
16
|
-
},
|
|
17
|
-
retention: { ttlDays: null },
|
|
18
|
-
access: {
|
|
19
|
-
policy: {
|
|
20
|
-
name: `knowledge.access.product-canon`,
|
|
21
|
-
version: 1
|
|
22
|
-
},
|
|
23
|
-
trustLevel: `high`,
|
|
24
|
-
automationWritable: !1
|
|
25
|
-
},
|
|
26
|
-
indexing: {
|
|
27
|
-
embeddingModel: `text-embedding-3-large`,
|
|
28
|
-
chunkSize: 800,
|
|
29
|
-
vectorDbIntegration: `vectordb.qdrant`
|
|
30
|
-
},
|
|
31
|
-
description: `Single source of truth for product canon, principles, and strategic narratives.`
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { e } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../libs/contracts/dist/knowledge/spaces/support-faq.js
|
|
4
|
-
const t = {
|
|
5
|
-
meta: {
|
|
6
|
-
key: `knowledge.support-faq`,
|
|
7
|
-
version: 1,
|
|
8
|
-
category: `operational`,
|
|
9
|
-
displayName: `Support FAQ`,
|
|
10
|
-
title: `Support & Success FAQ`,
|
|
11
|
-
description: `Operational knowledge base for customer support and success.`,
|
|
12
|
-
domain: `support`,
|
|
13
|
-
owners: [`platform.support`],
|
|
14
|
-
tags: [`knowledge`, `support`],
|
|
15
|
-
stability: e.Beta
|
|
16
|
-
},
|
|
17
|
-
retention: {
|
|
18
|
-
ttlDays: 365,
|
|
19
|
-
archiveAfterDays: 180
|
|
20
|
-
},
|
|
21
|
-
access: {
|
|
22
|
-
policy: {
|
|
23
|
-
name: `knowledge.access.support`,
|
|
24
|
-
version: 1
|
|
25
|
-
},
|
|
26
|
-
trustLevel: `medium`,
|
|
27
|
-
automationWritable: !0
|
|
28
|
-
},
|
|
29
|
-
indexing: {
|
|
30
|
-
embeddingModel: `text-embedding-3-small`,
|
|
31
|
-
chunkSize: 700,
|
|
32
|
-
vectorDbIntegration: `vectordb.qdrant`
|
|
33
|
-
},
|
|
34
|
-
description: `Operational FAQs, runbooks, and customer success playbooks augmented with automation updates.`
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
//#endregion
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { e } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../libs/contracts/dist/knowledge/spaces/uploaded-docs.js
|
|
4
|
-
const t = {
|
|
5
|
-
meta: {
|
|
6
|
-
key: `knowledge.uploaded-docs`,
|
|
7
|
-
version: 1,
|
|
8
|
-
category: `external`,
|
|
9
|
-
displayName: `Uploaded Documents`,
|
|
10
|
-
title: `Uploaded Knowledge Assets`,
|
|
11
|
-
description: `Documents uploaded by households, including invoices, contracts, and reference files.`,
|
|
12
|
-
domain: `operations`,
|
|
13
|
-
owners: [`platform.operations`],
|
|
14
|
-
tags: [`documents`, `storage`],
|
|
15
|
-
stability: e.Beta
|
|
16
|
-
},
|
|
17
|
-
retention: { ttlDays: null },
|
|
18
|
-
access: {
|
|
19
|
-
policy: {
|
|
20
|
-
name: `knowledge.access.uploaded-docs`,
|
|
21
|
-
version: 1
|
|
22
|
-
},
|
|
23
|
-
trustLevel: `medium`,
|
|
24
|
-
automationWritable: !0
|
|
25
|
-
},
|
|
26
|
-
indexing: {
|
|
27
|
-
embeddingModel: `mistral-embed`,
|
|
28
|
-
chunkSize: 900,
|
|
29
|
-
vectorDbIntegration: `vectordb.qdrant`
|
|
30
|
-
},
|
|
31
|
-
description: `User-provided documents normalized and embedded for retrieval augmented workflows.`
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import "../jsonschema.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../libs/contracts/dist/llm/exporters.js
|
|
4
|
-
const n = {
|
|
5
|
-
format: `full`,
|
|
6
|
-
includeSchemas: !0,
|
|
7
|
-
includeScenarios: !0,
|
|
8
|
-
includeExamples: !0,
|
|
9
|
-
includePolicy: !0,
|
|
10
|
-
includeSideEffects: !0
|
|
11
|
-
}, r = {
|
|
12
|
-
...n,
|
|
13
|
-
includeRelatedSpecs: !0,
|
|
14
|
-
includeRelatedEvents: !0,
|
|
15
|
-
includeRelatedPresentations: !0
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
//#endregion
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./exporters.js";
|
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
import { t } from "./schema/dist/SchemaModel.js";
|
|
2
|
-
import { l } from "./schema/dist/ScalarTypeEnum.js";
|
|
3
|
-
import "./schema/dist/index.js";
|
|
4
|
-
import { n, t as t$1 } from "./spec.js";
|
|
5
|
-
import { e, t as t$2 } from "./ownership.js";
|
|
6
|
-
|
|
7
|
-
//#region ../../libs/contracts/dist/onboarding-base.js
|
|
8
|
-
const o = new t({
|
|
9
|
-
name: `SaveOnboardingDraftInput`,
|
|
10
|
-
description: `Input for saving onboarding draft`,
|
|
11
|
-
fields: { data: {
|
|
12
|
-
type: l.JSON(),
|
|
13
|
-
isOptional: !1
|
|
14
|
-
} }
|
|
15
|
-
}), s = new t({
|
|
16
|
-
name: `SaveOnboardingDraftOutput`,
|
|
17
|
-
description: `Output for saving onboarding draft`,
|
|
18
|
-
fields: {
|
|
19
|
-
id: {
|
|
20
|
-
type: l.ID(),
|
|
21
|
-
isOptional: !1
|
|
22
|
-
},
|
|
23
|
-
organizationId: {
|
|
24
|
-
type: l.ID(),
|
|
25
|
-
isOptional: !1
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}), c = t$1({
|
|
29
|
-
meta: {
|
|
30
|
-
name: `base.onboarding.saveDraft`,
|
|
31
|
-
version: 1,
|
|
32
|
-
stability: e.Beta,
|
|
33
|
-
owners: [t$2.PlatformSigil],
|
|
34
|
-
tags: [`onboarding`, `draft`],
|
|
35
|
-
description: `Save or update onboarding draft for active organization`,
|
|
36
|
-
goal: `Persist onboarding progress incrementally for resumption and safety`,
|
|
37
|
-
context: `Auto-saves every few seconds during onboarding; enables users to leave and resume`
|
|
38
|
-
},
|
|
39
|
-
io: {
|
|
40
|
-
input: o,
|
|
41
|
-
output: s
|
|
42
|
-
},
|
|
43
|
-
policy: {
|
|
44
|
-
auth: `user`,
|
|
45
|
-
escalate: null
|
|
46
|
-
},
|
|
47
|
-
transport: {
|
|
48
|
-
gql: { field: `saveOnboardingDraft` },
|
|
49
|
-
rest: { method: `POST` }
|
|
50
|
-
}
|
|
51
|
-
}), l$1 = new t({
|
|
52
|
-
name: `GetOnboardingDraftOutput`,
|
|
53
|
-
description: `Onboarding draft payload`,
|
|
54
|
-
fields: {
|
|
55
|
-
id: {
|
|
56
|
-
type: l.ID(),
|
|
57
|
-
isOptional: !0
|
|
58
|
-
},
|
|
59
|
-
organizationId: {
|
|
60
|
-
type: l.ID(),
|
|
61
|
-
isOptional: !0
|
|
62
|
-
},
|
|
63
|
-
data: {
|
|
64
|
-
type: l.JSON(),
|
|
65
|
-
isOptional: !0
|
|
66
|
-
},
|
|
67
|
-
createdAt: {
|
|
68
|
-
type: l.DateTime(),
|
|
69
|
-
isOptional: !0
|
|
70
|
-
},
|
|
71
|
-
updatedAt: {
|
|
72
|
-
type: l.DateTime(),
|
|
73
|
-
isOptional: !0
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}), u = n({
|
|
77
|
-
meta: {
|
|
78
|
-
name: `base.onboarding.getDraft`,
|
|
79
|
-
version: 1,
|
|
80
|
-
stability: e.Beta,
|
|
81
|
-
owners: [t$2.PlatformSigil],
|
|
82
|
-
tags: [`onboarding`, `draft`],
|
|
83
|
-
description: `Get onboarding draft for active organization`,
|
|
84
|
-
goal: `Retrieve saved onboarding progress`,
|
|
85
|
-
context: `Called on mount to restore in-progress onboarding`
|
|
86
|
-
},
|
|
87
|
-
io: {
|
|
88
|
-
input: null,
|
|
89
|
-
output: l$1
|
|
90
|
-
},
|
|
91
|
-
policy: {
|
|
92
|
-
auth: `user`,
|
|
93
|
-
escalate: null
|
|
94
|
-
},
|
|
95
|
-
transport: {
|
|
96
|
-
gql: { field: `getOnboardingDraft` },
|
|
97
|
-
rest: { method: `GET` }
|
|
98
|
-
}
|
|
99
|
-
}), d = new t({
|
|
100
|
-
name: `DeleteOnboardingDraftOutput`,
|
|
101
|
-
description: `Result of delete operation`,
|
|
102
|
-
fields: { ok: {
|
|
103
|
-
type: l.Boolean(),
|
|
104
|
-
isOptional: !1
|
|
105
|
-
} }
|
|
106
|
-
}), f = t$1({
|
|
107
|
-
meta: {
|
|
108
|
-
name: `base.onboarding.deleteDraft`,
|
|
109
|
-
version: 1,
|
|
110
|
-
stability: e.Beta,
|
|
111
|
-
owners: [t$2.PlatformSigil],
|
|
112
|
-
tags: [`onboarding`, `draft`],
|
|
113
|
-
description: `Delete onboarding draft for active organization`,
|
|
114
|
-
goal: `Clear draft after completion or if user wants to restart`,
|
|
115
|
-
context: `Called after successful onboarding or explicit user reset`
|
|
116
|
-
},
|
|
117
|
-
io: {
|
|
118
|
-
input: null,
|
|
119
|
-
output: d
|
|
120
|
-
},
|
|
121
|
-
policy: {
|
|
122
|
-
auth: `user`,
|
|
123
|
-
escalate: null
|
|
124
|
-
},
|
|
125
|
-
transport: {
|
|
126
|
-
gql: { field: `deleteOnboardingDraft` },
|
|
127
|
-
rest: { method: `POST` }
|
|
128
|
-
}
|
|
129
|
-
}), p = new t({
|
|
130
|
-
name: `CompleteOnboardingBaseInput`,
|
|
131
|
-
description: `Input for completing onboarding`,
|
|
132
|
-
fields: { data: {
|
|
133
|
-
type: l.JSON(),
|
|
134
|
-
isOptional: !1
|
|
135
|
-
} }
|
|
136
|
-
}), m = new t({
|
|
137
|
-
name: `CompleteOnboardingBaseOutput`,
|
|
138
|
-
description: `Result of onboarding completion`,
|
|
139
|
-
fields: {
|
|
140
|
-
success: {
|
|
141
|
-
type: l.Boolean(),
|
|
142
|
-
isOptional: !1
|
|
143
|
-
},
|
|
144
|
-
userId: {
|
|
145
|
-
type: l.ID(),
|
|
146
|
-
isOptional: !0
|
|
147
|
-
},
|
|
148
|
-
organizationId: {
|
|
149
|
-
type: l.ID(),
|
|
150
|
-
isOptional: !0
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}), h = t$1({
|
|
154
|
-
meta: {
|
|
155
|
-
name: `base.onboarding.complete`,
|
|
156
|
-
version: 1,
|
|
157
|
-
stability: e.Beta,
|
|
158
|
-
owners: [t$2.PlatformSigil],
|
|
159
|
-
tags: [`onboarding`],
|
|
160
|
-
description: `Complete onboarding and finalize user/organization setup`,
|
|
161
|
-
goal: `Transition from draft to active profile`,
|
|
162
|
-
context: `Validates all required fields, creates/updates entities, marks onboarding complete`
|
|
163
|
-
},
|
|
164
|
-
io: {
|
|
165
|
-
input: p,
|
|
166
|
-
output: m
|
|
167
|
-
},
|
|
168
|
-
policy: {
|
|
169
|
-
auth: `user`,
|
|
170
|
-
escalate: null
|
|
171
|
-
},
|
|
172
|
-
transport: {
|
|
173
|
-
gql: { field: `completeOnboarding` },
|
|
174
|
-
rest: { method: `POST` }
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
|
|
178
|
-
//#endregion
|
|
179
|
-
export { d, l$1 as l, m, o, p, s };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./jsonschema.js";
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
//#region ../../libs/contracts/dist/ownership.js
|
|
2
|
-
const e = {
|
|
3
|
-
Idea: `idea`,
|
|
4
|
-
InCreation: `in_creation`,
|
|
5
|
-
Experimental: `experimental`,
|
|
6
|
-
Beta: `beta`,
|
|
7
|
-
Stable: `stable`,
|
|
8
|
-
Deprecated: `deprecated`
|
|
9
|
-
}, t = {
|
|
10
|
-
ProductColiving: `product.coliving`,
|
|
11
|
-
ProductStrit: `product.strit`,
|
|
12
|
-
ProductArtisanos: `product.artisanos`,
|
|
13
|
-
PlatformSigil: `platform.sigil`,
|
|
14
|
-
PlatformMarketplace: `platform.marketplace`,
|
|
15
|
-
PlatformContent: `platform.content`,
|
|
16
|
-
PlatformFeatureFlags: `platform.featureflags`
|
|
17
|
-
}, n = t, r = {
|
|
18
|
-
Spots: `spots`,
|
|
19
|
-
Collectivity: `collectivity`,
|
|
20
|
-
Marketplace: `marketplace`,
|
|
21
|
-
Sellers: `sellers`,
|
|
22
|
-
Auth: `auth`,
|
|
23
|
-
Login: `login`,
|
|
24
|
-
Signup: `signup`,
|
|
25
|
-
Guide: `guide`,
|
|
26
|
-
Docs: `docs`,
|
|
27
|
-
I18n: `i18n`,
|
|
28
|
-
AtomicPages: `atomic:pages`,
|
|
29
|
-
Incident: `incident`,
|
|
30
|
-
Hygiene: `hygiene`,
|
|
31
|
-
WeeklyPulse: `weekly_pulse`,
|
|
32
|
-
WebAuth: `webauth`
|
|
33
|
-
}, i = r;
|
|
34
|
-
|
|
35
|
-
//#endregion
|
|
36
|
-
export { e, r, t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from "zod";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "zod";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "zod";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./service.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "node:timers/promises";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "zod";
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import "zod";
|
|
2
|
-
import { GraphQLScalarType } from "graphql";
|
|
3
|
-
|
|
4
|
-
//#region ../../libs/contracts/dist/schema/dist/FieldType.js
|
|
5
|
-
var t = class extends GraphQLScalarType {
|
|
6
|
-
zodSchema;
|
|
7
|
-
jsonSchemaDef;
|
|
8
|
-
constructor(e$1) {
|
|
9
|
-
super(e$1), this.zodSchema = e$1.zod, this.jsonSchemaDef = e$1.jsonSchema;
|
|
10
|
-
}
|
|
11
|
-
getZod() {
|
|
12
|
-
return this.zodSchema;
|
|
13
|
-
}
|
|
14
|
-
getPothos() {
|
|
15
|
-
return this;
|
|
16
|
-
}
|
|
17
|
-
getJson() {
|
|
18
|
-
return typeof this.jsonSchemaDef == `function` ? this.jsonSchemaDef() : this.jsonSchemaDef;
|
|
19
|
-
}
|
|
20
|
-
getJsonSchemaDef() {
|
|
21
|
-
return this.jsonSchemaDef;
|
|
22
|
-
}
|
|
23
|
-
getJsonSchema() {
|
|
24
|
-
let e$1 = (t$1) => {
|
|
25
|
-
let n = typeof t$1 == `function` ? t$1() : t$1;
|
|
26
|
-
if (Array.isArray(n)) return n.map((t$2) => e$1(t$2));
|
|
27
|
-
if (n && typeof n == `object`) {
|
|
28
|
-
let t$2 = {};
|
|
29
|
-
for (let [r, i] of Object.entries(n)) t$2[r] = e$1(i);
|
|
30
|
-
return t$2;
|
|
31
|
-
}
|
|
32
|
-
return n;
|
|
33
|
-
};
|
|
34
|
-
return e$1(this.getJson());
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
//#endregion
|
|
39
|
-
export { t };
|