@shuffl/cli 0.6.3 → 0.6.4
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/commands.generated.js +100 -0
- package/package.json +3 -3
|
@@ -2813,6 +2813,14 @@ export const commands = [
|
|
|
2813
2813
|
const: 'mentorship.programs.setStatus',
|
|
2814
2814
|
type: 'string',
|
|
2815
2815
|
},
|
|
2816
|
+
{
|
|
2817
|
+
const: 'mentorship.settings.get',
|
|
2818
|
+
type: 'string',
|
|
2819
|
+
},
|
|
2820
|
+
{
|
|
2821
|
+
const: 'mentorship.settings.save',
|
|
2822
|
+
type: 'string',
|
|
2823
|
+
},
|
|
2816
2824
|
{
|
|
2817
2825
|
const: 'network.claim',
|
|
2818
2826
|
type: 'string',
|
|
@@ -3297,6 +3305,10 @@ export const commands = [
|
|
|
3297
3305
|
const: 'reports.melloValue',
|
|
3298
3306
|
type: 'string',
|
|
3299
3307
|
},
|
|
3308
|
+
{
|
|
3309
|
+
const: 'reports.mentorship',
|
|
3310
|
+
type: 'string',
|
|
3311
|
+
},
|
|
3300
3312
|
{
|
|
3301
3313
|
const: 'reports.needsYou',
|
|
3302
3314
|
type: 'string',
|
|
@@ -8298,6 +8310,60 @@ export const commands = [
|
|
|
8298
8310
|
scope: 'mentorship:write',
|
|
8299
8311
|
summary: 'Turn mentorship programs on, pause one, or archive one and end its pairs',
|
|
8300
8312
|
},
|
|
8313
|
+
{
|
|
8314
|
+
access: 'read',
|
|
8315
|
+
command: ['mentorship', 'settings', 'get'],
|
|
8316
|
+
input: {
|
|
8317
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
8318
|
+
additionalProperties: false,
|
|
8319
|
+
properties: {},
|
|
8320
|
+
type: 'object',
|
|
8321
|
+
},
|
|
8322
|
+
path: ['mentorship', 'settings', 'get'],
|
|
8323
|
+
permission: 'mentorship.settings.get',
|
|
8324
|
+
scope: 'mentorship:read',
|
|
8325
|
+
summary: 'What a new mentorship program starts with: pairing length, check-in cadence and mentees per mentor',
|
|
8326
|
+
},
|
|
8327
|
+
{
|
|
8328
|
+
access: 'write',
|
|
8329
|
+
command: ['mentorship', 'settings', 'save'],
|
|
8330
|
+
input: {
|
|
8331
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
8332
|
+
additionalProperties: false,
|
|
8333
|
+
properties: {
|
|
8334
|
+
checkInWeeks: {
|
|
8335
|
+
type: 'number',
|
|
8336
|
+
},
|
|
8337
|
+
confirm: {
|
|
8338
|
+
const: 'mentorship.settings.save',
|
|
8339
|
+
type: 'string',
|
|
8340
|
+
},
|
|
8341
|
+
mentorCapacity: {
|
|
8342
|
+
type: 'number',
|
|
8343
|
+
},
|
|
8344
|
+
pairingWeeks: {
|
|
8345
|
+
type: 'number',
|
|
8346
|
+
},
|
|
8347
|
+
requestKey: {
|
|
8348
|
+
maxLength: 128,
|
|
8349
|
+
minLength: 1,
|
|
8350
|
+
type: 'string',
|
|
8351
|
+
},
|
|
8352
|
+
},
|
|
8353
|
+
required: [
|
|
8354
|
+
'checkInWeeks',
|
|
8355
|
+
'mentorCapacity',
|
|
8356
|
+
'pairingWeeks',
|
|
8357
|
+
'confirm',
|
|
8358
|
+
'requestKey',
|
|
8359
|
+
],
|
|
8360
|
+
type: 'object',
|
|
8361
|
+
},
|
|
8362
|
+
path: ['mentorship', 'settings', 'save'],
|
|
8363
|
+
permission: 'mentorship.settings.save',
|
|
8364
|
+
scope: 'mentorship:write',
|
|
8365
|
+
summary: 'Change what a new mentorship program starts with; existing programs keep their own terms',
|
|
8366
|
+
},
|
|
8301
8367
|
{
|
|
8302
8368
|
access: 'write',
|
|
8303
8369
|
command: ['network', 'claim'],
|
|
@@ -14117,6 +14183,40 @@ export const commands = [
|
|
|
14117
14183
|
scope: 'reports:read',
|
|
14118
14184
|
summary: 'What Mello handled this week, this month and all time, with time saved once the team has set its minutes per question',
|
|
14119
14185
|
},
|
|
14186
|
+
{
|
|
14187
|
+
access: 'read',
|
|
14188
|
+
command: ['reports', 'mentorship'],
|
|
14189
|
+
input: {
|
|
14190
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
14191
|
+
additionalProperties: false,
|
|
14192
|
+
properties: {
|
|
14193
|
+
days: {
|
|
14194
|
+
anyOf: [
|
|
14195
|
+
{
|
|
14196
|
+
const: 30,
|
|
14197
|
+
type: 'number',
|
|
14198
|
+
},
|
|
14199
|
+
{
|
|
14200
|
+
const: 90,
|
|
14201
|
+
type: 'number',
|
|
14202
|
+
},
|
|
14203
|
+
{
|
|
14204
|
+
const: 180,
|
|
14205
|
+
type: 'number',
|
|
14206
|
+
},
|
|
14207
|
+
],
|
|
14208
|
+
},
|
|
14209
|
+
programId: {
|
|
14210
|
+
type: 'string',
|
|
14211
|
+
},
|
|
14212
|
+
},
|
|
14213
|
+
type: 'object',
|
|
14214
|
+
},
|
|
14215
|
+
path: ['reports', 'mentorship'],
|
|
14216
|
+
permission: 'reports.mentorship',
|
|
14217
|
+
scope: 'reports:read',
|
|
14218
|
+
summary: 'Mentorship over 30, 90 or 180 days against the period before: pairs started, ended early and completed, check-ins answered and met, pairs meeting and mentees waiting now; `programId` narrows it. Never goals',
|
|
14219
|
+
},
|
|
14120
14220
|
{
|
|
14121
14221
|
access: 'read',
|
|
14122
14222
|
command: ['reports', 'needs-you'],
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
3
|
"@orpc/client": "1.15.3",
|
|
4
|
-
"@shuffl/api-contracts": "0.6.
|
|
5
|
-
"@shuffl/sdk": "0.6.
|
|
4
|
+
"@shuffl/api-contracts": "0.6.4",
|
|
5
|
+
"@shuffl/sdk": "0.6.4"
|
|
6
6
|
},
|
|
7
7
|
"description": "Shuffl command line: every public API operation as a scriptable command with JSON output.",
|
|
8
8
|
"engines": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"sideEffects": false,
|
|
34
34
|
"type": "module",
|
|
35
35
|
"types": "./dist/index.d.ts",
|
|
36
|
-
"version": "0.6.
|
|
36
|
+
"version": "0.6.4",
|
|
37
37
|
"bin": {
|
|
38
38
|
"shuffl": "./dist/bin.js"
|
|
39
39
|
}
|