@contractspec/example.crm-pipeline 1.55.0 → 1.56.0
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 +7 -7
- package/.turbo/turbo-build.log +175 -173
- package/CHANGELOG.md +19 -0
- package/dist/deal/deal.enum.d.ts +3 -3
- package/dist/deal/deal.enum.d.ts.map +1 -1
- package/dist/deal/deal.operation.d.ts +127 -127
- package/dist/deal/deal.schema.d.ts +71 -71
- package/dist/entities/company.entity.d.ts +28 -28
- package/dist/entities/contact.entity.d.ts +32 -32
- package/dist/entities/contact.entity.d.ts.map +1 -1
- package/dist/entities/deal.entity.d.ts +53 -53
- package/dist/entities/deal.entity.d.ts.map +1 -1
- package/dist/entities/task.entity.d.ts +43 -43
- package/dist/events/contact.event.d.ts +7 -7
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/ui/CrmDashboard.d.ts +2 -2
- package/dist/ui/CrmDealCard.d.ts +2 -2
- package/dist/ui/modals/CreateDealModal.d.ts +2 -2
- package/dist/ui/modals/DealActionsModal.d.ts +2 -2
- package/package.json +12 -12
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema281 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/task.entity.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Task type enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const TaskTypeEnum:
|
|
7
|
+
declare const TaskTypeEnum: _contractspec_lib_schema281.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Task priority enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const TaskPriorityEnum:
|
|
11
|
+
declare const TaskPriorityEnum: _contractspec_lib_schema281.EntityEnumDef;
|
|
12
12
|
/**
|
|
13
13
|
* Task status enum.
|
|
14
14
|
*/
|
|
15
|
-
declare const TaskStatusEnum:
|
|
15
|
+
declare const TaskStatusEnum: _contractspec_lib_schema281.EntityEnumDef;
|
|
16
16
|
/**
|
|
17
17
|
* Task entity - follow-up activities.
|
|
18
18
|
*/
|
|
19
|
-
declare const TaskEntity:
|
|
20
|
-
id:
|
|
21
|
-
title:
|
|
22
|
-
description:
|
|
23
|
-
type:
|
|
24
|
-
priority:
|
|
25
|
-
status:
|
|
26
|
-
dueDate:
|
|
27
|
-
reminderAt:
|
|
28
|
-
contactId:
|
|
29
|
-
dealId:
|
|
30
|
-
companyId:
|
|
31
|
-
organizationId:
|
|
32
|
-
assignedTo:
|
|
33
|
-
createdBy:
|
|
34
|
-
completedAt:
|
|
35
|
-
completedBy:
|
|
36
|
-
createdAt:
|
|
37
|
-
updatedAt:
|
|
38
|
-
contact:
|
|
39
|
-
deal:
|
|
40
|
-
company:
|
|
19
|
+
declare const TaskEntity: _contractspec_lib_schema281.EntitySpec<{
|
|
20
|
+
id: _contractspec_lib_schema281.EntityScalarField;
|
|
21
|
+
title: _contractspec_lib_schema281.EntityScalarField;
|
|
22
|
+
description: _contractspec_lib_schema281.EntityScalarField;
|
|
23
|
+
type: _contractspec_lib_schema281.EntityEnumField;
|
|
24
|
+
priority: _contractspec_lib_schema281.EntityEnumField;
|
|
25
|
+
status: _contractspec_lib_schema281.EntityEnumField;
|
|
26
|
+
dueDate: _contractspec_lib_schema281.EntityScalarField;
|
|
27
|
+
reminderAt: _contractspec_lib_schema281.EntityScalarField;
|
|
28
|
+
contactId: _contractspec_lib_schema281.EntityScalarField;
|
|
29
|
+
dealId: _contractspec_lib_schema281.EntityScalarField;
|
|
30
|
+
companyId: _contractspec_lib_schema281.EntityScalarField;
|
|
31
|
+
organizationId: _contractspec_lib_schema281.EntityScalarField;
|
|
32
|
+
assignedTo: _contractspec_lib_schema281.EntityScalarField;
|
|
33
|
+
createdBy: _contractspec_lib_schema281.EntityScalarField;
|
|
34
|
+
completedAt: _contractspec_lib_schema281.EntityScalarField;
|
|
35
|
+
completedBy: _contractspec_lib_schema281.EntityScalarField;
|
|
36
|
+
createdAt: _contractspec_lib_schema281.EntityScalarField;
|
|
37
|
+
updatedAt: _contractspec_lib_schema281.EntityScalarField;
|
|
38
|
+
contact: _contractspec_lib_schema281.EntityRelationField;
|
|
39
|
+
deal: _contractspec_lib_schema281.EntityRelationField;
|
|
40
|
+
company: _contractspec_lib_schema281.EntityRelationField;
|
|
41
41
|
}>;
|
|
42
42
|
/**
|
|
43
43
|
* Activity entity - interaction history.
|
|
44
44
|
*/
|
|
45
|
-
declare const ActivityEntity:
|
|
46
|
-
id:
|
|
47
|
-
type:
|
|
48
|
-
subject:
|
|
49
|
-
description:
|
|
50
|
-
contactId:
|
|
51
|
-
dealId:
|
|
52
|
-
companyId:
|
|
53
|
-
organizationId:
|
|
54
|
-
performedBy:
|
|
55
|
-
outcome:
|
|
56
|
-
occurredAt:
|
|
57
|
-
duration:
|
|
58
|
-
createdAt:
|
|
59
|
-
contact:
|
|
60
|
-
deal:
|
|
61
|
-
company:
|
|
45
|
+
declare const ActivityEntity: _contractspec_lib_schema281.EntitySpec<{
|
|
46
|
+
id: _contractspec_lib_schema281.EntityScalarField;
|
|
47
|
+
type: _contractspec_lib_schema281.EntityEnumField;
|
|
48
|
+
subject: _contractspec_lib_schema281.EntityScalarField;
|
|
49
|
+
description: _contractspec_lib_schema281.EntityScalarField;
|
|
50
|
+
contactId: _contractspec_lib_schema281.EntityScalarField;
|
|
51
|
+
dealId: _contractspec_lib_schema281.EntityScalarField;
|
|
52
|
+
companyId: _contractspec_lib_schema281.EntityScalarField;
|
|
53
|
+
organizationId: _contractspec_lib_schema281.EntityScalarField;
|
|
54
|
+
performedBy: _contractspec_lib_schema281.EntityScalarField;
|
|
55
|
+
outcome: _contractspec_lib_schema281.EntityScalarField;
|
|
56
|
+
occurredAt: _contractspec_lib_schema281.EntityScalarField;
|
|
57
|
+
duration: _contractspec_lib_schema281.EntityScalarField;
|
|
58
|
+
createdAt: _contractspec_lib_schema281.EntityScalarField;
|
|
59
|
+
contact: _contractspec_lib_schema281.EntityRelationField;
|
|
60
|
+
deal: _contractspec_lib_schema281.EntityRelationField;
|
|
61
|
+
company: _contractspec_lib_schema281.EntityRelationField;
|
|
62
62
|
}>;
|
|
63
63
|
//#endregion
|
|
64
64
|
export { ActivityEntity, TaskEntity, TaskPriorityEnum, TaskStatusEnum, TaskTypeEnum };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import * as _contractspec_lib_contracts8 from "@contractspec/lib.contracts";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _contractspec_lib_schema323 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/events/contact.event.d.ts
|
|
5
|
-
declare const ContactCreatedEvent: _contractspec_lib_contracts8.EventSpec<
|
|
5
|
+
declare const ContactCreatedEvent: _contractspec_lib_contracts8.EventSpec<_contractspec_lib_schema323.SchemaModel<{
|
|
6
6
|
contactId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _contractspec_lib_schema323.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
email: {
|
|
11
|
-
type:
|
|
11
|
+
type: _contractspec_lib_schema323.FieldType<string, string>;
|
|
12
12
|
isOptional: true;
|
|
13
13
|
};
|
|
14
14
|
organizationId: {
|
|
15
|
-
type:
|
|
15
|
+
type: _contractspec_lib_schema323.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
ownerId: {
|
|
19
|
-
type:
|
|
19
|
+
type: _contractspec_lib_schema323.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
createdAt: {
|
|
23
|
-
type:
|
|
23
|
+
type: _contractspec_lib_schema323.FieldType<Date, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
}>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -31,14 +31,14 @@ import { crmPipelineReactRenderer } from "./ui/renderers/pipeline.renderer.js";
|
|
|
31
31
|
import { crmDashboardMarkdownRenderer, crmPipelineMarkdownRenderer } from "./ui/renderers/pipeline.markdown.js";
|
|
32
32
|
import { crmDemoOverlay, crmOverlays, crmSalesRepOverlay } from "./ui/overlays/demo-overlays.js";
|
|
33
33
|
import "./ui/index.js";
|
|
34
|
-
import * as
|
|
34
|
+
import * as _contractspec_lib_schema30 from "@contractspec/lib.schema";
|
|
35
35
|
|
|
36
36
|
//#region src/index.d.ts
|
|
37
37
|
/**
|
|
38
38
|
* Complete schema composition for CRM Pipeline.
|
|
39
39
|
*/
|
|
40
40
|
declare const schemaComposition: {
|
|
41
|
-
modules:
|
|
41
|
+
modules: _contractspec_lib_schema30.ModuleSchemaContribution[];
|
|
42
42
|
provider: "postgresql";
|
|
43
43
|
outputPath: string;
|
|
44
44
|
};
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsBa;WASZ,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsBa;WASZ,0BAAA,CAAA,wBAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/ui/CrmDashboard.d.ts
|
|
4
|
-
declare function CrmDashboard():
|
|
4
|
+
declare function CrmDashboard(): react_jsx_runtime0.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { CrmDashboard };
|
|
7
7
|
//# sourceMappingURL=CrmDashboard.d.ts.map
|
package/dist/ui/CrmDealCard.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Deal } from "./hooks/useDealList.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/ui/CrmDealCard.d.ts
|
|
5
5
|
interface CrmDealCardProps {
|
|
@@ -9,7 +9,7 @@ interface CrmDealCardProps {
|
|
|
9
9
|
declare function CrmDealCard({
|
|
10
10
|
deal,
|
|
11
11
|
onClick
|
|
12
|
-
}: CrmDealCardProps):
|
|
12
|
+
}: CrmDealCardProps): react_jsx_runtime1.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { CrmDealCard };
|
|
15
15
|
//# sourceMappingURL=CrmDealCard.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/ui/modals/CreateDealModal.d.ts
|
|
4
4
|
interface CreateDealInput {
|
|
@@ -27,7 +27,7 @@ declare function CreateDealModal({
|
|
|
27
27
|
onSubmit,
|
|
28
28
|
stages,
|
|
29
29
|
isLoading
|
|
30
|
-
}: CreateDealModalProps):
|
|
30
|
+
}: CreateDealModalProps): react_jsx_runtime2.JSX.Element | null;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { CreateDealInput, CreateDealModal };
|
|
33
33
|
//# sourceMappingURL=CreateDealModal.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/ui/modals/DealActionsModal.d.ts
|
|
4
4
|
interface Deal {
|
|
@@ -45,7 +45,7 @@ declare function DealActionsModal({
|
|
|
45
45
|
onLose,
|
|
46
46
|
onMove,
|
|
47
47
|
isLoading
|
|
48
|
-
}: DealActionsModalProps):
|
|
48
|
+
}: DealActionsModalProps): react_jsx_runtime3.JSX.Element | null;
|
|
49
49
|
//#endregion
|
|
50
50
|
export { Deal, DealActionsModal, LoseDealInput, MoveDealInput, WinDealInput };
|
|
51
51
|
//# sourceMappingURL=DealActionsModal.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.crm-pipeline",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.56.0",
|
|
4
4
|
"description": "CRM Pipeline - Contacts, Companies, Deals, Tasks",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -66,21 +66,21 @@
|
|
|
66
66
|
"validate": "contractspec validate \"src/**/*\""
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@contractspec/lib.contracts": "1.
|
|
70
|
-
"@contractspec/lib.design-system": "1.
|
|
71
|
-
"@contractspec/lib.example-shared-ui": "1.
|
|
72
|
-
"@contractspec/lib.identity-rbac": "1.
|
|
73
|
-
"@contractspec/lib.runtime-sandbox": "0.
|
|
74
|
-
"@contractspec/lib.schema": "1.
|
|
75
|
-
"@contractspec/lib.ui-kit-web": "1.
|
|
76
|
-
"@contractspec/module.audit-trail": "1.
|
|
77
|
-
"@contractspec/module.notifications": "1.
|
|
69
|
+
"@contractspec/lib.contracts": "1.56.0",
|
|
70
|
+
"@contractspec/lib.design-system": "1.56.0",
|
|
71
|
+
"@contractspec/lib.example-shared-ui": "1.10.0",
|
|
72
|
+
"@contractspec/lib.identity-rbac": "1.56.0",
|
|
73
|
+
"@contractspec/lib.runtime-sandbox": "0.11.0",
|
|
74
|
+
"@contractspec/lib.schema": "1.56.0",
|
|
75
|
+
"@contractspec/lib.ui-kit-web": "1.56.0",
|
|
76
|
+
"@contractspec/module.audit-trail": "1.56.0",
|
|
77
|
+
"@contractspec/module.notifications": "1.56.0",
|
|
78
78
|
"react": "19.2.4",
|
|
79
79
|
"react-dom": "19.2.4"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@contractspec/tool.tsdown": "1.
|
|
83
|
-
"@contractspec/tool.typescript": "1.
|
|
82
|
+
"@contractspec/tool.tsdown": "1.56.0",
|
|
83
|
+
"@contractspec/tool.typescript": "1.56.0",
|
|
84
84
|
"tsdown": "^0.19.0",
|
|
85
85
|
"typescript": "^5.9.3",
|
|
86
86
|
"@types/react": "^19.2.8",
|