@lssm/example.analytics-dashboard 0.0.0-canary-20251220041653 → 0.0.0-canary-20251221114240
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.enum.d.ts +4 -4
- package/dist/dashboard/dashboard.enum.d.ts.map +1 -1
- package/dist/dashboard/dashboard.operation.d.ts +531 -0
- package/dist/dashboard/{dashboard.contracts.d.ts.map → dashboard.operation.d.ts.map} +1 -1
- package/dist/dashboard/{dashboard.contracts.js → dashboard.operation.js} +3 -3
- package/dist/dashboard/dashboard.operation.js.map +1 -0
- package/dist/dashboard/index.d.ts +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +6 -6
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map +1 -1
- package/dist/libs/contracts/dist/index.js +3 -1
- package/dist/libs/contracts/dist/integrations/contracts.js +1 -1
- package/dist/libs/contracts/dist/integrations/contracts.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +1 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
- package/dist/libs/contracts/dist/knowledge/contracts.js +1 -1
- package/dist/libs/contracts/dist/knowledge/contracts.js.map +1 -1
- package/dist/libs/contracts/dist/llm/exporters.js.map +1 -1
- package/dist/libs/contracts/dist/onboarding-base.js +1 -1
- package/dist/libs/contracts/dist/onboarding-base.js.map +1 -1
- package/dist/libs/contracts/dist/{spec.js → operation.js} +2 -2
- package/dist/libs/contracts/dist/operation.js.map +1 -0
- package/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js +98 -0
- package/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js.map +1 -0
- package/dist/libs/contracts/dist/workspace-config/index.js +1 -0
- package/dist/query/index.d.ts +1 -1
- package/dist/query/index.js +1 -1
- package/dist/query/query.enum.d.ts +2 -2
- package/dist/query/query.operation.d.ts +178 -0
- package/dist/query/{query.contracts.d.ts.map → query.operation.d.ts.map} +1 -1
- package/dist/query/{query.contracts.js → query.operation.js} +3 -3
- package/dist/query/query.operation.js.map +1 -0
- package/package.json +14 -14
- package/dist/dashboard/dashboard.contracts.d.ts +0 -531
- package/dist/dashboard/dashboard.contracts.js.map +0 -1
- package/dist/libs/contracts/dist/spec.js.map +0 -1
- package/dist/query/query.contracts.d.ts +0 -178
- package/dist/query/query.contracts.js.map +0 -1
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
import * as _lssm_lib_contracts9 from "@lssm/lib.contracts";
|
|
2
|
-
import * as _lssm_lib_schema248 from "@lssm/lib.schema";
|
|
3
|
-
|
|
4
|
-
//#region src/query/query.contracts.d.ts
|
|
5
|
-
/**
|
|
6
|
-
* Create a data query.
|
|
7
|
-
*/
|
|
8
|
-
declare const CreateQueryContract: _lssm_lib_contracts9.ContractSpec<_lssm_lib_schema248.SchemaModel<{
|
|
9
|
-
name: {
|
|
10
|
-
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
11
|
-
isOptional: false;
|
|
12
|
-
};
|
|
13
|
-
description: {
|
|
14
|
-
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
15
|
-
isOptional: true;
|
|
16
|
-
};
|
|
17
|
-
type: {
|
|
18
|
-
type: _lssm_lib_schema248.EnumType<[string, string, string, string]>;
|
|
19
|
-
isOptional: false;
|
|
20
|
-
};
|
|
21
|
-
definition: {
|
|
22
|
-
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
23
|
-
isOptional: false;
|
|
24
|
-
};
|
|
25
|
-
sql: {
|
|
26
|
-
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
27
|
-
isOptional: true;
|
|
28
|
-
};
|
|
29
|
-
metricIds: {
|
|
30
|
-
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
31
|
-
isArray: true;
|
|
32
|
-
isOptional: true;
|
|
33
|
-
};
|
|
34
|
-
cacheTtlSeconds: {
|
|
35
|
-
type: _lssm_lib_schema248.FieldType<number, number>;
|
|
36
|
-
isOptional: true;
|
|
37
|
-
};
|
|
38
|
-
isShared: {
|
|
39
|
-
type: _lssm_lib_schema248.FieldType<boolean, boolean>;
|
|
40
|
-
isOptional: true;
|
|
41
|
-
};
|
|
42
|
-
}>, _lssm_lib_schema248.SchemaModel<{
|
|
43
|
-
id: {
|
|
44
|
-
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
45
|
-
isOptional: false;
|
|
46
|
-
};
|
|
47
|
-
name: {
|
|
48
|
-
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
49
|
-
isOptional: false;
|
|
50
|
-
};
|
|
51
|
-
description: {
|
|
52
|
-
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
53
|
-
isOptional: true;
|
|
54
|
-
};
|
|
55
|
-
type: {
|
|
56
|
-
type: _lssm_lib_schema248.EnumType<[string, string, string, string]>;
|
|
57
|
-
isOptional: false;
|
|
58
|
-
};
|
|
59
|
-
definition: {
|
|
60
|
-
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
61
|
-
isOptional: false;
|
|
62
|
-
};
|
|
63
|
-
sql: {
|
|
64
|
-
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
65
|
-
isOptional: true;
|
|
66
|
-
};
|
|
67
|
-
cacheTtlSeconds: {
|
|
68
|
-
type: _lssm_lib_schema248.FieldType<number, number>;
|
|
69
|
-
isOptional: false;
|
|
70
|
-
};
|
|
71
|
-
isShared: {
|
|
72
|
-
type: _lssm_lib_schema248.FieldType<boolean, boolean>;
|
|
73
|
-
isOptional: false;
|
|
74
|
-
};
|
|
75
|
-
createdAt: {
|
|
76
|
-
type: _lssm_lib_schema248.FieldType<Date, string>;
|
|
77
|
-
isOptional: false;
|
|
78
|
-
};
|
|
79
|
-
}>, {
|
|
80
|
-
name: string;
|
|
81
|
-
version: number;
|
|
82
|
-
when: string;
|
|
83
|
-
payload: _lssm_lib_schema248.SchemaModel<{
|
|
84
|
-
id: {
|
|
85
|
-
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
86
|
-
isOptional: false;
|
|
87
|
-
};
|
|
88
|
-
name: {
|
|
89
|
-
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
90
|
-
isOptional: false;
|
|
91
|
-
};
|
|
92
|
-
description: {
|
|
93
|
-
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
94
|
-
isOptional: true;
|
|
95
|
-
};
|
|
96
|
-
type: {
|
|
97
|
-
type: _lssm_lib_schema248.EnumType<[string, string, string, string]>;
|
|
98
|
-
isOptional: false;
|
|
99
|
-
};
|
|
100
|
-
definition: {
|
|
101
|
-
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
102
|
-
isOptional: false;
|
|
103
|
-
};
|
|
104
|
-
sql: {
|
|
105
|
-
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
106
|
-
isOptional: true;
|
|
107
|
-
};
|
|
108
|
-
cacheTtlSeconds: {
|
|
109
|
-
type: _lssm_lib_schema248.FieldType<number, number>;
|
|
110
|
-
isOptional: false;
|
|
111
|
-
};
|
|
112
|
-
isShared: {
|
|
113
|
-
type: _lssm_lib_schema248.FieldType<boolean, boolean>;
|
|
114
|
-
isOptional: false;
|
|
115
|
-
};
|
|
116
|
-
createdAt: {
|
|
117
|
-
type: _lssm_lib_schema248.FieldType<Date, string>;
|
|
118
|
-
isOptional: false;
|
|
119
|
-
};
|
|
120
|
-
}>;
|
|
121
|
-
}[]>;
|
|
122
|
-
/**
|
|
123
|
-
* Execute a data query.
|
|
124
|
-
*/
|
|
125
|
-
declare const ExecuteQueryContract: _lssm_lib_contracts9.ContractSpec<_lssm_lib_schema248.SchemaModel<{
|
|
126
|
-
queryId: {
|
|
127
|
-
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
128
|
-
isOptional: false;
|
|
129
|
-
};
|
|
130
|
-
parameters: {
|
|
131
|
-
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
132
|
-
isOptional: true;
|
|
133
|
-
};
|
|
134
|
-
dateRange: {
|
|
135
|
-
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
136
|
-
isOptional: true;
|
|
137
|
-
};
|
|
138
|
-
filters: {
|
|
139
|
-
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
140
|
-
isOptional: true;
|
|
141
|
-
};
|
|
142
|
-
forceRefresh: {
|
|
143
|
-
type: _lssm_lib_schema248.FieldType<boolean, boolean>;
|
|
144
|
-
isOptional: true;
|
|
145
|
-
};
|
|
146
|
-
}>, _lssm_lib_schema248.SchemaModel<{
|
|
147
|
-
queryId: {
|
|
148
|
-
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
149
|
-
isOptional: false;
|
|
150
|
-
};
|
|
151
|
-
data: {
|
|
152
|
-
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
153
|
-
isOptional: false;
|
|
154
|
-
};
|
|
155
|
-
columns: {
|
|
156
|
-
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
157
|
-
isOptional: false;
|
|
158
|
-
};
|
|
159
|
-
rowCount: {
|
|
160
|
-
type: _lssm_lib_schema248.FieldType<number, number>;
|
|
161
|
-
isOptional: false;
|
|
162
|
-
};
|
|
163
|
-
executionTimeMs: {
|
|
164
|
-
type: _lssm_lib_schema248.FieldType<number, number>;
|
|
165
|
-
isOptional: false;
|
|
166
|
-
};
|
|
167
|
-
cachedAt: {
|
|
168
|
-
type: _lssm_lib_schema248.FieldType<Date, string>;
|
|
169
|
-
isOptional: true;
|
|
170
|
-
};
|
|
171
|
-
error: {
|
|
172
|
-
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
173
|
-
isOptional: true;
|
|
174
|
-
};
|
|
175
|
-
}>, undefined>;
|
|
176
|
-
//#endregion
|
|
177
|
-
export { CreateQueryContract, ExecuteQueryContract };
|
|
178
|
-
//# sourceMappingURL=query.contracts.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"query.contracts.js","names":[],"sources":["../../src/query/query.contracts.ts"],"sourcesContent":["import { defineCommand, defineQuery } from '@lssm/lib.contracts/spec';\nimport {\n QueryModel,\n QueryResultModel,\n CreateQueryInputModel,\n ExecuteQueryInputModel,\n} from './query.schema';\n\nconst OWNERS = ['@example.analytics-dashboard'] as const;\n\n/**\n * Create a data query.\n */\nexport const CreateQueryContract = defineCommand({\n meta: {\n name: 'analytics.query.create',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['analytics', 'query', 'create'],\n description: 'Create a data query.',\n goal: 'Define reusable data queries.',\n context: 'Query builder.',\n },\n io: { input: CreateQueryInputModel, output: QueryModel },\n policy: { auth: 'user' },\n sideEffects: {\n emits: [\n {\n name: 'analytics.query.created',\n version: 1,\n when: 'Query created',\n payload: QueryModel,\n },\n ],\n audit: ['analytics.query.created'],\n },\n});\n\n/**\n * Execute a data query.\n */\nexport const ExecuteQueryContract = defineQuery({\n meta: {\n name: 'analytics.query.execute',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['analytics', 'query', 'execute'],\n description: 'Execute a data query.',\n goal: 'Fetch data for visualizations.',\n context: 'Dashboard rendering.',\n },\n io: { input: ExecuteQueryInputModel, output: QueryResultModel },\n policy: { auth: 'user' },\n});\n"],"mappings":";;;;AAQA,MAAM,SAAS,CAAC,+BAA+B;;;;AAK/C,MAAa,sBAAsB,cAAc;CAC/C,MAAM;EACJ,MAAM;EACN,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,GAAG,OAAO;EACnB,MAAM;GAAC;GAAa;GAAS;GAAS;EACtC,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAAI;EAAE,OAAO;EAAuB,QAAQ;EAAY;CACxD,QAAQ,EAAE,MAAM,QAAQ;CACxB,aAAa;EACX,OAAO,CACL;GACE,MAAM;GACN,SAAS;GACT,MAAM;GACN,SAAS;GACV,CACF;EACD,OAAO,CAAC,0BAA0B;EACnC;CACF,CAAC;;;;AAKF,MAAa,uBAAuB,YAAY;CAC9C,MAAM;EACJ,MAAM;EACN,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,GAAG,OAAO;EACnB,MAAM;GAAC;GAAa;GAAS;GAAU;EACvC,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAAI;EAAE,OAAO;EAAwB,QAAQ;EAAkB;CAC/D,QAAQ,EAAE,MAAM,QAAQ;CACzB,CAAC"}
|