@lssm/example.analytics-dashboard 0.0.0-canary-20251217060834 → 0.0.0-canary-20251217072406
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/dist/dashboard/dashboard.contracts.d.ts +130 -130
- package/dist/dashboard/dashboard.contracts.js +1 -1
- package/dist/dashboard/dashboard.enum.d.ts +4 -4
- package/dist/dashboard/dashboard.enum.js +2 -1
- package/dist/dashboard/dashboard.schema.d.ts +79 -79
- package/dist/dashboard/dashboard.schema.js +3 -1
- package/dist/docs/analytics-dashboard.docblock.js +2 -1
- package/dist/events.d.ts +1 -1
- package/dist/events.js +5 -2
- package/dist/index.d.ts +0 -1
- package/dist/libs/contracts/dist/capabilities/openbanking.js +88 -0
- package/dist/libs/contracts/dist/client/index.js +5 -0
- package/dist/libs/contracts/dist/client/react/feature-render.js +2 -0
- package/dist/libs/contracts/dist/client/react/form-render.js +4 -0
- package/dist/libs/contracts/dist/client/react/index.js +4 -0
- package/dist/libs/contracts/dist/contract-registry/index.js +1 -0
- package/dist/libs/contracts/dist/contract-registry/schemas.js +60 -0
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/index.js +29 -0
- package/dist/libs/contracts/dist/docs/presentations.js +71 -0
- package/dist/libs/contracts/dist/docs/registry.js +44 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +80 -0
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +57 -0
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +357 -0
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +37 -0
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +16 -0
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +20 -0
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +48 -0
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +79 -0
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +84 -0
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +45 -0
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +67 -0
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +40 -0
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +69 -0
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +47 -0
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +62 -0
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +155 -0
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +20 -0
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +101 -0
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +20 -0
- package/dist/libs/contracts/dist/events.js +10 -0
- package/dist/libs/contracts/dist/experiments/evaluator.js +1 -0
- package/dist/libs/contracts/dist/index.js +71 -0
- package/dist/libs/contracts/dist/install.js +2 -0
- package/dist/libs/contracts/dist/integrations/contracts.js +377 -0
- package/dist/libs/contracts/dist/integrations/index.js +18 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +228 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +159 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +3 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +210 -0
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +242 -0
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +13 -0
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +52 -0
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +75 -0
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +87 -0
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +66 -0
- package/dist/libs/contracts/dist/integrations/providers/index.js +11 -0
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +68 -0
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +68 -0
- package/dist/libs/contracts/dist/integrations/providers/powens.js +116 -0
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +73 -0
- package/dist/libs/contracts/dist/integrations/providers/registry.js +10 -0
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +83 -0
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +61 -0
- package/dist/libs/contracts/dist/jsonschema.js +1 -0
- package/dist/libs/contracts/dist/knowledge/contracts.js +306 -0
- package/dist/libs/contracts/dist/knowledge/index.js +7 -0
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +34 -0
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +34 -0
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +38 -0
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +6 -0
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +34 -0
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +37 -0
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +34 -0
- package/dist/libs/contracts/dist/llm/exporters.js +19 -0
- package/dist/libs/contracts/dist/llm/index.js +2 -0
- package/dist/libs/contracts/dist/llm/prompts.js +1 -0
- package/dist/libs/contracts/dist/onboarding-base.js +196 -0
- package/dist/libs/contracts/dist/openapi.js +1 -0
- package/dist/libs/contracts/dist/ownership.js +21 -0
- package/dist/libs/contracts/dist/presentations.js +1 -0
- package/dist/libs/contracts/dist/presentations.v2.js +11 -0
- package/dist/libs/contracts/dist/prompt.js +1 -0
- package/dist/libs/contracts/dist/promptRegistry.js +1 -0
- package/dist/libs/contracts/dist/regenerator/index.js +1 -0
- package/dist/libs/contracts/dist/regenerator/service.js +6 -0
- package/dist/libs/contracts/dist/registry.js +2 -0
- package/dist/libs/contracts/dist/resources.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +2 -0
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +49 -0
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +236 -0
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +34 -0
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +2 -0
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/index.js +6 -0
- package/dist/libs/contracts/dist/server/graphql-pothos.js +6 -0
- package/dist/libs/contracts/dist/server/index.js +8 -0
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +4 -0
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +2 -0
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +2 -0
- package/dist/libs/contracts/dist/server/mcp/registerTools.js +1 -0
- package/dist/libs/contracts/dist/server/provider-mcp.js +1 -0
- package/dist/libs/contracts/dist/server/rest-elysia.js +1 -0
- package/dist/libs/contracts/dist/server/rest-express.js +1 -0
- package/dist/libs/contracts/dist/server/rest-generic.js +1 -0
- package/dist/libs/contracts/dist/server/rest-next-app.js +1 -0
- package/dist/libs/contracts/dist/server/rest-next-pages.js +1 -0
- package/dist/libs/contracts/dist/spec.js +34 -0
- package/dist/libs/contracts/dist/telemetry/index.js +1 -0
- package/dist/libs/contracts/dist/telemetry/tracker.js +1 -0
- package/dist/libs/contracts/dist/tests/index.js +1 -0
- package/dist/libs/contracts/dist/tests/runner.js +2 -0
- package/dist/libs/contracts/dist/workflow/index.js +1 -0
- package/dist/libs/contracts/dist/workflow/runner.js +1 -0
- package/dist/libs/schema/dist/EnumType.js +56 -0
- package/dist/libs/schema/dist/FieldType.js +49 -0
- package/dist/libs/schema/dist/ScalarTypeEnum.js +236 -0
- package/dist/libs/schema/dist/SchemaModel.js +39 -0
- package/dist/libs/schema/dist/entity/defineEntity.js +1 -0
- package/dist/libs/schema/dist/entity/index.js +2 -0
- package/dist/libs/schema/dist/entity/types.js +1 -0
- package/dist/libs/schema/dist/index.js +6 -0
- package/dist/query/query.contracts.d.ts +44 -44
- package/dist/query/query.contracts.js +1 -1
- package/dist/query/query.enum.d.ts +2 -2
- package/dist/query/query.enum.js +2 -1
- package/dist/query/query.schema.d.ts +34 -34
- package/dist/query/query.schema.js +3 -1
- package/package.json +10 -10
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
import * as _lssm_lib_schema71 from "@lssm/lib.schema";
|
|
2
1
|
import * as _lssm_lib_contracts5 from "@lssm/lib.contracts";
|
|
2
|
+
import * as _lssm_lib_schema37 from "@lssm/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/dashboard/dashboard.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a new analytics dashboard.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateDashboardContract: _lssm_lib_contracts5.ContractSpec<
|
|
8
|
+
declare const CreateDashboardContract: _lssm_lib_contracts5.ContractSpec<_lssm_lib_schema37.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
slug: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
description: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
refreshInterval: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema37.EnumType<[string, string, string, string, string, string]>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
dateRange: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema37.FieldType<unknown, unknown>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
|
-
}>,
|
|
29
|
+
}>, _lssm_lib_schema37.SchemaModel<{
|
|
30
30
|
id: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
name: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
slug: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
description: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
44
44
|
isOptional: true;
|
|
45
45
|
};
|
|
46
46
|
status: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema37.EnumType<[string, string, string]>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
refreshInterval: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema37.EnumType<[string, string, string, string, string, string]>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
isPublic: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema37.FieldType<boolean, boolean>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
widgets: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema37.SchemaModel<{
|
|
60
60
|
id: {
|
|
61
|
-
type:
|
|
61
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
62
62
|
isOptional: false;
|
|
63
63
|
};
|
|
64
64
|
dashboardId: {
|
|
65
|
-
type:
|
|
65
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
66
66
|
isOptional: false;
|
|
67
67
|
};
|
|
68
68
|
name: {
|
|
69
|
-
type:
|
|
69
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
70
70
|
isOptional: false;
|
|
71
71
|
};
|
|
72
72
|
type: {
|
|
73
|
-
type:
|
|
73
|
+
type: _lssm_lib_schema37.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
74
74
|
isOptional: false;
|
|
75
75
|
};
|
|
76
76
|
gridX: {
|
|
77
|
-
type:
|
|
77
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
78
78
|
isOptional: false;
|
|
79
79
|
};
|
|
80
80
|
gridY: {
|
|
81
|
-
type:
|
|
81
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
82
82
|
isOptional: false;
|
|
83
83
|
};
|
|
84
84
|
gridWidth: {
|
|
85
|
-
type:
|
|
85
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
86
86
|
isOptional: false;
|
|
87
87
|
};
|
|
88
88
|
gridHeight: {
|
|
89
|
-
type:
|
|
89
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
queryId: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
94
94
|
isOptional: true;
|
|
95
95
|
};
|
|
96
96
|
config: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema37.FieldType<unknown, unknown>;
|
|
98
98
|
isOptional: true;
|
|
99
99
|
};
|
|
100
100
|
}>;
|
|
@@ -102,82 +102,82 @@ declare const CreateDashboardContract: _lssm_lib_contracts5.ContractSpec<_lssm_l
|
|
|
102
102
|
isOptional: true;
|
|
103
103
|
};
|
|
104
104
|
createdAt: {
|
|
105
|
-
type:
|
|
105
|
+
type: _lssm_lib_schema37.FieldType<Date, string>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
}>, {
|
|
109
109
|
name: string;
|
|
110
110
|
version: number;
|
|
111
111
|
when: string;
|
|
112
|
-
payload:
|
|
112
|
+
payload: _lssm_lib_schema37.SchemaModel<{
|
|
113
113
|
id: {
|
|
114
|
-
type:
|
|
114
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
115
115
|
isOptional: false;
|
|
116
116
|
};
|
|
117
117
|
name: {
|
|
118
|
-
type:
|
|
118
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
119
119
|
isOptional: false;
|
|
120
120
|
};
|
|
121
121
|
slug: {
|
|
122
|
-
type:
|
|
122
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
123
123
|
isOptional: false;
|
|
124
124
|
};
|
|
125
125
|
description: {
|
|
126
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
127
127
|
isOptional: true;
|
|
128
128
|
};
|
|
129
129
|
status: {
|
|
130
|
-
type:
|
|
130
|
+
type: _lssm_lib_schema37.EnumType<[string, string, string]>;
|
|
131
131
|
isOptional: false;
|
|
132
132
|
};
|
|
133
133
|
refreshInterval: {
|
|
134
|
-
type:
|
|
134
|
+
type: _lssm_lib_schema37.EnumType<[string, string, string, string, string, string]>;
|
|
135
135
|
isOptional: false;
|
|
136
136
|
};
|
|
137
137
|
isPublic: {
|
|
138
|
-
type:
|
|
138
|
+
type: _lssm_lib_schema37.FieldType<boolean, boolean>;
|
|
139
139
|
isOptional: false;
|
|
140
140
|
};
|
|
141
141
|
widgets: {
|
|
142
|
-
type:
|
|
142
|
+
type: _lssm_lib_schema37.SchemaModel<{
|
|
143
143
|
id: {
|
|
144
|
-
type:
|
|
144
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
145
145
|
isOptional: false;
|
|
146
146
|
};
|
|
147
147
|
dashboardId: {
|
|
148
|
-
type:
|
|
148
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
149
149
|
isOptional: false;
|
|
150
150
|
};
|
|
151
151
|
name: {
|
|
152
|
-
type:
|
|
152
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
153
153
|
isOptional: false;
|
|
154
154
|
};
|
|
155
155
|
type: {
|
|
156
|
-
type:
|
|
156
|
+
type: _lssm_lib_schema37.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
157
157
|
isOptional: false;
|
|
158
158
|
};
|
|
159
159
|
gridX: {
|
|
160
|
-
type:
|
|
160
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
161
161
|
isOptional: false;
|
|
162
162
|
};
|
|
163
163
|
gridY: {
|
|
164
|
-
type:
|
|
164
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
165
165
|
isOptional: false;
|
|
166
166
|
};
|
|
167
167
|
gridWidth: {
|
|
168
|
-
type:
|
|
168
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
169
169
|
isOptional: false;
|
|
170
170
|
};
|
|
171
171
|
gridHeight: {
|
|
172
|
-
type:
|
|
172
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
173
173
|
isOptional: false;
|
|
174
174
|
};
|
|
175
175
|
queryId: {
|
|
176
|
-
type:
|
|
176
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
177
177
|
isOptional: true;
|
|
178
178
|
};
|
|
179
179
|
config: {
|
|
180
|
-
type:
|
|
180
|
+
type: _lssm_lib_schema37.FieldType<unknown, unknown>;
|
|
181
181
|
isOptional: true;
|
|
182
182
|
};
|
|
183
183
|
}>;
|
|
@@ -185,7 +185,7 @@ declare const CreateDashboardContract: _lssm_lib_contracts5.ContractSpec<_lssm_l
|
|
|
185
185
|
isOptional: true;
|
|
186
186
|
};
|
|
187
187
|
createdAt: {
|
|
188
|
-
type:
|
|
188
|
+
type: _lssm_lib_schema37.FieldType<Date, string>;
|
|
189
189
|
isOptional: false;
|
|
190
190
|
};
|
|
191
191
|
}>;
|
|
@@ -193,127 +193,127 @@ declare const CreateDashboardContract: _lssm_lib_contracts5.ContractSpec<_lssm_l
|
|
|
193
193
|
/**
|
|
194
194
|
* Add a widget to a dashboard.
|
|
195
195
|
*/
|
|
196
|
-
declare const AddWidgetContract: _lssm_lib_contracts5.ContractSpec<
|
|
196
|
+
declare const AddWidgetContract: _lssm_lib_contracts5.ContractSpec<_lssm_lib_schema37.SchemaModel<{
|
|
197
197
|
dashboardId: {
|
|
198
|
-
type:
|
|
198
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
199
199
|
isOptional: false;
|
|
200
200
|
};
|
|
201
201
|
name: {
|
|
202
|
-
type:
|
|
202
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
203
203
|
isOptional: false;
|
|
204
204
|
};
|
|
205
205
|
type: {
|
|
206
|
-
type:
|
|
206
|
+
type: _lssm_lib_schema37.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
207
207
|
isOptional: false;
|
|
208
208
|
};
|
|
209
209
|
gridX: {
|
|
210
|
-
type:
|
|
210
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
211
211
|
isOptional: true;
|
|
212
212
|
};
|
|
213
213
|
gridY: {
|
|
214
|
-
type:
|
|
214
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
215
215
|
isOptional: true;
|
|
216
216
|
};
|
|
217
217
|
gridWidth: {
|
|
218
|
-
type:
|
|
218
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
219
219
|
isOptional: true;
|
|
220
220
|
};
|
|
221
221
|
gridHeight: {
|
|
222
|
-
type:
|
|
222
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
223
223
|
isOptional: true;
|
|
224
224
|
};
|
|
225
225
|
queryId: {
|
|
226
|
-
type:
|
|
226
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
227
227
|
isOptional: true;
|
|
228
228
|
};
|
|
229
229
|
config: {
|
|
230
|
-
type:
|
|
230
|
+
type: _lssm_lib_schema37.FieldType<unknown, unknown>;
|
|
231
231
|
isOptional: true;
|
|
232
232
|
};
|
|
233
|
-
}>,
|
|
233
|
+
}>, _lssm_lib_schema37.SchemaModel<{
|
|
234
234
|
id: {
|
|
235
|
-
type:
|
|
235
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
236
236
|
isOptional: false;
|
|
237
237
|
};
|
|
238
238
|
dashboardId: {
|
|
239
|
-
type:
|
|
239
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
240
240
|
isOptional: false;
|
|
241
241
|
};
|
|
242
242
|
name: {
|
|
243
|
-
type:
|
|
243
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
244
244
|
isOptional: false;
|
|
245
245
|
};
|
|
246
246
|
type: {
|
|
247
|
-
type:
|
|
247
|
+
type: _lssm_lib_schema37.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
248
248
|
isOptional: false;
|
|
249
249
|
};
|
|
250
250
|
gridX: {
|
|
251
|
-
type:
|
|
251
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
252
252
|
isOptional: false;
|
|
253
253
|
};
|
|
254
254
|
gridY: {
|
|
255
|
-
type:
|
|
255
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
256
256
|
isOptional: false;
|
|
257
257
|
};
|
|
258
258
|
gridWidth: {
|
|
259
|
-
type:
|
|
259
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
260
260
|
isOptional: false;
|
|
261
261
|
};
|
|
262
262
|
gridHeight: {
|
|
263
|
-
type:
|
|
263
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
264
264
|
isOptional: false;
|
|
265
265
|
};
|
|
266
266
|
queryId: {
|
|
267
|
-
type:
|
|
267
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
268
268
|
isOptional: true;
|
|
269
269
|
};
|
|
270
270
|
config: {
|
|
271
|
-
type:
|
|
271
|
+
type: _lssm_lib_schema37.FieldType<unknown, unknown>;
|
|
272
272
|
isOptional: true;
|
|
273
273
|
};
|
|
274
274
|
}>, {
|
|
275
275
|
name: string;
|
|
276
276
|
version: number;
|
|
277
277
|
when: string;
|
|
278
|
-
payload:
|
|
278
|
+
payload: _lssm_lib_schema37.SchemaModel<{
|
|
279
279
|
id: {
|
|
280
|
-
type:
|
|
280
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
281
281
|
isOptional: false;
|
|
282
282
|
};
|
|
283
283
|
dashboardId: {
|
|
284
|
-
type:
|
|
284
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
285
285
|
isOptional: false;
|
|
286
286
|
};
|
|
287
287
|
name: {
|
|
288
|
-
type:
|
|
288
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
289
289
|
isOptional: false;
|
|
290
290
|
};
|
|
291
291
|
type: {
|
|
292
|
-
type:
|
|
292
|
+
type: _lssm_lib_schema37.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
293
293
|
isOptional: false;
|
|
294
294
|
};
|
|
295
295
|
gridX: {
|
|
296
|
-
type:
|
|
296
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
297
297
|
isOptional: false;
|
|
298
298
|
};
|
|
299
299
|
gridY: {
|
|
300
|
-
type:
|
|
300
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
301
301
|
isOptional: false;
|
|
302
302
|
};
|
|
303
303
|
gridWidth: {
|
|
304
|
-
type:
|
|
304
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
305
305
|
isOptional: false;
|
|
306
306
|
};
|
|
307
307
|
gridHeight: {
|
|
308
|
-
type:
|
|
308
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
309
309
|
isOptional: false;
|
|
310
310
|
};
|
|
311
311
|
queryId: {
|
|
312
|
-
type:
|
|
312
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
313
313
|
isOptional: true;
|
|
314
314
|
};
|
|
315
315
|
config: {
|
|
316
|
-
type:
|
|
316
|
+
type: _lssm_lib_schema37.FieldType<unknown, unknown>;
|
|
317
317
|
isOptional: true;
|
|
318
318
|
};
|
|
319
319
|
}>;
|
|
@@ -321,96 +321,96 @@ declare const AddWidgetContract: _lssm_lib_contracts5.ContractSpec<_lssm_lib_sch
|
|
|
321
321
|
/**
|
|
322
322
|
* List dashboards.
|
|
323
323
|
*/
|
|
324
|
-
declare const ListDashboardsContract: _lssm_lib_contracts5.ContractSpec<
|
|
324
|
+
declare const ListDashboardsContract: _lssm_lib_contracts5.ContractSpec<_lssm_lib_schema37.SchemaModel<{
|
|
325
325
|
status: {
|
|
326
|
-
type:
|
|
326
|
+
type: _lssm_lib_schema37.EnumType<[string, string, string]>;
|
|
327
327
|
isOptional: true;
|
|
328
328
|
};
|
|
329
329
|
search: {
|
|
330
|
-
type:
|
|
330
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
331
331
|
isOptional: true;
|
|
332
332
|
};
|
|
333
333
|
limit: {
|
|
334
|
-
type:
|
|
334
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
335
335
|
isOptional: true;
|
|
336
336
|
defaultValue: number;
|
|
337
337
|
};
|
|
338
338
|
offset: {
|
|
339
|
-
type:
|
|
339
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
340
340
|
isOptional: true;
|
|
341
341
|
defaultValue: number;
|
|
342
342
|
};
|
|
343
|
-
}>,
|
|
343
|
+
}>, _lssm_lib_schema37.SchemaModel<{
|
|
344
344
|
dashboards: {
|
|
345
|
-
type:
|
|
345
|
+
type: _lssm_lib_schema37.SchemaModel<{
|
|
346
346
|
id: {
|
|
347
|
-
type:
|
|
347
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
348
348
|
isOptional: false;
|
|
349
349
|
};
|
|
350
350
|
name: {
|
|
351
|
-
type:
|
|
351
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
352
352
|
isOptional: false;
|
|
353
353
|
};
|
|
354
354
|
slug: {
|
|
355
|
-
type:
|
|
355
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
356
356
|
isOptional: false;
|
|
357
357
|
};
|
|
358
358
|
description: {
|
|
359
|
-
type:
|
|
359
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
360
360
|
isOptional: true;
|
|
361
361
|
};
|
|
362
362
|
status: {
|
|
363
|
-
type:
|
|
363
|
+
type: _lssm_lib_schema37.EnumType<[string, string, string]>;
|
|
364
364
|
isOptional: false;
|
|
365
365
|
};
|
|
366
366
|
refreshInterval: {
|
|
367
|
-
type:
|
|
367
|
+
type: _lssm_lib_schema37.EnumType<[string, string, string, string, string, string]>;
|
|
368
368
|
isOptional: false;
|
|
369
369
|
};
|
|
370
370
|
isPublic: {
|
|
371
|
-
type:
|
|
371
|
+
type: _lssm_lib_schema37.FieldType<boolean, boolean>;
|
|
372
372
|
isOptional: false;
|
|
373
373
|
};
|
|
374
374
|
widgets: {
|
|
375
|
-
type:
|
|
375
|
+
type: _lssm_lib_schema37.SchemaModel<{
|
|
376
376
|
id: {
|
|
377
|
-
type:
|
|
377
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
378
378
|
isOptional: false;
|
|
379
379
|
};
|
|
380
380
|
dashboardId: {
|
|
381
|
-
type:
|
|
381
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
382
382
|
isOptional: false;
|
|
383
383
|
};
|
|
384
384
|
name: {
|
|
385
|
-
type:
|
|
385
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
386
386
|
isOptional: false;
|
|
387
387
|
};
|
|
388
388
|
type: {
|
|
389
|
-
type:
|
|
389
|
+
type: _lssm_lib_schema37.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
390
390
|
isOptional: false;
|
|
391
391
|
};
|
|
392
392
|
gridX: {
|
|
393
|
-
type:
|
|
393
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
394
394
|
isOptional: false;
|
|
395
395
|
};
|
|
396
396
|
gridY: {
|
|
397
|
-
type:
|
|
397
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
398
398
|
isOptional: false;
|
|
399
399
|
};
|
|
400
400
|
gridWidth: {
|
|
401
|
-
type:
|
|
401
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
402
402
|
isOptional: false;
|
|
403
403
|
};
|
|
404
404
|
gridHeight: {
|
|
405
|
-
type:
|
|
405
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
406
406
|
isOptional: false;
|
|
407
407
|
};
|
|
408
408
|
queryId: {
|
|
409
|
-
type:
|
|
409
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
410
410
|
isOptional: true;
|
|
411
411
|
};
|
|
412
412
|
config: {
|
|
413
|
-
type:
|
|
413
|
+
type: _lssm_lib_schema37.FieldType<unknown, unknown>;
|
|
414
414
|
isOptional: true;
|
|
415
415
|
};
|
|
416
416
|
}>;
|
|
@@ -418,7 +418,7 @@ declare const ListDashboardsContract: _lssm_lib_contracts5.ContractSpec<_lssm_li
|
|
|
418
418
|
isOptional: true;
|
|
419
419
|
};
|
|
420
420
|
createdAt: {
|
|
421
|
-
type:
|
|
421
|
+
type: _lssm_lib_schema37.FieldType<Date, string>;
|
|
422
422
|
isOptional: false;
|
|
423
423
|
};
|
|
424
424
|
}>;
|
|
@@ -426,95 +426,95 @@ declare const ListDashboardsContract: _lssm_lib_contracts5.ContractSpec<_lssm_li
|
|
|
426
426
|
isOptional: false;
|
|
427
427
|
};
|
|
428
428
|
total: {
|
|
429
|
-
type:
|
|
429
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
430
430
|
isOptional: false;
|
|
431
431
|
};
|
|
432
432
|
}>, undefined>;
|
|
433
433
|
/**
|
|
434
434
|
* Get a dashboard with widgets.
|
|
435
435
|
*/
|
|
436
|
-
declare const GetDashboardContract: _lssm_lib_contracts5.ContractSpec<
|
|
436
|
+
declare const GetDashboardContract: _lssm_lib_contracts5.ContractSpec<_lssm_lib_schema37.SchemaModel<{
|
|
437
437
|
dashboardId: {
|
|
438
|
-
type:
|
|
438
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
439
439
|
isOptional: true;
|
|
440
440
|
};
|
|
441
441
|
slug: {
|
|
442
|
-
type:
|
|
442
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
443
443
|
isOptional: true;
|
|
444
444
|
};
|
|
445
445
|
shareToken: {
|
|
446
|
-
type:
|
|
446
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
447
447
|
isOptional: true;
|
|
448
448
|
};
|
|
449
|
-
}>,
|
|
449
|
+
}>, _lssm_lib_schema37.SchemaModel<{
|
|
450
450
|
id: {
|
|
451
|
-
type:
|
|
451
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
452
452
|
isOptional: false;
|
|
453
453
|
};
|
|
454
454
|
name: {
|
|
455
|
-
type:
|
|
455
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
456
456
|
isOptional: false;
|
|
457
457
|
};
|
|
458
458
|
slug: {
|
|
459
|
-
type:
|
|
459
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
460
460
|
isOptional: false;
|
|
461
461
|
};
|
|
462
462
|
description: {
|
|
463
|
-
type:
|
|
463
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
464
464
|
isOptional: true;
|
|
465
465
|
};
|
|
466
466
|
status: {
|
|
467
|
-
type:
|
|
467
|
+
type: _lssm_lib_schema37.EnumType<[string, string, string]>;
|
|
468
468
|
isOptional: false;
|
|
469
469
|
};
|
|
470
470
|
refreshInterval: {
|
|
471
|
-
type:
|
|
471
|
+
type: _lssm_lib_schema37.EnumType<[string, string, string, string, string, string]>;
|
|
472
472
|
isOptional: false;
|
|
473
473
|
};
|
|
474
474
|
isPublic: {
|
|
475
|
-
type:
|
|
475
|
+
type: _lssm_lib_schema37.FieldType<boolean, boolean>;
|
|
476
476
|
isOptional: false;
|
|
477
477
|
};
|
|
478
478
|
widgets: {
|
|
479
|
-
type:
|
|
479
|
+
type: _lssm_lib_schema37.SchemaModel<{
|
|
480
480
|
id: {
|
|
481
|
-
type:
|
|
481
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
482
482
|
isOptional: false;
|
|
483
483
|
};
|
|
484
484
|
dashboardId: {
|
|
485
|
-
type:
|
|
485
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
486
486
|
isOptional: false;
|
|
487
487
|
};
|
|
488
488
|
name: {
|
|
489
|
-
type:
|
|
489
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
490
490
|
isOptional: false;
|
|
491
491
|
};
|
|
492
492
|
type: {
|
|
493
|
-
type:
|
|
493
|
+
type: _lssm_lib_schema37.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
494
494
|
isOptional: false;
|
|
495
495
|
};
|
|
496
496
|
gridX: {
|
|
497
|
-
type:
|
|
497
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
498
498
|
isOptional: false;
|
|
499
499
|
};
|
|
500
500
|
gridY: {
|
|
501
|
-
type:
|
|
501
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
502
502
|
isOptional: false;
|
|
503
503
|
};
|
|
504
504
|
gridWidth: {
|
|
505
|
-
type:
|
|
505
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
506
506
|
isOptional: false;
|
|
507
507
|
};
|
|
508
508
|
gridHeight: {
|
|
509
|
-
type:
|
|
509
|
+
type: _lssm_lib_schema37.FieldType<number, number>;
|
|
510
510
|
isOptional: false;
|
|
511
511
|
};
|
|
512
512
|
queryId: {
|
|
513
|
-
type:
|
|
513
|
+
type: _lssm_lib_schema37.FieldType<string, string>;
|
|
514
514
|
isOptional: true;
|
|
515
515
|
};
|
|
516
516
|
config: {
|
|
517
|
-
type:
|
|
517
|
+
type: _lssm_lib_schema37.FieldType<unknown, unknown>;
|
|
518
518
|
isOptional: true;
|
|
519
519
|
};
|
|
520
520
|
}>;
|
|
@@ -522,7 +522,7 @@ declare const GetDashboardContract: _lssm_lib_contracts5.ContractSpec<_lssm_lib_
|
|
|
522
522
|
isOptional: true;
|
|
523
523
|
};
|
|
524
524
|
createdAt: {
|
|
525
|
-
type:
|
|
525
|
+
type: _lssm_lib_schema37.FieldType<Date, string>;
|
|
526
526
|
isOptional: false;
|
|
527
527
|
};
|
|
528
528
|
}>, undefined>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { defineCommand, defineQuery } from "../libs/contracts/dist/spec.js";
|
|
1
2
|
import { AddWidgetInputModel, CreateDashboardInputModel, DashboardModel, GetDashboardInputModel, ListDashboardsInputModel, ListDashboardsOutputModel, WidgetModel } from "./dashboard.schema.js";
|
|
2
|
-
import { defineCommand, defineQuery } from "@lssm/lib.contracts/spec";
|
|
3
3
|
|
|
4
4
|
//#region src/dashboard/dashboard.contracts.ts
|
|
5
5
|
const OWNERS = ["@example.analytics-dashboard"];
|