@contractspec/example.crm-pipeline 1.49.0 → 1.50.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 +128 -128
- package/dist/deal/deal.operation.d.ts.map +1 -1
- package/dist/deal/deal.schema.d.ts +71 -71
- package/dist/deal/deal.test-spec.d.ts +3 -3
- package/dist/deal/deal.test-spec.d.ts.map +1 -1
- 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/task.entity.d.ts +43 -43
- package/dist/events/contact.event.d.ts +8 -8
- package/dist/events/contact.event.d.ts.map +1 -1
- package/dist/events/deal.event.d.ts +5 -5
- package/dist/events/deal.event.d.ts.map +1 -1
- package/dist/events/task.event.d.ts +2 -2
- package/dist/example.d.ts +2 -2
- package/dist/example.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/presentations/dashboard.presentation.d.ts +3 -3
- package/dist/presentations/dashboard.presentation.d.ts.map +1 -1
- package/dist/presentations/pipeline.presentation.d.ts +5 -5
- package/dist/presentations/pipeline.presentation.d.ts.map +1 -1
- package/dist/ui/CrmDealCard.d.ts +2 -2
- package/dist/ui/CrmPipelineBoard.d.ts +2 -2
- package/dist/ui/modals/DealActionsModal.d.ts +2 -2
- package/package.json +12 -12
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema229 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/deal.entity.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Deal status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const DealStatusEnum:
|
|
7
|
+
declare const DealStatusEnum: _contractspec_lib_schema229.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Pipeline entity - sales pipeline definition.
|
|
10
10
|
*/
|
|
11
|
-
declare const PipelineEntity:
|
|
12
|
-
id:
|
|
13
|
-
name:
|
|
14
|
-
description:
|
|
15
|
-
organizationId:
|
|
16
|
-
isDefault:
|
|
17
|
-
createdAt:
|
|
18
|
-
updatedAt:
|
|
19
|
-
stages:
|
|
20
|
-
deals:
|
|
11
|
+
declare const PipelineEntity: _contractspec_lib_schema229.EntitySpec<{
|
|
12
|
+
id: _contractspec_lib_schema229.EntityScalarField;
|
|
13
|
+
name: _contractspec_lib_schema229.EntityScalarField;
|
|
14
|
+
description: _contractspec_lib_schema229.EntityScalarField;
|
|
15
|
+
organizationId: _contractspec_lib_schema229.EntityScalarField;
|
|
16
|
+
isDefault: _contractspec_lib_schema229.EntityScalarField;
|
|
17
|
+
createdAt: _contractspec_lib_schema229.EntityScalarField;
|
|
18
|
+
updatedAt: _contractspec_lib_schema229.EntityScalarField;
|
|
19
|
+
stages: _contractspec_lib_schema229.EntityRelationField;
|
|
20
|
+
deals: _contractspec_lib_schema229.EntityRelationField;
|
|
21
21
|
}>;
|
|
22
22
|
/**
|
|
23
23
|
* Stage entity - pipeline stage.
|
|
24
24
|
*/
|
|
25
|
-
declare const StageEntity:
|
|
26
|
-
id:
|
|
27
|
-
name:
|
|
28
|
-
pipelineId:
|
|
29
|
-
position:
|
|
30
|
-
probability:
|
|
31
|
-
isWonStage:
|
|
32
|
-
isLostStage:
|
|
33
|
-
color:
|
|
34
|
-
createdAt:
|
|
35
|
-
updatedAt:
|
|
36
|
-
pipeline:
|
|
37
|
-
deals:
|
|
25
|
+
declare const StageEntity: _contractspec_lib_schema229.EntitySpec<{
|
|
26
|
+
id: _contractspec_lib_schema229.EntityScalarField;
|
|
27
|
+
name: _contractspec_lib_schema229.EntityScalarField;
|
|
28
|
+
pipelineId: _contractspec_lib_schema229.EntityScalarField;
|
|
29
|
+
position: _contractspec_lib_schema229.EntityScalarField;
|
|
30
|
+
probability: _contractspec_lib_schema229.EntityScalarField;
|
|
31
|
+
isWonStage: _contractspec_lib_schema229.EntityScalarField;
|
|
32
|
+
isLostStage: _contractspec_lib_schema229.EntityScalarField;
|
|
33
|
+
color: _contractspec_lib_schema229.EntityScalarField;
|
|
34
|
+
createdAt: _contractspec_lib_schema229.EntityScalarField;
|
|
35
|
+
updatedAt: _contractspec_lib_schema229.EntityScalarField;
|
|
36
|
+
pipeline: _contractspec_lib_schema229.EntityRelationField;
|
|
37
|
+
deals: _contractspec_lib_schema229.EntityRelationField;
|
|
38
38
|
}>;
|
|
39
39
|
/**
|
|
40
40
|
* Deal entity - sales opportunity.
|
|
41
41
|
*/
|
|
42
|
-
declare const DealEntity:
|
|
43
|
-
id:
|
|
44
|
-
name:
|
|
45
|
-
value:
|
|
46
|
-
currency:
|
|
47
|
-
pipelineId:
|
|
48
|
-
stageId:
|
|
49
|
-
status:
|
|
50
|
-
contactId:
|
|
51
|
-
companyId:
|
|
52
|
-
organizationId:
|
|
53
|
-
ownerId:
|
|
54
|
-
expectedCloseDate:
|
|
55
|
-
closedAt:
|
|
56
|
-
lostReason:
|
|
57
|
-
wonSource:
|
|
58
|
-
notes:
|
|
59
|
-
tags:
|
|
60
|
-
customFields:
|
|
61
|
-
stagePosition:
|
|
62
|
-
createdAt:
|
|
63
|
-
updatedAt:
|
|
64
|
-
pipeline:
|
|
65
|
-
stage:
|
|
66
|
-
contact:
|
|
67
|
-
company:
|
|
68
|
-
tasks:
|
|
69
|
-
activities:
|
|
42
|
+
declare const DealEntity: _contractspec_lib_schema229.EntitySpec<{
|
|
43
|
+
id: _contractspec_lib_schema229.EntityScalarField;
|
|
44
|
+
name: _contractspec_lib_schema229.EntityScalarField;
|
|
45
|
+
value: _contractspec_lib_schema229.EntityScalarField;
|
|
46
|
+
currency: _contractspec_lib_schema229.EntityScalarField;
|
|
47
|
+
pipelineId: _contractspec_lib_schema229.EntityScalarField;
|
|
48
|
+
stageId: _contractspec_lib_schema229.EntityScalarField;
|
|
49
|
+
status: _contractspec_lib_schema229.EntityEnumField;
|
|
50
|
+
contactId: _contractspec_lib_schema229.EntityScalarField;
|
|
51
|
+
companyId: _contractspec_lib_schema229.EntityScalarField;
|
|
52
|
+
organizationId: _contractspec_lib_schema229.EntityScalarField;
|
|
53
|
+
ownerId: _contractspec_lib_schema229.EntityScalarField;
|
|
54
|
+
expectedCloseDate: _contractspec_lib_schema229.EntityScalarField;
|
|
55
|
+
closedAt: _contractspec_lib_schema229.EntityScalarField;
|
|
56
|
+
lostReason: _contractspec_lib_schema229.EntityScalarField;
|
|
57
|
+
wonSource: _contractspec_lib_schema229.EntityScalarField;
|
|
58
|
+
notes: _contractspec_lib_schema229.EntityScalarField;
|
|
59
|
+
tags: _contractspec_lib_schema229.EntityScalarField;
|
|
60
|
+
customFields: _contractspec_lib_schema229.EntityScalarField;
|
|
61
|
+
stagePosition: _contractspec_lib_schema229.EntityScalarField;
|
|
62
|
+
createdAt: _contractspec_lib_schema229.EntityScalarField;
|
|
63
|
+
updatedAt: _contractspec_lib_schema229.EntityScalarField;
|
|
64
|
+
pipeline: _contractspec_lib_schema229.EntityRelationField;
|
|
65
|
+
stage: _contractspec_lib_schema229.EntityRelationField;
|
|
66
|
+
contact: _contractspec_lib_schema229.EntityRelationField;
|
|
67
|
+
company: _contractspec_lib_schema229.EntityRelationField;
|
|
68
|
+
tasks: _contractspec_lib_schema229.EntityRelationField;
|
|
69
|
+
activities: _contractspec_lib_schema229.EntityRelationField;
|
|
70
70
|
}>;
|
|
71
71
|
//#endregion
|
|
72
72
|
export { DealEntity, DealStatusEnum, PipelineEntity, StageEntity };
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema308 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_schema308.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Task priority enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const TaskPriorityEnum:
|
|
11
|
+
declare const TaskPriorityEnum: _contractspec_lib_schema308.EntityEnumDef;
|
|
12
12
|
/**
|
|
13
13
|
* Task status enum.
|
|
14
14
|
*/
|
|
15
|
-
declare const TaskStatusEnum:
|
|
15
|
+
declare const TaskStatusEnum: _contractspec_lib_schema308.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_schema308.EntitySpec<{
|
|
20
|
+
id: _contractspec_lib_schema308.EntityScalarField;
|
|
21
|
+
title: _contractspec_lib_schema308.EntityScalarField;
|
|
22
|
+
description: _contractspec_lib_schema308.EntityScalarField;
|
|
23
|
+
type: _contractspec_lib_schema308.EntityEnumField;
|
|
24
|
+
priority: _contractspec_lib_schema308.EntityEnumField;
|
|
25
|
+
status: _contractspec_lib_schema308.EntityEnumField;
|
|
26
|
+
dueDate: _contractspec_lib_schema308.EntityScalarField;
|
|
27
|
+
reminderAt: _contractspec_lib_schema308.EntityScalarField;
|
|
28
|
+
contactId: _contractspec_lib_schema308.EntityScalarField;
|
|
29
|
+
dealId: _contractspec_lib_schema308.EntityScalarField;
|
|
30
|
+
companyId: _contractspec_lib_schema308.EntityScalarField;
|
|
31
|
+
organizationId: _contractspec_lib_schema308.EntityScalarField;
|
|
32
|
+
assignedTo: _contractspec_lib_schema308.EntityScalarField;
|
|
33
|
+
createdBy: _contractspec_lib_schema308.EntityScalarField;
|
|
34
|
+
completedAt: _contractspec_lib_schema308.EntityScalarField;
|
|
35
|
+
completedBy: _contractspec_lib_schema308.EntityScalarField;
|
|
36
|
+
createdAt: _contractspec_lib_schema308.EntityScalarField;
|
|
37
|
+
updatedAt: _contractspec_lib_schema308.EntityScalarField;
|
|
38
|
+
contact: _contractspec_lib_schema308.EntityRelationField;
|
|
39
|
+
deal: _contractspec_lib_schema308.EntityRelationField;
|
|
40
|
+
company: _contractspec_lib_schema308.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_schema308.EntitySpec<{
|
|
46
|
+
id: _contractspec_lib_schema308.EntityScalarField;
|
|
47
|
+
type: _contractspec_lib_schema308.EntityEnumField;
|
|
48
|
+
subject: _contractspec_lib_schema308.EntityScalarField;
|
|
49
|
+
description: _contractspec_lib_schema308.EntityScalarField;
|
|
50
|
+
contactId: _contractspec_lib_schema308.EntityScalarField;
|
|
51
|
+
dealId: _contractspec_lib_schema308.EntityScalarField;
|
|
52
|
+
companyId: _contractspec_lib_schema308.EntityScalarField;
|
|
53
|
+
organizationId: _contractspec_lib_schema308.EntityScalarField;
|
|
54
|
+
performedBy: _contractspec_lib_schema308.EntityScalarField;
|
|
55
|
+
outcome: _contractspec_lib_schema308.EntityScalarField;
|
|
56
|
+
occurredAt: _contractspec_lib_schema308.EntityScalarField;
|
|
57
|
+
duration: _contractspec_lib_schema308.EntityScalarField;
|
|
58
|
+
createdAt: _contractspec_lib_schema308.EntityScalarField;
|
|
59
|
+
contact: _contractspec_lib_schema308.EntityRelationField;
|
|
60
|
+
deal: _contractspec_lib_schema308.EntityRelationField;
|
|
61
|
+
company: _contractspec_lib_schema308.EntityRelationField;
|
|
62
62
|
}>;
|
|
63
63
|
//#endregion
|
|
64
64
|
export { ActivityEntity, TaskEntity, TaskPriorityEnum, TaskStatusEnum, TaskTypeEnum };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts8 from "@contractspec/lib.contracts";
|
|
2
|
+
import * as _contractspec_lib_schema350 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/events/contact.event.d.ts
|
|
5
|
-
declare const ContactCreatedEvent:
|
|
5
|
+
declare const ContactCreatedEvent: _contractspec_lib_contracts8.EventSpec<_contractspec_lib_schema350.SchemaModel<{
|
|
6
6
|
contactId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _contractspec_lib_schema350.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
email: {
|
|
11
|
-
type:
|
|
11
|
+
type: _contractspec_lib_schema350.FieldType<string, string>;
|
|
12
12
|
isOptional: true;
|
|
13
13
|
};
|
|
14
14
|
organizationId: {
|
|
15
|
-
type:
|
|
15
|
+
type: _contractspec_lib_schema350.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
ownerId: {
|
|
19
|
-
type:
|
|
19
|
+
type: _contractspec_lib_schema350.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
createdAt: {
|
|
23
|
-
type:
|
|
23
|
+
type: _contractspec_lib_schema350.FieldType<Date, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact.event.d.ts","names":[],"sources":["../../src/events/contact.event.ts"],"sourcesContent":[],"mappings":";;;;cAoBa,qBAAmB,
|
|
1
|
+
{"version":3,"file":"contact.event.d.ts","names":[],"sources":["../../src/events/contact.event.ts"],"sourcesContent":[],"mappings":";;;;cAoBa,qBAAmB,4BAAA,CAAA,sCAAA;;UAU9B,2BAAA,CAAA;;EAVW,CAAA;EAUX,KAAA,EAAA;;;;;;;EAV8B,CAAA;EAAA,OAAA,EAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts9 from "@contractspec/lib.contracts";
|
|
2
2
|
import * as _contractspec_lib_schema356 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/events/deal.event.d.ts
|
|
5
|
-
declare const DealCreatedEvent:
|
|
5
|
+
declare const DealCreatedEvent: _contractspec_lib_contracts9.EventSpec<_contractspec_lib_schema356.SchemaModel<{
|
|
6
6
|
dealId: {
|
|
7
7
|
type: _contractspec_lib_schema356.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
@@ -32,7 +32,7 @@ declare const DealCreatedEvent: _contractspec_lib_contracts15.EventSpec<_contrac
|
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
}>>;
|
|
35
|
-
declare const DealMovedEvent:
|
|
35
|
+
declare const DealMovedEvent: _contractspec_lib_contracts9.EventSpec<_contractspec_lib_schema356.SchemaModel<{
|
|
36
36
|
dealId: {
|
|
37
37
|
type: _contractspec_lib_schema356.FieldType<string, string>;
|
|
38
38
|
isOptional: false;
|
|
@@ -54,7 +54,7 @@ declare const DealMovedEvent: _contractspec_lib_contracts15.EventSpec<_contracts
|
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
}>>;
|
|
57
|
-
declare const DealWonEvent:
|
|
57
|
+
declare const DealWonEvent: _contractspec_lib_contracts9.EventSpec<_contractspec_lib_schema356.SchemaModel<{
|
|
58
58
|
dealId: {
|
|
59
59
|
type: _contractspec_lib_schema356.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
@@ -84,7 +84,7 @@ declare const DealWonEvent: _contractspec_lib_contracts15.EventSpec<_contractspe
|
|
|
84
84
|
isOptional: false;
|
|
85
85
|
};
|
|
86
86
|
}>>;
|
|
87
|
-
declare const DealLostEvent:
|
|
87
|
+
declare const DealLostEvent: _contractspec_lib_contracts9.EventSpec<_contractspec_lib_schema356.SchemaModel<{
|
|
88
88
|
dealId: {
|
|
89
89
|
type: _contractspec_lib_schema356.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deal.event.d.ts","names":[],"sources":["../../src/events/deal.event.ts"],"sourcesContent":[],"mappings":";;;;cAyDa,kBAAgB,
|
|
1
|
+
{"version":3,"file":"deal.event.d.ts","names":[],"sources":["../../src/events/deal.event.ts"],"sourcesContent":[],"mappings":";;;;cAyDa,kBAAgB,4BAAA,CAAA,sCAAA;;UAU3B,2BAAA,CAAA;;EAVW,CAAA;EAUX,IAAA,EAAA;;;;;;;;;IAV2B,IAAA,uCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAYhB,CAAA;EAUX,OAAA,EAAA;;;;;;;EAVyB,CAAA;EAAA,SAAA,EAAA;IAYd,IAAA,uCAUX,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;cAtBW,gBAAc,4BAAA,CAAA,sCAAA;;UAUzB,2BAAA,CAAA;;;;IAEuB,IAAA,uCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAYZ,CAAA;EAUX,SAAA,EAAA;;;;;;;EAVwB,CAAA;EAAA,OAAA,EAAA;;;;;cAZb,cAAY,4BAAA,CAAA,sCAAA;;UAUvB,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEW,eAAa,4BAAA,CAAA,sCAAA;;UAUxB,2BAAA,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts13 from "@contractspec/lib.contracts";
|
|
2
2
|
import * as _contractspec_lib_schema384 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/events/task.event.d.ts
|
|
5
|
-
declare const TaskCompletedEvent:
|
|
5
|
+
declare const TaskCompletedEvent: _contractspec_lib_contracts13.EventSpec<_contractspec_lib_schema384.SchemaModel<{
|
|
6
6
|
taskId: {
|
|
7
7
|
type: _contractspec_lib_schema384.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
package/dist/example.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/example.d.ts
|
|
4
|
-
declare const example:
|
|
4
|
+
declare const example: _contractspec_lib_contracts0.ExampleSpec;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { example as default };
|
|
7
7
|
//# sourceMappingURL=example.d.ts.map
|
package/dist/example.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":";;;cAEM,SAiCJ,
|
|
1
|
+
{"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":";;;cAEM,SAiCJ,4BAAA,CAjCW"}
|
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_schema0 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_schema0.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,yBAAA,CAAA,wBAAA"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts14 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/presentations/dashboard.presentation.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Main CRM dashboard presentation.
|
|
6
6
|
*/
|
|
7
|
-
declare const CrmDashboardPresentation:
|
|
7
|
+
declare const CrmDashboardPresentation: _contractspec_lib_contracts14.PresentationSpec;
|
|
8
8
|
/**
|
|
9
9
|
* Pipeline metrics presentation.
|
|
10
10
|
*/
|
|
11
|
-
declare const PipelineMetricsPresentation:
|
|
11
|
+
declare const PipelineMetricsPresentation: _contractspec_lib_contracts14.PresentationSpec;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { CrmDashboardPresentation, PipelineMetricsPresentation };
|
|
14
14
|
//# sourceMappingURL=dashboard.presentation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.presentation.d.ts","names":[],"sources":["../../src/presentations/dashboard.presentation.ts"],"sourcesContent":[],"mappings":";;;;;;AAQa,cAAA,wBAuBX,EAAA,
|
|
1
|
+
{"version":3,"file":"dashboard.presentation.d.ts","names":[],"sources":["../../src/presentations/dashboard.presentation.ts"],"sourcesContent":[],"mappings":";;;;;;AAQa,cAAA,wBAuBX,EAAA,6BAAA,CAvBmC,gBAuBnC;AAKF;;;cAAa,6BAsBX,6BAAA,CAtBsC"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts16 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/presentations/pipeline.presentation.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Kanban board presentation for the sales pipeline.
|
|
6
6
|
*/
|
|
7
|
-
declare const PipelineKanbanPresentation:
|
|
7
|
+
declare const PipelineKanbanPresentation: _contractspec_lib_contracts16.PresentationSpec;
|
|
8
8
|
/**
|
|
9
9
|
* List view of deals with filtering.
|
|
10
10
|
*/
|
|
11
|
-
declare const DealListPresentation:
|
|
11
|
+
declare const DealListPresentation: _contractspec_lib_contracts16.PresentationSpec;
|
|
12
12
|
/**
|
|
13
13
|
* Deal detail presentation.
|
|
14
14
|
*/
|
|
15
|
-
declare const DealDetailPresentation:
|
|
15
|
+
declare const DealDetailPresentation: _contractspec_lib_contracts16.PresentationSpec;
|
|
16
16
|
/**
|
|
17
17
|
* Deal card for kanban board.
|
|
18
18
|
*/
|
|
19
|
-
declare const DealCardPresentation:
|
|
19
|
+
declare const DealCardPresentation: _contractspec_lib_contracts16.PresentationSpec;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { DealCardPresentation, DealDetailPresentation, DealListPresentation, PipelineKanbanPresentation };
|
|
22
22
|
//# sourceMappingURL=pipeline.presentation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.presentation.d.ts","names":[],"sources":["../../src/presentations/pipeline.presentation.ts"],"sourcesContent":[],"mappings":";;;;;;AASa,cAAA,0BAuBX,EAAA,
|
|
1
|
+
{"version":3,"file":"pipeline.presentation.d.ts","names":[],"sources":["../../src/presentations/pipeline.presentation.ts"],"sourcesContent":[],"mappings":";;;;;;AASa,cAAA,0BAuBX,EAAA,6BAAA,CAvBqC,gBAuBrC;AAKF;AA4BA;AA4BA;cAxDa,sBAuBX,6BAAA,CAvB+B;;;;cA4BpB,wBAuBX,6BAAA,CAvBiC;;;;cA4BtB,sBAuBX,6BAAA,CAvB+B"}
|
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_runtime0 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_runtime0.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { CrmDealCard };
|
|
15
15
|
//# sourceMappingURL=CrmDealCard.d.ts.map
|
|
@@ -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/CrmPipelineBoard.d.ts
|
|
5
5
|
interface CrmPipelineBoardProps {
|
|
@@ -17,7 +17,7 @@ declare function CrmPipelineBoard({
|
|
|
17
17
|
stages,
|
|
18
18
|
onDealClick,
|
|
19
19
|
onDealMove
|
|
20
|
-
}: CrmPipelineBoardProps):
|
|
20
|
+
}: CrmPipelineBoardProps): react_jsx_runtime1.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { CrmPipelineBoard };
|
|
23
23
|
//# sourceMappingURL=CrmPipelineBoard.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/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_runtime2.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.50.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"
|
|
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.50.0",
|
|
70
|
+
"@contractspec/lib.design-system": "1.50.0",
|
|
71
|
+
"@contractspec/lib.example-shared-ui": "1.4.0",
|
|
72
|
+
"@contractspec/lib.identity-rbac": "1.50.0",
|
|
73
|
+
"@contractspec/lib.runtime-sandbox": "0.5.0",
|
|
74
|
+
"@contractspec/lib.schema": "1.50.0",
|
|
75
|
+
"@contractspec/lib.ui-kit-web": "1.50.0",
|
|
76
|
+
"@contractspec/module.audit-trail": "1.50.0",
|
|
77
|
+
"@contractspec/module.notifications": "1.50.0",
|
|
78
78
|
"react": "19.2.3",
|
|
79
79
|
"react-dom": "19.2.3"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@contractspec/tool.tsdown": "1.
|
|
83
|
-
"@contractspec/tool.typescript": "1.
|
|
82
|
+
"@contractspec/tool.tsdown": "1.50.0",
|
|
83
|
+
"@contractspec/tool.typescript": "1.50.0",
|
|
84
84
|
"tsdown": "^0.19.0",
|
|
85
85
|
"typescript": "^5.9.3",
|
|
86
86
|
"@types/react": "^19.2.8",
|