timeback-studio 0.1.1 → 0.1.3
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 +948 -61
- package/dist/cli/commands/serve/config.d.ts +9 -3
- package/dist/cli/commands/serve/config.d.ts.map +1 -1
- package/dist/cli/commands/serve/index.d.ts.map +1 -1
- package/dist/cli/lib/onboarding/import.d.ts.map +1 -1
- package/dist/cli/lib/onboarding/types.d.ts +1 -1
- package/dist/cli/lib/onboarding/types.d.ts.map +1 -1
- package/dist/config/types.d.ts +1 -0
- package/dist/config/types.d.ts.map +1 -1
- package/dist/index.js +948 -61
- package/dist/server/controllers/bootstrap.d.ts +6 -6
- package/dist/server/controllers/status.d.ts +58 -3
- package/dist/server/controllers/status.d.ts.map +1 -1
- package/dist/server/lib/middleware.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -39,7 +39,7 @@ export declare function handleBootstrap(c: Context<{
|
|
|
39
39
|
email?: string | undefined;
|
|
40
40
|
roles: {
|
|
41
41
|
roleType: "primary" | "secondary";
|
|
42
|
-
role: import("@timeback/types").OneRosterUserRole;
|
|
42
|
+
role: import("@timeback/oneroster/types").OneRosterUserRole;
|
|
43
43
|
org: {
|
|
44
44
|
sourcedId: string;
|
|
45
45
|
href: string;
|
|
@@ -145,7 +145,7 @@ export declare function handleBootstrap(c: Context<{
|
|
|
145
145
|
title: string;
|
|
146
146
|
courseCode?: string | undefined;
|
|
147
147
|
grades?: import("@timeback/types").TimebackGrade[] | undefined;
|
|
148
|
-
subjects?: import("@timeback/
|
|
148
|
+
subjects?: import("@timeback/caliper").TimebackSubject[] | undefined;
|
|
149
149
|
subjectCodes?: string[] | undefined;
|
|
150
150
|
org: {
|
|
151
151
|
sourcedId: string;
|
|
@@ -203,7 +203,7 @@ export declare function handleBootstrap(c: Context<{
|
|
|
203
203
|
sourcedId: string;
|
|
204
204
|
};
|
|
205
205
|
sortOrder?: number | undefined;
|
|
206
|
-
lessonType?: import("@timeback/types").LessonType | undefined;
|
|
206
|
+
lessonType?: import("@timeback/oneroster/types").LessonType | undefined;
|
|
207
207
|
resourceDetails?: {
|
|
208
208
|
sourcedId?: string | undefined;
|
|
209
209
|
status?: "active" | "tobedeleted" | undefined;
|
|
@@ -429,7 +429,7 @@ export declare function handleBootstrap(c: Context<{
|
|
|
429
429
|
classType?: "homeroom" | "scheduled" | undefined;
|
|
430
430
|
location?: string | null | undefined;
|
|
431
431
|
grades?: import("@timeback/types").TimebackGrade[] | undefined;
|
|
432
|
-
subjects?: import("@timeback/
|
|
432
|
+
subjects?: import("@timeback/caliper").TimebackSubject[] | undefined;
|
|
433
433
|
subjectCodes?: string[] | undefined;
|
|
434
434
|
periods?: string[] | undefined;
|
|
435
435
|
terms?: {
|
|
@@ -498,7 +498,7 @@ export declare function handleBootstrap(c: Context<{
|
|
|
498
498
|
type: string;
|
|
499
499
|
name?: string | undefined;
|
|
500
500
|
};
|
|
501
|
-
role: import("@timeback/types").OneRosterUserRole;
|
|
501
|
+
role: import("@timeback/oneroster/types").OneRosterUserRole;
|
|
502
502
|
primary?: string | null | undefined;
|
|
503
503
|
beginDate?: string | null | undefined;
|
|
504
504
|
endDate?: string | null | undefined;
|
|
@@ -523,7 +523,7 @@ export declare function handleBootstrap(c: Context<{
|
|
|
523
523
|
email?: string | undefined;
|
|
524
524
|
roles: {
|
|
525
525
|
roleType: "primary" | "secondary";
|
|
526
|
-
role: import("@timeback/types").OneRosterUserRole;
|
|
526
|
+
role: import("@timeback/oneroster/types").OneRosterUserRole;
|
|
527
527
|
org: {
|
|
528
528
|
sourcedId: string;
|
|
529
529
|
href: string;
|
|
@@ -63,14 +63,69 @@ 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/
|
|
67
|
-
grade
|
|
66
|
+
subject: import("@timeback/caliper").TimebackSubject;
|
|
67
|
+
grade?: import("@timeback/types").TimebackGrade | undefined;
|
|
68
68
|
ids?: {
|
|
69
69
|
staging?: string | undefined;
|
|
70
70
|
production?: string | undefined;
|
|
71
71
|
} | null | undefined;
|
|
72
|
+
sensor?: string | undefined;
|
|
73
|
+
launchUrl?: string | undefined;
|
|
74
|
+
overrides?: {
|
|
75
|
+
staging?: {
|
|
76
|
+
level?: string | undefined;
|
|
77
|
+
sensor?: string | undefined;
|
|
78
|
+
launchUrl?: string | undefined;
|
|
79
|
+
metadata?: {
|
|
80
|
+
courseType?: import("@timeback/types").CourseType | undefined;
|
|
81
|
+
isSupplemental?: boolean | undefined;
|
|
82
|
+
isCustom?: boolean | undefined;
|
|
83
|
+
publishStatus?: import("@timeback/types").PublishStatus | undefined;
|
|
84
|
+
contactEmail?: string | undefined;
|
|
85
|
+
primaryApp?: string | undefined;
|
|
86
|
+
goals?: {
|
|
87
|
+
dailyXp?: number | undefined;
|
|
88
|
+
dailyLessons?: number | undefined;
|
|
89
|
+
dailyActiveMinutes?: number | undefined;
|
|
90
|
+
dailyAccuracy?: number | undefined;
|
|
91
|
+
dailyMasteredUnits?: number | undefined;
|
|
92
|
+
} | undefined;
|
|
93
|
+
metrics?: {
|
|
94
|
+
totalXp?: number | undefined;
|
|
95
|
+
totalLessons?: number | undefined;
|
|
96
|
+
totalGrades?: number | undefined;
|
|
97
|
+
} | undefined;
|
|
98
|
+
} | undefined;
|
|
99
|
+
} | undefined;
|
|
100
|
+
production?: {
|
|
101
|
+
level?: string | undefined;
|
|
102
|
+
sensor?: string | undefined;
|
|
103
|
+
launchUrl?: string | undefined;
|
|
104
|
+
metadata?: {
|
|
105
|
+
courseType?: import("@timeback/types").CourseType | undefined;
|
|
106
|
+
isSupplemental?: boolean | undefined;
|
|
107
|
+
isCustom?: boolean | undefined;
|
|
108
|
+
publishStatus?: import("@timeback/types").PublishStatus | undefined;
|
|
109
|
+
contactEmail?: string | undefined;
|
|
110
|
+
primaryApp?: string | undefined;
|
|
111
|
+
goals?: {
|
|
112
|
+
dailyXp?: number | undefined;
|
|
113
|
+
dailyLessons?: number | undefined;
|
|
114
|
+
dailyActiveMinutes?: number | undefined;
|
|
115
|
+
dailyAccuracy?: number | undefined;
|
|
116
|
+
dailyMasteredUnits?: number | undefined;
|
|
117
|
+
} | undefined;
|
|
118
|
+
metrics?: {
|
|
119
|
+
totalXp?: number | undefined;
|
|
120
|
+
totalLessons?: number | undefined;
|
|
121
|
+
totalGrades?: number | undefined;
|
|
122
|
+
} | undefined;
|
|
123
|
+
} | undefined;
|
|
124
|
+
} | undefined;
|
|
125
|
+
} | undefined;
|
|
72
126
|
}[];
|
|
73
|
-
|
|
127
|
+
sensor?: string | undefined;
|
|
128
|
+
launchUrl?: string | undefined;
|
|
74
129
|
version: string;
|
|
75
130
|
path: string;
|
|
76
131
|
courseIds: {
|
|
@@ -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":"middleware.d.ts","sourceRoot":"","sources":["../../../src/server/lib/middleware.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAUH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC3D,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,SAAS,CAAA;AAI7D;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,CAAC,WAAW,CAAC;;
|
|
1
|
+
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../../src/server/lib/middleware.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAUH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC3D,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,SAAS,CAAA;AAI7D;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,CAAC,WAAW,CAAC;;yBAiDzF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "timeback-studio",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@clack/prompts": "^0.11.0",
|
|
29
29
|
"@hono/node-server": "^1.19.7",
|
|
30
|
-
"@timeback/core": "0.1.
|
|
30
|
+
"@timeback/core": "0.1.3",
|
|
31
31
|
"colorette": "^2.0.20",
|
|
32
32
|
"commander": "^14.0.2",
|
|
33
33
|
"hono": "^4.11.1",
|