@laboratoria/sdk-js 5.3.2 → 6.0.0-beta.1
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/README.md +7 -9
- package/dist/laboratoria-sdk-es.js +9017 -0
- package/dist/laboratoria-sdk-umd.js +1486 -2
- package/package.json +22 -21
- package/.babelrc +0 -5
- package/dist/laboratoria-sdk-esm.js +0 -2
- package/dist/laboratoria-sdk-esm.js.LICENSE.txt +0 -101
- package/dist/laboratoria-sdk-umd.js.LICENSE.txt +0 -101
- package/examples/esm.html +0 -4
- package/examples/umd.html +0 -4
- package/index.js +0 -64
- package/lib/client.js +0 -25
- package/lib/core.js +0 -373
- package/lib/curriculum.js +0 -59
- package/lib/model.js +0 -343
- package/lib/roles.js +0 -10
- package/lib/util.js +0 -68
- package/schemas/core.json +0 -1945
- package/webpack.config.mjs +0 -28
package/README.md
CHANGED
|
@@ -163,16 +163,15 @@ WIP
|
|
|
163
163
|
```js
|
|
164
164
|
app.project.findMany();
|
|
165
165
|
|
|
166
|
-
app.project.findMany({ tag: '
|
|
166
|
+
app.project.findMany({ tag: 'v6.5.0' });
|
|
167
167
|
|
|
168
168
|
app.project.findMany({
|
|
169
|
-
|
|
170
|
-
track: 'js',
|
|
169
|
+
track: 'web-dev',
|
|
171
170
|
});
|
|
172
171
|
|
|
173
172
|
app.project.findById('cipher');
|
|
174
173
|
|
|
175
|
-
app.project.findById('cipher', { tag: '
|
|
174
|
+
app.project.findById('cipher', { tag: 'v6.5.0' });
|
|
176
175
|
```
|
|
177
176
|
|
|
178
177
|
### Topics
|
|
@@ -180,16 +179,15 @@ app.project.findById('cipher', { tag: 'v3.0.0' });
|
|
|
180
179
|
```js
|
|
181
180
|
app.topic.findMany();
|
|
182
181
|
|
|
183
|
-
app.topic.findMany({ tag: '
|
|
182
|
+
app.topic.findMany({ tag: 'v6.5.0' });
|
|
184
183
|
|
|
185
184
|
app.topic.findMany({
|
|
186
|
-
|
|
187
|
-
track: 'js',
|
|
185
|
+
track: 'web-dev',
|
|
188
186
|
});
|
|
189
187
|
|
|
190
188
|
app.topic.findById('javascript');
|
|
191
189
|
|
|
192
|
-
app.topic.findById('javascript', { tag: '
|
|
190
|
+
app.topic.findById('javascript', { tag: 'v6.5.0' });
|
|
193
191
|
```
|
|
194
192
|
|
|
195
193
|
### Learning Objectives
|
|
@@ -197,5 +195,5 @@ app.topic.findById('javascript', { tag: 'v3.0.0' });
|
|
|
197
195
|
```js
|
|
198
196
|
app.learningObjective.findMany();
|
|
199
197
|
|
|
200
|
-
app.learningObjective.findMany({ tag: '
|
|
198
|
+
app.learningObjective.findMany({ tag: 'v6.5.0' });
|
|
201
199
|
```
|