@lssm/example.saas-boilerplate 0.0.0-canary-20251217054315 → 0.0.0-canary-20251217060804
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 +69 -0
- package/CHANGELOG.md +8 -42
- package/dist/billing/billing.contracts.d.ts +165 -0
- package/dist/billing/billing.entity.d.ts +60 -0
- package/dist/billing/billing.enum.d.ts +15 -0
- package/dist/billing/billing.event.d.ts +85 -0
- package/dist/billing/billing.handler.d.ts +81 -0
- package/dist/billing/billing.presentation.d.ts +14 -0
- package/dist/billing/billing.schema.d.ts +200 -0
- package/dist/billing/index.d.ts +8 -0
- package/dist/dashboard/dashboard.presentation.d.ts +14 -0
- package/dist/dashboard/index.d.ts +2 -0
- package/dist/docs/index.d.ts +1 -0
- package/dist/docs/saas-boilerplate.docblock.d.ts +1 -0
- package/dist/example.d.ts +36 -0
- package/dist/handlers/index.d.ts +3 -0
- package/dist/index.d.ts +41 -0
- package/dist/presentations/index.d.ts +16 -0
- package/dist/project/index.d.ts +8 -0
- package/dist/project/project.contracts.d.ts +418 -0
- package/dist/project/project.entity.d.ts +39 -0
- package/dist/project/project.enum.d.ts +15 -0
- package/dist/project/project.event.d.ts +91 -0
- package/dist/project/project.handler.d.ts +71 -0
- package/dist/project/project.presentation.d.ts +14 -0
- package/dist/project/project.schema.d.ts +234 -0
- package/dist/saas-boilerplate.feature.d.ts +11 -0
- package/dist/settings/index.d.ts +3 -0
- package/dist/settings/settings.entity.d.ts +36 -0
- package/dist/settings/settings.enum.d.ts +9 -0
- package/dist/shared/mock-data.d.ts +85 -0
- package/package.json +39 -39
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import * as _lssm_lib_schema42 from "@lssm/lib.schema";
|
|
2
|
+
|
|
3
|
+
//#region src/billing/billing.schema.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Organization subscription details schema.
|
|
6
|
+
*/
|
|
7
|
+
declare const SubscriptionModel: _lssm_lib_schema42.SchemaModel<{
|
|
8
|
+
id: {
|
|
9
|
+
type: _lssm_lib_schema42.FieldType<string, string>;
|
|
10
|
+
isOptional: false;
|
|
11
|
+
};
|
|
12
|
+
organizationId: {
|
|
13
|
+
type: _lssm_lib_schema42.FieldType<string, string>;
|
|
14
|
+
isOptional: false;
|
|
15
|
+
};
|
|
16
|
+
planId: {
|
|
17
|
+
type: _lssm_lib_schema42.FieldType<string, string>;
|
|
18
|
+
isOptional: false;
|
|
19
|
+
};
|
|
20
|
+
planName: {
|
|
21
|
+
type: _lssm_lib_schema42.FieldType<string, string>;
|
|
22
|
+
isOptional: false;
|
|
23
|
+
};
|
|
24
|
+
status: {
|
|
25
|
+
type: _lssm_lib_schema42.EnumType<[string, string, string, string, string]>;
|
|
26
|
+
isOptional: false;
|
|
27
|
+
};
|
|
28
|
+
currentPeriodStart: {
|
|
29
|
+
type: _lssm_lib_schema42.FieldType<Date, string>;
|
|
30
|
+
isOptional: false;
|
|
31
|
+
};
|
|
32
|
+
currentPeriodEnd: {
|
|
33
|
+
type: _lssm_lib_schema42.FieldType<Date, string>;
|
|
34
|
+
isOptional: false;
|
|
35
|
+
};
|
|
36
|
+
trialEndsAt: {
|
|
37
|
+
type: _lssm_lib_schema42.FieldType<Date, string>;
|
|
38
|
+
isOptional: true;
|
|
39
|
+
};
|
|
40
|
+
cancelAtPeriodEnd: {
|
|
41
|
+
type: _lssm_lib_schema42.FieldType<boolean, boolean>;
|
|
42
|
+
isOptional: false;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
/**
|
|
46
|
+
* Usage summary for a feature schema.
|
|
47
|
+
*/
|
|
48
|
+
declare const UsageSummaryModel: _lssm_lib_schema42.SchemaModel<{
|
|
49
|
+
feature: {
|
|
50
|
+
type: _lssm_lib_schema42.FieldType<string, string>;
|
|
51
|
+
isOptional: false;
|
|
52
|
+
};
|
|
53
|
+
used: {
|
|
54
|
+
type: _lssm_lib_schema42.FieldType<number, number>;
|
|
55
|
+
isOptional: false;
|
|
56
|
+
};
|
|
57
|
+
limit: {
|
|
58
|
+
type: _lssm_lib_schema42.FieldType<number, number>;
|
|
59
|
+
isOptional: true;
|
|
60
|
+
};
|
|
61
|
+
unit: {
|
|
62
|
+
type: _lssm_lib_schema42.FieldType<string, string>;
|
|
63
|
+
isOptional: true;
|
|
64
|
+
};
|
|
65
|
+
percentage: {
|
|
66
|
+
type: _lssm_lib_schema42.FieldType<number, number>;
|
|
67
|
+
isOptional: true;
|
|
68
|
+
};
|
|
69
|
+
}>;
|
|
70
|
+
/**
|
|
71
|
+
* Input for recording feature usage.
|
|
72
|
+
*/
|
|
73
|
+
declare const RecordUsageInputModel: _lssm_lib_schema42.SchemaModel<{
|
|
74
|
+
feature: {
|
|
75
|
+
type: _lssm_lib_schema42.FieldType<string, string>;
|
|
76
|
+
isOptional: false;
|
|
77
|
+
};
|
|
78
|
+
quantity: {
|
|
79
|
+
type: _lssm_lib_schema42.FieldType<number, number>;
|
|
80
|
+
isOptional: false;
|
|
81
|
+
};
|
|
82
|
+
sourceId: {
|
|
83
|
+
type: _lssm_lib_schema42.FieldType<string, string>;
|
|
84
|
+
isOptional: true;
|
|
85
|
+
};
|
|
86
|
+
sourceType: {
|
|
87
|
+
type: _lssm_lib_schema42.FieldType<string, string>;
|
|
88
|
+
isOptional: true;
|
|
89
|
+
};
|
|
90
|
+
metadata: {
|
|
91
|
+
type: _lssm_lib_schema42.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
92
|
+
isOptional: true;
|
|
93
|
+
};
|
|
94
|
+
}>;
|
|
95
|
+
/**
|
|
96
|
+
* Output for recording feature usage.
|
|
97
|
+
*/
|
|
98
|
+
declare const RecordUsageOutputModel: _lssm_lib_schema42.SchemaModel<{
|
|
99
|
+
recorded: {
|
|
100
|
+
type: _lssm_lib_schema42.FieldType<boolean, boolean>;
|
|
101
|
+
isOptional: false;
|
|
102
|
+
};
|
|
103
|
+
currentUsage: {
|
|
104
|
+
type: _lssm_lib_schema42.FieldType<number, number>;
|
|
105
|
+
isOptional: false;
|
|
106
|
+
};
|
|
107
|
+
limit: {
|
|
108
|
+
type: _lssm_lib_schema42.FieldType<number, number>;
|
|
109
|
+
isOptional: true;
|
|
110
|
+
};
|
|
111
|
+
limitReached: {
|
|
112
|
+
type: _lssm_lib_schema42.FieldType<boolean, boolean>;
|
|
113
|
+
isOptional: false;
|
|
114
|
+
};
|
|
115
|
+
}>;
|
|
116
|
+
/**
|
|
117
|
+
* Payload for usage.recorded event.
|
|
118
|
+
*/
|
|
119
|
+
declare const UsageRecordedPayloadModel: _lssm_lib_schema42.SchemaModel<{
|
|
120
|
+
feature: {
|
|
121
|
+
type: _lssm_lib_schema42.FieldType<string, string>;
|
|
122
|
+
isOptional: false;
|
|
123
|
+
};
|
|
124
|
+
quantity: {
|
|
125
|
+
type: _lssm_lib_schema42.FieldType<number, number>;
|
|
126
|
+
isOptional: false;
|
|
127
|
+
};
|
|
128
|
+
}>;
|
|
129
|
+
/**
|
|
130
|
+
* Input for getting usage summary.
|
|
131
|
+
*/
|
|
132
|
+
declare const GetUsageSummaryInputModel: _lssm_lib_schema42.SchemaModel<{
|
|
133
|
+
billingPeriod: {
|
|
134
|
+
type: _lssm_lib_schema42.FieldType<string, string>;
|
|
135
|
+
isOptional: true;
|
|
136
|
+
};
|
|
137
|
+
}>;
|
|
138
|
+
/**
|
|
139
|
+
* Output for usage summary.
|
|
140
|
+
*/
|
|
141
|
+
declare const GetUsageSummaryOutputModel: _lssm_lib_schema42.SchemaModel<{
|
|
142
|
+
billingPeriod: {
|
|
143
|
+
type: _lssm_lib_schema42.FieldType<string, string>;
|
|
144
|
+
isOptional: false;
|
|
145
|
+
};
|
|
146
|
+
usage: {
|
|
147
|
+
type: _lssm_lib_schema42.SchemaModel<{
|
|
148
|
+
feature: {
|
|
149
|
+
type: _lssm_lib_schema42.FieldType<string, string>;
|
|
150
|
+
isOptional: false;
|
|
151
|
+
};
|
|
152
|
+
used: {
|
|
153
|
+
type: _lssm_lib_schema42.FieldType<number, number>;
|
|
154
|
+
isOptional: false;
|
|
155
|
+
};
|
|
156
|
+
limit: {
|
|
157
|
+
type: _lssm_lib_schema42.FieldType<number, number>;
|
|
158
|
+
isOptional: true;
|
|
159
|
+
};
|
|
160
|
+
unit: {
|
|
161
|
+
type: _lssm_lib_schema42.FieldType<string, string>;
|
|
162
|
+
isOptional: true;
|
|
163
|
+
};
|
|
164
|
+
percentage: {
|
|
165
|
+
type: _lssm_lib_schema42.FieldType<number, number>;
|
|
166
|
+
isOptional: true;
|
|
167
|
+
};
|
|
168
|
+
}>;
|
|
169
|
+
isArray: true;
|
|
170
|
+
isOptional: false;
|
|
171
|
+
};
|
|
172
|
+
}>;
|
|
173
|
+
/**
|
|
174
|
+
* Input for checking feature access.
|
|
175
|
+
*/
|
|
176
|
+
declare const CheckFeatureAccessInputModel: _lssm_lib_schema42.SchemaModel<{
|
|
177
|
+
feature: {
|
|
178
|
+
type: _lssm_lib_schema42.FieldType<string, string>;
|
|
179
|
+
isOptional: false;
|
|
180
|
+
};
|
|
181
|
+
}>;
|
|
182
|
+
/**
|
|
183
|
+
* Output for feature access check.
|
|
184
|
+
*/
|
|
185
|
+
declare const CheckFeatureAccessOutputModel: _lssm_lib_schema42.SchemaModel<{
|
|
186
|
+
hasAccess: {
|
|
187
|
+
type: _lssm_lib_schema42.FieldType<boolean, boolean>;
|
|
188
|
+
isOptional: false;
|
|
189
|
+
};
|
|
190
|
+
reason: {
|
|
191
|
+
type: _lssm_lib_schema42.EnumType<[string, string, string, string]>;
|
|
192
|
+
isOptional: true;
|
|
193
|
+
};
|
|
194
|
+
upgradeUrl: {
|
|
195
|
+
type: _lssm_lib_schema42.FieldType<string, string>;
|
|
196
|
+
isOptional: true;
|
|
197
|
+
};
|
|
198
|
+
}>;
|
|
199
|
+
//#endregion
|
|
200
|
+
export { CheckFeatureAccessInputModel, CheckFeatureAccessOutputModel, GetUsageSummaryInputModel, GetUsageSummaryOutputModel, RecordUsageInputModel, RecordUsageOutputModel, SubscriptionModel, UsageRecordedPayloadModel, UsageSummaryModel };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CheckFeatureAccessContract, GetSubscriptionContract, GetUsageSummaryContract, RecordUsageContract } from "./billing.contracts.js";
|
|
2
|
+
import { BillingUsageEntity, SubscriptionEntity, SubscriptionStatusEnum, UsageLimitEntity } from "./billing.entity.js";
|
|
3
|
+
import { FeatureAccessReasonEnum, SubscriptionStatusSchemaEnum } from "./billing.enum.js";
|
|
4
|
+
import { SubscriptionChangedEvent, UsageLimitReachedEvent, UsageRecordedEvent } from "./billing.event.js";
|
|
5
|
+
import { CheckFeatureAccessInput, CheckFeatureAccessOutput, RecordUsageInput, Subscription, UsageSummary, mockCheckFeatureAccessHandler, mockGetSubscriptionHandler, mockGetUsageSummaryHandler, mockRecordUsageHandler } from "./billing.handler.js";
|
|
6
|
+
import { SubscriptionPresentation, UsageDashboardPresentation } from "./billing.presentation.js";
|
|
7
|
+
import { CheckFeatureAccessInputModel, CheckFeatureAccessOutputModel, GetUsageSummaryInputModel, GetUsageSummaryOutputModel, RecordUsageInputModel, RecordUsageOutputModel, SubscriptionModel, UsageRecordedPayloadModel, UsageSummaryModel } from "./billing.schema.js";
|
|
8
|
+
export { BillingUsageEntity, CheckFeatureAccessContract, type CheckFeatureAccessInput, CheckFeatureAccessInputModel, type CheckFeatureAccessOutput, CheckFeatureAccessOutputModel, FeatureAccessReasonEnum, GetSubscriptionContract, GetUsageSummaryContract, GetUsageSummaryInputModel, GetUsageSummaryOutputModel, RecordUsageContract, type RecordUsageInput, RecordUsageInputModel, RecordUsageOutputModel, type Subscription, SubscriptionChangedEvent, SubscriptionEntity, SubscriptionModel, SubscriptionPresentation, SubscriptionStatusEnum, SubscriptionStatusSchemaEnum, UsageDashboardPresentation, UsageLimitEntity, UsageLimitReachedEvent, UsageRecordedEvent, UsageRecordedPayloadModel, type UsageSummary, UsageSummaryModel, mockCheckFeatureAccessHandler, mockGetSubscriptionHandler, mockGetUsageSummaryHandler, mockRecordUsageHandler };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PresentationDescriptorV2 } from "@lssm/lib.contracts";
|
|
2
|
+
|
|
3
|
+
//#region src/dashboard/dashboard.presentation.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Main dashboard presentation for the SaaS application.
|
|
7
|
+
*/
|
|
8
|
+
declare const SaasDashboardPresentation: PresentationDescriptorV2;
|
|
9
|
+
/**
|
|
10
|
+
* Settings panel presentation.
|
|
11
|
+
*/
|
|
12
|
+
declare const SettingsPanelPresentation: PresentationDescriptorV2;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { SaasDashboardPresentation, SettingsPanelPresentation };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region src/example.d.ts
|
|
2
|
+
declare const example: {
|
|
3
|
+
readonly id: "saas-boilerplate";
|
|
4
|
+
readonly title: "SaaS Boilerplate";
|
|
5
|
+
readonly summary: "Multi-tenant SaaS foundation with orgs, projects, settings, billing usage, and RBAC.";
|
|
6
|
+
readonly tags: readonly ["saas", "multi-tenant", "billing", "rbac"];
|
|
7
|
+
readonly kind: "template";
|
|
8
|
+
readonly visibility: "public";
|
|
9
|
+
readonly docs: {
|
|
10
|
+
readonly rootDocId: "docs.examples.saas-boilerplate";
|
|
11
|
+
};
|
|
12
|
+
readonly entrypoints: {
|
|
13
|
+
readonly packageName: "@lssm/example.saas-boilerplate";
|
|
14
|
+
readonly feature: "./feature";
|
|
15
|
+
readonly contracts: "./contracts";
|
|
16
|
+
readonly presentations: "./presentations";
|
|
17
|
+
readonly handlers: "./handlers";
|
|
18
|
+
readonly docs: "./docs";
|
|
19
|
+
};
|
|
20
|
+
readonly surfaces: {
|
|
21
|
+
readonly templates: true;
|
|
22
|
+
readonly sandbox: {
|
|
23
|
+
readonly enabled: true;
|
|
24
|
+
readonly modes: readonly ["playground", "specs", "builder", "markdown", "evolution"];
|
|
25
|
+
};
|
|
26
|
+
readonly studio: {
|
|
27
|
+
readonly enabled: true;
|
|
28
|
+
readonly installable: true;
|
|
29
|
+
};
|
|
30
|
+
readonly mcp: {
|
|
31
|
+
readonly enabled: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
//#endregion
|
|
36
|
+
export { example as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { mockCheckFeatureAccessHandler, mockGetSubscriptionHandler, mockGetUsageSummaryHandler, mockRecordUsageHandler } from "../billing/billing.handler.js";
|
|
2
|
+
import { mockCreateProjectHandler, mockDeleteProjectHandler, mockGetProjectHandler, mockListProjectsHandler, mockUpdateProjectHandler } from "../project/project.handler.js";
|
|
3
|
+
export { mockCheckFeatureAccessHandler, mockCreateProjectHandler, mockDeleteProjectHandler, mockGetProjectHandler, mockGetSubscriptionHandler, mockGetUsageSummaryHandler, mockListProjectsHandler, mockRecordUsageHandler, mockUpdateProjectHandler };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { CheckFeatureAccessContract, GetSubscriptionContract, GetUsageSummaryContract, RecordUsageContract } from "./billing/billing.contracts.js";
|
|
2
|
+
import { BillingUsageEntity, SubscriptionEntity, SubscriptionStatusEnum, UsageLimitEntity } from "./billing/billing.entity.js";
|
|
3
|
+
import { FeatureAccessReasonEnum, SubscriptionStatusSchemaEnum } from "./billing/billing.enum.js";
|
|
4
|
+
import { SubscriptionChangedEvent, UsageLimitReachedEvent, UsageRecordedEvent } from "./billing/billing.event.js";
|
|
5
|
+
import { CheckFeatureAccessInput, CheckFeatureAccessOutput, RecordUsageInput, Subscription, UsageSummary, mockCheckFeatureAccessHandler, mockGetSubscriptionHandler, mockGetUsageSummaryHandler, mockRecordUsageHandler } from "./billing/billing.handler.js";
|
|
6
|
+
import { SubscriptionPresentation, UsageDashboardPresentation } from "./billing/billing.presentation.js";
|
|
7
|
+
import { CheckFeatureAccessInputModel, CheckFeatureAccessOutputModel, GetUsageSummaryInputModel, GetUsageSummaryOutputModel, RecordUsageInputModel, RecordUsageOutputModel, SubscriptionModel, UsageRecordedPayloadModel, UsageSummaryModel } from "./billing/billing.schema.js";
|
|
8
|
+
import "./billing/index.js";
|
|
9
|
+
import { SaasDashboardPresentation, SettingsPanelPresentation } from "./dashboard/dashboard.presentation.js";
|
|
10
|
+
import "./dashboard/index.js";
|
|
11
|
+
import example from "./example.js";
|
|
12
|
+
import { CreateProjectInput, ListProjectsInput, ListProjectsOutput, Project, UpdateProjectInput, mockCreateProjectHandler, mockDeleteProjectHandler, mockGetProjectHandler, mockListProjectsHandler, mockUpdateProjectHandler } from "./project/project.handler.js";
|
|
13
|
+
import { ProjectStatusFilterEnum, ProjectStatusSchemaEnum } from "./project/project.enum.js";
|
|
14
|
+
import { CreateProjectInputModel, DeleteProjectInputModel, DeleteProjectOutputModel, GetProjectInputModel, ListProjectsInputModel, ListProjectsOutputModel, ProjectDeletedPayloadModel, ProjectModel, UpdateProjectInputModel } from "./project/project.schema.js";
|
|
15
|
+
import { CreateProjectContract, DeleteProjectContract, GetProjectContract, ListProjectsContract, UpdateProjectContract } from "./project/project.contracts.js";
|
|
16
|
+
import { ProjectArchivedEvent, ProjectCreatedEvent, ProjectDeletedEvent, ProjectUpdatedEvent } from "./project/project.event.js";
|
|
17
|
+
import { ProjectEntity, ProjectMemberEntity, ProjectStatusEnum } from "./project/project.entity.js";
|
|
18
|
+
import { ProjectDetailPresentation, ProjectListPresentation } from "./project/project.presentation.js";
|
|
19
|
+
import "./project/index.js";
|
|
20
|
+
import { SettingsScopeEnum } from "./settings/settings.enum.js";
|
|
21
|
+
import { FeatureFlagEntity, SettingsEntity } from "./settings/settings.entity.js";
|
|
22
|
+
import "./settings/index.js";
|
|
23
|
+
import { SaasBoilerplateFeature } from "./saas-boilerplate.feature.js";
|
|
24
|
+
import { ModuleSchemaContribution } from "@lssm/lib.schema";
|
|
25
|
+
|
|
26
|
+
//#region src/index.d.ts
|
|
27
|
+
/**
|
|
28
|
+
* SaaS boilerplate schema contribution.
|
|
29
|
+
*/
|
|
30
|
+
declare const saasBoilerplateSchemaContribution: ModuleSchemaContribution;
|
|
31
|
+
/**
|
|
32
|
+
* Complete schema composition for SaaS Boilerplate.
|
|
33
|
+
* Use with `database schema:compose` to generate Prisma schema.
|
|
34
|
+
*/
|
|
35
|
+
declare const schemaComposition: {
|
|
36
|
+
modules: ModuleSchemaContribution[];
|
|
37
|
+
provider: "postgresql";
|
|
38
|
+
outputPath: string;
|
|
39
|
+
};
|
|
40
|
+
//#endregion
|
|
41
|
+
export { BillingUsageEntity, CheckFeatureAccessContract, CheckFeatureAccessInput, CheckFeatureAccessInputModel, CheckFeatureAccessOutput, CheckFeatureAccessOutputModel, CreateProjectContract, CreateProjectInput, CreateProjectInputModel, DeleteProjectContract, DeleteProjectInputModel, DeleteProjectOutputModel, FeatureAccessReasonEnum, FeatureFlagEntity, GetProjectContract, GetProjectInputModel, GetSubscriptionContract, GetUsageSummaryContract, GetUsageSummaryInputModel, GetUsageSummaryOutputModel, ListProjectsContract, ListProjectsInput, ListProjectsInputModel, ListProjectsOutput, ListProjectsOutputModel, Project, ProjectArchivedEvent, ProjectCreatedEvent, ProjectDeletedEvent, ProjectDeletedPayloadModel, ProjectDetailPresentation, ProjectEntity, ProjectListPresentation, ProjectMemberEntity, ProjectModel, ProjectStatusEnum, ProjectStatusFilterEnum, ProjectStatusSchemaEnum, ProjectUpdatedEvent, RecordUsageContract, RecordUsageInput, RecordUsageInputModel, RecordUsageOutputModel, SaasBoilerplateFeature, SaasDashboardPresentation, SettingsEntity, SettingsPanelPresentation, SettingsScopeEnum, Subscription, SubscriptionChangedEvent, SubscriptionEntity, SubscriptionModel, SubscriptionPresentation, SubscriptionStatusEnum, SubscriptionStatusSchemaEnum, UpdateProjectContract, UpdateProjectInput, UpdateProjectInputModel, UsageDashboardPresentation, UsageLimitEntity, UsageLimitReachedEvent, UsageRecordedEvent, UsageRecordedPayloadModel, UsageSummary, UsageSummaryModel, example, mockCheckFeatureAccessHandler, mockCreateProjectHandler, mockDeleteProjectHandler, mockGetProjectHandler, mockGetSubscriptionHandler, mockGetUsageSummaryHandler, mockListProjectsHandler, mockRecordUsageHandler, mockUpdateProjectHandler, saasBoilerplateSchemaContribution, schemaComposition };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SubscriptionPresentation, UsageDashboardPresentation } from "../billing/billing.presentation.js";
|
|
2
|
+
import { SaasDashboardPresentation, SettingsPanelPresentation } from "../dashboard/dashboard.presentation.js";
|
|
3
|
+
import { ProjectDetailPresentation, ProjectListPresentation } from "../project/project.presentation.js";
|
|
4
|
+
|
|
5
|
+
//#region src/presentations/index.d.ts
|
|
6
|
+
|
|
7
|
+
declare const SaasBoilerplatePresentations: {
|
|
8
|
+
SubscriptionPresentation: undefined;
|
|
9
|
+
UsageDashboardPresentation: undefined;
|
|
10
|
+
ProjectListPresentation: undefined;
|
|
11
|
+
ProjectDetailPresentation: undefined;
|
|
12
|
+
SaasDashboardPresentation: undefined;
|
|
13
|
+
SettingsPanelPresentation: undefined;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { ProjectDetailPresentation, ProjectListPresentation, SaasBoilerplatePresentations, SaasDashboardPresentation, SettingsPanelPresentation, SubscriptionPresentation, UsageDashboardPresentation };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CreateProjectInput, ListProjectsInput, ListProjectsOutput, Project, UpdateProjectInput, mockCreateProjectHandler, mockDeleteProjectHandler, mockGetProjectHandler, mockListProjectsHandler, mockUpdateProjectHandler } from "./project.handler.js";
|
|
2
|
+
import { ProjectStatusFilterEnum, ProjectStatusSchemaEnum } from "./project.enum.js";
|
|
3
|
+
import { CreateProjectInputModel, DeleteProjectInputModel, DeleteProjectOutputModel, GetProjectInputModel, ListProjectsInputModel, ListProjectsOutputModel, ProjectDeletedPayloadModel, ProjectModel, UpdateProjectInputModel } from "./project.schema.js";
|
|
4
|
+
import { CreateProjectContract, DeleteProjectContract, GetProjectContract, ListProjectsContract, UpdateProjectContract } from "./project.contracts.js";
|
|
5
|
+
import { ProjectArchivedEvent, ProjectCreatedEvent, ProjectDeletedEvent, ProjectUpdatedEvent } from "./project.event.js";
|
|
6
|
+
import { ProjectEntity, ProjectMemberEntity, ProjectStatusEnum } from "./project.entity.js";
|
|
7
|
+
import { ProjectDetailPresentation, ProjectListPresentation } from "./project.presentation.js";
|
|
8
|
+
export { CreateProjectContract, type CreateProjectInput, CreateProjectInputModel, DeleteProjectContract, DeleteProjectInputModel, DeleteProjectOutputModel, GetProjectContract, GetProjectInputModel, ListProjectsContract, type ListProjectsInput, ListProjectsInputModel, type ListProjectsOutput, ListProjectsOutputModel, type Project, ProjectArchivedEvent, ProjectCreatedEvent, ProjectDeletedEvent, ProjectDeletedPayloadModel, ProjectDetailPresentation, ProjectEntity, ProjectListPresentation, ProjectMemberEntity, ProjectModel, ProjectStatusEnum, ProjectStatusFilterEnum, ProjectStatusSchemaEnum, ProjectUpdatedEvent, UpdateProjectContract, type UpdateProjectInput, UpdateProjectInputModel, mockCreateProjectHandler, mockDeleteProjectHandler, mockGetProjectHandler, mockListProjectsHandler, mockUpdateProjectHandler };
|