@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.
@@ -1,64 +1,64 @@
1
- import * as _contractspec_lib_schema250 from "@contractspec/lib.schema";
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: _contractspec_lib_schema250.EntityEnumDef;
7
+ declare const TaskTypeEnum: _contractspec_lib_schema281.EntityEnumDef;
8
8
  /**
9
9
  * Task priority enum.
10
10
  */
11
- declare const TaskPriorityEnum: _contractspec_lib_schema250.EntityEnumDef;
11
+ declare const TaskPriorityEnum: _contractspec_lib_schema281.EntityEnumDef;
12
12
  /**
13
13
  * Task status enum.
14
14
  */
15
- declare const TaskStatusEnum: _contractspec_lib_schema250.EntityEnumDef;
15
+ declare const TaskStatusEnum: _contractspec_lib_schema281.EntityEnumDef;
16
16
  /**
17
17
  * Task entity - follow-up activities.
18
18
  */
19
- declare const TaskEntity: _contractspec_lib_schema250.EntitySpec<{
20
- id: _contractspec_lib_schema250.EntityScalarField;
21
- title: _contractspec_lib_schema250.EntityScalarField;
22
- description: _contractspec_lib_schema250.EntityScalarField;
23
- type: _contractspec_lib_schema250.EntityEnumField;
24
- priority: _contractspec_lib_schema250.EntityEnumField;
25
- status: _contractspec_lib_schema250.EntityEnumField;
26
- dueDate: _contractspec_lib_schema250.EntityScalarField;
27
- reminderAt: _contractspec_lib_schema250.EntityScalarField;
28
- contactId: _contractspec_lib_schema250.EntityScalarField;
29
- dealId: _contractspec_lib_schema250.EntityScalarField;
30
- companyId: _contractspec_lib_schema250.EntityScalarField;
31
- organizationId: _contractspec_lib_schema250.EntityScalarField;
32
- assignedTo: _contractspec_lib_schema250.EntityScalarField;
33
- createdBy: _contractspec_lib_schema250.EntityScalarField;
34
- completedAt: _contractspec_lib_schema250.EntityScalarField;
35
- completedBy: _contractspec_lib_schema250.EntityScalarField;
36
- createdAt: _contractspec_lib_schema250.EntityScalarField;
37
- updatedAt: _contractspec_lib_schema250.EntityScalarField;
38
- contact: _contractspec_lib_schema250.EntityRelationField;
39
- deal: _contractspec_lib_schema250.EntityRelationField;
40
- company: _contractspec_lib_schema250.EntityRelationField;
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: _contractspec_lib_schema250.EntitySpec<{
46
- id: _contractspec_lib_schema250.EntityScalarField;
47
- type: _contractspec_lib_schema250.EntityEnumField;
48
- subject: _contractspec_lib_schema250.EntityScalarField;
49
- description: _contractspec_lib_schema250.EntityScalarField;
50
- contactId: _contractspec_lib_schema250.EntityScalarField;
51
- dealId: _contractspec_lib_schema250.EntityScalarField;
52
- companyId: _contractspec_lib_schema250.EntityScalarField;
53
- organizationId: _contractspec_lib_schema250.EntityScalarField;
54
- performedBy: _contractspec_lib_schema250.EntityScalarField;
55
- outcome: _contractspec_lib_schema250.EntityScalarField;
56
- occurredAt: _contractspec_lib_schema250.EntityScalarField;
57
- duration: _contractspec_lib_schema250.EntityScalarField;
58
- createdAt: _contractspec_lib_schema250.EntityScalarField;
59
- contact: _contractspec_lib_schema250.EntityRelationField;
60
- deal: _contractspec_lib_schema250.EntityRelationField;
61
- company: _contractspec_lib_schema250.EntityRelationField;
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 _contractspec_lib_schema292 from "@contractspec/lib.schema";
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<_contractspec_lib_schema292.SchemaModel<{
5
+ declare const ContactCreatedEvent: _contractspec_lib_contracts8.EventSpec<_contractspec_lib_schema323.SchemaModel<{
6
6
  contactId: {
7
- type: _contractspec_lib_schema292.FieldType<string, string>;
7
+ type: _contractspec_lib_schema323.FieldType<string, string>;
8
8
  isOptional: false;
9
9
  };
10
10
  email: {
11
- type: _contractspec_lib_schema292.FieldType<string, string>;
11
+ type: _contractspec_lib_schema323.FieldType<string, string>;
12
12
  isOptional: true;
13
13
  };
14
14
  organizationId: {
15
- type: _contractspec_lib_schema292.FieldType<string, string>;
15
+ type: _contractspec_lib_schema323.FieldType<string, string>;
16
16
  isOptional: false;
17
17
  };
18
18
  ownerId: {
19
- type: _contractspec_lib_schema292.FieldType<string, string>;
19
+ type: _contractspec_lib_schema323.FieldType<string, string>;
20
20
  isOptional: false;
21
21
  };
22
22
  createdAt: {
23
- type: _contractspec_lib_schema292.FieldType<Date, string>;
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 _contractspec_lib_schema0 from "@contractspec/lib.schema";
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: _contractspec_lib_schema0.ModuleSchemaContribution[];
41
+ modules: _contractspec_lib_schema30.ModuleSchemaContribution[];
42
42
  provider: "postgresql";
43
43
  outputPath: string;
44
44
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsBa;WASZ,yBAAA,CAAA,wBAAA"}
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 react_jsx_runtime1 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/ui/CrmDashboard.d.ts
4
- declare function CrmDashboard(): react_jsx_runtime1.JSX.Element;
4
+ declare function CrmDashboard(): react_jsx_runtime0.JSX.Element;
5
5
  //#endregion
6
6
  export { CrmDashboard };
7
7
  //# sourceMappingURL=CrmDashboard.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { Deal } from "./hooks/useDealList.js";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
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): react_jsx_runtime0.JSX.Element;
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 react_jsx_runtime3 from "react/jsx-runtime";
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): react_jsx_runtime3.JSX.Element | null;
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 react_jsx_runtime2 from "react/jsx-runtime";
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): react_jsx_runtime2.JSX.Element | null;
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.55.0",
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.55.0",
70
- "@contractspec/lib.design-system": "1.55.0",
71
- "@contractspec/lib.example-shared-ui": "1.9.0",
72
- "@contractspec/lib.identity-rbac": "1.55.0",
73
- "@contractspec/lib.runtime-sandbox": "0.10.0",
74
- "@contractspec/lib.schema": "1.55.0",
75
- "@contractspec/lib.ui-kit-web": "1.55.0",
76
- "@contractspec/module.audit-trail": "1.55.0",
77
- "@contractspec/module.notifications": "1.55.0",
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.55.0",
83
- "@contractspec/tool.typescript": "1.55.0",
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",