@contractspec/example.analytics-dashboard 1.54.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,11 +1,11 @@
1
- import * as _contractspec_lib_contracts7 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts14 from "@contractspec/lib.contracts";
2
2
  import * as _contractspec_lib_schema40 from "@contractspec/lib.schema";
3
3
 
4
4
  //#region src/dashboard/dashboard.operation.d.ts
5
5
  /**
6
6
  * Create a new analytics dashboard.
7
7
  */
8
- declare const CreateDashboardContract: _contractspec_lib_contracts7.OperationSpec<_contractspec_lib_schema40.SchemaModel<{
8
+ declare const CreateDashboardContract: _contractspec_lib_contracts14.OperationSpec<_contractspec_lib_schema40.SchemaModel<{
9
9
  name: {
10
10
  type: _contractspec_lib_schema40.FieldType<string, string>;
11
11
  isOptional: false;
@@ -196,7 +196,7 @@ declare const CreateDashboardContract: _contractspec_lib_contracts7.OperationSpe
196
196
  /**
197
197
  * Add a widget to a dashboard.
198
198
  */
199
- declare const AddWidgetContract: _contractspec_lib_contracts7.OperationSpec<_contractspec_lib_schema40.SchemaModel<{
199
+ declare const AddWidgetContract: _contractspec_lib_contracts14.OperationSpec<_contractspec_lib_schema40.SchemaModel<{
200
200
  dashboardId: {
201
201
  type: _contractspec_lib_schema40.FieldType<string, string>;
202
202
  isOptional: false;
@@ -327,7 +327,7 @@ declare const AddWidgetContract: _contractspec_lib_contracts7.OperationSpec<_con
327
327
  /**
328
328
  * List dashboards.
329
329
  */
330
- declare const ListDashboardsContract: _contractspec_lib_contracts7.OperationSpec<_contractspec_lib_schema40.SchemaModel<{
330
+ declare const ListDashboardsContract: _contractspec_lib_contracts14.OperationSpec<_contractspec_lib_schema40.SchemaModel<{
331
331
  status: {
332
332
  type: _contractspec_lib_schema40.EnumType<[string, string, string]>;
333
333
  isOptional: true;
@@ -439,7 +439,7 @@ declare const ListDashboardsContract: _contractspec_lib_contracts7.OperationSpec
439
439
  /**
440
440
  * Get a dashboard with widgets.
441
441
  */
442
- declare const GetDashboardContract: _contractspec_lib_contracts7.OperationSpec<_contractspec_lib_schema40.SchemaModel<{
442
+ declare const GetDashboardContract: _contractspec_lib_contracts14.OperationSpec<_contractspec_lib_schema40.SchemaModel<{
443
443
  dashboardId: {
444
444
  type: _contractspec_lib_schema40.FieldType<string, string>;
445
445
  isOptional: true;
@@ -1 +1 @@
1
- {"version":3,"file":"dashboard.operation.d.ts","names":[],"sources":["../../src/dashboard/dashboard.operation.ts"],"sourcesContent":[],"mappings":";;;;;;;cAmBa,sDAAuB,yCAAA;EAAvB,IAAA,EAAA;IA+CX,IAAA,EAAA,0BAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;EA/CkC,CAAA;;;;;;;;;;;;;;;UAAA,0BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAA,IAAA,wCAAA,CAAA;MAoDvB,EAAA,EAAA;QAgDX,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;oBAhD4B,KAAA;MAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;kDAAA,CAAA,MAAA,EAAA,MAAA,CAAA;QAAA,UAAA,EAAA,IAAA;MAqDjB,CAAA;MA8BX,MAAA,EAAA;;;;;IA9BiC,OAAA,EAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;MAAA,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;MAmCtB,UAAA,EAAA,KA8BX;IAAA,CAAA;;;sBA9B+B;IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;oBAAA,EAAA,KAAA;QAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAxFpB,gDAAiB,yCAAA;;UAgD5B,0BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAhD4B,0BAAA,CAAA;;;;;;;;;;;;;;;;;;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BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAhD4B,0BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqDjB,sDAAsB,yCAAA;;UA8BjC,0BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;cA9BiC,0BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmCtB,oDAAoB,yCAAA;;UA8B/B,0BAAA,CAAA;;;;;;;;;;;;;UA9B+B,0BAAA,CAAA"}
@@ -1,9 +1,9 @@
1
- import * as _contractspec_lib_contracts15 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts7 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/dashboard/dashboard.presentation.d.ts
4
- declare const DashboardsListPresentation: _contractspec_lib_contracts15.PresentationSpec;
5
- declare const DashboardViewPresentation: _contractspec_lib_contracts15.PresentationSpec;
6
- declare const DashboardEditorPresentation: _contractspec_lib_contracts15.PresentationSpec;
4
+ declare const DashboardsListPresentation: _contractspec_lib_contracts7.PresentationSpec;
5
+ declare const DashboardViewPresentation: _contractspec_lib_contracts7.PresentationSpec;
6
+ declare const DashboardEditorPresentation: _contractspec_lib_contracts7.PresentationSpec;
7
7
  //#endregion
8
8
  export { DashboardEditorPresentation, DashboardViewPresentation, DashboardsListPresentation };
9
9
  //# sourceMappingURL=dashboard.presentation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dashboard.presentation.d.ts","names":[],"sources":["../../src/dashboard/dashboard.presentation.ts"],"sourcesContent":[],"mappings":";;;cAGa,4BAuBX,6BAAA,CAvBqC;cAyB1B,2BAuBX,6BAAA,CAvBoC;cAyBzB,6BAuBX,6BAAA,CAvBsC"}
1
+ {"version":3,"file":"dashboard.presentation.d.ts","names":[],"sources":["../../src/dashboard/dashboard.presentation.ts"],"sourcesContent":[],"mappings":";;;cAGa,4BAuBX,4BAAA,CAvBqC;cAyB1B,2BAuBX,4BAAA,CAvBoC;cAyBzB,6BAuBX,4BAAA,CAvBsC"}
@@ -1,10 +1,10 @@
1
- import * as _contractspec_lib_contracts11 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts10 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/dashboard/dashboard.test-spec.d.ts
4
- declare const CreateDashboardTest: _contractspec_lib_contracts11.TestSpec;
5
- declare const ListDashboardsTest: _contractspec_lib_contracts11.TestSpec;
6
- declare const GetDashboardTest: _contractspec_lib_contracts11.TestSpec;
7
- declare const AddWidgetTest: _contractspec_lib_contracts11.TestSpec;
4
+ declare const CreateDashboardTest: _contractspec_lib_contracts10.TestSpec;
5
+ declare const ListDashboardsTest: _contractspec_lib_contracts10.TestSpec;
6
+ declare const GetDashboardTest: _contractspec_lib_contracts10.TestSpec;
7
+ declare const AddWidgetTest: _contractspec_lib_contracts10.TestSpec;
8
8
  //#endregion
9
9
  export { AddWidgetTest, CreateDashboardTest, GetDashboardTest, ListDashboardsTest };
10
10
  //# sourceMappingURL=dashboard.test-spec.d.ts.map
package/dist/events.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts1 from "@contractspec/lib.contracts";
2
2
  import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
3
3
 
4
4
  //#region src/events.d.ts
5
- declare const DashboardCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
5
+ declare const DashboardCreatedEvent: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema0.SchemaModel<{
6
6
  dashboardId: {
7
7
  type: _contractspec_lib_schema0.FieldType<string, string>;
8
8
  isOptional: false;
@@ -24,7 +24,7 @@ declare const DashboardCreatedEvent: _contractspec_lib_contracts0.EventSpec<_con
24
24
  isOptional: false;
25
25
  };
26
26
  }>>;
27
- declare const WidgetAddedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
27
+ declare const WidgetAddedEvent: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema0.SchemaModel<{
28
28
  widgetId: {
29
29
  type: _contractspec_lib_schema0.FieldType<string, string>;
30
30
  isOptional: false;
@@ -46,7 +46,7 @@ declare const WidgetAddedEvent: _contractspec_lib_contracts0.EventSpec<_contract
46
46
  isOptional: false;
47
47
  };
48
48
  }>>;
49
- declare const QueryCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
49
+ declare const QueryCreatedEvent: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema0.SchemaModel<{
50
50
  queryId: {
51
51
  type: _contractspec_lib_schema0.FieldType<string, string>;
52
52
  isOptional: false;
@@ -73,7 +73,7 @@ declare const QueryCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contrac
73
73
  };
74
74
  }>>;
75
75
  declare const AnalyticsDashboardEvents: {
76
- DashboardCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
76
+ DashboardCreatedEvent: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema0.SchemaModel<{
77
77
  dashboardId: {
78
78
  type: _contractspec_lib_schema0.FieldType<string, string>;
79
79
  isOptional: false;
@@ -95,7 +95,7 @@ declare const AnalyticsDashboardEvents: {
95
95
  isOptional: false;
96
96
  };
97
97
  }>>;
98
- WidgetAddedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
98
+ WidgetAddedEvent: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema0.SchemaModel<{
99
99
  widgetId: {
100
100
  type: _contractspec_lib_schema0.FieldType<string, string>;
101
101
  isOptional: false;
@@ -117,7 +117,7 @@ declare const AnalyticsDashboardEvents: {
117
117
  isOptional: false;
118
118
  };
119
119
  }>>;
120
- QueryCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
120
+ QueryCreatedEvent: _contractspec_lib_contracts1.EventSpec<_contractspec_lib_schema0.SchemaModel<{
121
121
  queryId: {
122
122
  type: _contractspec_lib_schema0.FieldType<string, string>;
123
123
  isOptional: false;
package/dist/example.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import * as _contractspec_lib_contracts6 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/example.d.ts
4
- declare const example: _contractspec_lib_contracts6.ExampleSpec;
4
+ declare const example: _contractspec_lib_contracts0.ExampleSpec;
5
5
  //#endregion
6
6
  export { example as default };
7
7
  //# sourceMappingURL=example.d.ts.map
@@ -1,11 +1,11 @@
1
- import * as _contractspec_lib_contracts18 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts20 from "@contractspec/lib.contracts";
2
2
  import * as _contractspec_lib_schema248 from "@contractspec/lib.schema";
3
3
 
4
4
  //#region src/query/query.operation.d.ts
5
5
  /**
6
6
  * Create a data query.
7
7
  */
8
- declare const CreateQueryContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema248.SchemaModel<{
8
+ declare const CreateQueryContract: _contractspec_lib_contracts20.OperationSpec<_contractspec_lib_schema248.SchemaModel<{
9
9
  name: {
10
10
  type: _contractspec_lib_schema248.FieldType<string, string>;
11
11
  isOptional: false;
@@ -125,7 +125,7 @@ declare const CreateQueryContract: _contractspec_lib_contracts18.OperationSpec<_
125
125
  /**
126
126
  * Execute a data query.
127
127
  */
128
- declare const ExecuteQueryContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema248.SchemaModel<{
128
+ declare const ExecuteQueryContract: _contractspec_lib_contracts20.OperationSpec<_contractspec_lib_schema248.SchemaModel<{
129
129
  queryId: {
130
130
  type: _contractspec_lib_schema248.FieldType<string, string>;
131
131
  isOptional: false;
@@ -1,8 +1,8 @@
1
- import * as _contractspec_lib_contracts20 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts18 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/query/query.presentation.d.ts
4
- declare const QueriesListPresentation: _contractspec_lib_contracts20.PresentationSpec;
5
- declare const QueryBuilderPresentation: _contractspec_lib_contracts20.PresentationSpec;
4
+ declare const QueriesListPresentation: _contractspec_lib_contracts18.PresentationSpec;
5
+ declare const QueryBuilderPresentation: _contractspec_lib_contracts18.PresentationSpec;
6
6
  //#endregion
7
7
  export { QueriesListPresentation, QueryBuilderPresentation };
8
8
  //# sourceMappingURL=query.presentation.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.analytics-dashboard",
3
- "version": "1.54.0",
3
+ "version": "1.56.0",
4
4
  "description": "Analytics Dashboard example with widgets and query engine for ContractSpec",
5
5
  "types": "./dist/index.d.ts",
6
6
  "type": "module",
@@ -17,17 +17,17 @@
17
17
  "lint:check": "eslint src"
18
18
  },
19
19
  "dependencies": {
20
- "@contractspec/lib.schema": "1.54.0",
21
- "@contractspec/lib.contracts": "1.54.0",
22
- "@contractspec/lib.example-shared-ui": "1.8.0",
23
- "@contractspec/lib.design-system": "1.54.0",
24
- "@contractspec/lib.runtime-sandbox": "0.9.0",
20
+ "@contractspec/lib.schema": "1.56.0",
21
+ "@contractspec/lib.contracts": "1.56.0",
22
+ "@contractspec/lib.example-shared-ui": "1.10.0",
23
+ "@contractspec/lib.design-system": "1.56.0",
24
+ "@contractspec/lib.runtime-sandbox": "0.11.0",
25
25
  "react": "19.2.4",
26
26
  "react-dom": "19.2.4"
27
27
  },
28
28
  "devDependencies": {
29
- "@contractspec/tool.typescript": "1.54.0",
30
- "@contractspec/tool.tsdown": "1.54.0",
29
+ "@contractspec/tool.typescript": "1.56.0",
30
+ "@contractspec/tool.tsdown": "1.56.0",
31
31
  "typescript": "^5.9.3",
32
32
  "@types/react": "^19.2.8",
33
33
  "@types/react-dom": "^19.2.2"