@contractspec/example.saas-boilerplate 1.44.1 → 1.45.1
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 +24 -24
- package/.turbo/turbo-build.log +24 -24
- package/CHANGELOG.md +45 -0
- package/dist/billing/billing.event.js +3 -3
- package/dist/billing/billing.event.js.map +1 -1
- package/dist/billing/billing.operations.d.ts +42 -42
- package/dist/billing/billing.operations.js +5 -5
- package/dist/billing/billing.operations.js.map +1 -1
- package/dist/billing/billing.presentation.js +2 -2
- package/dist/billing/billing.presentation.js.map +1 -1
- package/dist/billing/billing.schema.d.ts +47 -47
- package/dist/billing/billing.schema.d.ts.map +1 -1
- package/dist/dashboard/dashboard.presentation.js +2 -2
- package/dist/dashboard/dashboard.presentation.js.map +1 -1
- package/dist/example.d.ts +3 -33
- package/dist/example.d.ts.map +1 -1
- package/dist/example.js +16 -11
- package/dist/example.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 +21 -21
- package/dist/project/project.event.js +4 -4
- package/dist/project/project.event.js.map +1 -1
- package/dist/project/project.operations.d.ts +105 -105
- package/dist/project/project.operations.d.ts.map +1 -1
- package/dist/project/project.operations.js +8 -8
- package/dist/project/project.operations.js.map +1 -1
- package/dist/project/project.presentation.js +2 -2
- package/dist/project/project.presentation.js.map +1 -1
- package/dist/project/project.schema.d.ts +54 -54
- package/dist/saas-boilerplate.feature.js +38 -38
- package/dist/saas-boilerplate.feature.js.map +1 -1
- package/dist/settings/settings.entity.d.ts +24 -24
- package/dist/settings/settings.enum.d.ts +2 -2
- package/package.json +10 -10
- package/src/billing/billing.event.ts +3 -3
- package/src/billing/billing.operations.ts +5 -5
- package/src/billing/billing.presentation.ts +2 -2
- package/src/dashboard/dashboard.presentation.ts +2 -2
- package/src/example.ts +16 -9
- package/src/project/project.event.ts +4 -4
- package/src/project/project.operations.ts +8 -8
- package/src/project/project.presentation.ts +2 -2
- package/src/saas-boilerplate.feature.ts +42 -38
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.event.js","names":[],"sources":["../../src/project/project.event.ts"],"sourcesContent":["import { ScalarTypeEnum, defineSchemaModel } from '@contractspec/lib.schema';\nimport { defineEvent } from '@contractspec/lib.contracts';\n\n/**\n * Payload when a project is created.\n */\nconst ProjectCreatedPayload = defineSchemaModel({\n name: 'ProjectCreatedPayload',\n description: 'Payload when a project is created',\n fields: {\n projectId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n name: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n organizationId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n createdBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n createdAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\n/**\n * Payload when a project is updated.\n */\nconst ProjectUpdatedPayload = defineSchemaModel({\n name: 'ProjectUpdatedPayload',\n description: 'Payload when a project is updated',\n fields: {\n projectId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n updatedFields: {\n type: ScalarTypeEnum.String_unsecure(),\n isArray: true,\n isOptional: false,\n },\n updatedBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n updatedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\n/**\n * Payload when a project is deleted.\n */\nconst ProjectDeletedPayload = defineSchemaModel({\n name: 'ProjectDeletedPayload',\n description: 'Payload when a project is deleted',\n fields: {\n projectId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n organizationId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n deletedBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n deletedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\n/**\n * Payload when a project is archived.\n */\nconst ProjectArchivedPayload = defineSchemaModel({\n name: 'ProjectArchivedPayload',\n description: 'Payload when a project is archived',\n fields: {\n projectId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n archivedBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n archivedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\n/**\n * Event: A new project has been created.\n */\nexport const ProjectCreatedEvent = defineEvent({\n meta: {\n key: 'project.created',\n version: 1,\n description: 'A new project has been created.',\n stability: 'stable',\n owners: ['@saas-team'],\n tags: ['project', 'created'],\n },\n payload: ProjectCreatedPayload,\n});\n\n/**\n * Event: A project has been updated.\n */\nexport const ProjectUpdatedEvent = defineEvent({\n meta: {\n key: 'project.updated',\n version: 1,\n description: 'A project has been updated.',\n stability: 'stable',\n owners: ['@saas-team'],\n tags: ['project', 'updated'],\n },\n payload: ProjectUpdatedPayload,\n});\n\n/**\n * Event: A project has been deleted.\n */\nexport const ProjectDeletedEvent = defineEvent({\n meta: {\n key: 'project.deleted',\n version: 1,\n description: 'A project has been deleted.',\n stability: 'stable',\n owners: ['@saas-team'],\n tags: ['project', 'deleted'],\n },\n payload: ProjectDeletedPayload,\n});\n\n/**\n * Event: A project has been archived.\n */\nexport const ProjectArchivedEvent = defineEvent({\n meta: {\n key: 'project.archived',\n version: 1,\n description: 'A project has been archived.',\n stability: 'stable',\n owners: ['@saas-team'],\n tags: ['project', 'archived'],\n },\n payload: ProjectArchivedPayload,\n});\n"],"mappings":";;;;;;;AAMA,MAAM,wBAAwB,kBAAkB;CAC9C,MAAM;CACN,aAAa;CACb,QAAQ;EACN,WAAW;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAO;EACxE,MAAM;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAO;EACnE,gBAAgB;GACd,MAAM,eAAe,iBAAiB;GACtC,YAAY;GACb;EACD,WAAW;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAO;EACxE,WAAW;GAAE,MAAM,eA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AC7B;CACD,SAAS;CACV,CAAC;;;;AAKF,MAAa,sBAAsB,YAAY;CAC7C,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,WAAW;EACX,QAAQ,CAAC,aAAa;EACtB,MAAM,CAAC,WAAW,UAAU;EAC7B;CACD,SAAS;CACV,CAAC;;;;AAKF,MAAa,uBAAuB,YAAY;CAC9C,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,WAAW;EACX,QAAQ,CAAC,aAAa;EACtB,MAAM,CAAC,WAAW,WAAW;EAC9B;CACD,SAAS;CACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"project.event.js","names":[],"sources":["../../src/project/project.event.ts"],"sourcesContent":["import { ScalarTypeEnum, defineSchemaModel } from '@contractspec/lib.schema';\nimport { defineEvent } from '@contractspec/lib.contracts';\n\n/**\n * Payload when a project is created.\n */\nconst ProjectCreatedPayload = defineSchemaModel({\n name: 'ProjectCreatedPayload',\n description: 'Payload when a project is created',\n fields: {\n projectId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n name: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n organizationId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n createdBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n createdAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\n/**\n * Payload when a project is updated.\n */\nconst ProjectUpdatedPayload = defineSchemaModel({\n name: 'ProjectUpdatedPayload',\n description: 'Payload when a project is updated',\n fields: {\n projectId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n updatedFields: {\n type: ScalarTypeEnum.String_unsecure(),\n isArray: true,\n isOptional: false,\n },\n updatedBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n updatedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\n/**\n * Payload when a project is deleted.\n */\nconst ProjectDeletedPayload = defineSchemaModel({\n name: 'ProjectDeletedPayload',\n description: 'Payload when a project is deleted',\n fields: {\n projectId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n organizationId: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n deletedBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n deletedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\n/**\n * Payload when a project is archived.\n */\nconst ProjectArchivedPayload = defineSchemaModel({\n name: 'ProjectArchivedPayload',\n description: 'Payload when a project is archived',\n fields: {\n projectId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n archivedBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n archivedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\n/**\n * Event: A new project has been created.\n */\nexport const ProjectCreatedEvent = defineEvent({\n meta: {\n key: 'project.created',\n version: '1.0.0',\n description: 'A new project has been created.',\n stability: 'stable',\n owners: ['@saas-team'],\n tags: ['project', 'created'],\n },\n payload: ProjectCreatedPayload,\n});\n\n/**\n * Event: A project has been updated.\n */\nexport const ProjectUpdatedEvent = defineEvent({\n meta: {\n key: 'project.updated',\n version: '1.0.0',\n description: 'A project has been updated.',\n stability: 'stable',\n owners: ['@saas-team'],\n tags: ['project', 'updated'],\n },\n payload: ProjectUpdatedPayload,\n});\n\n/**\n * Event: A project has been deleted.\n */\nexport const ProjectDeletedEvent = defineEvent({\n meta: {\n key: 'project.deleted',\n version: '1.0.0',\n description: 'A project has been deleted.',\n stability: 'stable',\n owners: ['@saas-team'],\n tags: ['project', 'deleted'],\n },\n payload: ProjectDeletedPayload,\n});\n\n/**\n * Event: A project has been archived.\n */\nexport const ProjectArchivedEvent = defineEvent({\n meta: {\n key: 'project.archived',\n version: '1.0.0',\n description: 'A project has been archived.',\n stability: 'stable',\n owners: ['@saas-team'],\n tags: ['project', 'archived'],\n },\n payload: ProjectArchivedPayload,\n});\n"],"mappings":";;;;;;;AAMA,MAAM,wBAAwB,kBAAkB;CAC9C,MA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MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,WAAW;EACX,QAAQ,CAAC,aAAa;EACtB,MAAM,CAAC,WAAW,UAAU;EAC7B;CACD,SAAS;CACV,CAAC;;;;AAKF,MAAa,sBAAsB,YAAY;CAC7C,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,WAAW;EACX,QAAQ,CAAC,aAAa;EACtB,MAAM,CAAC,WAAW,UAAU;EAC7B;CACD,SAAS;CACV,CAAC;;;;AAKF,MAAa,sBAAsB,YAAY;CAC7C,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,WAAW;EACX,QAAQ,CAAC,aAAa;EACtB,MAAM,CAAC,WAAW,UAAU;EAC7B;CACD,SAAS;CACV,CAAC;;;;AAKF,MAAa,uBAAuB,YAAY;CAC9C,MAAM;EACJ,KAAK;EACL,SAAS;EACT,aAAa;EACb,WAAW;EACX,QAAQ,CAAC,aAAa;EACtB,MAAM,CAAC,WAAW,WAAW;EAC9B;CACD,SAAS;CACV,CAAC"}
|
|
@@ -1,126 +1,126 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema184 from "@contractspec/lib.schema";
|
|
2
2
|
import * as _contractspec_lib_contracts2 from "@contractspec/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/project/project.operations.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a new project.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateProjectContract: _contractspec_lib_contracts2.OperationSpec<
|
|
8
|
+
declare const CreateProjectContract: _contractspec_lib_contracts2.OperationSpec<_contractspec_lib_schema184.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
description: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
15
15
|
isOptional: true;
|
|
16
16
|
};
|
|
17
17
|
slug: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
isPublic: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema184.FieldType<boolean, boolean>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
tags: {
|
|
26
|
-
type:
|
|
26
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
27
27
|
isArray: true;
|
|
28
28
|
isOptional: true;
|
|
29
29
|
};
|
|
30
|
-
}>,
|
|
30
|
+
}>, _contractspec_lib_schema184.SchemaModel<{
|
|
31
31
|
id: {
|
|
32
|
-
type:
|
|
32
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
33
33
|
isOptional: false;
|
|
34
34
|
};
|
|
35
35
|
name: {
|
|
36
|
-
type:
|
|
36
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
37
37
|
isOptional: false;
|
|
38
38
|
};
|
|
39
39
|
description: {
|
|
40
|
-
type:
|
|
40
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
41
41
|
isOptional: true;
|
|
42
42
|
};
|
|
43
43
|
slug: {
|
|
44
|
-
type:
|
|
44
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
45
45
|
isOptional: true;
|
|
46
46
|
};
|
|
47
47
|
organizationId: {
|
|
48
|
-
type:
|
|
48
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
49
49
|
isOptional: false;
|
|
50
50
|
};
|
|
51
51
|
createdBy: {
|
|
52
|
-
type:
|
|
52
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
53
53
|
isOptional: false;
|
|
54
54
|
};
|
|
55
55
|
status: {
|
|
56
|
-
type:
|
|
56
|
+
type: _contractspec_lib_schema184.EnumType<[string, string, string, string]>;
|
|
57
57
|
isOptional: false;
|
|
58
58
|
};
|
|
59
59
|
isPublic: {
|
|
60
|
-
type:
|
|
60
|
+
type: _contractspec_lib_schema184.FieldType<boolean, boolean>;
|
|
61
61
|
isOptional: false;
|
|
62
62
|
};
|
|
63
63
|
tags: {
|
|
64
|
-
type:
|
|
64
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
65
65
|
isArray: true;
|
|
66
66
|
isOptional: false;
|
|
67
67
|
};
|
|
68
68
|
createdAt: {
|
|
69
|
-
type:
|
|
69
|
+
type: _contractspec_lib_schema184.FieldType<Date, string>;
|
|
70
70
|
isOptional: false;
|
|
71
71
|
};
|
|
72
72
|
updatedAt: {
|
|
73
|
-
type:
|
|
73
|
+
type: _contractspec_lib_schema184.FieldType<Date, string>;
|
|
74
74
|
isOptional: false;
|
|
75
75
|
};
|
|
76
76
|
}>, {
|
|
77
77
|
key: string;
|
|
78
|
-
version:
|
|
78
|
+
version: string;
|
|
79
79
|
when: string;
|
|
80
|
-
payload:
|
|
80
|
+
payload: _contractspec_lib_schema184.SchemaModel<{
|
|
81
81
|
id: {
|
|
82
|
-
type:
|
|
82
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
83
83
|
isOptional: false;
|
|
84
84
|
};
|
|
85
85
|
name: {
|
|
86
|
-
type:
|
|
86
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
87
87
|
isOptional: false;
|
|
88
88
|
};
|
|
89
89
|
description: {
|
|
90
|
-
type:
|
|
90
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
91
91
|
isOptional: true;
|
|
92
92
|
};
|
|
93
93
|
slug: {
|
|
94
|
-
type:
|
|
94
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
95
95
|
isOptional: true;
|
|
96
96
|
};
|
|
97
97
|
organizationId: {
|
|
98
|
-
type:
|
|
98
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
99
99
|
isOptional: false;
|
|
100
100
|
};
|
|
101
101
|
createdBy: {
|
|
102
|
-
type:
|
|
102
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
103
103
|
isOptional: false;
|
|
104
104
|
};
|
|
105
105
|
status: {
|
|
106
|
-
type:
|
|
106
|
+
type: _contractspec_lib_schema184.EnumType<[string, string, string, string]>;
|
|
107
107
|
isOptional: false;
|
|
108
108
|
};
|
|
109
109
|
isPublic: {
|
|
110
|
-
type:
|
|
110
|
+
type: _contractspec_lib_schema184.FieldType<boolean, boolean>;
|
|
111
111
|
isOptional: false;
|
|
112
112
|
};
|
|
113
113
|
tags: {
|
|
114
|
-
type:
|
|
114
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
115
115
|
isArray: true;
|
|
116
116
|
isOptional: false;
|
|
117
117
|
};
|
|
118
118
|
createdAt: {
|
|
119
|
-
type:
|
|
119
|
+
type: _contractspec_lib_schema184.FieldType<Date, string>;
|
|
120
120
|
isOptional: false;
|
|
121
121
|
};
|
|
122
122
|
updatedAt: {
|
|
123
|
-
type:
|
|
123
|
+
type: _contractspec_lib_schema184.FieldType<Date, string>;
|
|
124
124
|
isOptional: false;
|
|
125
125
|
};
|
|
126
126
|
}>;
|
|
@@ -128,185 +128,185 @@ declare const CreateProjectContract: _contractspec_lib_contracts2.OperationSpec<
|
|
|
128
128
|
/**
|
|
129
129
|
* Get project by ID.
|
|
130
130
|
*/
|
|
131
|
-
declare const GetProjectContract: _contractspec_lib_contracts2.OperationSpec<
|
|
131
|
+
declare const GetProjectContract: _contractspec_lib_contracts2.OperationSpec<_contractspec_lib_schema184.SchemaModel<{
|
|
132
132
|
projectId: {
|
|
133
|
-
type:
|
|
133
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
134
134
|
isOptional: false;
|
|
135
135
|
};
|
|
136
|
-
}>,
|
|
136
|
+
}>, _contractspec_lib_schema184.SchemaModel<{
|
|
137
137
|
id: {
|
|
138
|
-
type:
|
|
138
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
139
139
|
isOptional: false;
|
|
140
140
|
};
|
|
141
141
|
name: {
|
|
142
|
-
type:
|
|
142
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
143
143
|
isOptional: false;
|
|
144
144
|
};
|
|
145
145
|
description: {
|
|
146
|
-
type:
|
|
146
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
147
147
|
isOptional: true;
|
|
148
148
|
};
|
|
149
149
|
slug: {
|
|
150
|
-
type:
|
|
150
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
151
151
|
isOptional: true;
|
|
152
152
|
};
|
|
153
153
|
organizationId: {
|
|
154
|
-
type:
|
|
154
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
155
155
|
isOptional: false;
|
|
156
156
|
};
|
|
157
157
|
createdBy: {
|
|
158
|
-
type:
|
|
158
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
159
159
|
isOptional: false;
|
|
160
160
|
};
|
|
161
161
|
status: {
|
|
162
|
-
type:
|
|
162
|
+
type: _contractspec_lib_schema184.EnumType<[string, string, string, string]>;
|
|
163
163
|
isOptional: false;
|
|
164
164
|
};
|
|
165
165
|
isPublic: {
|
|
166
|
-
type:
|
|
166
|
+
type: _contractspec_lib_schema184.FieldType<boolean, boolean>;
|
|
167
167
|
isOptional: false;
|
|
168
168
|
};
|
|
169
169
|
tags: {
|
|
170
|
-
type:
|
|
170
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
171
171
|
isArray: true;
|
|
172
172
|
isOptional: false;
|
|
173
173
|
};
|
|
174
174
|
createdAt: {
|
|
175
|
-
type:
|
|
175
|
+
type: _contractspec_lib_schema184.FieldType<Date, string>;
|
|
176
176
|
isOptional: false;
|
|
177
177
|
};
|
|
178
178
|
updatedAt: {
|
|
179
|
-
type:
|
|
179
|
+
type: _contractspec_lib_schema184.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: _contractspec_lib_contracts2.OperationSpec<
|
|
186
|
+
declare const UpdateProjectContract: _contractspec_lib_contracts2.OperationSpec<_contractspec_lib_schema184.SchemaModel<{
|
|
187
187
|
projectId: {
|
|
188
|
-
type:
|
|
188
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
189
189
|
isOptional: false;
|
|
190
190
|
};
|
|
191
191
|
name: {
|
|
192
|
-
type:
|
|
192
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
193
193
|
isOptional: true;
|
|
194
194
|
};
|
|
195
195
|
description: {
|
|
196
|
-
type:
|
|
196
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
197
197
|
isOptional: true;
|
|
198
198
|
};
|
|
199
199
|
slug: {
|
|
200
|
-
type:
|
|
200
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
201
201
|
isOptional: true;
|
|
202
202
|
};
|
|
203
203
|
isPublic: {
|
|
204
|
-
type:
|
|
204
|
+
type: _contractspec_lib_schema184.FieldType<boolean, boolean>;
|
|
205
205
|
isOptional: true;
|
|
206
206
|
};
|
|
207
207
|
tags: {
|
|
208
|
-
type:
|
|
208
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
209
209
|
isArray: true;
|
|
210
210
|
isOptional: true;
|
|
211
211
|
};
|
|
212
212
|
status: {
|
|
213
|
-
type:
|
|
213
|
+
type: _contractspec_lib_schema184.EnumType<[string, string, string, string]>;
|
|
214
214
|
isOptional: true;
|
|
215
215
|
};
|
|
216
|
-
}>,
|
|
216
|
+
}>, _contractspec_lib_schema184.SchemaModel<{
|
|
217
217
|
id: {
|
|
218
|
-
type:
|
|
218
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
219
219
|
isOptional: false;
|
|
220
220
|
};
|
|
221
221
|
name: {
|
|
222
|
-
type:
|
|
222
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
223
223
|
isOptional: false;
|
|
224
224
|
};
|
|
225
225
|
description: {
|
|
226
|
-
type:
|
|
226
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
227
227
|
isOptional: true;
|
|
228
228
|
};
|
|
229
229
|
slug: {
|
|
230
|
-
type:
|
|
230
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
231
231
|
isOptional: true;
|
|
232
232
|
};
|
|
233
233
|
organizationId: {
|
|
234
|
-
type:
|
|
234
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
235
235
|
isOptional: false;
|
|
236
236
|
};
|
|
237
237
|
createdBy: {
|
|
238
|
-
type:
|
|
238
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
239
239
|
isOptional: false;
|
|
240
240
|
};
|
|
241
241
|
status: {
|
|
242
|
-
type:
|
|
242
|
+
type: _contractspec_lib_schema184.EnumType<[string, string, string, string]>;
|
|
243
243
|
isOptional: false;
|
|
244
244
|
};
|
|
245
245
|
isPublic: {
|
|
246
|
-
type:
|
|
246
|
+
type: _contractspec_lib_schema184.FieldType<boolean, boolean>;
|
|
247
247
|
isOptional: false;
|
|
248
248
|
};
|
|
249
249
|
tags: {
|
|
250
|
-
type:
|
|
250
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
251
251
|
isArray: true;
|
|
252
252
|
isOptional: false;
|
|
253
253
|
};
|
|
254
254
|
createdAt: {
|
|
255
|
-
type:
|
|
255
|
+
type: _contractspec_lib_schema184.FieldType<Date, string>;
|
|
256
256
|
isOptional: false;
|
|
257
257
|
};
|
|
258
258
|
updatedAt: {
|
|
259
|
-
type:
|
|
259
|
+
type: _contractspec_lib_schema184.FieldType<Date, string>;
|
|
260
260
|
isOptional: false;
|
|
261
261
|
};
|
|
262
262
|
}>, {
|
|
263
263
|
key: string;
|
|
264
|
-
version:
|
|
264
|
+
version: string;
|
|
265
265
|
when: string;
|
|
266
|
-
payload:
|
|
266
|
+
payload: _contractspec_lib_schema184.SchemaModel<{
|
|
267
267
|
id: {
|
|
268
|
-
type:
|
|
268
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
269
269
|
isOptional: false;
|
|
270
270
|
};
|
|
271
271
|
name: {
|
|
272
|
-
type:
|
|
272
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
273
273
|
isOptional: false;
|
|
274
274
|
};
|
|
275
275
|
description: {
|
|
276
|
-
type:
|
|
276
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
277
277
|
isOptional: true;
|
|
278
278
|
};
|
|
279
279
|
slug: {
|
|
280
|
-
type:
|
|
280
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
281
281
|
isOptional: true;
|
|
282
282
|
};
|
|
283
283
|
organizationId: {
|
|
284
|
-
type:
|
|
284
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
285
285
|
isOptional: false;
|
|
286
286
|
};
|
|
287
287
|
createdBy: {
|
|
288
|
-
type:
|
|
288
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
289
289
|
isOptional: false;
|
|
290
290
|
};
|
|
291
291
|
status: {
|
|
292
|
-
type:
|
|
292
|
+
type: _contractspec_lib_schema184.EnumType<[string, string, string, string]>;
|
|
293
293
|
isOptional: false;
|
|
294
294
|
};
|
|
295
295
|
isPublic: {
|
|
296
|
-
type:
|
|
296
|
+
type: _contractspec_lib_schema184.FieldType<boolean, boolean>;
|
|
297
297
|
isOptional: false;
|
|
298
298
|
};
|
|
299
299
|
tags: {
|
|
300
|
-
type:
|
|
300
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
301
301
|
isArray: true;
|
|
302
302
|
isOptional: false;
|
|
303
303
|
};
|
|
304
304
|
createdAt: {
|
|
305
|
-
type:
|
|
305
|
+
type: _contractspec_lib_schema184.FieldType<Date, string>;
|
|
306
306
|
isOptional: false;
|
|
307
307
|
};
|
|
308
308
|
updatedAt: {
|
|
309
|
-
type:
|
|
309
|
+
type: _contractspec_lib_schema184.FieldType<Date, string>;
|
|
310
310
|
isOptional: false;
|
|
311
311
|
};
|
|
312
312
|
}>;
|
|
@@ -314,23 +314,23 @@ declare const UpdateProjectContract: _contractspec_lib_contracts2.OperationSpec<
|
|
|
314
314
|
/**
|
|
315
315
|
* Delete a project.
|
|
316
316
|
*/
|
|
317
|
-
declare const DeleteProjectContract: _contractspec_lib_contracts2.OperationSpec<
|
|
317
|
+
declare const DeleteProjectContract: _contractspec_lib_contracts2.OperationSpec<_contractspec_lib_schema184.SchemaModel<{
|
|
318
318
|
projectId: {
|
|
319
|
-
type:
|
|
319
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
320
320
|
isOptional: false;
|
|
321
321
|
};
|
|
322
|
-
}>,
|
|
322
|
+
}>, _contractspec_lib_schema184.SchemaModel<{
|
|
323
323
|
success: {
|
|
324
|
-
type:
|
|
324
|
+
type: _contractspec_lib_schema184.FieldType<boolean, boolean>;
|
|
325
325
|
isOptional: false;
|
|
326
326
|
};
|
|
327
327
|
}>, {
|
|
328
328
|
key: string;
|
|
329
|
-
version:
|
|
329
|
+
version: string;
|
|
330
330
|
when: string;
|
|
331
|
-
payload:
|
|
331
|
+
payload: _contractspec_lib_schema184.SchemaModel<{
|
|
332
332
|
projectId: {
|
|
333
|
-
type:
|
|
333
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
334
334
|
isOptional: false;
|
|
335
335
|
};
|
|
336
336
|
}>;
|
|
@@ -338,71 +338,71 @@ declare const DeleteProjectContract: _contractspec_lib_contracts2.OperationSpec<
|
|
|
338
338
|
/**
|
|
339
339
|
* List organization projects.
|
|
340
340
|
*/
|
|
341
|
-
declare const ListProjectsContract: _contractspec_lib_contracts2.OperationSpec<
|
|
341
|
+
declare const ListProjectsContract: _contractspec_lib_contracts2.OperationSpec<_contractspec_lib_schema184.SchemaModel<{
|
|
342
342
|
status: {
|
|
343
|
-
type:
|
|
343
|
+
type: _contractspec_lib_schema184.EnumType<[string, string, string, string]>;
|
|
344
344
|
isOptional: true;
|
|
345
345
|
};
|
|
346
346
|
search: {
|
|
347
|
-
type:
|
|
347
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
348
348
|
isOptional: true;
|
|
349
349
|
};
|
|
350
350
|
limit: {
|
|
351
|
-
type:
|
|
351
|
+
type: _contractspec_lib_schema184.FieldType<number, number>;
|
|
352
352
|
isOptional: true;
|
|
353
353
|
defaultValue: number;
|
|
354
354
|
};
|
|
355
355
|
offset: {
|
|
356
|
-
type:
|
|
356
|
+
type: _contractspec_lib_schema184.FieldType<number, number>;
|
|
357
357
|
isOptional: true;
|
|
358
358
|
defaultValue: number;
|
|
359
359
|
};
|
|
360
|
-
}>,
|
|
360
|
+
}>, _contractspec_lib_schema184.SchemaModel<{
|
|
361
361
|
projects: {
|
|
362
|
-
type:
|
|
362
|
+
type: _contractspec_lib_schema184.SchemaModel<{
|
|
363
363
|
id: {
|
|
364
|
-
type:
|
|
364
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
365
365
|
isOptional: false;
|
|
366
366
|
};
|
|
367
367
|
name: {
|
|
368
|
-
type:
|
|
368
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
369
369
|
isOptional: false;
|
|
370
370
|
};
|
|
371
371
|
description: {
|
|
372
|
-
type:
|
|
372
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
373
373
|
isOptional: true;
|
|
374
374
|
};
|
|
375
375
|
slug: {
|
|
376
|
-
type:
|
|
376
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
377
377
|
isOptional: true;
|
|
378
378
|
};
|
|
379
379
|
organizationId: {
|
|
380
|
-
type:
|
|
380
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
381
381
|
isOptional: false;
|
|
382
382
|
};
|
|
383
383
|
createdBy: {
|
|
384
|
-
type:
|
|
384
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
385
385
|
isOptional: false;
|
|
386
386
|
};
|
|
387
387
|
status: {
|
|
388
|
-
type:
|
|
388
|
+
type: _contractspec_lib_schema184.EnumType<[string, string, string, string]>;
|
|
389
389
|
isOptional: false;
|
|
390
390
|
};
|
|
391
391
|
isPublic: {
|
|
392
|
-
type:
|
|
392
|
+
type: _contractspec_lib_schema184.FieldType<boolean, boolean>;
|
|
393
393
|
isOptional: false;
|
|
394
394
|
};
|
|
395
395
|
tags: {
|
|
396
|
-
type:
|
|
396
|
+
type: _contractspec_lib_schema184.FieldType<string, string>;
|
|
397
397
|
isArray: true;
|
|
398
398
|
isOptional: false;
|
|
399
399
|
};
|
|
400
400
|
createdAt: {
|
|
401
|
-
type:
|
|
401
|
+
type: _contractspec_lib_schema184.FieldType<Date, string>;
|
|
402
402
|
isOptional: false;
|
|
403
403
|
};
|
|
404
404
|
updatedAt: {
|
|
405
|
-
type:
|
|
405
|
+
type: _contractspec_lib_schema184.FieldType<Date, string>;
|
|
406
406
|
isOptional: false;
|
|
407
407
|
};
|
|
408
408
|
}>;
|
|
@@ -410,7 +410,7 @@ declare const ListProjectsContract: _contractspec_lib_contracts2.OperationSpec<_
|
|
|
410
410
|
isOptional: false;
|
|
411
411
|
};
|
|
412
412
|
total: {
|
|
413
|
-
type:
|
|
413
|
+
type: _contractspec_lib_schema184.FieldType<number, number>;
|
|
414
414
|
isOptional: false;
|
|
415
415
|
};
|
|
416
416
|
}>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.operations.d.ts","names":[],"sources":["../../src/project/project.operations.ts"],"sourcesContent":[],"mappings":";;;;;;;cAqBa,oDAAqB,
|
|
1
|
+
{"version":3,"file":"project.operations.d.ts","names":[],"sources":["../../src/project/project.operations.ts"],"sourcesContent":[],"mappings":";;;;;;;cAqBa,oDAAqB,0CAAA;EAArB,IAAA,EAAA;IA4DX,IAAA,EAAA,2BAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;EA5DgC,C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;;;;;;;;;;cAmDrB,mDAAoB,0CAAA;;UAmC/B,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;cAnC+B,2BAAA,CAAA"}
|
|
@@ -9,7 +9,7 @@ const OWNERS = ["example.saas-boilerplate"];
|
|
|
9
9
|
const CreateProjectContract = defineCommand({
|
|
10
10
|
meta: {
|
|
11
11
|
key: "saas.project.create",
|
|
12
|
-
version: 1,
|
|
12
|
+
version: "1.0.0",
|
|
13
13
|
stability: "stable",
|
|
14
14
|
owners: [...OWNERS],
|
|
15
15
|
tags: [
|
|
@@ -43,7 +43,7 @@ const CreateProjectContract = defineCommand({
|
|
|
43
43
|
sideEffects: {
|
|
44
44
|
emits: [{
|
|
45
45
|
key: "project.created",
|
|
46
|
-
version: 1,
|
|
46
|
+
version: "1.0.0",
|
|
47
47
|
when: "Project is created",
|
|
48
48
|
payload: ProjectModel
|
|
49
49
|
}],
|
|
@@ -76,7 +76,7 @@ const CreateProjectContract = defineCommand({
|
|
|
76
76
|
const GetProjectContract = defineQuery({
|
|
77
77
|
meta: {
|
|
78
78
|
key: "saas.project.get",
|
|
79
|
-
version: 1,
|
|
79
|
+
version: "1.0.0",
|
|
80
80
|
stability: "stable",
|
|
81
81
|
owners: [...OWNERS],
|
|
82
82
|
tags: [
|
|
@@ -122,7 +122,7 @@ const GetProjectContract = defineQuery({
|
|
|
122
122
|
const UpdateProjectContract = defineCommand({
|
|
123
123
|
meta: {
|
|
124
124
|
key: "saas.project.update",
|
|
125
|
-
version: 1,
|
|
125
|
+
version: "1.0.0",
|
|
126
126
|
stability: "stable",
|
|
127
127
|
owners: [...OWNERS],
|
|
128
128
|
tags: [
|
|
@@ -142,7 +142,7 @@ const UpdateProjectContract = defineCommand({
|
|
|
142
142
|
sideEffects: {
|
|
143
143
|
emits: [{
|
|
144
144
|
key: "project.updated",
|
|
145
|
-
version: 1,
|
|
145
|
+
version: "1.0.0",
|
|
146
146
|
when: "Project is updated",
|
|
147
147
|
payload: ProjectModel
|
|
148
148
|
}],
|
|
@@ -174,7 +174,7 @@ const UpdateProjectContract = defineCommand({
|
|
|
174
174
|
const DeleteProjectContract = defineCommand({
|
|
175
175
|
meta: {
|
|
176
176
|
key: "saas.project.delete",
|
|
177
|
-
version: 1,
|
|
177
|
+
version: "1.0.0",
|
|
178
178
|
stability: "stable",
|
|
179
179
|
owners: [...OWNERS],
|
|
180
180
|
tags: [
|
|
@@ -194,7 +194,7 @@ const DeleteProjectContract = defineCommand({
|
|
|
194
194
|
sideEffects: {
|
|
195
195
|
emits: [{
|
|
196
196
|
key: "project.deleted",
|
|
197
|
-
version: 1,
|
|
197
|
+
version: "1.0.0",
|
|
198
198
|
when: "Project is deleted",
|
|
199
199
|
payload: ProjectDeletedPayloadModel
|
|
200
200
|
}],
|
|
@@ -220,7 +220,7 @@ const DeleteProjectContract = defineCommand({
|
|
|
220
220
|
const ListProjectsContract = defineQuery({
|
|
221
221
|
meta: {
|
|
222
222
|
key: "saas.project.list",
|
|
223
|
-
version: 1,
|
|
223
|
+
version: "1.0.0",
|
|
224
224
|
stability: "stable",
|
|
225
225
|
owners: [...OWNERS],
|
|
226
226
|
tags: [
|