@contractspec/example.saas-boilerplate 1.44.0 → 1.44.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.
@@ -80,11 +80,11 @@ $ tsdown
80
80
  ℹ dist/saas-boilerplate.feature.d.ts.map  0.17 kB │ gzip: 0.13 kB
81
81
  ℹ dist/example.d.ts.map  0.14 kB │ gzip: 0.13 kB
82
82
  ℹ dist/presentations/index.d.ts.map  0.14 kB │ gzip: 0.13 kB
83
- ℹ dist/project/project.operations.d.ts 11.81 kB │ gzip: 0.87 kB
83
+ ℹ dist/project/project.operations.d.ts 11.70 kB │ gzip: 0.87 kB
84
84
  ℹ dist/project/project.schema.d.ts  6.56 kB │ gzip: 0.76 kB
85
85
  ℹ dist/billing/billing.schema.d.ts  5.72 kB │ gzip: 0.79 kB
86
86
  ℹ dist/index.d.ts  5.02 kB │ gzip: 1.06 kB
87
- ℹ dist/billing/billing.operations.d.ts  4.93 kB │ gzip: 0.77 kB
87
+ ℹ dist/billing/billing.operations.d.ts  4.98 kB │ gzip: 0.78 kB
88
88
  ℹ dist/billing/billing.entity.d.ts  2.91 kB │ gzip: 0.52 kB
89
89
  ℹ dist/project/project.event.d.ts  2.77 kB │ gzip: 0.43 kB
90
90
  ℹ dist/billing/billing.event.d.ts  2.58 kB │ gzip: 0.48 kB
@@ -109,5 +109,5 @@ $ tsdown
109
109
  ℹ dist/dashboard/index.d.ts  0.16 kB │ gzip: 0.10 kB
110
110
  ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
111
111
  ℹ dist/docs/saas-boilerplate.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
112
- ℹ 103 files, total: 230.63 kB
113
- ✔ Build complete in 20454ms
112
+ ℹ 103 files, total: 230.57 kB
113
+ ✔ Build complete in 21607ms
@@ -67,7 +67,7 @@ $ tsdown
67
67
  ℹ dist/billing/billing.handler.d.ts.map  0.66 kB │ gzip: 0.32 kB
68
68
  ℹ dist/billing/billing.event.d.ts.map  0.59 kB │ gzip: 0.27 kB
69
69
  ℹ dist/settings/settings.enum.js.map  0.54 kB │ gzip: 0.35 kB
70
- ℹ dist/billing/billing.entity.d.ts.map  0.44 kB │ gzip: 0.26 kB
70
+ ℹ dist/billing/billing.entity.d.ts.map  0.44 kB │ gzip: 0.25 kB
71
71
  ℹ dist/project/project.entity.d.ts.map  0.34 kB │ gzip: 0.23 kB
72
72
  ℹ dist/settings/settings.entity.d.ts.map  0.29 kB │ gzip: 0.20 kB
73
73
  ℹ dist/billing/billing.enum.d.ts.map  0.28 kB │ gzip: 0.18 kB
@@ -83,12 +83,12 @@ $ tsdown
83
83
  ℹ dist/presentations/index.d.ts.map  0.14 kB │ gzip: 0.13 kB
84
84
  ℹ dist/project/project.operations.d.ts 11.81 kB │ gzip: 0.87 kB
85
85
  ℹ dist/project/project.schema.d.ts  6.56 kB │ gzip: 0.76 kB
86
- ℹ dist/billing/billing.schema.d.ts  5.68 kB │ gzip: 0.79 kB
86
+ ℹ dist/billing/billing.schema.d.ts  5.72 kB │ gzip: 0.79 kB
87
87
  ℹ dist/index.d.ts  5.02 kB │ gzip: 1.06 kB
88
- ℹ dist/billing/billing.operations.d.ts  4.89 kB │ gzip: 0.77 kB
89
- ℹ dist/billing/billing.entity.d.ts  2.95 kB │ gzip: 0.52 kB
88
+ ℹ dist/billing/billing.operations.d.ts  4.93 kB │ gzip: 0.77 kB
89
+ ℹ dist/billing/billing.entity.d.ts  2.91 kB │ gzip: 0.52 kB
90
90
  ℹ dist/project/project.event.d.ts  2.77 kB │ gzip: 0.43 kB
91
- ℹ dist/billing/billing.event.d.ts  2.60 kB │ gzip: 0.48 kB
91
+ ℹ dist/billing/billing.event.d.ts  2.58 kB │ gzip: 0.48 kB
92
92
  ℹ dist/billing/billing.handler.d.ts  2.12 kB │ gzip: 0.71 kB
