timeback-studio 0.1.8 → 0.1.9
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/bin.js +29 -11
- package/dist/index.js +29 -11
- package/dist/server/controllers/bootstrap.d.ts +6 -6
- package/dist/server/controllers/status.d.ts +6 -1
- package/dist/server/controllers/status.d.ts.map +1 -1
- package/dist/server/services/status.d.ts.map +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -16691,7 +16691,7 @@ var CredentialsSchema = exports_external.object({
|
|
|
16691
16691
|
clientSecret: exports_external.string().min(1, "Client secret is required"),
|
|
16692
16692
|
email: exports_external.email("Valid email is required").optional()
|
|
16693
16693
|
});
|
|
16694
|
-
var ClientIdSchema = exports_external.string().min(1, "Client ID is required").regex(/^[a-z0-9]+$/, "Client ID must contain only lowercase letters and numbers")
|
|
16694
|
+
var ClientIdSchema = exports_external.string().min(1, "Client ID is required").regex(/^[a-z0-9]+$/, "Client ID must contain only lowercase letters and numbers");
|
|
16695
16695
|
var ClientSecretSchema = exports_external.string().min(1, "Client secret is required").regex(/^[a-z0-9]+$/, "Client secret must contain only lowercase letters and numbers").max(53, "Client secret must be less than 53 characters");
|
|
16696
16696
|
// ../internal/cli-infra/src/ui.ts
|
|
16697
16697
|
function intro(title) {
|
|
@@ -17327,7 +17327,12 @@ var TimebackConfig = exports_external.object({
|
|
|
17327
17327
|
}).optional(),
|
|
17328
17328
|
courses: exports_external.array(CourseConfig).min(1, "At least one course is required").meta({ description: "Courses available in this app" }),
|
|
17329
17329
|
sensor: exports_external.url().meta({ description: "Default Caliper sensor endpoint URL for all courses" }).optional(),
|
|
17330
|
-
launchUrl: exports_external.url().meta({ description: "Default LTI launch URL for all courses" }).optional()
|
|
17330
|
+
launchUrl: exports_external.url().meta({ description: "Default LTI launch URL for all courses" }).optional(),
|
|
17331
|
+
studio: exports_external.object({
|
|
17332
|
+
telemetry: exports_external.boolean().meta({
|
|
17333
|
+
description: "Enable anonymous usage telemetry for Studio (default: true)"
|
|
17334
|
+
}).optional().default(true)
|
|
17335
|
+
}).meta({ description: "Studio-specific configuration" }).optional()
|
|
17331
17336
|
}).meta({
|
|
17332
17337
|
id: "TimebackConfig",
|
|
17333
17338
|
title: "Timeback Config",
|
|
@@ -18183,7 +18188,7 @@ var QtiItemMetadata = exports_external.object({
|
|
|
18183
18188
|
grade: TimebackGrade.optional(),
|
|
18184
18189
|
difficulty: QtiDifficulty.optional(),
|
|
18185
18190
|
learningObjectiveSet: exports_external.array(QtiLearningObjectiveSet).optional()
|
|
18186
|
-
}).
|
|
18191
|
+
}).loose();
|
|
18187
18192
|
var QtiModalFeedback = exports_external.object({
|
|
18188
18193
|
outcomeIdentifier: exports_external.string().min(1),
|
|
18189
18194
|
identifier: exports_external.string().min(1),
|
|
@@ -18220,7 +18225,12 @@ var QtiPaginationParams = exports_external.object({
|
|
|
18220
18225
|
sort: exports_external.string().optional(),
|
|
18221
18226
|
order: exports_external.enum(["asc", "desc"]).optional()
|
|
18222
18227
|
}).strict();
|
|
18223
|
-
var
|
|
18228
|
+
var QtiAssessmentItemXmlCreateInput = exports_external.object({
|
|
18229
|
+
format: exports_external.string().pipe(exports_external.literal("xml")),
|
|
18230
|
+
xml: exports_external.string().min(1),
|
|
18231
|
+
metadata: QtiItemMetadata.optional()
|
|
18232
|
+
}).strict();
|
|
18233
|
+
var QtiAssessmentItemJsonCreateInput = exports_external.object({
|
|
18224
18234
|
identifier: exports_external.string().min(1),
|
|
18225
18235
|
title: exports_external.string().min(1),
|
|
18226
18236
|
type: QtiAssessmentItemType,
|
|
@@ -18235,6 +18245,10 @@ var QtiAssessmentItemCreateInput = exports_external.object({
|
|
|
18235
18245
|
feedbackInline: exports_external.array(QtiFeedbackInline).optional(),
|
|
18236
18246
|
feedbackBlock: exports_external.array(QtiFeedbackBlock).optional()
|
|
18237
18247
|
}).strict();
|
|
18248
|
+
var QtiAssessmentItemCreateInput = exports_external.union([
|
|
18249
|
+
QtiAssessmentItemXmlCreateInput,
|
|
18250
|
+
QtiAssessmentItemJsonCreateInput
|
|
18251
|
+
]);
|
|
18238
18252
|
var QtiAssessmentItemUpdateInput = exports_external.object({
|
|
18239
18253
|
identifier: exports_external.string().min(1).optional(),
|
|
18240
18254
|
title: exports_external.string().min(1),
|
|
@@ -18271,9 +18285,9 @@ var QtiAssessmentSection = exports_external.object({
|
|
|
18271
18285
|
}).strict();
|
|
18272
18286
|
var QtiTestPart = exports_external.object({
|
|
18273
18287
|
identifier: exports_external.string().min(1),
|
|
18274
|
-
navigationMode: QtiNavigationMode,
|
|
18275
|
-
submissionMode: QtiSubmissionMode,
|
|
18276
|
-
"qti-assessment-section": exports_external.
|
|
18288
|
+
navigationMode: exports_external.string().pipe(QtiNavigationMode),
|
|
18289
|
+
submissionMode: exports_external.string().pipe(QtiSubmissionMode),
|
|
18290
|
+
"qti-assessment-section": exports_external.array(QtiAssessmentSection)
|
|
18277
18291
|
}).strict();
|
|
18278
18292
|
var QtiReorderItemsInput = exports_external.object({
|
|
18279
18293
|
items: exports_external.array(QtiAssessmentItemRef).min(1)
|
|
@@ -18291,7 +18305,7 @@ var QtiAssessmentTestCreateInput = exports_external.object({
|
|
|
18291
18305
|
maxAttempts: exports_external.number().optional(),
|
|
18292
18306
|
toolsEnabled: exports_external.record(exports_external.string(), exports_external.boolean()).optional(),
|
|
18293
18307
|
metadata: exports_external.record(exports_external.string(), exports_external.unknown()).optional(),
|
|
18294
|
-
"qti-test-part": QtiTestPart,
|
|
18308
|
+
"qti-test-part": exports_external.array(QtiTestPart),
|
|
18295
18309
|
"qti-outcome-declaration": exports_external.array(QtiTestOutcomeDeclaration).optional()
|
|
18296
18310
|
}).strict();
|
|
18297
18311
|
var QtiAssessmentTestUpdateInput = exports_external.object({
|
|
@@ -18304,7 +18318,7 @@ var QtiAssessmentTestUpdateInput = exports_external.object({
|
|
|
18304
18318
|
maxAttempts: exports_external.number().optional(),
|
|
18305
18319
|
toolsEnabled: exports_external.record(exports_external.string(), exports_external.boolean()).optional(),
|
|
18306
18320
|
metadata: exports_external.record(exports_external.string(), exports_external.unknown()).optional(),
|
|
18307
|
-
"qti-test-part": QtiTestPart,
|
|
18321
|
+
"qti-test-part": exports_external.array(QtiTestPart),
|
|
18308
18322
|
"qti-outcome-declaration": exports_external.array(QtiTestOutcomeDeclaration).optional()
|
|
18309
18323
|
}).strict();
|
|
18310
18324
|
var QtiStimulusCreateInput = exports_external.object({
|
|
@@ -23259,7 +23273,7 @@ class EnrollmentService {
|
|
|
23259
23273
|
sourcedId: userId,
|
|
23260
23274
|
role: "student"
|
|
23261
23275
|
});
|
|
23262
|
-
log2.
|
|
23276
|
+
log2.debug("Student enrolled", {
|
|
23263
23277
|
classId,
|
|
23264
23278
|
userId,
|
|
23265
23279
|
enrollmentId: result.sourcedIdPairs?.allocatedSourcedId
|
|
@@ -23609,11 +23623,15 @@ class StatusService {
|
|
|
23609
23623
|
getSavedCredentials("staging"),
|
|
23610
23624
|
getSavedCredentials("production")
|
|
23611
23625
|
]);
|
|
23626
|
+
const defaultCreds = this.ctx.defaultEnvironment === "staging" ? stagingCreds : this.ctx.defaultEnvironment === "production" ? productionCreds : null;
|
|
23627
|
+
const clientId = defaultCreds?.clientId ?? stagingCreds?.clientId ?? productionCreds?.clientId ?? this.ctx.credentials.staging?.clientId ?? this.ctx.credentials.production?.clientId;
|
|
23612
23628
|
return {
|
|
23613
23629
|
config: this.ctx.userConfig,
|
|
23614
23630
|
environment: this.ctx.defaultEnvironment,
|
|
23615
23631
|
configuredEnvironments,
|
|
23616
|
-
hasEmail: !!stagingCreds?.email || !!productionCreds?.email
|
|
23632
|
+
hasEmail: !!stagingCreds?.email || !!productionCreds?.email,
|
|
23633
|
+
clientId,
|
|
23634
|
+
sensors: this.ctx.derivedSensors
|
|
23617
23635
|
};
|
|
23618
23636
|
}
|
|
23619
23637
|
}
|
package/dist/index.js
CHANGED
|
@@ -14581,7 +14581,7 @@ var CredentialsSchema = exports_external.object({
|
|
|
14581
14581
|
clientSecret: exports_external.string().min(1, "Client secret is required"),
|
|
14582
14582
|
email: exports_external.email("Valid email is required").optional()
|
|
14583
14583
|
});
|
|
14584
|
-
var ClientIdSchema = exports_external.string().min(1, "Client ID is required").regex(/^[a-z0-9]+$/, "Client ID must contain only lowercase letters and numbers")
|
|
14584
|
+
var ClientIdSchema = exports_external.string().min(1, "Client ID is required").regex(/^[a-z0-9]+$/, "Client ID must contain only lowercase letters and numbers");
|
|
14585
14585
|
var ClientSecretSchema = exports_external.string().min(1, "Client secret is required").regex(/^[a-z0-9]+$/, "Client secret must contain only lowercase letters and numbers").max(53, "Client secret must be less than 53 characters");
|
|
14586
14586
|
// ../internal/cli-infra/src/ui.ts
|
|
14587
14587
|
function intro(title) {
|
|
@@ -15217,7 +15217,12 @@ var TimebackConfig = exports_external.object({
|
|
|
15217
15217
|
}).optional(),
|
|
15218
15218
|
courses: exports_external.array(CourseConfig).min(1, "At least one course is required").meta({ description: "Courses available in this app" }),
|
|
15219
15219
|
sensor: exports_external.url().meta({ description: "Default Caliper sensor endpoint URL for all courses" }).optional(),
|
|
15220
|
-
launchUrl: exports_external.url().meta({ description: "Default LTI launch URL for all courses" }).optional()
|
|
15220
|
+
launchUrl: exports_external.url().meta({ description: "Default LTI launch URL for all courses" }).optional(),
|
|
15221
|
+
studio: exports_external.object({
|
|
15222
|
+
telemetry: exports_external.boolean().meta({
|
|
15223
|
+
description: "Enable anonymous usage telemetry for Studio (default: true)"
|
|
15224
|
+
}).optional().default(true)
|
|
15225
|
+
}).meta({ description: "Studio-specific configuration" }).optional()
|
|
15221
15226
|
}).meta({
|
|
15222
15227
|
id: "TimebackConfig",
|
|
15223
15228
|
title: "Timeback Config",
|
|
@@ -16073,7 +16078,7 @@ var QtiItemMetadata = exports_external.object({
|
|
|
16073
16078
|
grade: TimebackGrade.optional(),
|
|
16074
16079
|
difficulty: QtiDifficulty.optional(),
|
|
16075
16080
|
learningObjectiveSet: exports_external.array(QtiLearningObjectiveSet).optional()
|
|
16076
|
-
}).
|
|
16081
|
+
}).loose();
|
|
16077
16082
|
var QtiModalFeedback = exports_external.object({
|
|
16078
16083
|
outcomeIdentifier: exports_external.string().min(1),
|
|
16079
16084
|
identifier: exports_external.string().min(1),
|
|
@@ -16110,7 +16115,12 @@ var QtiPaginationParams = exports_external.object({
|
|
|
16110
16115
|
sort: exports_external.string().optional(),
|
|
16111
16116
|
order: exports_external.enum(["asc", "desc"]).optional()
|
|
16112
16117
|
}).strict();
|
|
16113
|
-
var
|
|
16118
|
+
var QtiAssessmentItemXmlCreateInput = exports_external.object({
|
|
16119
|
+
format: exports_external.string().pipe(exports_external.literal("xml")),
|
|
16120
|
+
xml: exports_external.string().min(1),
|
|
16121
|
+
metadata: QtiItemMetadata.optional()
|
|
16122
|
+
}).strict();
|
|
16123
|
+
var QtiAssessmentItemJsonCreateInput = exports_external.object({
|
|
16114
16124
|
identifier: exports_external.string().min(1),
|
|
16115
16125
|
title: exports_external.string().min(1),
|
|
16116
16126
|
type: QtiAssessmentItemType,
|
|
@@ -16125,6 +16135,10 @@ var QtiAssessmentItemCreateInput = exports_external.object({
|
|
|
16125
16135
|
feedbackInline: exports_external.array(QtiFeedbackInline).optional(),
|
|
16126
16136
|
feedbackBlock: exports_external.array(QtiFeedbackBlock).optional()
|
|
16127
16137
|
}).strict();
|
|
16138
|
+
var QtiAssessmentItemCreateInput = exports_external.union([
|
|
16139
|
+
QtiAssessmentItemXmlCreateInput,
|
|
16140
|
+
QtiAssessmentItemJsonCreateInput
|
|
16141
|
+
]);
|
|
16128
16142
|
var QtiAssessmentItemUpdateInput = exports_external.object({
|
|
16129
16143
|
identifier: exports_external.string().min(1).optional(),
|
|
16130
16144
|
title: exports_external.string().min(1),
|
|
@@ -16161,9 +16175,9 @@ var QtiAssessmentSection = exports_external.object({
|
|
|
16161
16175
|
}).strict();
|
|
16162
16176
|
var QtiTestPart = exports_external.object({
|
|
16163
16177
|
identifier: exports_external.string().min(1),
|
|
16164
|
-
navigationMode: QtiNavigationMode,
|
|
16165
|
-
submissionMode: QtiSubmissionMode,
|
|
16166
|
-
"qti-assessment-section": exports_external.
|
|
16178
|
+
navigationMode: exports_external.string().pipe(QtiNavigationMode),
|
|
16179
|
+
submissionMode: exports_external.string().pipe(QtiSubmissionMode),
|
|
16180
|
+
"qti-assessment-section": exports_external.array(QtiAssessmentSection)
|
|
16167
16181
|
}).strict();
|
|
16168
16182
|
var QtiReorderItemsInput = exports_external.object({
|
|
16169
16183
|
items: exports_external.array(QtiAssessmentItemRef).min(1)
|
|
@@ -16181,7 +16195,7 @@ var QtiAssessmentTestCreateInput = exports_external.object({
|
|
|
16181
16195
|
maxAttempts: exports_external.number().optional(),
|
|
16182
16196
|
toolsEnabled: exports_external.record(exports_external.string(), exports_external.boolean()).optional(),
|
|
16183
16197
|
metadata: exports_external.record(exports_external.string(), exports_external.unknown()).optional(),
|
|
16184
|
-
"qti-test-part": QtiTestPart,
|
|
16198
|
+
"qti-test-part": exports_external.array(QtiTestPart),
|
|
16185
16199
|
"qti-outcome-declaration": exports_external.array(QtiTestOutcomeDeclaration).optional()
|
|
16186
16200
|
}).strict();
|
|
16187
16201
|
var QtiAssessmentTestUpdateInput = exports_external.object({
|
|
@@ -16194,7 +16208,7 @@ var QtiAssessmentTestUpdateInput = exports_external.object({
|
|
|
16194
16208
|
maxAttempts: exports_external.number().optional(),
|
|
16195
16209
|
toolsEnabled: exports_external.record(exports_external.string(), exports_external.boolean()).optional(),
|
|
16196
16210
|
metadata: exports_external.record(exports_external.string(), exports_external.unknown()).optional(),
|
|
16197
|
-
"qti-test-part": QtiTestPart,
|
|
16211
|
+
"qti-test-part": exports_external.array(QtiTestPart),
|
|
16198
16212
|
"qti-outcome-declaration": exports_external.array(QtiTestOutcomeDeclaration).optional()
|
|
16199
16213
|
}).strict();
|
|
16200
16214
|
var QtiStimulusCreateInput = exports_external.object({
|
|
@@ -21149,7 +21163,7 @@ class EnrollmentService {
|
|
|
21149
21163
|
sourcedId: userId,
|
|
21150
21164
|
role: "student"
|
|
21151
21165
|
});
|
|
21152
|
-
log2.
|
|
21166
|
+
log2.debug("Student enrolled", {
|
|
21153
21167
|
classId,
|
|
21154
21168
|
userId,
|
|
21155
21169
|
enrollmentId: result.sourcedIdPairs?.allocatedSourcedId
|
|
@@ -21499,11 +21513,15 @@ class StatusService {
|
|
|
21499
21513
|
getSavedCredentials("staging"),
|
|
21500
21514
|
getSavedCredentials("production")
|
|
21501
21515
|
]);
|
|
21516
|
+
const defaultCreds = this.ctx.defaultEnvironment === "staging" ? stagingCreds : this.ctx.defaultEnvironment === "production" ? productionCreds : null;
|
|
21517
|
+
const clientId = defaultCreds?.clientId ?? stagingCreds?.clientId ?? productionCreds?.clientId ?? this.ctx.credentials.staging?.clientId ?? this.ctx.credentials.production?.clientId;
|
|
21502
21518
|
return {
|
|
21503
21519
|
config: this.ctx.userConfig,
|
|
21504
21520
|
environment: this.ctx.defaultEnvironment,
|
|
21505
21521
|
configuredEnvironments,
|
|
21506
|
-
hasEmail: !!stagingCreds?.email || !!productionCreds?.email
|
|
21522
|
+
hasEmail: !!stagingCreds?.email || !!productionCreds?.email,
|
|
21523
|
+
clientId,
|
|
21524
|
+
sensors: this.ctx.derivedSensors
|
|
21507
21525
|
};
|
|
21508
21526
|
}
|
|
21509
21527
|
}
|
|
@@ -92,7 +92,7 @@ export declare function handleBootstrap(c: Context<{
|
|
|
92
92
|
preferredMiddleName?: string | null | undefined;
|
|
93
93
|
preferredLastName?: string | null | undefined;
|
|
94
94
|
pronouns?: string | null | undefined;
|
|
95
|
-
grades?: import("@timeback/types").TimebackGrade[] | undefined;
|
|
95
|
+
grades?: import("@timeback/oneroster/types").TimebackGrade[] | undefined;
|
|
96
96
|
password?: string | null | undefined;
|
|
97
97
|
sms?: string | null | undefined;
|
|
98
98
|
phone?: string | null | undefined;
|
|
@@ -147,8 +147,8 @@ export declare function handleBootstrap(c: Context<{
|
|
|
147
147
|
} | null | undefined;
|
|
148
148
|
title: string;
|
|
149
149
|
courseCode?: string | undefined;
|
|
150
|
-
grades?: import("@timeback/types").TimebackGrade[] | undefined;
|
|
151
|
-
subjects?: import("@timeback/
|
|
150
|
+
grades?: import("@timeback/oneroster/types").TimebackGrade[] | undefined;
|
|
151
|
+
subjects?: import("@timeback/oneroster/types").TimebackSubject[] | undefined;
|
|
152
152
|
subjectCodes?: string[] | undefined;
|
|
153
153
|
org: {
|
|
154
154
|
sourcedId: string;
|
|
@@ -431,8 +431,8 @@ export declare function handleBootstrap(c: Context<{
|
|
|
431
431
|
classCode?: string | null | undefined;
|
|
432
432
|
classType?: "homeroom" | "scheduled" | undefined;
|
|
433
433
|
location?: string | null | undefined;
|
|
434
|
-
grades?: import("@timeback/types").TimebackGrade[] | undefined;
|
|
435
|
-
subjects?: import("@timeback/
|
|
434
|
+
grades?: import("@timeback/oneroster/types").TimebackGrade[] | undefined;
|
|
435
|
+
subjects?: import("@timeback/oneroster/types").TimebackSubject[] | undefined;
|
|
436
436
|
subjectCodes?: string[] | undefined;
|
|
437
437
|
periods?: string[] | undefined;
|
|
438
438
|
terms?: {
|
|
@@ -576,7 +576,7 @@ export declare function handleBootstrap(c: Context<{
|
|
|
576
576
|
preferredMiddleName?: string | null | undefined;
|
|
577
577
|
preferredLastName?: string | null | undefined;
|
|
578
578
|
pronouns?: string | null | undefined;
|
|
579
|
-
grades?: import("@timeback/types").TimebackGrade[] | undefined;
|
|
579
|
+
grades?: import("@timeback/oneroster/types").TimebackGrade[] | undefined;
|
|
580
580
|
password?: string | null | undefined;
|
|
581
581
|
sms?: string | null | undefined;
|
|
582
582
|
phone?: string | null | undefined;
|
|
@@ -63,7 +63,7 @@ export declare function handleStatus(c: Context, ctx: AppContext): Promise<(Resp
|
|
|
63
63
|
totalGrades?: number | undefined;
|
|
64
64
|
} | undefined;
|
|
65
65
|
} | undefined;
|
|
66
|
-
subject: import("@timeback/
|
|
66
|
+
subject: import("@timeback/types").TimebackSubject;
|
|
67
67
|
grade?: import("@timeback/types").TimebackGrade | undefined;
|
|
68
68
|
ids?: {
|
|
69
69
|
staging?: string | undefined;
|
|
@@ -126,6 +126,9 @@ export declare function handleStatus(c: Context, ctx: AppContext): Promise<(Resp
|
|
|
126
126
|
}[];
|
|
127
127
|
sensor?: string | undefined;
|
|
128
128
|
launchUrl?: string | undefined;
|
|
129
|
+
studio?: {
|
|
130
|
+
telemetry?: boolean | undefined;
|
|
131
|
+
} | undefined;
|
|
129
132
|
version: string;
|
|
130
133
|
path: string;
|
|
131
134
|
courseIds: {
|
|
@@ -136,6 +139,8 @@ export declare function handleStatus(c: Context, ctx: AppContext): Promise<(Resp
|
|
|
136
139
|
environment: import("../../config").StudioEnvironment;
|
|
137
140
|
configuredEnvironments: import("../../config").StudioEnvironment[];
|
|
138
141
|
hasEmail: boolean;
|
|
142
|
+
clientId?: string | undefined;
|
|
143
|
+
sensors?: string[] | undefined;
|
|
139
144
|
}, import("hono/utils/http-status").ContentfulStatusCode, "json">) | (Response & import("hono").TypedResponse<null, 304, "body">)>;
|
|
140
145
|
/**
|
|
141
146
|
* GET /api/status/stream - SSE stream for status updates.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../src/server/controllers/status.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AACnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAE9C;;;;;;GAMG;AACH,wBAAsB,YAAY,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,UAAU
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../src/server/controllers/status.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AACnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAE9C;;;;;;GAMG;AACH,wBAAsB,YAAY,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mIAY7D;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,UAAU,YAoB7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../src/server/services/status.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAErD;;;;;GAKG;AACH,qBAAa,aAAa;IACzB,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAY;IAEhC,YAAY,GAAG,EAAE,UAAU,EAE1B;IAED;;;;;;;OAOG;IACG,SAAS,IAAI,OAAO,CAAC,kBAAkB,CAAC,
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../src/server/services/status.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAErD;;;;;GAKG;AACH,qBAAa,aAAa;IACzB,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAY;IAEhC,YAAY,GAAG,EAAE,UAAU,EAE1B;IAED;;;;;;;OAOG;IACG,SAAS,IAAI,OAAO,CAAC,kBAAkB,CAAC,CA4B7C;CACD"}
|
package/dist/types.d.ts
CHANGED
|
@@ -32,6 +32,8 @@ export interface StatusEventPayload {
|
|
|
32
32
|
environment: StudioEnvironment;
|
|
33
33
|
configuredEnvironments: StudioEnvironment[];
|
|
34
34
|
hasEmail: boolean;
|
|
35
|
+
clientId?: string;
|
|
36
|
+
sensors?: string[];
|
|
35
37
|
}
|
|
36
38
|
/** Payload for 'events' SSE events (Caliper events stream) */
|
|
37
39
|
export interface EventsEventPayload {
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAGzE,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AACvD,YAAY,EAAE,gBAAgB,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAMtE;;GAEG;AACH,MAAM,MAAM,eAAe,GAExB,mBAAmB,GACnB,oBAAoB,GACpB,qBAAqB,GACrB,qBAAqB,GACrB,yBAAyB,GACzB,kCAAkC,GAClC,wBAAwB,GACxB,yBAAyB,GACzB,sBAAsB,GACtB,0BAA0B,GAC1B,2BAA2B,GAC3B,wBAAwB,GAExB,oBAAoB,GACpB,aAAa,GAEb,mBAAmB,GACnB,qBAAqB,GAErB,eAAe,CAAA;AAElB;;;;;GAKG;AACH,MAAM,WAAW,WAAW;IAC3B,2CAA2C;IAC3C,IAAI,EAAE,eAAe,CAAA;IACrB,6BAA6B;IAC7B,OAAO,EAAE,MAAM,CAAA;IACf,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACjC;AAMD,kCAAkC;AAClC,MAAM,WAAW,kBAAkB;IAClC,MAAM,EAAE,gBAAgB,CAAA;IACxB,WAAW,EAAE,iBAAiB,CAAA;IAC9B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