@lssm/example.saas-boilerplate 0.0.0-canary-20251221132705 → 0.0.0-canary-20251221153314
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/.turbo/turbo-build$colon$bundle.log +311 -296
- package/.turbo/turbo-build.log +320 -305
- package/CHANGELOG.md +8 -8
- package/dist/billing/billing.contracts.d.ts +42 -42
- package/dist/billing/billing.contracts.d.ts.map +1 -1
- package/dist/billing/billing.contracts.js +1 -1
- package/dist/billing/billing.entity.d.ts +41 -41
- package/dist/billing/billing.enum.d.ts +3 -3
- package/dist/billing/billing.enum.d.ts.map +1 -1
- package/dist/billing/billing.event.d.ts +21 -21
- package/dist/billing/billing.event.d.ts.map +1 -1
- package/dist/billing/billing.schema.d.ts +47 -47
- package/dist/libs/contracts/dist/capabilities/index.js +1 -0
- package/dist/libs/contracts/dist/client/react/feature-render.js +2 -1
- package/dist/libs/contracts/dist/client/react/form-render.js +1 -1
- package/dist/libs/contracts/dist/data-views/data-views.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -2
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/forms/forms.js +1 -0
- package/dist/libs/contracts/dist/index.js +15 -12
- package/dist/libs/contracts/dist/index.js.map +1 -1
- package/dist/libs/contracts/dist/install.js +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +2 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +2 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +2 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/{contracts.js → operations.js} +4 -3
- package/dist/libs/contracts/dist/integrations/operations.js.map +1 -0
- package/dist/libs/contracts/dist/knowledge/{contracts.js → operations.js} +4 -3
- package/dist/libs/contracts/dist/knowledge/operations.js.map +1 -0
- package/dist/libs/contracts/dist/llm/exporters.js +1 -0
- package/dist/libs/contracts/dist/llm/exporters.js.map +1 -1
- package/dist/libs/contracts/dist/onboarding-base.js +2 -1
- package/dist/libs/contracts/dist/onboarding-base.js.map +1 -1
- package/dist/libs/contracts/dist/operations/index.js +2 -0
- package/dist/libs/contracts/dist/{operation.js → operations/operation.js} +1 -1
- package/dist/libs/contracts/dist/operations/operation.js.map +1 -0
- package/dist/libs/contracts/dist/operations/registry.js +2 -0
- package/dist/libs/contracts/dist/presentations/index.js +2 -0
- package/dist/libs/contracts/dist/presentations/presentations.js +2 -0
- package/dist/libs/contracts/dist/{presentations.v2.js → presentations/transform-engine.js} +2 -2
- package/dist/libs/contracts/dist/presentations/transform-engine.js.map +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +3 -2
- package/dist/libs/identity-rbac/dist/contracts/dist/capabilities/index.js +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/client/react/feature-render.js +2 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/client/react/form-render.js +1 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/data-views/data-views.js +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -2
- package/dist/libs/identity-rbac/dist/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/forms/forms.js +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/index.js +12 -9
- package/dist/libs/identity-rbac/dist/contracts/dist/index.js.map +1 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/install.js +1 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/integrations/openbanking/contracts/accounts.js +2 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/integrations/openbanking/contracts/balances.js +2 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/integrations/openbanking/contracts/transactions.js +2 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/integrations/{contracts.js → operations.js} +4 -3
- package/dist/libs/identity-rbac/dist/contracts/dist/integrations/operations.js.map +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/knowledge/{contracts.js → operations.js} +4 -3
- package/dist/libs/identity-rbac/dist/contracts/dist/knowledge/operations.js.map +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/llm/exporters.js +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/onboarding-base.js +2 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/onboarding-base.js.map +1 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/operations/index.js +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/{operation.js → operations/operation.js} +1 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/operations/operation.js.map +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/operations/registry.js +2 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/presentations/index.js +2 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/presentations/presentations.js +2 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/{presentations.v2.js → presentations/transform-engine.js} +2 -2
- package/dist/libs/identity-rbac/dist/contracts/dist/presentations/transform-engine.js.map +1 -0
- package/dist/libs/identity-rbac/dist/contracts/dist/server/mcp/registerPresentations.js +3 -2
- package/dist/libs/identity-rbac/dist/contracts/organization.js +1 -1
- package/dist/libs/identity-rbac/dist/contracts/organization.js.map +1 -1
- package/dist/libs/identity-rbac/dist/contracts/rbac.js +1 -1
- package/dist/libs/identity-rbac/dist/contracts/rbac.js.map +1 -1
- package/dist/libs/identity-rbac/dist/contracts/user.js +1 -1
- package/dist/libs/identity-rbac/dist/contracts/user.js.map +1 -1
- package/dist/libs/jobs/dist/contracts/dist/capabilities/index.js +1 -0
- package/dist/libs/jobs/dist/contracts/dist/client/react/feature-render.js +2 -1
- package/dist/libs/jobs/dist/contracts/dist/client/react/form-render.js +1 -1
- package/dist/libs/jobs/dist/contracts/dist/data-views/data-views.js +1 -0
- package/dist/libs/jobs/dist/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -2
- package/dist/libs/jobs/dist/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -1
- package/dist/libs/jobs/dist/contracts/dist/forms/forms.js +1 -0
- package/dist/libs/jobs/dist/contracts/dist/index.js +12 -9
- package/dist/libs/jobs/dist/contracts/dist/index.js.map +1 -1
- package/dist/libs/jobs/dist/contracts/dist/install.js +1 -1
- package/dist/libs/jobs/dist/contracts/dist/integrations/openbanking/contracts/accounts.js +2 -1
- package/dist/libs/jobs/dist/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
- package/dist/libs/jobs/dist/contracts/dist/integrations/openbanking/contracts/balances.js +2 -1
- package/dist/libs/jobs/dist/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -1
- package/dist/libs/jobs/dist/contracts/dist/integrations/openbanking/contracts/transactions.js +2 -1
- package/dist/libs/jobs/dist/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
- package/dist/libs/jobs/dist/contracts/dist/integrations/{contracts.js → operations.js} +4 -3
- package/dist/libs/jobs/dist/contracts/dist/integrations/operations.js.map +1 -0
- package/dist/libs/jobs/dist/contracts/dist/knowledge/{contracts.js → operations.js} +4 -3
- package/dist/libs/jobs/dist/contracts/dist/knowledge/operations.js.map +1 -0
- package/dist/libs/jobs/dist/contracts/dist/llm/exporters.js +1 -0
- package/dist/libs/jobs/dist/contracts/dist/onboarding-base.js +2 -1
- package/dist/libs/jobs/dist/contracts/dist/onboarding-base.js.map +1 -1
- package/dist/libs/jobs/dist/contracts/dist/operations/index.js +1 -0
- package/dist/libs/jobs/dist/contracts/dist/{operation.js → operations/operation.js} +1 -1
- package/dist/libs/jobs/dist/contracts/dist/operations/operation.js.map +1 -0
- package/dist/libs/jobs/dist/contracts/dist/operations/registry.js +2 -0
- package/dist/libs/jobs/dist/contracts/dist/presentations/index.js +2 -0
- package/dist/libs/jobs/dist/contracts/dist/presentations/presentations.js +2 -0
- package/dist/libs/jobs/dist/contracts/dist/presentations/transform-engine.js +8 -0
- package/dist/libs/jobs/dist/contracts/dist/presentations/transform-engine.js.map +1 -0
- package/dist/libs/jobs/dist/contracts/dist/server/mcp/registerPresentations.js +3 -2
- package/dist/libs/jobs/dist/contracts/index.js +1 -1
- package/dist/libs/jobs/dist/contracts/index.js.map +1 -1
- package/dist/modules/audit-trail/dist/contracts/index.js +1 -1
- package/dist/modules/audit-trail/dist/contracts/index.js.map +1 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/capabilities/index.js +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/client/react/feature-render.js +2 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/client/react/form-render.js +1 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/data-views/data-views.js +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -2
- package/dist/modules/audit-trail/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/forms/forms.js +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/index.js +13 -10
- package/dist/modules/audit-trail/dist/libs/contracts/dist/index.js.map +1 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/install.js +1 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +2 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +2 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +2 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/integrations/{contracts.js → operations.js} +4 -3
- package/dist/modules/audit-trail/dist/libs/contracts/dist/integrations/operations.js.map +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/knowledge/{contracts.js → operations.js} +4 -3
- package/dist/modules/audit-trail/dist/libs/contracts/dist/knowledge/operations.js.map +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/llm/exporters.js +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/onboarding-base.js +2 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/onboarding-base.js.map +1 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/operations/index.js +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/{operation.js → operations/operation.js} +1 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/operations/operation.js.map +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/operations/registry.js +2 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/presentations/index.js +2 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/presentations/presentations.js +2 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/{presentations.v2.js → presentations/transform-engine.js} +2 -2
- package/dist/modules/audit-trail/dist/libs/contracts/dist/presentations/transform-engine.js.map +1 -0
- package/dist/modules/audit-trail/dist/libs/contracts/dist/server/mcp/registerPresentations.js +3 -2
- package/dist/modules/notifications/dist/contracts/index.js +1 -1
- package/dist/modules/notifications/dist/contracts/index.js.map +1 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/capabilities/index.js +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/client/react/feature-render.js +2 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/client/react/form-render.js +1 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/data-views/data-views.js +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -2
- package/dist/modules/notifications/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/forms/forms.js +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/index.js +13 -10
- package/dist/modules/notifications/dist/libs/contracts/dist/index.js.map +1 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/install.js +1 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +2 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +2 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +2 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/integrations/{contracts.js → operations.js} +4 -3
- package/dist/modules/notifications/dist/libs/contracts/dist/integrations/operations.js.map +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/knowledge/{contracts.js → operations.js} +4 -3
- package/dist/modules/notifications/dist/libs/contracts/dist/knowledge/operations.js.map +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/llm/exporters.js +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/onboarding-base.js +2 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/onboarding-base.js.map +1 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/operations/index.js +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/{operation.js → operations/operation.js} +1 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/operations/operation.js.map +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/operations/registry.js +2 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/presentations/index.js +2 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/presentations/presentations.js +2 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/{presentations.v2.js → presentations/transform-engine.js} +2 -2
- package/dist/modules/notifications/dist/libs/contracts/dist/presentations/transform-engine.js.map +1 -0
- package/dist/modules/notifications/dist/libs/contracts/dist/server/mcp/registerPresentations.js +3 -2
- package/dist/project/project.contracts.d.ts +103 -103
- package/dist/project/project.contracts.js +2 -1
- package/dist/project/project.contracts.js.map +1 -1
- package/dist/project/project.entity.d.ts +24 -24
- package/dist/project/project.enum.d.ts +3 -3
- package/dist/project/project.event.d.ts +22 -22
- package/dist/project/project.event.d.ts.map +1 -1
- package/dist/project/project.schema.d.ts +54 -54
- package/package.json +10 -10
- package/src/project/project.contracts.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/libs/contracts/dist/data-views.js +0 -1
- package/dist/libs/contracts/dist/forms.js +0 -1
- package/dist/libs/contracts/dist/integrations/contracts.js.map +0 -1
- package/dist/libs/contracts/dist/knowledge/contracts.js.map +0 -1
- package/dist/libs/contracts/dist/operation.js.map +0 -1
- package/dist/libs/contracts/dist/presentations.js +0 -2
- package/dist/libs/contracts/dist/presentations.v2.js.map +0 -1
- package/dist/libs/contracts/dist/registry.js +0 -3
- package/dist/libs/identity-rbac/dist/contracts/dist/data-views.js +0 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/forms.js +0 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/integrations/contracts.js.map +0 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/knowledge/contracts.js.map +0 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/operation.js.map +0 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/presentations.js +0 -2
- package/dist/libs/identity-rbac/dist/contracts/dist/presentations.v2.js.map +0 -1
- package/dist/libs/identity-rbac/dist/contracts/dist/registry.js +0 -3
- package/dist/libs/jobs/dist/contracts/dist/data-views.js +0 -1
- package/dist/libs/jobs/dist/contracts/dist/forms.js +0 -1
- package/dist/libs/jobs/dist/contracts/dist/integrations/contracts.js.map +0 -1
- package/dist/libs/jobs/dist/contracts/dist/knowledge/contracts.js.map +0 -1
- package/dist/libs/jobs/dist/contracts/dist/operation.js.map +0 -1
- package/dist/libs/jobs/dist/contracts/dist/presentations.js +0 -2
- package/dist/libs/jobs/dist/contracts/dist/presentations.v2.js +0 -8
- package/dist/libs/jobs/dist/contracts/dist/presentations.v2.js.map +0 -1
- package/dist/libs/jobs/dist/contracts/dist/registry.js +0 -3
- package/dist/modules/audit-trail/dist/libs/contracts/dist/data-views.js +0 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/forms.js +0 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/integrations/contracts.js.map +0 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/knowledge/contracts.js.map +0 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/operation.js.map +0 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/presentations.js +0 -2
- package/dist/modules/audit-trail/dist/libs/contracts/dist/presentations.v2.js.map +0 -1
- package/dist/modules/audit-trail/dist/libs/contracts/dist/registry.js +0 -3
- package/dist/modules/notifications/dist/libs/contracts/dist/data-views.js +0 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/forms.js +0 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/integrations/contracts.js.map +0 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/knowledge/contracts.js.map +0 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/operation.js.map +0 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/presentations.js +0 -2
- package/dist/modules/notifications/dist/libs/contracts/dist/presentations.v2.js.map +0 -1
- package/dist/modules/notifications/dist/libs/contracts/dist/registry.js +0 -3
|
@@ -1,126 +1,126 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema147 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts6 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/project/project.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a new project.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateProjectContract:
|
|
8
|
+
declare const CreateProjectContract: _lssm_lib_contracts6.OperationSpec<_lssm_lib_schema147.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
description: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
15
15
|
isOptional: true;
|
|
16
16
|
};
|
|
17
17
|
slug: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
isPublic: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema147.FieldType<boolean, boolean>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
tags: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
27
27
|
isArray: true;
|
|
28
28
|
isOptional: true;
|
|
29
29
|
};
|
|
30
|
-
}>,
|
|
30
|
+
}>, _lssm_lib_schema147.SchemaModel<{
|
|
31
31
|
id: {
|
|
32
|
-
type:
|
|
32
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
33
33
|
isOptional: false;
|
|
34
34
|
};
|
|
35
35
|
name: {
|
|
36
|
-
type:
|
|
36
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
37
37
|
isOptional: false;
|
|
38
38
|
};
|
|
39
39
|
description: {
|
|
40
|
-
type:
|
|
40
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
41
41
|
isOptional: true;
|
|
42
42
|
};
|
|
43
43
|
slug: {
|
|
44
|
-
type:
|
|
44
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
45
45
|
isOptional: true;
|
|
46
46
|
};
|
|
47
47
|
organizationId: {
|
|
48
|
-
type:
|
|
48
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
49
49
|
isOptional: false;
|
|
50
50
|
};
|
|
51
51
|
createdBy: {
|
|
52
|
-
type:
|
|
52
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
53
53
|
isOptional: false;
|
|
54
54
|
};
|
|
55
55
|
status: {
|
|
56
|
-
type:
|
|
56
|
+
type: _lssm_lib_schema147.EnumType<[string, string, string, string]>;
|
|
57
57
|
isOptional: false;
|
|
58
58
|
};
|
|
59
59
|
isPublic: {
|
|
60
|
-
type:
|
|
60
|
+
type: _lssm_lib_schema147.FieldType<boolean, boolean>;
|
|
61
61
|
isOptional: false;
|
|
62
62
|
};
|
|
63
63
|
tags: {
|
|
64
|
-
type:
|
|
64
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
65
65
|
isArray: true;
|
|
66
66
|
isOptional: false;
|
|
67
67
|
};
|
|
68
68
|
createdAt: {
|
|
69
|
-
type:
|
|
69
|
+
type: _lssm_lib_schema147.FieldType<Date, string>;
|
|
70
70
|
isOptional: false;
|
|
71
71
|
};
|
|
72
72
|
updatedAt: {
|
|
73
|
-
type:
|
|
73
|
+
type: _lssm_lib_schema147.FieldType<Date, string>;
|
|
74
74
|
isOptional: false;
|
|
75
75
|
};
|
|
76
76
|
}>, {
|
|
77
77
|
name: string;
|
|
78
78
|
version: number;
|
|
79
79
|
when: string;
|
|
80
|
-
payload:
|
|
80
|
+
payload: _lssm_lib_schema147.SchemaModel<{
|
|
81
81
|
id: {
|
|
82
|
-
type:
|
|
82
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
83
83
|
isOptional: false;
|
|
84
84
|
};
|
|
85
85
|
name: {
|
|
86
|
-
type:
|
|
86
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
87
87
|
isOptional: false;
|
|
88
88
|
};
|
|
89
89
|
description: {
|
|
90
|
-
type:
|
|
90
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
91
91
|
isOptional: true;
|
|
92
92
|
};
|
|
93
93
|
slug: {
|
|
94
|
-
type:
|
|
94
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
95
95
|
isOptional: true;
|
|
96
96
|
};
|
|
97
97
|
organizationId: {
|
|
98
|
-
type:
|
|
98
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
99
99
|
isOptional: false;
|
|
100
100
|
};
|
|
101
101
|
createdBy: {
|
|
102
|
-
type:
|
|
102
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
103
103
|
isOptional: false;
|
|
104
104
|
};
|
|
105
105
|
status: {
|
|
106
|
-
type:
|
|
106
|
+
type: _lssm_lib_schema147.EnumType<[string, string, string, string]>;
|
|
107
107
|
isOptional: false;
|
|
108
108
|
};
|
|
109
109
|
isPublic: {
|
|
110
|
-
type:
|
|
110
|
+
type: _lssm_lib_schema147.FieldType<boolean, boolean>;
|
|
111
111
|
isOptional: false;
|
|
112
112
|
};
|
|
113
113
|
tags: {
|
|
114
|
-
type:
|
|
114
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
115
115
|
isArray: true;
|
|
116
116
|
isOptional: false;
|
|
117
117
|
};
|
|
118
118
|
createdAt: {
|
|
119
|
-
type:
|
|
119
|
+
type: _lssm_lib_schema147.FieldType<Date, string>;
|
|
120
120
|
isOptional: false;
|
|
121
121
|
};
|
|
122
122
|
updatedAt: {
|
|
123
|
-
type:
|
|
123
|
+
type: _lssm_lib_schema147.FieldType<Date, string>;
|
|
124
124
|
isOptional: false;
|
|
125
125
|
};
|
|
126
126
|
}>;
|
|
@@ -128,185 +128,185 @@ declare const CreateProjectContract: _lssm_lib_contracts7.OperationSpec<_lssm_li
|
|
|
128
128
|
/**
|
|
129
129
|
* Get project by ID.
|
|
130
130
|
*/
|
|
131
|
-
declare const GetProjectContract:
|
|
131
|
+
declare const GetProjectContract: _lssm_lib_contracts6.OperationSpec<_lssm_lib_schema147.SchemaModel<{
|
|
132
132
|
projectId: {
|
|
133
|
-
type:
|
|
133
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
134
134
|
isOptional: false;
|
|
135
135
|
};
|
|
136
|
-
}>,
|
|
136
|
+
}>, _lssm_lib_schema147.SchemaModel<{
|
|
137
137
|
id: {
|
|
138
|
-
type:
|
|
138
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
139
139
|
isOptional: false;
|
|
140
140
|
};
|
|
141
141
|
name: {
|
|
142
|
-
type:
|
|
142
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
143
143
|
isOptional: false;
|
|
144
144
|
};
|
|
145
145
|
description: {
|
|
146
|
-
type:
|
|
146
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
147
147
|
isOptional: true;
|
|
148
148
|
};
|
|
149
149
|
slug: {
|
|
150
|
-
type:
|
|
150
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
151
151
|
isOptional: true;
|
|
152
152
|
};
|
|
153
153
|
organizationId: {
|
|
154
|
-
type:
|
|
154
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
155
155
|
isOptional: false;
|
|
156
156
|
};
|
|
157
157
|
createdBy: {
|
|
158
|
-
type:
|
|
158
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
159
159
|
isOptional: false;
|
|
160
160
|
};
|
|
161
161
|
status: {
|
|
162
|
-
type:
|
|
162
|
+
type: _lssm_lib_schema147.EnumType<[string, string, string, string]>;
|
|
163
163
|
isOptional: false;
|
|
164
164
|
};
|
|
165
165
|
isPublic: {
|
|
166
|
-
type:
|
|
166
|
+
type: _lssm_lib_schema147.FieldType<boolean, boolean>;
|
|
167
167
|
isOptional: false;
|
|
168
168
|
};
|
|
169
169
|
tags: {
|
|
170
|
-
type:
|
|
170
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
171
171
|
isArray: true;
|
|
172
172
|
isOptional: false;
|
|
173
173
|
};
|
|
174
174
|
createdAt: {
|
|
175
|
-
type:
|
|
175
|
+
type: _lssm_lib_schema147.FieldType<Date, string>;
|
|
176
176
|
isOptional: false;
|
|
177
177
|
};
|
|
178
178
|
updatedAt: {
|
|
179
|
-
type:
|
|
179
|
+
type: _lssm_lib_schema147.FieldType<Date, string>;
|
|
180
180
|
isOptional: false;
|
|
181
181
|
};
|
|
182
182
|
}>, undefined>;
|
|
183
183
|
/**
|
|
184
184
|
* Update a project.
|
|
185
185
|
*/
|
|
186
|
-
declare const UpdateProjectContract:
|
|
186
|
+
declare const UpdateProjectContract: _lssm_lib_contracts6.OperationSpec<_lssm_lib_schema147.SchemaModel<{
|
|
187
187
|
projectId: {
|
|
188
|
-
type:
|
|
188
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
189
189
|
isOptional: false;
|
|
190
190
|
};
|
|
191
191
|
name: {
|
|
192
|
-
type:
|
|
192
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
193
193
|
isOptional: true;
|
|
194
194
|
};
|
|
195
195
|
description: {
|
|
196
|
-
type:
|
|
196
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
197
197
|
isOptional: true;
|
|
198
198
|
};
|
|
199
199
|
slug: {
|
|
200
|
-
type:
|
|
200
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
201
201
|
isOptional: true;
|
|
202
202
|
};
|
|
203
203
|
isPublic: {
|
|
204
|
-
type:
|
|
204
|
+
type: _lssm_lib_schema147.FieldType<boolean, boolean>;
|
|
205
205
|
isOptional: true;
|
|
206
206
|
};
|
|
207
207
|
tags: {
|
|
208
|
-
type:
|
|
208
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
209
209
|
isArray: true;
|
|
210
210
|
isOptional: true;
|
|
211
211
|
};
|
|
212
212
|
status: {
|
|
213
|
-
type:
|
|
213
|
+
type: _lssm_lib_schema147.EnumType<[string, string, string, string]>;
|
|
214
214
|
isOptional: true;
|
|
215
215
|
};
|
|
216
|
-
}>,
|
|
216
|
+
}>, _lssm_lib_schema147.SchemaModel<{
|
|
217
217
|
id: {
|
|
218
|
-
type:
|
|
218
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
219
219
|
isOptional: false;
|
|
220
220
|
};
|
|
221
221
|
name: {
|
|
222
|
-
type:
|
|
222
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
223
223
|
isOptional: false;
|
|
224
224
|
};
|
|
225
225
|
description: {
|
|
226
|
-
type:
|
|
226
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
227
227
|
isOptional: true;
|
|
228
228
|
};
|
|
229
229
|
slug: {
|
|
230
|
-
type:
|
|
230
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
231
231
|
isOptional: true;
|
|
232
232
|
};
|
|
233
233
|
organizationId: {
|
|
234
|
-
type:
|
|
234
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
235
235
|
isOptional: false;
|
|
236
236
|
};
|
|
237
237
|
createdBy: {
|
|
238
|
-
type:
|
|
238
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
239
239
|
isOptional: false;
|
|
240
240
|
};
|
|
241
241
|
status: {
|
|
242
|
-
type:
|
|
242
|
+
type: _lssm_lib_schema147.EnumType<[string, string, string, string]>;
|
|
243
243
|
isOptional: false;
|
|
244
244
|
};
|
|
245
245
|
isPublic: {
|
|
246
|
-
type:
|
|
246
|
+
type: _lssm_lib_schema147.FieldType<boolean, boolean>;
|
|
247
247
|
isOptional: false;
|
|
248
248
|
};
|
|
249
249
|
tags: {
|
|
250
|
-
type:
|
|
250
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
251
251
|
isArray: true;
|
|
252
252
|
isOptional: false;
|
|
253
253
|
};
|
|
254
254
|
createdAt: {
|
|
255
|
-
type:
|
|
255
|
+
type: _lssm_lib_schema147.FieldType<Date, string>;
|
|
256
256
|
isOptional: false;
|
|
257
257
|
};
|
|
258
258
|
updatedAt: {
|
|
259
|
-
type:
|
|
259
|
+
type: _lssm_lib_schema147.FieldType<Date, string>;
|
|
260
260
|
isOptional: false;
|
|
261
261
|
};
|
|
262
262
|
}>, {
|
|
263
263
|
name: string;
|
|
264
264
|
version: number;
|
|
265
265
|
when: string;
|
|
266
|
-
payload:
|
|
266
|
+
payload: _lssm_lib_schema147.SchemaModel<{
|
|
267
267
|
id: {
|
|
268
|
-
type:
|
|
268
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
269
269
|
isOptional: false;
|
|
270
270
|
};
|
|
271
271
|
name: {
|
|
272
|
-
type:
|
|
272
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
273
273
|
isOptional: false;
|
|
274
274
|
};
|
|
275
275
|
description: {
|
|
276
|
-
type:
|
|
276
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
277
277
|
isOptional: true;
|
|
278
278
|
};
|
|
279
279
|
slug: {
|
|
280
|
-
type:
|
|
280
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
281
281
|
isOptional: true;
|
|
282
282
|
};
|
|
283
283
|
organizationId: {
|
|
284
|
-
type:
|
|
284
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
285
285
|
isOptional: false;
|
|
286
286
|
};
|
|
287
287
|
createdBy: {
|
|
288
|
-
type:
|
|
288
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
289
289
|
isOptional: false;
|
|
290
290
|
};
|
|
291
291
|
status: {
|
|
292
|
-
type:
|
|
292
|
+
type: _lssm_lib_schema147.EnumType<[string, string, string, string]>;
|
|
293
293
|
isOptional: false;
|
|
294
294
|
};
|
|
295
295
|
isPublic: {
|
|
296
|
-
type:
|
|
296
|
+
type: _lssm_lib_schema147.FieldType<boolean, boolean>;
|
|
297
297
|
isOptional: false;
|
|
298
298
|
};
|
|
299
299
|
tags: {
|
|
300
|
-
type:
|
|
300
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
301
301
|
isArray: true;
|
|
302
302
|
isOptional: false;
|
|
303
303
|
};
|
|
304
304
|
createdAt: {
|
|
305
|
-
type:
|
|
305
|
+
type: _lssm_lib_schema147.FieldType<Date, string>;
|
|
306
306
|
isOptional: false;
|
|
307
307
|
};
|
|
308
308
|
updatedAt: {
|
|
309
|
-
type:
|
|
309
|
+
type: _lssm_lib_schema147.FieldType<Date, string>;
|
|
310
310
|
isOptional: false;
|
|
311
311
|
};
|
|
312
312
|
}>;
|
|
@@ -314,23 +314,23 @@ declare const UpdateProjectContract: _lssm_lib_contracts7.OperationSpec<_lssm_li
|
|
|
314
314
|
/**
|
|
315
315
|
* Delete a project.
|
|
316
316
|
*/
|
|
317
|
-
declare const DeleteProjectContract:
|
|
317
|
+
declare const DeleteProjectContract: _lssm_lib_contracts6.OperationSpec<_lssm_lib_schema147.SchemaModel<{
|
|
318
318
|
projectId: {
|
|
319
|
-
type:
|
|
319
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
320
320
|
isOptional: false;
|
|
321
321
|
};
|
|
322
|
-
}>,
|
|
322
|
+
}>, _lssm_lib_schema147.SchemaModel<{
|
|
323
323
|
success: {
|
|
324
|
-
type:
|
|
324
|
+
type: _lssm_lib_schema147.FieldType<boolean, boolean>;
|
|
325
325
|
isOptional: false;
|
|
326
326
|
};
|
|
327
327
|
}>, {
|
|
328
328
|
name: string;
|
|
329
329
|
version: number;
|
|
330
330
|
when: string;
|
|
331
|
-
payload:
|
|
331
|
+
payload: _lssm_lib_schema147.SchemaModel<{
|
|
332
332
|
projectId: {
|
|
333
|
-
type:
|
|
333
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
334
334
|
isOptional: false;
|
|
335
335
|
};
|
|
336
336
|
}>;
|
|
@@ -338,71 +338,71 @@ declare const DeleteProjectContract: _lssm_lib_contracts7.OperationSpec<_lssm_li
|
|
|
338
338
|
/**
|
|
339
339
|
* List organization projects.
|
|
340
340
|
*/
|
|
341
|
-
declare const ListProjectsContract:
|
|
341
|
+
declare const ListProjectsContract: _lssm_lib_contracts6.OperationSpec<_lssm_lib_schema147.SchemaModel<{
|
|
342
342
|
status: {
|
|
343
|
-
type:
|
|
343
|
+
type: _lssm_lib_schema147.EnumType<[string, string, string, string]>;
|
|
344
344
|
isOptional: true;
|
|
345
345
|
};
|
|
346
346
|
search: {
|
|
347
|
-
type:
|
|
347
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
348
348
|
isOptional: true;
|
|
349
349
|
};
|
|
350
350
|
limit: {
|
|
351
|
-
type:
|
|
351
|
+
type: _lssm_lib_schema147.FieldType<number, number>;
|
|
352
352
|
isOptional: true;
|
|
353
353
|
defaultValue: number;
|
|
354
354
|
};
|
|
355
355
|
offset: {
|
|
356
|
-
type:
|
|
356
|
+
type: _lssm_lib_schema147.FieldType<number, number>;
|
|
357
357
|
isOptional: true;
|
|
358
358
|
defaultValue: number;
|
|
359
359
|
};
|
|
360
|
-
}>,
|
|
360
|
+
}>, _lssm_lib_schema147.SchemaModel<{
|
|
361
361
|
projects: {
|
|
362
|
-
type:
|
|
362
|
+
type: _lssm_lib_schema147.SchemaModel<{
|
|
363
363
|
id: {
|
|
364
|
-
type:
|
|
364
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
365
365
|
isOptional: false;
|
|
366
366
|
};
|
|
367
367
|
name: {
|
|
368
|
-
type:
|
|
368
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
369
369
|
isOptional: false;
|
|
370
370
|
};
|
|
371
371
|
description: {
|
|
372
|
-
type:
|
|
372
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
373
373
|
isOptional: true;
|
|
374
374
|
};
|
|
375
375
|
slug: {
|
|
376
|
-
type:
|
|
376
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
377
377
|
isOptional: true;
|
|
378
378
|
};
|
|
379
379
|
organizationId: {
|
|
380
|
-
type:
|
|
380
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
381
381
|
isOptional: false;
|
|
382
382
|
};
|
|
383
383
|
createdBy: {
|
|
384
|
-
type:
|
|
384
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
385
385
|
isOptional: false;
|
|
386
386
|
};
|
|
387
387
|
status: {
|
|
388
|
-
type:
|
|
388
|
+
type: _lssm_lib_schema147.EnumType<[string, string, string, string]>;
|
|
389
389
|
isOptional: false;
|
|
390
390
|
};
|
|
391
391
|
isPublic: {
|
|
392
|
-
type:
|
|
392
|
+
type: _lssm_lib_schema147.FieldType<boolean, boolean>;
|
|
393
393
|
isOptional: false;
|
|
394
394
|
};
|
|
395
395
|
tags: {
|
|
396
|
-
type:
|
|
396
|
+
type: _lssm_lib_schema147.FieldType<string, string>;
|
|
397
397
|
isArray: true;
|
|
398
398
|
isOptional: false;
|
|
399
399
|
};
|
|
400
400
|
createdAt: {
|
|
401
|
-
type:
|
|
401
|
+
type: _lssm_lib_schema147.FieldType<Date, string>;
|
|
402
402
|
isOptional: false;
|
|
403
403
|
};
|
|
404
404
|
updatedAt: {
|
|
405
|
-
type:
|
|
405
|
+
type: _lssm_lib_schema147.FieldType<Date, string>;
|
|
406
406
|
isOptional: false;
|
|
407
407
|
};
|
|
408
408
|
}>;
|
|
@@ -410,7 +410,7 @@ declare const ListProjectsContract: _lssm_lib_contracts7.OperationSpec<_lssm_lib
|
|
|
410
410
|
isOptional: false;
|
|
411
411
|
};
|
|
412
412
|
total: {
|
|
413
|
-
type:
|
|
413
|
+
type: _lssm_lib_schema147.FieldType<number, number>;
|
|
414
414
|
isOptional: false;
|
|
415
415
|
};
|
|
416
416
|
}>, undefined>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { defineCommand, defineQuery } from "../libs/contracts/dist/operation.js";
|
|
1
|
+
import { defineCommand, defineQuery } from "../libs/contracts/dist/operations/operation.js";
|
|
2
|
+
import "../libs/contracts/dist/operations/index.js";
|
|
2
3
|
import { CreateProjectInputModel, DeleteProjectInputModel, DeleteProjectOutputModel, GetProjectInputModel, ListProjectsInputModel, ListProjectsOutputModel, ProjectDeletedPayloadModel, ProjectModel, UpdateProjectInputModel } from "./project.schema.js";
|
|
3
4
|
|
|
4
5
|
//#region src/project/project.contracts.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.contracts.js","names":[],"sources":["../../src/project/project.contracts.ts"],"sourcesContent":["import { defineCommand, defineQuery } from '@lssm/lib.contracts/
|
|
1
|
+
{"version":3,"file":"project.contracts.js","names":[],"sources":["../../src/project/project.contracts.ts"],"sourcesContent":["import { defineCommand, defineQuery } from '@lssm/lib.contracts/operations';\nimport {\n CreateProjectInputModel,\n DeleteProjectInputModel,\n DeleteProjectOutputModel,\n GetProjectInputModel,\n ListProjectsInputModel,\n ListProjectsOutputModel,\n ProjectDeletedPayloadModel,\n ProjectModel,\n UpdateProjectInputModel,\n} from './project.schema';\n\nconst OWNERS = ['example.saas-boilerplate'] as const;\n\n/**\n * Create a new project.\n */\nexport const CreateProjectContract = defineCommand({\n meta: {\n name: 'saas.project.create',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['saas', 'project', 'create'],\n description: 'Create a new project in the organization.',\n goal: 'Allow users to create projects for organizing work.',\n context: 'Called from project creation UI or API.',\n },\n io: {\n input: CreateProjectInputModel,\n output: ProjectModel,\n errors: {\n SLUG_EXISTS: {\n description: 'A project with this slug already exists',\n http: 409,\n gqlCode: 'SLUG_EXISTS',\n when: 'Slug is already taken in the organization',\n },\n LIMIT_REACHED: {\n description: 'Project limit reached for this plan',\n http: 403,\n gqlCode: 'LIMIT_REACHED',\n when: 'Organization has reached project limit',\n },\n },\n },\n policy: {\n auth: 'user',\n },\n sideEffects: {\n emits: [\n {\n name: 'project.created',\n version: 1,\n when: 'Project is created',\n payload: ProjectModel,\n },\n ],\n audit: ['project.created'],\n },\n});\n\n/**\n * Get project by ID.\n */\nexport const GetProjectContract = defineQuery({\n meta: {\n name: 'saas.project.get',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['saas', 'project', 'get'],\n description: 'Get a project by ID.',\n goal: 'Retrieve project details.',\n context: 'Project detail page, API calls.',\n },\n io: {\n input: GetProjectInputModel,\n output: ProjectModel,\n errors: {\n NOT_FOUND: {\n description: 'Project not found',\n http: 404,\n gqlCode: 'NOT_FOUND',\n when: 'Project ID is invalid or user lacks access',\n },\n },\n },\n policy: {\n auth: 'user',\n },\n});\n\n/**\n * Update a project.\n */\nexport const UpdateProjectContract = defineCommand({\n meta: {\n name: 'saas.project.update',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['saas', 'project', 'update'],\n description: 'Update project details.',\n goal: 'Allow project owners/editors to modify project.',\n context: 'Project settings page.',\n },\n io: {\n input: UpdateProjectInputModel,\n output: ProjectModel,\n },\n policy: {\n auth: 'user',\n },\n sideEffects: {\n emits: [\n {\n name: 'project.updated',\n version: 1,\n when: 'Project is updated',\n payload: ProjectModel,\n },\n ],\n audit: ['project.updated'],\n },\n});\n\n/**\n * Delete a project.\n */\nexport const DeleteProjectContract = defineCommand({\n meta: {\n name: 'saas.project.delete',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['saas', 'project', 'delete'],\n description: 'Delete a project (soft delete).',\n goal: 'Allow project owners to remove projects.',\n context: 'Project settings page.',\n },\n io: {\n input: DeleteProjectInputModel,\n output: DeleteProjectOutputModel,\n },\n policy: {\n auth: 'user',\n },\n sideEffects: {\n emits: [\n {\n name: 'project.deleted',\n version: 1,\n when: 'Project is deleted',\n payload: ProjectDeletedPayloadModel,\n },\n ],\n audit: ['project.deleted'],\n },\n});\n\n/**\n * List organization projects.\n */\nexport const ListProjectsContract = defineQuery({\n meta: {\n name: 'saas.project.list',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['saas', 'project', 'list'],\n description: 'List projects in the organization.',\n goal: 'Show all projects user has access to.',\n context: 'Project list page, dashboard.',\n },\n io: {\n input: ListProjectsInputModel,\n output: ListProjectsOutputModel,\n },\n policy: {\n auth: 'user',\n },\n});\n"],"mappings":";;;;;AAaA,MAAM,SAAS,CAAC,2BAA2B;;;;AAK3C,MAAa,wBAAwB,cAAc;CACjD,MAAM;EACJ,MAAM;EACN,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,GAAG,OAAO;EACnB,MAAM;GAAC;GAAQ;GAAW;GAAS;EACnC,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAAI;EACF,OAAO;EACP,QAAQ;EACR,QAAQ;GACN,aAAa;IACX,aAAa;IACb,MAAM;IACN,SAAS;IACT,MAAM;IACP;GACD,eAAe;IACb,aAAa;IACb,MAAM;IACN,SAAS;IACT,MAAM;IACP;GACF;EACF;CACD,QAAQ,EACN,MAAM,QACP;CACD,aAAa;EACX,OAAO,CACL;GACE,MAAM;GACN,SAAS;GACT,MAAM;GACN,SAAS;GACV,CACF;EACD,OAAO,CAAC,kBAAkB;EAC3B;CACF,CAAC;;;;AAKF,MAAa,qBAAqB,YAAY;CAC5C,MAAM;EACJ,MAAM;EACN,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,GAAG,OAAO;EACnB,MAAM;GAAC;GAAQ;GAAW;GAAM;EAChC,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAAI;EACF,OAAO;EACP,QAAQ;EACR,QAAQ,EACN,WAAW;GACT,aAAa;GACb,MAAM;GACN,SAAS;GACT,MAAM;GACP,EACF;EACF;CACD,QAAQ,EACN,MAAM,QACP;CACF,CAAC;;;;AAKF,MAAa,wBAAwB,cAAc;CACjD,MAAM;EACJ,MAAM;EACN,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,GAAG,OAAO;EACnB,MAAM;GAAC;GAAQ;GAAW;GAAS;EACnC,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAAI;EACF,OAAO;EACP,QAAQ;EACT;CACD,QAAQ,EACN,MAAM,QACP;CACD,aAAa;EACX,OAAO,CACL;GACE,MAAM;GACN,SAAS;GACT,MAAM;GACN,SAAS;GACV,CACF;EACD,OAAO,CAAC,kBAAkB;EAC3B;CACF,CAAC;;;;AAKF,MAAa,wBAAwB,cAAc;CACjD,MAAM;EACJ,MAAM;EACN,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,GAAG,OAAO;EACnB,MAAM;GAAC;GAAQ;GAAW;GAAS;EACnC,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAAI;EACF,OAAO;EACP,QAAQ;EACT;CACD,QAAQ,EACN,MAAM,QACP;CACD,aAAa;EACX,OAAO,CACL;GACE,MAAM;GACN,SAAS;GACT,MAAM;GACN,SAAS;GACV,CACF;EACD,OAAO,CAAC,kBAAkB;EAC3B;CACF,CAAC;;;;AAKF,MAAa,uBAAuB,YAAY;CAC9C,MAAM;EACJ,MAAM;EACN,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,GAAG,OAAO;EACnB,MAAM;GAAC;GAAQ;GAAW;GAAO;EACjC,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAAI;EACF,OAAO;EACP,QAAQ;EACT;CACD,QAAQ,EACN,MAAM,QACP;CACF,CAAC"}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema248 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/project/project.entity.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Project status enum for entities.
|
|
6
6
|
*/
|
|
7
|
-
declare const ProjectStatusEnum:
|
|
7
|
+
declare const ProjectStatusEnum: _lssm_lib_schema248.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Project entity - team-scoped work container.
|
|
10
10
|
*/
|
|
11
|
-
declare const ProjectEntity:
|
|
12
|
-
id:
|
|
13
|
-
name:
|
|
14
|
-
description:
|
|
15
|
-
slug:
|
|
16
|
-
organizationId:
|
|
17
|
-
createdBy:
|
|
18
|
-
status:
|
|
19
|
-
isPublic:
|
|
20
|
-
settings:
|
|
21
|
-
tags:
|
|
22
|
-
metadata:
|
|
23
|
-
createdAt:
|
|
24
|
-
updatedAt:
|
|
25
|
-
archivedAt:
|
|
11
|
+
declare const ProjectEntity: _lssm_lib_schema248.EntitySpec<{
|
|
12
|
+
id: _lssm_lib_schema248.EntityScalarField;
|
|
13
|
+
name: _lssm_lib_schema248.EntityScalarField;
|
|
14
|
+
description: _lssm_lib_schema248.EntityScalarField;
|
|
15
|
+
slug: _lssm_lib_schema248.EntityScalarField;
|
|
16
|
+
organizationId: _lssm_lib_schema248.EntityScalarField;
|
|
17
|
+
createdBy: _lssm_lib_schema248.EntityScalarField;
|
|
18
|
+
status: _lssm_lib_schema248.EntityEnumField;
|
|
19
|
+
isPublic: _lssm_lib_schema248.EntityScalarField;
|
|
20
|
+
settings: _lssm_lib_schema248.EntityScalarField;
|
|
21
|
+
tags: _lssm_lib_schema248.EntityScalarField;
|
|
22
|
+
metadata: _lssm_lib_schema248.EntityScalarField;
|
|
23
|
+
createdAt: _lssm_lib_schema248.EntityScalarField;
|
|
24
|
+
updatedAt: _lssm_lib_schema248.EntityScalarField;
|
|
25
|
+
archivedAt: _lssm_lib_schema248.EntityScalarField;
|
|
26
26
|
}>;
|
|
27
27
|
/**
|
|
28
28
|
* ProjectMember entity - project-level access.
|
|
29
29
|
*/
|
|
30
|
-
declare const ProjectMemberEntity:
|
|
31
|
-
id:
|
|
32
|
-
projectId:
|
|
33
|
-
userId:
|
|
34
|
-
role:
|
|
35
|
-
addedBy:
|
|
36
|
-
createdAt:
|
|
30
|
+
declare const ProjectMemberEntity: _lssm_lib_schema248.EntitySpec<{
|
|
31
|
+
id: _lssm_lib_schema248.EntityScalarField;
|
|
32
|
+
projectId: _lssm_lib_schema248.EntityScalarField;
|
|
33
|
+
userId: _lssm_lib_schema248.EntityScalarField;
|
|
34
|
+
role: _lssm_lib_schema248.EntityScalarField;
|
|
35
|
+
addedBy: _lssm_lib_schema248.EntityScalarField;
|
|
36
|
+
createdAt: _lssm_lib_schema248.EntityScalarField;
|
|
37
37
|
}>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { ProjectEntity, ProjectMemberEntity, ProjectStatusEnum };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema271 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/project/project.enum.d.ts
|
|
4
4
|
|
|
@@ -6,11 +6,11 @@ import * as _lssm_lib_schema245 from "@lssm/lib.schema";
|
|
|
6
6
|
* Project status enum for contract schemas.
|
|
7
7
|
* Note: Entity enum is defined separately in project.entity.ts
|
|
8
8
|
*/
|
|
9
|
-
declare const ProjectStatusSchemaEnum:
|
|
9
|
+
declare const ProjectStatusSchemaEnum: _lssm_lib_schema271.EnumType<[string, string, string, string]>;
|
|
10
10
|
/**
|
|
11
11
|
* Project status filter enum (includes 'all' option).
|
|
12
12
|
*/
|
|
13
|
-
declare const ProjectStatusFilterEnum:
|
|
13
|
+
declare const ProjectStatusFilterEnum: _lssm_lib_schema271.EnumType<[string, string, string, string]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { ProjectStatusFilterEnum, ProjectStatusSchemaEnum };
|
|
16
16
|
//# sourceMappingURL=project.enum.d.ts.map
|