@qlever-llc/trellis 0.8.0-rc.6 → 0.8.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.
Files changed (139) hide show
  1. package/esm/generated-sdk/auth/contract.d.ts +2 -22
  2. package/esm/generated-sdk/auth/contract.d.ts.map +1 -1
  3. package/esm/generated-sdk/auth/contract.js +3 -26
  4. package/esm/generated-sdk/auth/mod.d.ts +1 -1
  5. package/esm/generated-sdk/auth/mod.d.ts.map +1 -1
  6. package/esm/generated-sdk/auth/mod.js +1 -1
  7. package/esm/generated-sdk/health/contract.d.ts +1 -1
  8. package/esm/generated-sdk/health/contract.d.ts.map +1 -1
  9. package/esm/generated-sdk/health/contract.js +3 -3
  10. package/esm/generated-sdk/health/mod.d.ts +1 -1
  11. package/esm/generated-sdk/health/mod.d.ts.map +1 -1
  12. package/esm/generated-sdk/health/mod.js +1 -1
  13. package/esm/generated-sdk/jobs/contract.d.ts +1 -1
  14. package/esm/generated-sdk/jobs/contract.d.ts.map +1 -1
  15. package/esm/generated-sdk/jobs/contract.js +3 -3
  16. package/esm/generated-sdk/jobs/mod.d.ts +1 -1
  17. package/esm/generated-sdk/jobs/mod.d.ts.map +1 -1
  18. package/esm/generated-sdk/jobs/mod.js +1 -1
  19. package/esm/generated-sdk/state/contract.d.ts +1 -1
  20. package/esm/generated-sdk/state/contract.d.ts.map +1 -1
  21. package/esm/generated-sdk/state/contract.js +3 -3
  22. package/esm/generated-sdk/state/mod.d.ts +1 -1
  23. package/esm/generated-sdk/state/mod.d.ts.map +1 -1
  24. package/esm/generated-sdk/state/mod.js +1 -1
  25. package/esm/generated-sdk/trellis-core/contract.d.ts +1 -1
  26. package/esm/generated-sdk/trellis-core/contract.d.ts.map +1 -1
  27. package/esm/generated-sdk/trellis-core/contract.js +3 -3
  28. package/esm/generated-sdk/trellis-core/mod.d.ts +1 -1
  29. package/esm/generated-sdk/trellis-core/mod.d.ts.map +1 -1
  30. package/esm/generated-sdk/trellis-core/mod.js +1 -1
  31. package/esm/index.d.ts +1 -0
  32. package/esm/npm/src/index.d.ts +1 -0
  33. package/esm/npm/src/sdk/auth.d.ts +0 -1
  34. package/esm/npm/src/sdk/auth.d.ts.map +1 -1
  35. package/esm/npm/src/sdk/auth.js +0 -1
  36. package/esm/npm/src/sdk/core.d.ts +0 -1
  37. package/esm/npm/src/sdk/core.d.ts.map +1 -1
  38. package/esm/npm/src/sdk/core.js +0 -1
  39. package/esm/npm/src/sdk/health.d.ts +0 -29
  40. package/esm/npm/src/sdk/health.d.ts.map +1 -1
  41. package/esm/npm/src/sdk/health.js +0 -25
  42. package/esm/npm/src/sdk/jobs.d.ts +0 -1
  43. package/esm/npm/src/sdk/jobs.d.ts.map +1 -1
  44. package/esm/npm/src/sdk/jobs.js +0 -1
  45. package/esm/npm/src/sdk/state.d.ts +0 -24
  46. package/esm/npm/src/sdk/state.d.ts.map +1 -1
  47. package/esm/npm/src/sdk/state.js +0 -27
  48. package/esm/npm/src/server/service.js +1 -1
  49. package/package.json +12 -16
  50. package/script/generated-sdk/auth/contract.d.ts +2 -22
  51. package/script/generated-sdk/auth/contract.d.ts.map +1 -1
  52. package/script/generated-sdk/auth/contract.js +4 -27
  53. package/script/generated-sdk/auth/mod.d.ts +1 -1
  54. package/script/generated-sdk/auth/mod.d.ts.map +1 -1
  55. package/script/generated-sdk/auth/mod.js +2 -3
  56. package/script/generated-sdk/health/contract.d.ts +1 -1
  57. package/script/generated-sdk/health/contract.d.ts.map +1 -1
  58. package/script/generated-sdk/health/contract.js +4 -4
  59. package/script/generated-sdk/health/mod.d.ts +1 -1
  60. package/script/generated-sdk/health/mod.d.ts.map +1 -1
  61. package/script/generated-sdk/health/mod.js +2 -2
  62. package/script/generated-sdk/jobs/contract.d.ts +1 -1
  63. package/script/generated-sdk/jobs/contract.d.ts.map +1 -1
  64. package/script/generated-sdk/jobs/contract.js +4 -4
  65. package/script/generated-sdk/jobs/mod.d.ts +1 -1
  66. package/script/generated-sdk/jobs/mod.d.ts.map +1 -1
  67. package/script/generated-sdk/jobs/mod.js +2 -2
  68. package/script/generated-sdk/state/contract.d.ts +1 -1
  69. package/script/generated-sdk/state/contract.d.ts.map +1 -1
  70. package/script/generated-sdk/state/contract.js +4 -4
  71. package/script/generated-sdk/state/mod.d.ts +1 -1
  72. package/script/generated-sdk/state/mod.d.ts.map +1 -1
  73. package/script/generated-sdk/state/mod.js +2 -2
  74. package/script/generated-sdk/trellis-core/contract.d.ts +1 -1
  75. package/script/generated-sdk/trellis-core/contract.d.ts.map +1 -1
  76. package/script/generated-sdk/trellis-core/contract.js +4 -4
  77. package/script/generated-sdk/trellis-core/mod.d.ts +1 -1
  78. package/script/generated-sdk/trellis-core/mod.d.ts.map +1 -1
  79. package/script/generated-sdk/trellis-core/mod.js +2 -2
  80. package/script/index.d.ts +1 -0
  81. package/script/npm/src/index.d.ts +1 -0
  82. package/script/npm/src/sdk/auth.d.ts +0 -1
  83. package/script/npm/src/sdk/auth.d.ts.map +1 -1
  84. package/script/npm/src/sdk/auth.js +0 -3
  85. package/script/npm/src/sdk/core.d.ts +0 -1
  86. package/script/npm/src/sdk/core.d.ts.map +1 -1
  87. package/script/npm/src/sdk/core.js +0 -3
  88. package/script/npm/src/sdk/health.d.ts +0 -25
  89. package/script/npm/src/sdk/health.d.ts.map +1 -1
  90. package/script/npm/src/sdk/health.js +0 -30
  91. package/script/npm/src/sdk/jobs.d.ts +0 -1
  92. package/script/npm/src/sdk/jobs.d.ts.map +1 -1
  93. package/script/npm/src/sdk/jobs.js +0 -3
  94. package/script/npm/src/sdk/state.d.ts +0 -20
  95. package/script/npm/src/sdk/state.d.ts.map +1 -1
  96. package/script/npm/src/sdk/state.js +0 -32
  97. package/script/npm/src/server/service.js +1 -1
  98. package/esm/generated-sdk/activity/api.d.ts +0 -17
  99. package/esm/generated-sdk/activity/api.d.ts.map +0 -1
  100. package/esm/generated-sdk/activity/api.js +0 -56
  101. package/esm/generated-sdk/activity/client.d.ts +0 -26
  102. package/esm/generated-sdk/activity/client.d.ts.map +0 -1
  103. package/esm/generated-sdk/activity/client.js +0 -1
  104. package/esm/generated-sdk/activity/contract.d.ts +0 -9
  105. package/esm/generated-sdk/activity/contract.d.ts.map +0 -1
  106. package/esm/generated-sdk/activity/contract.js +0 -49
  107. package/esm/generated-sdk/activity/mod.d.ts +0 -7
  108. package/esm/generated-sdk/activity/mod.d.ts.map +0 -1
  109. package/esm/generated-sdk/activity/mod.js +0 -4
  110. package/esm/generated-sdk/activity/schemas.d.ts +0 -300
  111. package/esm/generated-sdk/activity/schemas.d.ts.map +0 -1
  112. package/esm/generated-sdk/activity/schemas.js +0 -8
  113. package/esm/generated-sdk/activity/types.d.ts +0 -105
  114. package/esm/generated-sdk/activity/types.d.ts.map +0 -1
  115. package/esm/generated-sdk/activity/types.js +0 -2
  116. package/esm/npm/src/sdk/activity.d.ts +0 -2
  117. package/esm/npm/src/sdk/activity.d.ts.map +0 -1
  118. package/esm/npm/src/sdk/activity.js +0 -1
  119. package/script/generated-sdk/activity/api.d.ts +0 -17
  120. package/script/generated-sdk/activity/api.d.ts.map +0 -1
  121. package/script/generated-sdk/activity/api.js +0 -59
  122. package/script/generated-sdk/activity/client.d.ts +0 -26
  123. package/script/generated-sdk/activity/client.d.ts.map +0 -1
  124. package/script/generated-sdk/activity/client.js +0 -2
  125. package/script/generated-sdk/activity/contract.d.ts +0 -8
  126. package/script/generated-sdk/activity/contract.d.ts.map +0 -1
  127. package/script/generated-sdk/activity/contract.js +0 -52
  128. package/script/generated-sdk/activity/mod.d.ts +0 -7
  129. package/script/generated-sdk/activity/mod.d.ts.map +0 -1
  130. package/script/generated-sdk/activity/mod.js +0 -28
  131. package/script/generated-sdk/activity/schemas.d.ts +0 -300
  132. package/script/generated-sdk/activity/schemas.d.ts.map +0 -1
  133. package/script/generated-sdk/activity/schemas.js +0 -11
  134. package/script/generated-sdk/activity/types.d.ts +0 -105
  135. package/script/generated-sdk/activity/types.d.ts.map +0 -1
  136. package/script/generated-sdk/activity/types.js +0 -5
  137. package/script/npm/src/sdk/activity.d.ts +0 -2
  138. package/script/npm/src/sdk/activity.d.ts.map +0 -1
  139. package/script/npm/src/sdk/activity.js +0 -17