93
93
  ℹ dist/project/project.handler.d.ts  1.93 kB │ gzip: 0.53 kB
94
94
  ℹ dist/billing/index.d.ts  1.90 kB │ gzip: 0.42 kB
@@ -99,7 +99,7 @@ $ tsdown
99
99
  ℹ dist/example.d.ts  1.18 kB │ gzip: 0.48 kB
100
100
  ℹ dist/presentations/index.d.ts  0.90 kB │ gzip: 0.28 kB
101
101
  ℹ dist/project/project.enum.d.ts  0.63 kB │ gzip: 0.30 kB
102
- ℹ dist/billing/billing.enum.d.ts  0.63 kB │ gzip: 0.30 kB
102
+ ℹ dist/billing/billing.enum.d.ts  0.63 kB │ gzip: 0.29 kB
103
103
  ℹ dist/handlers/index.d.ts  0.58 kB │ gzip: 0.20 kB
104
104
  ℹ dist/dashboard/dashboard.presentation.d.ts  0.47 kB │ gzip: 0.23 kB
105
105
  ℹ dist/project/project.presentation.d.ts  0.46 kB │ gzip: 0.22 kB
@@ -110,5 +110,5 @@ $ tsdown
110
110
  ℹ dist/dashboard/index.d.ts  0.16 kB │ gzip: 0.10 kB
111
111
  ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
112
112
  ℹ dist/docs/saas-boilerplate.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
113
- ℹ 103 files, total: 230.61 kB
114
- ✔ Build complete in 24672ms
113
+ ℹ 103 files, total: 230.63 kB
114
+ ✔ Build complete in 25443ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @contractspec/example.saas-boilerplate
2
2
 
3
+ ## 1.44.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 3c594fb: fix
8
+ - Updated dependencies [3c594fb]
9
+ - @contractspec/module.notifications@1.44.1
10
+ - @contractspec/module.audit-trail@1.44.1
11
+ - @contractspec/lib.identity-rbac@1.44.1
12
+ - @contractspec/lib.contracts@1.44.1
13
+ - @contractspec/lib.schema@1.44.1
14
+ - @contractspec/lib.jobs@1.44.1
15
+ - @contractspec/lib.bus@1.44.1
16
+
3
17
  ## 1.44.0
4
18
 
5
19
  ### Minor Changes
@@ -1,100 +1,100 @@
1
- import * as _contractspec_lib_schema60 from "@contractspec/lib.schema";
2
- import * as _contractspec_lib_contracts2 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_schema329 from "@contractspec/lib.schema";
2
+ import * as _contractspec_lib_contracts11 from "@contractspec/lib.contracts";
3
3
 
4
4
  //#region src/billing/billing.operations.d.ts
5
5
  /**
6
6
  * Get subscription status.
7
7
  */
