@contractspec/example.learning-journey-studio-onboarding 1.57.0 → 1.58.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.
- package/.turbo/turbo-build.log +46 -50
- package/.turbo/turbo-prebuild.log +1 -0
- package/CHANGELOG.md +14 -0
- package/dist/browser/docs/index.js +35 -0
- package/dist/browser/docs/studio-onboarding.docblock.js +35 -0
- package/dist/browser/example.js +32 -0
- package/dist/browser/handlers/demo.handlers.js +107 -0
- package/dist/browser/index.js +393 -0
- package/dist/browser/learning-journey-studio-onboarding.feature.js +50 -0
- package/dist/browser/operations/index.js +201 -0
- package/dist/browser/presentations/index.js +250 -0
- package/dist/browser/tests/operations.test-spec.js +34 -0
- package/dist/browser/track.js +87 -0
- package/dist/docs/index.d.ts +2 -1
- package/dist/docs/index.d.ts.map +1 -0
- package/dist/docs/index.js +36 -1
- package/dist/docs/studio-onboarding.docblock.d.ts +2 -1
- package/dist/docs/studio-onboarding.docblock.d.ts.map +1 -0
- package/dist/docs/studio-onboarding.docblock.js +21 -25
- package/dist/example.d.ts +2 -6
- package/dist/example.d.ts.map +1 -1
- package/dist/example.js +31 -39
- package/dist/handlers/demo.handlers.d.ts +12 -17
- package/dist/handlers/demo.handlers.d.ts.map +1 -1
- package/dist/handlers/demo.handlers.js +105 -21
- package/dist/index.d.ts +8 -7
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +394 -9
- package/dist/learning-journey-studio-onboarding.feature.d.ts +1 -6
- package/dist/learning-journey-studio-onboarding.feature.d.ts.map +1 -1
- package/dist/learning-journey-studio-onboarding.feature.js +49 -73
- package/dist/node/docs/index.js +35 -0
- package/dist/node/docs/studio-onboarding.docblock.js +35 -0
- package/dist/node/example.js +32 -0
- package/dist/node/handlers/demo.handlers.js +107 -0
- package/dist/node/index.js +393 -0
- package/dist/node/learning-journey-studio-onboarding.feature.js +50 -0
- package/dist/node/operations/index.js +201 -0
- package/dist/node/presentations/index.js +250 -0
- package/dist/node/tests/operations.test-spec.js +34 -0
- package/dist/node/track.js +87 -0
- package/dist/operations/index.d.ts +229 -236
- package/dist/operations/index.d.ts.map +1 -1
- package/dist/operations/index.js +193 -167
- package/dist/operations/index.test.d.ts +2 -0
- package/dist/operations/index.test.d.ts.map +1 -0
- package/dist/presentations/index.d.ts +3 -8
- package/dist/presentations/index.d.ts.map +1 -1
- package/dist/presentations/index.js +248 -54
- package/dist/tests/operations.test-spec.d.ts +1 -6
- package/dist/tests/operations.test-spec.d.ts.map +1 -1
- package/dist/tests/operations.test-spec.js +33 -34
- package/dist/track.d.ts +3 -7
- package/dist/track.d.ts.map +1 -1
- package/dist/track.js +87 -90
- package/package.json +118 -34
- package/tsdown.config.js +1 -2
- package/.turbo/turbo-build$colon$bundle.log +0 -50
- package/dist/docs/studio-onboarding.docblock.js.map +0 -1
- package/dist/example.js.map +0 -1
- package/dist/handlers/demo.handlers.js.map +0 -1
- package/dist/learning-journey-studio-onboarding.feature.js.map +0 -1
- package/dist/operations/index.js.map +0 -1
- package/dist/presentations/index.js.map +0 -1
- package/dist/tests/operations.test-spec.js.map +0 -1
- package/dist/track.js.map +0 -1
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -1,271 +1,264 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
//#region src/operations/index.d.ts
|
|
6
|
-
declare const StudioOnboardingTrackModel: _contractspec_lib_schema0.SchemaModel<{
|
|
7
|
-
id: {
|
|
8
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
9
|
-
isOptional: false;
|
|
10
|
-
};
|
|
11
|
-
name: {
|
|
12
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
13
|
-
isOptional: false;
|
|
14
|
-
};
|
|
15
|
-
description: {
|
|
16
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
17
|
-
isOptional: true;
|
|
18
|
-
};
|
|
19
|
-
totalXp: {
|
|
20
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
21
|
-
isOptional: true;
|
|
22
|
-
};
|
|
23
|
-
completionXpBonus: {
|
|
24
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
25
|
-
isOptional: true;
|
|
26
|
-
};
|
|
27
|
-
completionBadgeKey: {
|
|
28
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
29
|
-
isOptional: true;
|
|
30
|
-
};
|
|
31
|
-
streakHoursWindow: {
|
|
32
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
33
|
-
isOptional: true;
|
|
34
|
-
};
|
|
35
|
-
streakBonusXp: {
|
|
36
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
37
|
-
isOptional: true;
|
|
38
|
-
};
|
|
39
|
-
steps: {
|
|
40
|
-
type: _contractspec_lib_schema0.SchemaModel<{
|
|
41
|
-
id: {
|
|
42
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
1
|
+
export declare const StudioOnboardingTrackModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
2
|
+
id: {
|
|
3
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
43
4
|
isOptional: false;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
type:
|
|
47
|
-
isOptional: false;
|
|
48
|
-
};
|
|
49
|
-
description: {
|
|
50
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
51
|
-
isOptional: true;
|
|
52
|
-
};
|
|
53
|
-
completionEvent: {
|
|
54
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
55
|
-
isOptional: false;
|
|
56
|
-
};
|
|
57
|
-
sourceModule: {
|
|
58
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
59
|
-
isOptional: true;
|
|
60
|
-
};
|
|
61
|
-
xpReward: {
|
|
62
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
63
|
-
isOptional: true;
|
|
64
|
-
};
|
|
65
|
-
order: {
|
|
66
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
67
|
-
isOptional: true;
|
|
68
|
-
};
|
|
69
|
-
}>;
|
|
70
|
-
isArray: true;
|
|
71
|
-
isOptional: false;
|
|
72
|
-
};
|
|
73
|
-
}>;
|
|
74
|
-
declare const GetStudioOnboardingTrack: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{}>, _contractspec_lib_schema0.SchemaModel<{
|
|
75
|
-
track: {
|
|
76
|
-
type: _contractspec_lib_schema0.SchemaModel<{
|
|
77
|
-
id: {
|
|
78
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
79
|
-
isOptional: false;
|
|
80
|
-
};
|
|
81
|
-
name: {
|
|
82
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
5
|
+
};
|
|
6
|
+
name: {
|
|
7
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
83
8
|
isOptional: false;
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
type:
|
|
9
|
+
};
|
|
10
|
+
description: {
|
|
11
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
87
12
|
isOptional: true;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
type:
|
|
13
|
+
};
|
|
14
|
+
totalXp: {
|
|
15
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
91
16
|
isOptional: true;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
type:
|
|
17
|
+
};
|
|
18
|
+
completionXpBonus: {
|
|
19
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
95
20
|
isOptional: true;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
type:
|
|
21
|
+
};
|
|
22
|
+
completionBadgeKey: {
|
|
23
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
99
24
|
isOptional: true;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
type:
|
|
25
|
+
};
|
|
26
|
+
streakHoursWindow: {
|
|
27
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
103
28
|
isOptional: true;
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
type:
|
|
29
|
+
};
|
|
30
|
+
streakBonusXp: {
|
|
31
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
107
32
|
isOptional: true;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
type:
|
|
111
|
-
id: {
|
|
112
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
113
|
-
isOptional: false;
|
|
114
|
-
};
|
|
115
|
-
title: {
|
|
116
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
117
|
-
isOptional: false;
|
|
118
|
-
};
|
|
119
|
-
description: {
|
|
120
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
121
|
-
isOptional: true;
|
|
122
|
-
};
|
|
123
|
-
completionEvent: {
|
|
124
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
125
|
-
isOptional: false;
|
|
126
|
-
};
|
|
127
|
-
sourceModule: {
|
|
128
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
129
|
-
isOptional: true;
|
|
130
|
-
};
|
|
131
|
-
xpReward: {
|
|
132
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
133
|
-
isOptional: true;
|
|
134
|
-
};
|
|
135
|
-
order: {
|
|
136
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
137
|
-
isOptional: true;
|
|
138
|
-
};
|
|
139
|
-
}>;
|
|
140
|
-
isArray: true;
|
|
141
|
-
isOptional: false;
|
|
142
|
-
};
|
|
143
|
-
}>;
|
|
144
|
-
isOptional: false;
|
|
145
|
-
};
|
|
146
|
-
}>, undefined>;
|
|
147
|
-
declare const RecordStudioOnboardingEvent: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
148
|
-
learnerId: {
|
|
149
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
150
|
-
isOptional: false;
|
|
151
|
-
};
|
|
152
|
-
eventName: {
|
|
153
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
154
|
-
isOptional: false;
|
|
155
|
-
};
|
|
156
|
-
payload: {
|
|
157
|
-
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
158
|
-
isOptional: true;
|
|
159
|
-
};
|
|
160
|
-
occurredAt: {
|
|
161
|
-
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
162
|
-
isOptional: true;
|
|
163
|
-
};
|
|
164
|
-
}>, _contractspec_lib_schema0.SchemaModel<{
|
|
165
|
-
success: {
|
|
166
|
-
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
167
|
-
isOptional: false;
|
|
168
|
-
};
|
|
169
|
-
}>, undefined>;
|
|
170
|
-
declare const studioOnboardingContracts: {
|
|
171
|
-
GetStudioOnboardingTrack: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{}>, _contractspec_lib_schema0.SchemaModel<{
|
|
172
|
-
track: {
|
|
173
|
-
type: _contractspec_lib_schema0.SchemaModel<{
|
|
174
|
-
id: {
|
|
175
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
176
|
-
isOptional: false;
|
|
177
|
-
};
|
|
178
|
-
name: {
|
|
179
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
180
|
-
isOptional: false;
|
|
181
|
-
};
|
|
182
|
-
description: {
|
|
183
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
184
|
-
isOptional: true;
|
|
185
|
-
};
|
|
186
|
-
totalXp: {
|
|
187
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
188
|
-
isOptional: true;
|
|
189
|
-
};
|
|
190
|
-
completionXpBonus: {
|
|
191
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
192
|
-
isOptional: true;
|
|
193
|
-
};
|
|
194
|
-
completionBadgeKey: {
|
|
195
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
196
|
-
isOptional: true;
|
|
197
|
-
};
|
|
198
|
-
streakHoursWindow: {
|
|
199
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
200
|
-
isOptional: true;
|
|
201
|
-
};
|
|
202
|
-
streakBonusXp: {
|
|
203
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
204
|
-
isOptional: true;
|
|
205
|
-
};
|
|
206
|
-
steps: {
|
|
207
|
-
type: _contractspec_lib_schema0.SchemaModel<{
|
|
33
|
+
};
|
|
34
|
+
steps: {
|
|
35
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
208
36
|
id: {
|
|
209
|
-
|
|
210
|
-
|
|
37
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
38
|
+
isOptional: false;
|
|
211
39
|
};
|
|
212
40
|
title: {
|
|
213
|
-
|
|
214
|
-
|
|
41
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
42
|
+
isOptional: false;
|
|
215
43
|
};
|
|
216
44
|
description: {
|
|
217
|
-
|
|
218
|
-
|
|
45
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
46
|
+
isOptional: true;
|
|
219
47
|
};
|
|
220
48
|
completionEvent: {
|
|
221
|
-
|
|
222
|
-
|
|
49
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
50
|
+
isOptional: false;
|
|
223
51
|
};
|
|
224
52
|
sourceModule: {
|
|
225
|
-
|
|
226
|
-
|
|
53
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
54
|
+
isOptional: true;
|
|
227
55
|
};
|
|
228
56
|
xpReward: {
|
|
229
|
-
|
|
230
|
-
|
|
57
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
58
|
+
isOptional: true;
|
|
231
59
|
};
|
|
232
60
|
order: {
|
|
233
|
-
|
|
234
|
-
|
|
61
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
62
|
+
isOptional: true;
|
|
235
63
|
};
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
64
|
+
}>;
|
|
65
|
+
isArray: true;
|
|
66
|
+
isOptional: false;
|
|
67
|
+
};
|
|
68
|
+
}>;
|
|
69
|
+
export declare const GetStudioOnboardingTrack: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
70
|
+
track: {
|
|
71
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
72
|
+
id: {
|
|
73
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
74
|
+
isOptional: false;
|
|
75
|
+
};
|
|
76
|
+
name: {
|
|
77
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
78
|
+
isOptional: false;
|
|
79
|
+
};
|
|
80
|
+
description: {
|
|
81
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
82
|
+
isOptional: true;
|
|
83
|
+
};
|
|
84
|
+
totalXp: {
|
|
85
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
86
|
+
isOptional: true;
|
|
87
|
+
};
|
|
88
|
+
completionXpBonus: {
|
|
89
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
90
|
+
isOptional: true;
|
|
91
|
+
};
|
|
92
|
+
completionBadgeKey: {
|
|
93
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
94
|
+
isOptional: true;
|
|
95
|
+
};
|
|
96
|
+
streakHoursWindow: {
|
|
97
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
98
|
+
isOptional: true;
|
|
99
|
+
};
|
|
100
|
+
streakBonusXp: {
|
|
101
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
102
|
+
isOptional: true;
|
|
103
|
+
};
|
|
104
|
+
steps: {
|
|
105
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
106
|
+
id: {
|
|
107
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
108
|
+
isOptional: false;
|
|
109
|
+
};
|
|
110
|
+
title: {
|
|
111
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
112
|
+
isOptional: false;
|
|
113
|
+
};
|
|
114
|
+
description: {
|
|
115
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
116
|
+
isOptional: true;
|
|
117
|
+
};
|
|
118
|
+
completionEvent: {
|
|
119
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
120
|
+
isOptional: false;
|
|
121
|
+
};
|
|
122
|
+
sourceModule: {
|
|
123
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
124
|
+
isOptional: true;
|
|
125
|
+
};
|
|
126
|
+
xpReward: {
|
|
127
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
128
|
+
isOptional: true;
|
|
129
|
+
};
|
|
130
|
+
order: {
|
|
131
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
132
|
+
isOptional: true;
|
|
133
|
+
};
|
|
134
|
+
}>;
|
|
135
|
+
isArray: true;
|
|
136
|
+
isOptional: false;
|
|
137
|
+
};
|
|
138
|
+
}>;
|
|
139
|
+
isOptional: false;
|
|
242
140
|
};
|
|
243
|
-
|
|
244
|
-
|
|
141
|
+
}>, undefined>;
|
|
142
|
+
export declare const RecordStudioOnboardingEvent: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
245
143
|
learnerId: {
|
|
246
|
-
|
|
247
|
-
|
|
144
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
145
|
+
isOptional: false;
|
|
248
146
|
};
|
|
249
147
|
eventName: {
|
|
250
|
-
|
|
251
|
-
|
|
148
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
149
|
+
isOptional: false;
|
|
252
150
|
};
|
|
253
151
|
payload: {
|
|
254
|
-
|
|
255
|
-
|
|
152
|
+
type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
|
|
153
|
+
isOptional: true;
|
|
256
154
|
};
|
|
257
155
|
occurredAt: {
|
|
258
|
-
|
|
259
|
-
|
|
156
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
157
|
+
isOptional: true;
|
|
260
158
|
};
|
|
261
|
-
|
|
159
|
+
}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
262
160
|
success: {
|
|
263
|
-
|
|
264
|
-
|
|
161
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
162
|
+
isOptional: false;
|
|
265
163
|
};
|
|
266
|
-
|
|
267
|
-
|
|
164
|
+
}>, undefined>;
|
|
165
|
+
export declare const studioOnboardingContracts: {
|
|
166
|
+
GetStudioOnboardingTrack: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
167
|
+
track: {
|
|
168
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
169
|
+
id: {
|
|
170
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
171
|
+
isOptional: false;
|
|
172
|
+
};
|
|
173
|
+
name: {
|
|
174
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
175
|
+
isOptional: false;
|
|
176
|
+
};
|
|
177
|
+
description: {
|
|
178
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
179
|
+
isOptional: true;
|
|
180
|
+
};
|
|
181
|
+
totalXp: {
|
|
182
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
183
|
+
isOptional: true;
|
|
184
|
+
};
|
|
185
|
+
completionXpBonus: {
|
|
186
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
187
|
+
isOptional: true;
|
|
188
|
+
};
|
|
189
|
+
completionBadgeKey: {
|
|
190
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
191
|
+
isOptional: true;
|
|
192
|
+
};
|
|
193
|
+
streakHoursWindow: {
|
|
194
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
195
|
+
isOptional: true;
|
|
196
|
+
};
|
|
197
|
+
streakBonusXp: {
|
|
198
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
199
|
+
isOptional: true;
|
|
200
|
+
};
|
|
201
|
+
steps: {
|
|
202
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
203
|
+
id: {
|
|
204
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
205
|
+
isOptional: false;
|
|
206
|
+
};
|
|
207
|
+
title: {
|
|
208
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
209
|
+
isOptional: false;
|
|
210
|
+
};
|
|
211
|
+
description: {
|
|
212
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
213
|
+
isOptional: true;
|
|
214
|
+
};
|
|
215
|
+
completionEvent: {
|
|
216
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
217
|
+
isOptional: false;
|
|
218
|
+
};
|
|
219
|
+
sourceModule: {
|
|
220
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
221
|
+
isOptional: true;
|
|
222
|
+
};
|
|
223
|
+
xpReward: {
|
|
224
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
225
|
+
isOptional: true;
|
|
226
|
+
};
|
|
227
|
+
order: {
|
|
228
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
229
|
+
isOptional: true;
|
|
230
|
+
};
|
|
231
|
+
}>;
|
|
232
|
+
isArray: true;
|
|
233
|
+
isOptional: false;
|
|
234
|
+
};
|
|
235
|
+
}>;
|
|
236
|
+
isOptional: false;
|
|
237
|
+
};
|
|
238
|
+
}>, undefined>;
|
|
239
|
+
RecordStudioOnboardingEvent: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
240
|
+
learnerId: {
|
|
241
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
242
|
+
isOptional: false;
|
|
243
|
+
};
|
|
244
|
+
eventName: {
|
|
245
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
246
|
+
isOptional: false;
|
|
247
|
+
};
|
|
248
|
+
payload: {
|
|
249
|
+
type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
|
|
250
|
+
isOptional: true;
|
|
251
|
+
};
|
|
252
|
+
occurredAt: {
|
|
253
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
254
|
+
isOptional: true;
|
|
255
|
+
};
|
|
256
|
+
}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
257
|
+
success: {
|
|
258
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
259
|
+
isOptional: false;
|
|
260
|
+
};
|
|
261
|
+
}>, undefined>;
|
|
262
|
+
track: import("@contractspec/module.learning-journey/track-spec").LearningJourneyTrackSpec;
|
|
268
263
|
};
|
|
269
|
-
//#endregion
|
|
270
|
-
export { GetStudioOnboardingTrack, RecordStudioOnboardingEvent, StudioOnboardingTrackModel, studioOnboardingContracts };
|
|
271
264
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBrC,CAAC;AA6BH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBnC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;cAiBtC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIrC,CAAC"}
|