@@ -1,300 +0,0 @@
1
- export declare const ActivityGetRequestSchema: {
2
- readonly additionalProperties: false;
3
- readonly properties: {
4
- readonly id: {
5
- readonly type: "string";
6
- };
7
- };
8
- readonly required: readonly ["id"];
9
- readonly type: "object";
10
- };
11
- export declare const ActivityGetResponseSchema: {
12
- readonly additionalProperties: false;
13
- readonly properties: {
14
- readonly entry: {
15
- readonly additionalProperties: false;
16
- readonly properties: {
17
- readonly actor: {
18
- readonly type: "string";
19
- };
20
- readonly id: {
21
- readonly type: "string";
22
- };
23
- readonly kind: {
24
- readonly anyOf: readonly [{
25
- readonly const: "auth.connect";
26
- readonly type: "string";
27
- }, {
28
- readonly const: "auth.disconnect";
29
- readonly type: "string";
30
- }, {
31
- readonly const: "auth.session_revoked";
32
- readonly type: "string";
33
- }, {
34
- readonly const: "auth.connection_kicked";
35
- readonly type: "string";
36
- }];
37
- };
38
- readonly metadata: {
39
- readonly patternProperties: {
40
- readonly "^.*$": {};
41
- };
42
- readonly type: "object";
43
- };
44
- readonly occurredAt: {
45
- readonly format: "date-time";
46
- readonly type: "string";
47
- };
48
- readonly principalId: {
49
- readonly type: "string";
50
- };
51
- readonly principalLabel: {
52
- readonly type: "string";
53
- };
54
- readonly principalOrigin: {
55
- readonly type: "string";
56
- };
57
- readonly sessionKey: {
58
- readonly type: "string";
59
- };
60
- readonly summary: {
61
- readonly type: "string";
62
- };
63
- readonly userNkey: {
64
- readonly type: "string";
65
- };
66
- };
67
- readonly required: readonly ["id", "kind", "occurredAt", "principalOrigin", "principalId", "principalLabel", "summary"];
68
- readonly type: "object";
69
- };
70
- };
71
- readonly required: readonly ["entry"];
72
- readonly type: "object";
73
- };
74
- export declare const ActivityListRequestSchema: {
75
- readonly additionalProperties: false;
76
- readonly properties: {
77
- readonly kind: {
78
- readonly anyOf: readonly [{
79
- readonly const: "auth.connect";
80
- readonly type: "string";
81
- }, {
82
- readonly const: "auth.disconnect";
83
- readonly type: "string";
84
- }, {
85
- readonly const: "auth.session_revoked";
86
- readonly type: "string";
87
- }, {
88
- readonly const: "auth.connection_kicked";
89
- readonly type: "string";
90
- }];
91
- };
92
- readonly limit: {
93
- readonly maximum: 200;
94
- readonly minimum: 1;
95
- readonly type: "integer";
96
- };
97
- };
98
- readonly type: "object";
99
- };
100
- export declare const ActivityListResponseSchema: {
101
- readonly additionalProperties: false;
102
- readonly properties: {
103
- readonly entries: {
104
- readonly items: {
105
- readonly additionalProperties: false;
106
- readonly properties: {
107
- readonly actor: {
108
- readonly type: "string";
109
- };
110
- readonly id: {
111
- readonly type: "string";
112
- };
113
- readonly kind: {
114
- readonly anyOf: readonly [{
115
- readonly const: "auth.connect";
116
- readonly type: "string";
117
- }, {
118
- readonly const: "auth.disconnect";
119
- readonly type: "string";
120
- }, {
121
- readonly const: "auth.session_revoked";
122
- readonly type: "string";
123
- }, {
124
- readonly const: "auth.connection_kicked";
125
- readonly type: "string";
126
- }];
127
- };
128
- readonly metadata: {
129
- readonly patternProperties: {
130
- readonly "^.*$": {};
131
- };
132
- readonly type: "object";
133
- };
134
- readonly occurredAt: {
135
- readonly format: "date-time";
136
- readonly type: "string";
137
- };
138
- readonly principalId: {
139
- readonly type: "string";
140
- };
141
- readonly principalLabel: {
142
- readonly type: "string";
143
- };
144
- readonly principalOrigin: {
145
- readonly type: "string";
146
- };
147
- readonly sessionKey: {
148
- readonly type: "string";
149
- };
150
- readonly summary: {
151
- readonly type: "string";
152
- };
153
- readonly userNkey: {
154
- readonly type: "string";
155
- };
156
- };
157
- readonly required: readonly ["id", "kind", "occurredAt", "principalOrigin", "principalId", "principalLabel", "summary"];
158
- readonly type: "object";
159
- };
160
- readonly type: "array";
161
- };
162
- };
163
- readonly required: readonly ["entries"];
164
- readonly type: "object";
165
- };
166
- export declare const ActivityRecordedEventSchema: {
167
- readonly additionalProperties: false;
168
- readonly properties: {
169
- readonly actor: {
170
- readonly type: "string";
171
- };
172
- readonly header: {
173
- readonly properties: {
174
- readonly id: {
175
- readonly type: "string";
176
- };
177
- readonly time: {
178
- readonly format: "date-time";
179
- readonly type: "string";
180
- };
181
- };
182
- readonly required: readonly ["id", "time"];
183
- readonly type: "object";
184
- };
185
- readonly id: {
186
- readonly type: "string";
187
- };
188
- readonly kind: {
189
- readonly anyOf: readonly [{
190
- readonly const: "auth.connect";
191
- readonly type: "string";
192
- }, {
193
- readonly const: "auth.disconnect";
194
- readonly type: "string";
195
- }, {
196
- readonly const: "auth.session_revoked";
197
- readonly type: "string";
198
- }, {
199
- readonly const: "auth.connection_kicked";
200
- readonly type: "string";
201
- }];
202
- };
203
- readonly metadata: {
204
- readonly patternProperties: {
205
- readonly "^.*$": {};
206
- };
207
- readonly type: "object";
208
- };
209
- readonly occurredAt: {
210
- readonly format: "date-time";
211
- readonly type: "string";
212
- };
213
- readonly principalId: {
214
- readonly type: "string";
215
- };
216
- readonly principalLabel: {
217
- readonly type: "string";
218
- };
219
- readonly principalOrigin: {
220
- readonly type: "string";
221
- };
222
- readonly sessionKey: {
223
- readonly type: "string";
224
- };
225
- readonly summary: {
226
- readonly type: "string";
227
- };
228
- readonly userNkey: {
229
- readonly type: "string";
230
- };
231
- };
232
- readonly required: readonly ["header", "id", "kind", "occurredAt", "principalOrigin", "principalId", "principalLabel", "summary"];
233
- readonly type: "object";
234
- };
235
- export declare const HealthRequestSchema: {
236
- readonly properties: {};
237
- readonly type: "object";
238
- };
239
- export declare const HealthResponseSchema: {
240
- readonly properties: {
241
- readonly checks: {
242
- readonly items: {
243
- readonly properties: {
244
- readonly error: {
245
- readonly type: "string";
246
- };
247
- readonly info: {
248
- readonly patternProperties: {
249
- readonly "^.*$": {};
250
- };
251
- readonly type: "object";
252
- };
253
- readonly latencyMs: {
254
- readonly type: "number";
255
- };
256
- readonly name: {
257
- readonly type: "string";
258
- };
259
- readonly status: {
260
- readonly anyOf: readonly [{
261
- readonly const: "ok";
262
- readonly type: "string";
263
- }, {
264
- readonly const: "failed";
265
- readonly type: "string";
266
- }];
267
- };
268
- readonly summary: {
269
- readonly type: "string";
270
- };
271
- };
272
- readonly required: readonly ["name", "status", "latencyMs"];
273
- readonly type: "object";
274
- };
275
- readonly type: "array";
276
- };
277
- readonly service: {
278
- readonly type: "string";
279
- };
280
- readonly status: {
281
- readonly anyOf: readonly [{
282
- readonly const: "healthy";
283
- readonly type: "string";
284
- }, {
285
- readonly const: "unhealthy";
286
- readonly type: "string";
287
- }, {
288
- readonly const: "degraded";
289
- readonly type: "string";
290
- }];
291
- };
292
- readonly timestamp: {
293
- readonly format: "date-time";
294
- readonly type: "string";
295
- };
296
- };
297
- readonly required: readonly ["status", "service", "timestamp", "checks"];
298
- readonly type: "object";
299
- };
300
- //# sourceMappingURL=schemas.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../../../src/.build/generated-sdk/activity/schemas.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,wBAAwB;;;;;;;;;CAAkH,CAAC;AAExJ,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAkzB,CAAC;AAEz1B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;CAA0U,CAAC;AAEjX,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA+0B,CAAC;AAEv3B,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAw2B,CAAC;AAEj5B,eAAO,MAAM,mBAAmB;;;CAA6C,CAAC;AAE9E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA6pB,CAAC"}
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HealthResponseSchema = exports.HealthRequestSchema = exports.ActivityRecordedEventSchema = exports.ActivityListResponseSchema = exports.ActivityListRequestSchema = exports.ActivityGetResponseSchema = exports.ActivityGetRequestSchema = void 0;
4
- // Generated from ./generated/contracts/manifests/trellis.activity@v1.json
5
- exports.ActivityGetRequestSchema = { "additionalProperties": false, "properties": { "id": { "type": "string" } }, "required": ["id"], "type": "object" };
6
- exports.ActivityGetResponseSchema = { "additionalProperties": false, "properties": { "entry": { "additionalProperties": false, "properties": { "actor": { "type": "string" }, "id": { "type": "string" }, "kind": { "anyOf": [{ "const": "auth.connect", "type": "string" }, { "const": "auth.disconnect", "type": "string" }, { "const": "auth.session_revoked", "type": "string" }, { "const": "auth.connection_kicked", "type": "string" }] }, "metadata": { "patternProperties": { "^.*$": {} }, "type": "object" }, "occurredAt": { "format": "date-time", "type": "string" }, "principalId": { "type": "string" }, "principalLabel": { "type": "string" }, "principalOrigin": { "type": "string" }, "sessionKey": { "type": "string" }, "summary": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["id", "kind", "occurredAt", "principalOrigin", "principalId", "principalLabel", "summary"], "type": "object" } }, "required": ["entry"], "type": "object" };
7
- exports.ActivityListRequestSchema = { "additionalProperties": false, "properties": { "kind": { "anyOf": [{ "const": "auth.connect", "type": "string" }, { "const": "auth.disconnect", "type": "string" }, { "const": "auth.session_revoked", "type": "string" }, { "const": "auth.connection_kicked", "type": "string" }] }, "limit": { "maximum": 200, "minimum": 1, "type": "integer" } }, "type": "object" };
8
- exports.ActivityListResponseSchema = { "additionalProperties": false, "properties": { "entries": { "items": { "additionalProperties": false, "properties": { "actor": { "type": "string" }, "id": { "type": "string" }, "kind": { "anyOf": [{ "const": "auth.connect", "type": "string" }, { "const": "auth.disconnect", "type": "string" }, { "const": "auth.session_revoked", "type": "string" }, { "const": "auth.connection_kicked", "type": "string" }] }, "metadata": { "patternProperties": { "^.*$": {} }, "type": "object" }, "occurredAt": { "format": "date-time", "type": "string" }, "principalId": { "type": "string" }, "principalLabel": { "type": "string" }, "principalOrigin": { "type": "string" }, "sessionKey": { "type": "string" }, "summary": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["id", "kind", "occurredAt", "principalOrigin", "principalId", "principalLabel", "summary"], "type": "object" }, "type": "array" } }, "required": ["entries"], "type": "object" };
9
- exports.ActivityRecordedEventSchema = { "additionalProperties": false, "properties": { "actor": { "type": "string" }, "header": { "properties": { "id": { "type": "string" }, "time": { "format": "date-time", "type": "string" } }, "required": ["id", "time"], "type": "object" }, "id": { "type": "string" }, "kind": { "anyOf": [{ "const": "auth.connect", "type": "string" }, { "const": "auth.disconnect", "type": "string" }, { "const": "auth.session_revoked", "type": "string" }, { "const": "auth.connection_kicked", "type": "string" }] }, "metadata": { "patternProperties": { "^.*$": {} }, "type": "object" }, "occurredAt": { "format": "date-time", "type": "string" }, "principalId": { "type": "string" }, "principalLabel": { "type": "string" }, "principalOrigin": { "type": "string" }, "sessionKey": { "type": "string" }, "summary": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["header", "id", "kind", "occurredAt", "principalOrigin", "principalId", "principalLabel", "summary"], "type": "object" };
10
- exports.HealthRequestSchema = { "properties": {}, "type": "object" };
11
- exports.HealthResponseSchema = { "properties": { "checks": { "items": { "properties": { "error": { "type": "string" }, "info": { "patternProperties": { "^.*$": {} }, "type": "object" }, "latencyMs": { "type": "number" }, "name": { "type": "string" }, "status": { "anyOf": [{ "const": "ok", "type": "string" }, { "const": "failed", "type": "string" }] }, "summary": { "type": "string" } }, "required": ["name", "status", "latencyMs"], "type": "object" }, "type": "array" }, "service": { "type": "string" }, "status": { "anyOf": [{ "const": "healthy", "type": "string" }, { "const": "unhealthy", "type": "string" }, { "const": "degraded", "type": "string" }] }, "timestamp": { "format": "date-time", "type": "string" } }, "required": ["status", "service", "timestamp", "checks"], "type": "object" };
@@ -1,105 +0,0 @@
1
- import type { RpcHandlerFn } from "@qlever-llc/trellis";
2
- import type { API } from "./api.js";
3
- export declare const CONTRACT_ID: "trellis.activity@v1";
4
- export declare const CONTRACT_DIGEST: "JHCfvE0pDQdIItC7R8xK4Y2vfMgqFeB9IbFsv1Vdotw";
5
- export type ActivityGetInput = {
6
- id: string;
7
- };
8
- export type ActivityGetOutput = {
9
- entry: {
10
- actor?: string;
11
- id: string;
12
- kind: ("auth.connect" | "auth.disconnect" | "auth.session_revoked" | "auth.connection_kicked");
13
- metadata?: {
14
- [k: string]: unknown;
15
- };
16
- occurredAt: string;
17
- principalId: string;
18
- principalLabel: string;
19
- principalOrigin: string;
20
- sessionKey?: string;
21
- summary: string;
22
- userNkey?: string;
23
- };
24
- };
25
- export type ActivityHealthInput = {};
26
- export type ActivityHealthOutput = {
27
- checks: Array<{
28
- error?: string;
29
- info?: {
30
- [k: string]: unknown;
31
- };
32
- latencyMs: number;
33
- name: string;
34
- status: ("ok" | "failed");
35
- summary?: string;
36
- }>;
37
- service: string;
38
- status: ("healthy" | "unhealthy" | "degraded");
39
- timestamp: string;
40
- };
41
- export type ActivityListInput = {
42
- kind?: ("auth.connect" | "auth.disconnect" | "auth.session_revoked" | "auth.connection_kicked");
43
- limit?: number;
44
- };
45
- export type ActivityListOutput = {
46
- entries: Array<{
47
- actor?: string;
48
- id: string;
49
- kind: ("auth.connect" | "auth.disconnect" | "auth.session_revoked" | "auth.connection_kicked");
50
- metadata?: {
51
- [k: string]: unknown;
52
- };
53
- occurredAt: string;
54
- principalId: string;
55
- principalLabel: string;
56
- principalOrigin: string;
57
- sessionKey?: string;
58
- summary: string;
59
- userNkey?: string;
60
- }>;
61
- };
62
- export type ActivityRecordedEvent = {
63
- actor?: string;
64
- header: {
65
- id: string;
66
- time: string;
67
- };
68
- id: string;
69
- kind: ("auth.connect" | "auth.disconnect" | "auth.session_revoked" | "auth.connection_kicked");
70
- metadata?: {
71
- [k: string]: unknown;
72
- };
73
- occurredAt: string;
74
- principalId: string;
75
- principalLabel: string;
76
- principalOrigin: string;
77
- sessionKey?: string;
78
- summary: string;
79
- userNkey?: string;
80
- };
81
- export interface RpcMap {
82
- "Activity.Get": {
83
- input: ActivityGetInput;
84
- output: ActivityGetOutput;
85
- };
86
- "Activity.Health": {
87
- input: ActivityHealthInput;
88
- output: ActivityHealthOutput;
89
- };
90
- "Activity.List": {
91
- input: ActivityListInput;
92
- output: ActivityListOutput;
93
- };
94
- }
95
- export type ActivityGetHandler = RpcHandlerFn<typeof API.owned, "Activity.Get">;
96
- export type ActivityHealthHandler = RpcHandlerFn<typeof API.owned, "Activity.Health">;
97
- export type ActivityListHandler = RpcHandlerFn<typeof API.owned, "Activity.List">;
98
- export interface EventMap {
99
- "Activity.Recorded": {
100
- event: ActivityRecordedEvent;
101
- };
102
- }
103
- export interface SubjectMap {
104
- }
105
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/.build/generated-sdk/activity/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEpC,eAAO,MAAM,WAAW,EAAG,qBAA8B,CAAC;AAC1D,eAAO,MAAM,eAAe,EAAG,6CAAsD,CAAC;AAEtF,MAAM,MAAM,gBAAgB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;CAAE,CAAC;AAC/C,MAAM,MAAM,iBAAiB,GAAG;IAAE,KAAK,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,CAAC,cAAc,GAAG,iBAAiB,GAAG,sBAAsB,GAAG,wBAAwB,CAAC,CAAC;QAAC,QAAQ,CAAC,EAAE;YAAE,CAAC,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CAAC;CAC5E;AAED,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,GAAG,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC;AAChF,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC,OAAO,GAAG,CAAC,KAAK,EAAE,iBAAiB,CAAC,CAAC;AACtF,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,GAAG,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC;AAElF,MAAM,WAAW,QAAQ;IACvB,mBAAmB,EAAE;QAAE,KAAK,EAAE,qBAAqB,CAAC;KAAE,CAAC;CACxD;AAED,MAAM,WAAW,UAAU;CAC1B"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CONTRACT_DIGEST = exports.CONTRACT_ID = void 0;
4
- exports.CONTRACT_ID = "trellis.activity@v1";
5
- exports.CONTRACT_DIGEST = "JHCfvE0pDQdIItC7R8xK4Y2vfMgqFeB9IbFsv1Vdotw";
@@ -1,2 +0,0 @@
1
- export * from "../../../generated-sdk/activity/mod.js";
2
- //# sourceMappingURL=activity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../../../src/sdk/activity.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,cAAc,yCAAyC,CAAC"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("../../../generated-sdk/activity/mod.js"), exports);