@contractspec/example.saas-boilerplate 1.45.0 → 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 +4 -4
- package/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +14 -0
- package/dist/billing/billing.event.d.ts +21 -21
- package/dist/billing/billing.operations.d.ts +42 -42
- package/dist/billing/billing.operations.d.ts.map +1 -1
- package/dist/billing/billing.schema.d.ts +47 -47
- package/dist/billing/billing.schema.d.ts.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.operations.d.ts +103 -103
- package/dist/project/project.operations.d.ts.map +1 -1
- package/dist/project/project.schema.d.ts +54 -54
- package/dist/settings/settings.entity.d.ts +24 -24
- package/dist/settings/settings.enum.d.ts +2 -2
- package/package.json +10 -10
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema106 from "@contractspec/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: _contractspec_lib_schema106.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: _contractspec_lib_schema106.EntitySpec<{
|
|
12
|
+
id: _contractspec_lib_schema106.EntityScalarField;
|
|
13
|
+
name: _contractspec_lib_schema106.EntityScalarField;
|
|
14
|
+
description: _contractspec_lib_schema106.EntityScalarField;
|
|
15
|
+
slug: _contractspec_lib_schema106.EntityScalarField;
|
|
16
|
+
organizationId: _contractspec_lib_schema106.EntityScalarField;
|
|
17
|
+
createdBy: _contractspec_lib_schema106.EntityScalarField;
|
|
18
|
+
status: _contractspec_lib_schema106.EntityEnumField;
|
|
19
|
+
isPublic: _contractspec_lib_schema106.EntityScalarField;
|
|
20
|
+
settings: _contractspec_lib_schema106.EntityScalarField;
|
|
21
|
+
tags: _contractspec_lib_schema106.EntityScalarField;
|
|
22
|
+
metadata: _contractspec_lib_schema106.EntityScalarField;
|
|
23
|
+
createdAt: _contractspec_lib_schema106.EntityScalarField;
|
|
24
|
+
updatedAt: _contractspec_lib_schema106.EntityScalarField;
|
|
25
|
+
archivedAt: _contractspec_lib_schema106.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: _contractspec_lib_schema106.EntitySpec<{
|
|
31
|
+
id: _contractspec_lib_schema106.EntityScalarField;
|
|
32
|
+
projectId: _contractspec_lib_schema106.EntityScalarField;
|
|
33
|
+
userId: _contractspec_lib_schema106.EntityScalarField;
|
|
34
|
+
role: _contractspec_lib_schema106.EntityScalarField;
|
|
35
|
+
addedBy: _contractspec_lib_schema106.EntityScalarField;
|
|
36
|
+
createdAt: _contractspec_lib_schema106.EntityScalarField;
|
|
37
37
|
}>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { ProjectEntity, ProjectMemberEntity, ProjectStatusEnum };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema182 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/project/project.enum.d.ts
|
|
4
4
|
|
|
@@ -6,11 +6,11 @@ import * as _contractspec_lib_schema170 from "@contractspec/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: _contractspec_lib_schema182.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: _contractspec_lib_schema182.EnumType<[string, string, string, string]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { ProjectStatusFilterEnum, ProjectStatusSchemaEnum };
|
|
16
16
|
//# sourceMappingURL=project.enum.d.ts.map
|
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema285 from "@contractspec/lib.schema";
|
|
2
|
+
import * as _contractspec_lib_contracts7 from "@contractspec/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/project/project.event.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Event: A new project has been created.
|
|
7
7
|
*/
|
|
8
|
-
declare const ProjectCreatedEvent:
|
|
8
|
+
declare const ProjectCreatedEvent: _contractspec_lib_contracts7.EventSpec<_contractspec_lib_schema285.SchemaModel<{
|
|
9
9
|
projectId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema285.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
name: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema285.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
organizationId: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema285.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
createdBy: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema285.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
createdAt: {
|
|
26
|
-
type:
|
|
26
|
+
type: _contractspec_lib_schema285.FieldType<Date, string>;
|
|
27
27
|
isOptional: false;
|
|
28
28
|
};
|
|
29
29
|
}>>;
|
|
30
30
|
/**
|
|
31
31
|
* Event: A project has been updated.
|
|
32
32
|
*/
|
|
33
|
-
declare const ProjectUpdatedEvent:
|
|
33
|
+
declare const ProjectUpdatedEvent: _contractspec_lib_contracts7.EventSpec<_contractspec_lib_schema285.SchemaModel<{
|
|
34
34
|
projectId: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema285.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
updatedFields: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema285.FieldType<string, string>;
|
|
40
40
|
isArray: true;
|
|
41
41
|
isOptional: false;
|
|
42
42
|
};
|
|
43
43
|
updatedBy: {
|
|
44
|
-
type:
|
|
44
|
+
type: _contractspec_lib_schema285.FieldType<string, string>;
|
|
45
45
|
isOptional: false;
|
|
46
46
|
};
|
|
47
47
|
updatedAt: {
|
|
48
|
-
type:
|
|
48
|
+
type: _contractspec_lib_schema285.FieldType<Date, string>;
|
|
49
49
|
isOptional: false;
|
|
50
50
|
};
|
|
51
51
|
}>>;
|
|
52
52
|
/**
|
|
53
53
|
* Event: A project has been deleted.
|
|
54
54
|
*/
|
|
55
|
-
declare const ProjectDeletedEvent:
|
|
55
|
+
declare const ProjectDeletedEvent: _contractspec_lib_contracts7.EventSpec<_contractspec_lib_schema285.SchemaModel<{
|
|
56
56
|
projectId: {
|
|
57
|
-
type:
|
|
57
|
+
type: _contractspec_lib_schema285.FieldType<string, string>;
|
|
58
58
|
isOptional: false;
|
|
59
59
|
};
|
|
60
60
|
organizationId: {
|
|
61
|
-
type:
|
|
61
|
+
type: _contractspec_lib_schema285.FieldType<string, string>;
|
|
62
62
|
isOptional: false;
|
|
63
63
|
};
|
|
64
64
|
deletedBy: {
|
|
65
|
-
type:
|
|
65
|
+
type: _contractspec_lib_schema285.FieldType<string, string>;
|
|
66
66
|
isOptional: false;
|
|
67
67
|
};
|
|
68
68
|
deletedAt: {
|
|
69
|
-
type:
|
|
69
|
+
type: _contractspec_lib_schema285.FieldType<Date, string>;
|
|
70
70
|
isOptional: false;
|
|
71
71
|
};
|
|
72
72
|
}>>;
|
|
73
73
|
/**
|
|
74
74
|
* Event: A project has been archived.
|
|
75
75
|
*/
|
|
76
|
-
declare const ProjectArchivedEvent:
|
|
76
|
+
declare const ProjectArchivedEvent: _contractspec_lib_contracts7.EventSpec<_contractspec_lib_schema285.SchemaModel<{
|
|
77
77
|
projectId: {
|
|
78
|
-
type:
|
|
78
|
+
type: _contractspec_lib_schema285.FieldType<string, string>;
|
|
79
79
|
isOptional: false;
|
|
80
80
|
};
|
|
81
81
|
archivedBy: {
|
|
82
|
-
type:
|
|
82
|
+
type: _contractspec_lib_schema285.FieldType<string, string>;
|
|
83
83
|
isOptional: false;
|
|
84
84
|
};
|
|
85
85
|
archivedAt: {
|
|
86
|
-
type:
|
|
86
|
+
type: _contractspec_lib_schema285.FieldType<Date, string>;
|
|
87
87
|
isOptional: false;
|
|
88
88
|
};
|
|
89
89
|
}>>;
|