8
- declare const GetSubscriptionContract: _contractspec_lib_contracts2.OperationSpec<_contractspec_lib_schema60.AnySchemaModel, _contractspec_lib_schema60.SchemaModel<{
8
+ declare const GetSubscriptionContract: _contractspec_lib_contracts11.OperationSpec<_contractspec_lib_schema329.AnySchemaModel, _contractspec_lib_schema329.SchemaModel<{
9
9
  id: {
10
- type: _contractspec_lib_schema60.FieldType<string, string>;
10
+ type: _contractspec_lib_schema329.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  organizationId: {
14
- type: _contractspec_lib_schema60.FieldType<string, string>;
14
+ type: _contractspec_lib_schema329.FieldType<string, string>;
15
15
  isOptional: false;
16
16
  };
17
17
  planId: {
18
- type: _contractspec_lib_schema60.FieldType<string, string>;
18
+ type: _contractspec_lib_schema329.FieldType<string, string>;
19
19
  isOptional: false;
20
20
  };
21
21
  planName: {
22
- type: _contractspec_lib_schema60.FieldType<string, string>;
22
+ type: _contractspec_lib_schema329.FieldType<string, string>;
23
23
  isOptional: false;
24
24
  };
25
25
  status: {
26
- type: _contractspec_lib_schema60.EnumType<[string, string, string, string, string]>;
26
+ type: _contractspec_lib_schema329.EnumType<[string, string, string, string, string]>;
27
27
  isOptional: false;
28
28
  };
29
29
  currentPeriodStart: {
30
- type: _contractspec_lib_schema60.FieldType<Date, string>;
30
+ type: _contractspec_lib_schema329.FieldType<Date, string>;
31
31
  isOptional: false;
32
32
  };
33
33
  currentPeriodEnd: {
34
- type: _contractspec_lib_schema60.FieldType<Date, string>;
34
+ type: _contractspec_lib_schema329.FieldType<Date, string>;
35
35
  isOptional: false;
36
36
  };
37
37
  trialEndsAt: {
38
- type: _contractspec_lib_schema60.FieldType<Date, string>;
38
+ type: _contractspec_lib_schema329.FieldType<Date, string>;
39
39
  isOptional: true;
40
40
  };
41
41
  cancelAtPeriodEnd: {
42
- type: _contractspec_lib_schema60.FieldType<boolean, boolean>;
42
+ type: _contractspec_lib_schema329.FieldType<boolean, boolean>;
43
43
  isOptional: false;
44
44
  };
45
45
  }>, undefined>;
46
46
  /**
47
47
  * Record feature usage.
48
48
  */
49
- declare const RecordUsageContract: _contractspec_lib_contracts2.OperationSpec<_contractspec_lib_schema60.SchemaModel<{
49
+ declare const RecordUsageContract: _contractspec_lib_contracts11.OperationSpec<_contractspec_lib_schema329.SchemaModel<{
50
50
  feature: {
51
- type: _contractspec_lib_schema60.FieldType<string, string>;
51
+ type: _contractspec_lib_schema329.FieldType<string, string>;
52
52
  isOptional: false;
53
53
  };
54
54
  quantity: {
55
- type: _contractspec_lib_schema60.FieldType<number, number>;
55
+ type: _contractspec_lib_schema329.FieldType<number, number>;
56
56
  isOptional: false;
57
57
  };
58
58
  sourceId: {
59
- type: _contractspec_lib_schema60.FieldType<string, string>;
59
+ type: _contractspec_lib_schema329.FieldType<string, string>;
60
60
  isOptional: true;
61
61
  };
62
62
  sourceType: {
63
- type: _contractspec_lib_schema60.FieldType<string, string>;
63
+ type: _contractspec_lib_schema329.FieldType<string, string>;
64
64
  isOptional: true;
65
65
  };
66
66
  metadata: {
67
- type: _contractspec_lib_schema60.FieldType<Record<string, unknown>, Record<string, unknown>>;
67
+ type: _contractspec_lib_schema329.FieldType<Record<string, unknown>, Record<string, unknown>>;
68
68
  isOptional: true;
69
69
  };
70
- }>, _contractspec_lib_schema60.SchemaModel<{
70
+ }>, _contractspec_lib_schema329.SchemaModel<{
71
71
  recorded: {
72
- type: _contractspec_lib_schema60.FieldType<boolean, boolean>;
72
+ type: _contractspec_lib_schema329.FieldType<boolean, boolean>;
73
73
  isOptional: false;
74
74
  };
75
75
  currentUsage: {
76
- type: _contractspec_lib_schema60.FieldType<number, number>;
76
+ type: _contractspec_lib_schema329.FieldType<number, number>;
77
77
  isOptional: false;
78
78
  };
79
79
  limit: {
80
- type: _contractspec_lib_schema60.FieldType<number, number>;
80
+ type: _contractspec_lib_schema329.FieldType<number, number>;
81
81
  isOptional: true;
82
82
  };
83
83
  limitReached: {
84
- type: _contractspec_lib_schema60.FieldType<boolean, boolean>;
84
+ type: _contractspec_lib_schema329.FieldType<boolean, boolean>;
85
85
  isOptional: false;
86
86
  };
87
87
  }>, {
88
88
  key: string;
89
89
  version: number;
90
90
  when: string;
91
- payload: _contractspec_lib_schema60.SchemaModel<{
91
+ payload: _contractspec_lib_schema329.SchemaModel<{
92
92
  feature: {
93
- type: _contractspec_lib_schema60.FieldType<string, string>;
93
+ type: _contractspec_lib_schema329.FieldType<string, string>;
94
94
  isOptional: false;
95
95
  };
96
96
  quantity: {
97
- type: _contractspec_lib_schema60.FieldType<number, number>;
97
+ type: _contractspec_lib_schema329.FieldType<number, number>;
98
98
  isOptional: false;
99
99
  };
100
100
  }>;
@@ -102,36 +102,36 @@ declare const RecordUsageContract: _contractspec_lib_contracts2.OperationSpec<_c
102
102
  /**
103
103
  * Get usage summary.
104
104
  */
105
- declare const GetUsageSummaryContract: _contractspec_lib_contracts2.OperationSpec<_contractspec_lib_schema60.SchemaModel<{
105
+ declare const GetUsageSummaryContract: _contractspec_lib_contracts11.OperationSpec<_contractspec_lib_schema329.SchemaModel<{
106
106
  billingPeriod: {
107
- type: _contractspec_lib_schema60.FieldType<string, string>;
107
+ type: _contractspec_lib_schema329.FieldType<string, string>;
108
108
  isOptional: true;
109
109
  };
110
- }>, _contractspec_lib_schema60.SchemaModel<{
110
+ }>, _contractspec_lib_schema329.SchemaModel<{
111
111
  billingPeriod: {
112
- type: _contractspec_lib_schema60.FieldType<string, string>;
112
+ type: _contractspec_lib_schema329.FieldType<string, string>;
113
113
  isOptional: false;
114
114
  };
115
115
  usage: {
116
- type: _contractspec_lib_schema60.SchemaModel<{
116
+ type: _contractspec_lib_schema329.SchemaModel<{
117
117
  feature: {
118
- type: _contractspec_lib_schema60.FieldType<string, string>;
118
+ type: _contractspec_lib_schema329.FieldType<string, string>;
119
119
  isOptional: false;
120
120
  };
121
121
  used: {
122
- type: _contractspec_lib_schema60.FieldType<number, number>;
122
+ type: _contractspec_lib_schema329.FieldType<number, number>;
123
123
  isOptional: false;
124
124
  };
125
125
  limit: {
126
- type: _contractspec_lib_schema60.FieldType<number, number>;
126
+ type: _contractspec_lib_schema329.FieldType<number, number>;
127
127
  isOptional: true;
128
128
  };
129
129
  unit: {
130
- type: _contractspec_lib_schema60.FieldType<string, string>;
130
+ type: _contractspec_lib_schema329.FieldType<string, string>;
131
131
  isOptional: true;
132
132
  };
133
133
  percentage: {
134
- type: _contractspec_lib_schema60.FieldType<number, number>;
134
+ type: _contractspec_lib_schema329.FieldType<number, number>;
135
135
  isOptional: true;
136
136
  };
137
137
  }>;
@@ -142,22 +142,22 @@ declare const GetUsageSummaryContract: _contractspec_lib_contracts2.OperationSpe
142
142
  /**
143
143
  * Check feature access.
144
144
  */
145
- declare const CheckFeatureAccessContract: _contractspec_lib_contracts2.OperationSpec<_contractspec_lib_schema60.SchemaModel<{
145
+ declare const CheckFeatureAccessContract: _contractspec_lib_contracts11.OperationSpec<_contractspec_lib_schema329.SchemaModel<{
146
146
  feature: {
147
- type: _contractspec_lib_schema60.FieldType<string, string>;
147
+ type: _contractspec_lib_schema329.FieldType<string, string>;
148
148
  isOptional: false;
149
149
  };
150
- }>, _contractspec_lib_schema60.SchemaModel<{
150
+ }>, _contractspec_lib_schema329.SchemaModel<{
151
151
  hasAccess: {
152
- type: _contractspec_lib_schema60.FieldType<boolean, boolean>;
152
+ type: _contractspec_lib_schema329.FieldType<boolean, boolean>;
153
153
  isOptional: false;
154
154
  };
155
155
  reason: {
156
- type: _contractspec_lib_schema60.EnumType<[string, string, string, string]>;
156
+ type: _contractspec_lib_schema329.EnumType<[string, string, string, string]>;
157
157
  isOptional: true;
158
158
  };
159
159
  upgradeUrl: {
160
- type: _contractspec_lib_schema60.FieldType<string, string>;
160
+ type: _contractspec_lib_schema329.FieldType<string, string>;
161
161
  isOptional: true;
162
162
  };
163
163
  }>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"billing.operations.d.ts","names":[],"sources":["../../src/billing/billing.operations.ts"],"sourcesContent":[],"mappings":";;;;;;;cAiBa,yBAAuB,4BAAA,CAAA,cAuClC,0BAAA,CAvCkC,cAAA,6BAAA;EAAvB,EAAA,EAAA;IAuCX,IAAA,EAvCkC,0BAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;;EAAA,CAAA;EAAA,MAAA,EAAA;IA4CvB,IAAA,qCA6CX,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;8CA7C8B,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;EAAA,CAAA;AAkDhC,CAAA,CAAA,EAAa,SAAA,CAAA;;;;cAlDA,kDAAmB,yCAAA;;UA6C9B,0BAAA,CAAA;;;;;;EAKkC,CAAA;EAwCvB,QAAA,EAAA;IAmCX,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;EAnCqC,CAAA;;;;;EAAA,QAAA,EAAA;;;;;;UA1FP,0BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkDnB,sDAAuB,yCAAA;;UAmClC,0BAAA,CAAA;;;;;UAnCkC,0BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwCvB,yDAA0B,yCAAA;;UAmCrC,0BAAA,CAAA;;;;;UAnCqC,0BAAA,CAAA"}
1
+ {"version":3,"file":"billing.operations.d.ts","names":[],"sources":["../../src/billing/billing.operations.ts"],"sourcesContent":[],"mappings":";;;;;;;cAiBa,yBAAuB,6BAAA,CAAA,cAuClC,2BAAA,CAvCkC,cAAA,8BAAA;EAAvB,EAAA,EAAA;IAuCX,IAAA,EAvCkC,2BAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;;EAAA,CAAA;EAAA,MAAA,EAAA;IA4CvB,IAAA,sCA6CX,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;+CA7C8B,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;EAAA,CAAA;AAkDhC,CAAA,CAAA,EAAa,SAAA,CAAA;;;;cAlDA,mDAAmB,0CAAA;;UA6C9B,2BAAA,CAAA;;;;;;EAKkC,CAAA;EAwCvB,QAAA,EAAA;IAmCX,IAAA,uCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;EAnCqC,CAAA;;;;;EAAA,QAAA,EAAA;;;;;;UA1FP,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkDnB,uDAAuB,0CAAA;;UAmClC,2BAAA,CAAA;;;;;UAnCkC,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwCvB,0DAA0B,0CAAA;;UAmCrC,2BAAA,CAAA;;;;;UAnCqC,2BAAA,CAAA"}
@@ -1,168 +1,168 @@
1
- import * as _contractspec_lib_schema101 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema206 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/billing/billing.schema.d.ts
4
4
  /**
5
5
  * Organization subscription details schema.
6
6
  */
7
- declare const SubscriptionModel: _contractspec_lib_schema101.SchemaModel<{
7
+ declare const SubscriptionModel: _contractspec_lib_schema206.SchemaModel<{
8
8
  id: {
9
- type: _contractspec_lib_schema101.FieldType<string, string>;
9
+ type: _contractspec_lib_schema206.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  organizationId: {
13
- type: _contractspec_lib_schema101.FieldType<string, string>;
13
+ type: _contractspec_lib_schema206.FieldType<string, string>;
14
14
  isOptional: false;
15
15
  };
16
16
  planId: {
17
- type: _contractspec_lib_schema101.FieldType<string, string>;
17
+ type: _contractspec_lib_schema206.FieldType<string, string>;
18
18
  isOptional: false;
19
19
  };
20
20
  planName: {
21
- type: _contractspec_lib_schema101.FieldType<string, string>;
21
+ type: _contractspec_lib_schema206.FieldType<string, string>;
22
22
  isOptional: false;
23
23
  };
24
24
  status: {
25
- type: _contractspec_lib_schema101.EnumType<[string, string, string, string, string]>;
25
+ type: _contractspec_lib_schema206.EnumType<[string, string, string, string, string]>;
26
26
  isOptional: false;
27
27
  };
28
28
  currentPeriodStart: {
29
- type: _contractspec_lib_schema101.FieldType<Date, string>;
29
+ type: _contractspec_lib_schema206.FieldType<Date, string>;
30
30
  isOptional: false;
31
31
  };
32
32
  currentPeriodEnd: {
33
- type: _contractspec_lib_schema101.FieldType<Date, string>;
33
+ type: _contractspec_lib_schema206.FieldType<Date, string>;
34
34
  isOptional: false;
35
35
  };
36
36
  trialEndsAt: {
37
- type: _contractspec_lib_schema101.FieldType<Date, string>;
37
+ type: _contractspec_lib_schema206.FieldType<Date, string>;
38
38
  isOptional: true;
39
39
  };
40
40
  cancelAtPeriodEnd: {
41
- type: _contractspec_lib_schema101.FieldType<boolean, boolean>;
41
+ type: _contractspec_lib_schema206.FieldType<boolean, boolean>;
42
42
  isOptional: false;
43
43
  };
44
44
  }>;
45
45
  /**
46
46
  * Usage summary for a feature schema.
47
47
  */
48
- declare const UsageSummaryModel: _contractspec_lib_schema101.SchemaModel<{
48
+ declare const UsageSummaryModel: _contractspec_lib_schema206.SchemaModel<{
49
49
  feature: {
50
- type: _contractspec_lib_schema101.FieldType<string, string>;
50
+ type: _contractspec_lib_schema206.FieldType<string, string>;
51
51
  isOptional: false;
52
52
  };
53
53
  used: {
54
- type: _contractspec_lib_schema101.FieldType<number, number>;
54
+ type: _contractspec_lib_schema206.FieldType<number, number>;
55
55
  isOptional: false;
56
56
  };
57
57
  limit: {
58
- type: _contractspec_lib_schema101.FieldType<number, number>;
58
+ type: _contractspec_lib_schema206.FieldType<number, number>;
59
59
  isOptional: true;
60
60
  };
61
61
  unit: {
62
- type: _contractspec_lib_schema101.FieldType<string, string>;
62
+ type: _contractspec_lib_schema206.FieldType<string, string>;
63
63
  isOptional: true;
64
64
  };
65
65
  percentage: {
66
- type: _contractspec_lib_schema101.FieldType<number, number>;
66
+ type: _contractspec_lib_schema206.FieldType<number, number>;
67
67
  isOptional: true;
68
68
  };
69
69
  }>;
70
70
  /**
71
71
  * Input for recording feature usage.
72
72
  */
73
- declare const RecordUsageInputModel: _contractspec_lib_schema101.SchemaModel<{
73
+ declare const RecordUsageInputModel: _contractspec_lib_schema206.SchemaModel<{
74
74
  feature: {
75
- type: _contractspec_lib_schema101.FieldType<string, string>;
75
+ type: _contractspec_lib_schema206.FieldType<string, string>;
76
76
  isOptional: false;
77
77
  };
78
78
  quantity: {
79
- type: _contractspec_lib_schema101.FieldType<number, number>;
79
+ type: _contractspec_lib_schema206.FieldType<number, number>;
80
80
  isOptional: false;
81
81
  };
82
82
  sourceId: {
83
- type: _contractspec_lib_schema101.FieldType<string, string>;
83
+ type: _contractspec_lib_schema206.FieldType<string, string>;
84
84
  isOptional: true;
85
85
  };
86
86
  sourceType: {
87
- type: _contractspec_lib_schema101.FieldType<string, string>;
87
+ type: _contractspec_lib_schema206.FieldType<string, string>;
88
88
  isOptional: true;
89
89
  };
90
90
  metadata: {
91
- type: _contractspec_lib_schema101.FieldType<Record<string, unknown>, Record<string, unknown>>;
91
+ type: _contractspec_lib_schema206.FieldType<Record<string, unknown>, Record<string, unknown>>;
92
92
  isOptional: true;
93
93
  };
94
94
  }>;
95
95
  /**
96
96
  * Output for recording feature usage.
97
97
  */
98
- declare const RecordUsageOutputModel: _contractspec_lib_schema101.SchemaModel<{
98
+ declare const RecordUsageOutputModel: _contractspec_lib_schema206.SchemaModel<{
99
99
  recorded: {
100
- type: _contractspec_lib_schema101.FieldType<boolean, boolean>;
100
+ type: _contractspec_lib_schema206.FieldType<boolean, boolean>;
101
101
  isOptional: false;
102
102
  };
103
103
  currentUsage: {
104
- type: _contractspec_lib_schema101.FieldType<number, number>;
104
+ type: _contractspec_lib_schema206.FieldType<number, number>;
105
105
  isOptional: false;
106
106
  };
107
107
  limit: {
108
- type: _contractspec_lib_schema101.FieldType<number, number>;
108
+ type: _contractspec_lib_schema206.FieldType<number, number>;
109
109
  isOptional: true;
110
110
  };
111
111
  limitReached: {
112
- type: _contractspec_lib_schema101.FieldType<boolean, boolean>;
112
+ type: _contractspec_lib_schema206.FieldType<boolean, boolean>;
113
113
  isOptional: false;
114
114
  };
115
115
  }>;
116
116
  /**
117
117
  * Payload for usage.recorded event.
118
118
  */
119
- declare const UsageRecordedPayloadModel: _contractspec_lib_schema101.SchemaModel<{
119
+ declare const UsageRecordedPayloadModel: _contractspec_lib_schema206.SchemaModel<{
120
120
  feature: {
121
- type: _contractspec_lib_schema101.FieldType<string, string>;
121
+ type: _contractspec_lib_schema206.FieldType<string, string>;
122
122
  isOptional: false;
123
123
  };
124
124
  quantity: {
125
- type: _contractspec_lib_schema101.FieldType<number, number>;
125
+ type: _contractspec_lib_schema206.FieldType<number, number>;
126
126
  isOptional: false;
127
127
  };
128
128
  }>;
129
129
  /**
130
130
  * Input for getting usage summary.
131
131
  */
132
- declare const GetUsageSummaryInputModel: _contractspec_lib_schema101.SchemaModel<{
132
+ declare const GetUsageSummaryInputModel: _contractspec_lib_schema206.SchemaModel<{
133
133
  billingPeriod: {
134
- type: _contractspec_lib_schema101.FieldType<string, string>;
134
+ type: _contractspec_lib_schema206.FieldType<string, string>;
135
135
  isOptional: true;
136
136
  };
137
137
  }>;
138
138
  /**
139
139
  * Output for usage summary.
140
140
  */
141
- declare const GetUsageSummaryOutputModel: _contractspec_lib_schema101.SchemaModel<{
141
+ declare const GetUsageSummaryOutputModel: _contractspec_lib_schema206.SchemaModel<{
142
142
  billingPeriod: {
143
- type: _contractspec_lib_schema101.FieldType<string, string>;
143
+ type: _contractspec_lib_schema206.FieldType<string, string>;
144
144
  isOptional: false;
145
145
  };
146
146
  usage: {
147
- type: _contractspec_lib_schema101.SchemaModel<{
147
+ type: _contractspec_lib_schema206.SchemaModel<{
148
148
  feature: {
149
- type: _contractspec_lib_schema101.FieldType<string, string>;
149
+ type: _contractspec_lib_schema206.FieldType<string, string>;
150
150
  isOptional: false;
151
151
  };
152
152
  used: {
153
- type: _contractspec_lib_schema101.FieldType<number, number>;
153
+ type: _contractspec_lib_schema206.FieldType<number, number>;
154
154
  isOptional: false;
155
155
  };
156
156
  limit: {
157
- type: _contractspec_lib_schema101.FieldType<number, number>;
157
+ type: _contractspec_lib_schema206.FieldType<number, number>;
158
158
  isOptional: true;
159
159
  };
160
160
  unit: {
161
- type: _contractspec_lib_schema101.FieldType<string, string>;
161
+ type: _contractspec_lib_schema206.FieldType<string, string>;
162
162
  isOptional: true;
163
163
  };
164
164
  percentage: {
165
- type: _contractspec_lib_schema101.FieldType<number, number>;
165
+ type: _contractspec_lib_schema206.FieldType<number, number>;
166
166
  isOptional: true;
167
167
  };
168
168
  }>;
@@ -173,26 +173,26 @@ declare const GetUsageSummaryOutputModel: _contractspec_lib_schema101.SchemaMode
173
173
  /**
174
174
  * Input for checking feature access.
175
175
  */
176
- declare const CheckFeatureAccessInputModel: _contractspec_lib_schema101.SchemaModel<{
176
+ declare const CheckFeatureAccessInputModel: _contractspec_lib_schema206.SchemaModel<{
177
177
  feature: {
178
- type: _contractspec_lib_schema101.FieldType<string, string>;
178
+ type: _contractspec_lib_schema206.FieldType<string, string>;
179
179
  isOptional: false;
180
180
  };
181
181
  }>;
182
182
  /**
183
183
  * Output for feature access check.
184
184
  */
185
- declare const CheckFeatureAccessOutputModel: _contractspec_lib_schema101.SchemaModel<{
185
+ declare const CheckFeatureAccessOutputModel: _contractspec_lib_schema206.SchemaModel<{
186
186
  hasAccess: {
187
- type: _contractspec_lib_schema101.FieldType<boolean, boolean>;
187
+ type: _contractspec_lib_schema206.FieldType<boolean, boolean>;
188
188
  isOptional: false;
189
189
  };
190
190
  reason: {
191
- type: _contractspec_lib_schema101.EnumType<[string, string, string, string]>;
191
+ type: _contractspec_lib_schema206.EnumType<[string, string, string, string]>;
192
192
  isOptional: true;
193
193
  };
194
194
  upgradeUrl: {
195
- type: _contractspec_lib_schema101.FieldType<string, string>;
195
+ type: _contractspec_lib_schema206.FieldType<string, string>;
196
196
  isOptional: true;
197
197
  };
198
198
  }>;
@@ -1,39 +1,39 @@
1
- import * as _contractspec_lib_schema147 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema161 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: _contractspec_lib_schema147.EntityEnumDef;
7
+ declare const ProjectStatusEnum: _contractspec_lib_schema161.EntityEnumDef;
8
8
  /**
9
9
  * Project entity - team-scoped work container.
10
10
  */
11
- declare const ProjectEntity: _contractspec_lib_schema147.EntitySpec<{
12
- id: _contractspec_lib_schema147.EntityScalarField;
13
- name: _contractspec_lib_schema147.EntityScalarField;
14
- description: _contractspec_lib_schema147.EntityScalarField;
15
- slug: _contractspec_lib_schema147.EntityScalarField;
16
- organizationId: _contractspec_lib_schema147.EntityScalarField;
17
- createdBy: _contractspec_lib_schema147.EntityScalarField;
18
- status: _contractspec_lib_schema147.EntityEnumField;
19
- isPublic: _contractspec_lib_schema147.EntityScalarField;
20
- settings: _contractspec_lib_schema147.EntityScalarField;
21
- tags: _contractspec_lib_schema147.EntityScalarField;
22
- metadata: _contractspec_lib_schema147.EntityScalarField;
23
- createdAt: _contractspec_lib_schema147.EntityScalarField;
24
- updatedAt: _contractspec_lib_schema147.EntityScalarField;
25
- archivedAt: _contractspec_lib_schema147.EntityScalarField;
11
+ declare const ProjectEntity: _contractspec_lib_schema161.EntitySpec<{
12
+ id: _contractspec_lib_schema161.EntityScalarField;
13
+ name: _contractspec_lib_schema161.EntityScalarField;
14
+ description: _contractspec_lib_schema161.EntityScalarField;
15
+ slug: _contractspec_lib_schema161.EntityScalarField;
16
+ organizationId: _contractspec_lib_schema161.EntityScalarField;
17
+ createdBy: _contractspec_lib_schema161.EntityScalarField;
18
+ status: _contractspec_lib_schema161.EntityEnumField;
19
+ isPublic: _contractspec_lib_schema161.EntityScalarField;
20
+ settings: _contractspec_lib_schema161.EntityScalarField;
21
+ tags: _contractspec_lib_schema161.EntityScalarField;
22
+ metadata: _contractspec_lib_schema161.EntityScalarField;
23
+ createdAt: _contractspec_lib_schema161.EntityScalarField;
24
+ updatedAt: _contractspec_lib_schema161.EntityScalarField;
25
+ archivedAt: _contractspec_lib_schema161.EntityScalarField;
26
26
  }>;
27
27
  /**
28
28
  * ProjectMember entity - project-level access.
29
29
  */
30
- declare const ProjectMemberEntity: _contractspec_lib_schema147.EntitySpec<{
31
- id: _contractspec_lib_schema147.EntityScalarField;
32
- projectId: _contractspec_lib_schema147.EntityScalarField;
33
- userId: _contractspec_lib_schema147.EntityScalarField;
34
- role: _contractspec_lib_schema147.EntityScalarField;
35
- addedBy: _contractspec_lib_schema147.EntityScalarField;
36
- createdAt: _contractspec_lib_schema147.EntityScalarField;
30
+ declare const ProjectMemberEntity: _contractspec_lib_schema161.EntitySpec<{
31
+ id: _contractspec_lib_schema161.EntityScalarField;
32
+ projectId: _contractspec_lib_schema161.EntityScalarField;
33
+ userId: _contractspec_lib_schema161.EntityScalarField;
34
+ role: _contractspec_lib_schema161.EntityScalarField;
35
+ addedBy: _contractspec_lib_schema161.EntityScalarField;
36
+ createdAt: _contractspec_lib_schema161.EntityScalarField;
37
37
  }>;
38
38
  //#endregion
39
39
  export { ProjectEntity, ProjectMemberEntity, ProjectStatusEnum };
@@ -1,4 +1,4 @@
1
- import * as _contractspec_lib_schema170 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema184 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: _contractspec_lib_schema170.EnumType<[string, string, string, string]>;
9
+ declare const ProjectStatusSchemaEnum: _contractspec_lib_schema184.EnumType<[string, string, string, string]>;
10
10
  /**
11
11
  * Project status filter enum (includes 'all' option).
12
12
  */
13
- declare const ProjectStatusFilterEnum: _contractspec_lib_schema170.EnumType<[string, string, string, string]>;
13
+ declare const ProjectStatusFilterEnum: _contractspec_lib_schema184.EnumType<[string, string, string, string]>;
14
14
  //#endregion
15
15
  export { ProjectStatusFilterEnum, ProjectStatusSchemaEnum };
16
16
  //# sourceMappingURL=project.enum.d.ts.map