@shuffl/cli 0.5.6 → 0.5.7
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 +607 -0
- package/package.json +3 -3
|
@@ -2745,6 +2745,66 @@ export const commands = [
|
|
|
2745
2745
|
const: 'mcp.knowledge',
|
|
2746
2746
|
type: 'string',
|
|
2747
2747
|
},
|
|
2748
|
+
{
|
|
2749
|
+
const: 'mentorship.checkIns.answer',
|
|
2750
|
+
type: 'string',
|
|
2751
|
+
},
|
|
2752
|
+
{
|
|
2753
|
+
const: 'mentorship.goals.remove',
|
|
2754
|
+
type: 'string',
|
|
2755
|
+
},
|
|
2756
|
+
{
|
|
2757
|
+
const: 'mentorship.goals.save',
|
|
2758
|
+
type: 'string',
|
|
2759
|
+
},
|
|
2760
|
+
{
|
|
2761
|
+
const: 'mentorship.join',
|
|
2762
|
+
type: 'string',
|
|
2763
|
+
},
|
|
2764
|
+
{
|
|
2765
|
+
const: 'mentorship.leave',
|
|
2766
|
+
type: 'string',
|
|
2767
|
+
},
|
|
2768
|
+
{
|
|
2769
|
+
const: 'mentorship.members.setStatus',
|
|
2770
|
+
type: 'string',
|
|
2771
|
+
},
|
|
2772
|
+
{
|
|
2773
|
+
const: 'mentorship.mine',
|
|
2774
|
+
type: 'string',
|
|
2775
|
+
},
|
|
2776
|
+
{
|
|
2777
|
+
const: 'mentorship.pairs.decide',
|
|
2778
|
+
type: 'string',
|
|
2779
|
+
},
|
|
2780
|
+
{
|
|
2781
|
+
const: 'mentorship.pairs.end',
|
|
2782
|
+
type: 'string',
|
|
2783
|
+
},
|
|
2784
|
+
{
|
|
2785
|
+
const: 'mentorship.pairs.setMine',
|
|
2786
|
+
type: 'string',
|
|
2787
|
+
},
|
|
2788
|
+
{
|
|
2789
|
+
const: 'mentorship.pairs.suggest',
|
|
2790
|
+
type: 'string',
|
|
2791
|
+
},
|
|
2792
|
+
{
|
|
2793
|
+
const: 'mentorship.programs.get',
|
|
2794
|
+
type: 'string',
|
|
2795
|
+
},
|
|
2796
|
+
{
|
|
2797
|
+
const: 'mentorship.programs.list',
|
|
2798
|
+
type: 'string',
|
|
2799
|
+
},
|
|
2800
|
+
{
|
|
2801
|
+
const: 'mentorship.programs.save',
|
|
2802
|
+
type: 'string',
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
const: 'mentorship.programs.setStatus',
|
|
2806
|
+
type: 'string',
|
|
2807
|
+
},
|
|
2748
2808
|
{
|
|
2749
2809
|
const: 'network.claim',
|
|
2750
2810
|
type: 'string',
|
|
@@ -7593,6 +7653,549 @@ export const commands = [
|
|
|
7593
7653
|
scope: 'knowledge:read',
|
|
7594
7654
|
summary: 'Search currently approved knowledge and return immutable passage citations',
|
|
7595
7655
|
},
|
|
7656
|
+
{
|
|
7657
|
+
access: 'write',
|
|
7658
|
+
command: ['mentorship', 'check-ins', 'answer'],
|
|
7659
|
+
input: {
|
|
7660
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7661
|
+
additionalProperties: false,
|
|
7662
|
+
properties: {
|
|
7663
|
+
answer: {
|
|
7664
|
+
anyOf: [
|
|
7665
|
+
{
|
|
7666
|
+
const: 'helped',
|
|
7667
|
+
type: 'string',
|
|
7668
|
+
},
|
|
7669
|
+
{
|
|
7670
|
+
const: 'met',
|
|
7671
|
+
type: 'string',
|
|
7672
|
+
},
|
|
7673
|
+
{
|
|
7674
|
+
const: 'not_yet',
|
|
7675
|
+
type: 'string',
|
|
7676
|
+
},
|
|
7677
|
+
],
|
|
7678
|
+
},
|
|
7679
|
+
checkInId: {
|
|
7680
|
+
type: 'string',
|
|
7681
|
+
},
|
|
7682
|
+
confirm: {
|
|
7683
|
+
const: 'mentorship.checkIns.answer',
|
|
7684
|
+
type: 'string',
|
|
7685
|
+
},
|
|
7686
|
+
requestKey: {
|
|
7687
|
+
maxLength: 128,
|
|
7688
|
+
minLength: 1,
|
|
7689
|
+
type: 'string',
|
|
7690
|
+
},
|
|
7691
|
+
},
|
|
7692
|
+
required: ['answer', 'checkInId', 'confirm', 'requestKey'],
|
|
7693
|
+
type: 'object',
|
|
7694
|
+
},
|
|
7695
|
+
path: ['mentorship', 'checkIns', 'answer'],
|
|
7696
|
+
permission: 'mentorship.checkIns.answer',
|
|
7697
|
+
scope: 'self:write',
|
|
7698
|
+
summary: 'Answer whether you met your mentor or mentee, and whether it helped',
|
|
7699
|
+
},
|
|
7700
|
+
{
|
|
7701
|
+
access: 'write',
|
|
7702
|
+
command: ['mentorship', 'goals', 'remove'],
|
|
7703
|
+
input: {
|
|
7704
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7705
|
+
additionalProperties: false,
|
|
7706
|
+
properties: {
|
|
7707
|
+
confirm: {
|
|
7708
|
+
const: 'mentorship.goals.remove',
|
|
7709
|
+
type: 'string',
|
|
7710
|
+
},
|
|
7711
|
+
goalId: {
|
|
7712
|
+
type: 'string',
|
|
7713
|
+
},
|
|
7714
|
+
pairId: {
|
|
7715
|
+
type: 'string',
|
|
7716
|
+
},
|
|
7717
|
+
requestKey: {
|
|
7718
|
+
maxLength: 128,
|
|
7719
|
+
minLength: 1,
|
|
7720
|
+
type: 'string',
|
|
7721
|
+
},
|
|
7722
|
+
},
|
|
7723
|
+
required: ['goalId', 'pairId', 'confirm', 'requestKey'],
|
|
7724
|
+
type: 'object',
|
|
7725
|
+
},
|
|
7726
|
+
path: ['mentorship', 'goals', 'remove'],
|
|
7727
|
+
permission: 'mentorship.goals.remove',
|
|
7728
|
+
scope: 'self:write',
|
|
7729
|
+
summary: 'Remove a goal from your mentorship, as the mentee',
|
|
7730
|
+
},
|
|
7731
|
+
{
|
|
7732
|
+
access: 'write',
|
|
7733
|
+
command: ['mentorship', 'goals', 'save'],
|
|
7734
|
+
input: {
|
|
7735
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7736
|
+
additionalProperties: false,
|
|
7737
|
+
properties: {
|
|
7738
|
+
confirm: {
|
|
7739
|
+
const: 'mentorship.goals.save',
|
|
7740
|
+
type: 'string',
|
|
7741
|
+
},
|
|
7742
|
+
done: {
|
|
7743
|
+
anyOf: [
|
|
7744
|
+
{
|
|
7745
|
+
const: false,
|
|
7746
|
+
type: 'boolean',
|
|
7747
|
+
},
|
|
7748
|
+
{
|
|
7749
|
+
const: true,
|
|
7750
|
+
type: 'boolean',
|
|
7751
|
+
},
|
|
7752
|
+
],
|
|
7753
|
+
},
|
|
7754
|
+
goalId: {
|
|
7755
|
+
type: 'string',
|
|
7756
|
+
},
|
|
7757
|
+
pairId: {
|
|
7758
|
+
type: 'string',
|
|
7759
|
+
},
|
|
7760
|
+
requestKey: {
|
|
7761
|
+
maxLength: 128,
|
|
7762
|
+
minLength: 1,
|
|
7763
|
+
type: 'string',
|
|
7764
|
+
},
|
|
7765
|
+
title: {
|
|
7766
|
+
type: 'string',
|
|
7767
|
+
},
|
|
7768
|
+
},
|
|
7769
|
+
required: ['pairId', 'confirm', 'requestKey'],
|
|
7770
|
+
type: 'object',
|
|
7771
|
+
},
|
|
7772
|
+
path: ['mentorship', 'goals', 'save'],
|
|
7773
|
+
permission: 'mentorship.goals.save',
|
|
7774
|
+
scope: 'self:write',
|
|
7775
|
+
summary: 'Add, rename or check off a goal in your mentorship, as the mentee',
|
|
7776
|
+
},
|
|
7777
|
+
{
|
|
7778
|
+
access: 'write',
|
|
7779
|
+
command: ['mentorship', 'join'],
|
|
7780
|
+
input: {
|
|
7781
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7782
|
+
additionalProperties: false,
|
|
7783
|
+
properties: {
|
|
7784
|
+
confirm: {
|
|
7785
|
+
const: 'mentorship.join',
|
|
7786
|
+
type: 'string',
|
|
7787
|
+
},
|
|
7788
|
+
programId: {
|
|
7789
|
+
type: 'string',
|
|
7790
|
+
},
|
|
7791
|
+
requestKey: {
|
|
7792
|
+
maxLength: 128,
|
|
7793
|
+
minLength: 1,
|
|
7794
|
+
type: 'string',
|
|
7795
|
+
},
|
|
7796
|
+
role: {
|
|
7797
|
+
anyOf: [
|
|
7798
|
+
{
|
|
7799
|
+
const: 'mentee',
|
|
7800
|
+
type: 'string',
|
|
7801
|
+
},
|
|
7802
|
+
{
|
|
7803
|
+
const: 'mentor',
|
|
7804
|
+
type: 'string',
|
|
7805
|
+
},
|
|
7806
|
+
],
|
|
7807
|
+
},
|
|
7808
|
+
topics: {
|
|
7809
|
+
type: 'string',
|
|
7810
|
+
},
|
|
7811
|
+
},
|
|
7812
|
+
required: ['programId', 'role', 'topics', 'confirm', 'requestKey'],
|
|
7813
|
+
type: 'object',
|
|
7814
|
+
},
|
|
7815
|
+
path: ['mentorship', 'join'],
|
|
7816
|
+
permission: 'mentorship.join',
|
|
7817
|
+
scope: 'self:write',
|
|
7818
|
+
summary: 'Join a mentorship program as a mentor or mentee, saying what you can help with or want to learn',
|
|
7819
|
+
},
|
|
7820
|
+
{
|
|
7821
|
+
access: 'write',
|
|
7822
|
+
command: ['mentorship', 'leave'],
|
|
7823
|
+
input: {
|
|
7824
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7825
|
+
additionalProperties: false,
|
|
7826
|
+
properties: {
|
|
7827
|
+
confirm: {
|
|
7828
|
+
const: 'mentorship.leave',
|
|
7829
|
+
type: 'string',
|
|
7830
|
+
},
|
|
7831
|
+
programId: {
|
|
7832
|
+
type: 'string',
|
|
7833
|
+
},
|
|
7834
|
+
requestKey: {
|
|
7835
|
+
maxLength: 128,
|
|
7836
|
+
minLength: 1,
|
|
7837
|
+
type: 'string',
|
|
7838
|
+
},
|
|
7839
|
+
role: {
|
|
7840
|
+
anyOf: [
|
|
7841
|
+
{
|
|
7842
|
+
const: 'mentee',
|
|
7843
|
+
type: 'string',
|
|
7844
|
+
},
|
|
7845
|
+
{
|
|
7846
|
+
const: 'mentor',
|
|
7847
|
+
type: 'string',
|
|
7848
|
+
},
|
|
7849
|
+
],
|
|
7850
|
+
},
|
|
7851
|
+
},
|
|
7852
|
+
required: ['programId', 'role', 'confirm', 'requestKey'],
|
|
7853
|
+
type: 'object',
|
|
7854
|
+
},
|
|
7855
|
+
path: ['mentorship', 'leave'],
|
|
7856
|
+
permission: 'mentorship.leave',
|
|
7857
|
+
scope: 'self:write',
|
|
7858
|
+
summary: 'Leave a mentorship program as a mentor or mentee',
|
|
7859
|
+
},
|
|
7860
|
+
{
|
|
7861
|
+
access: 'write',
|
|
7862
|
+
command: ['mentorship', 'members', 'set-status'],
|
|
7863
|
+
input: {
|
|
7864
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7865
|
+
additionalProperties: false,
|
|
7866
|
+
properties: {
|
|
7867
|
+
confirm: {
|
|
7868
|
+
const: 'mentorship.members.setStatus',
|
|
7869
|
+
type: 'string',
|
|
7870
|
+
},
|
|
7871
|
+
personId: {
|
|
7872
|
+
type: 'string',
|
|
7873
|
+
},
|
|
7874
|
+
programId: {
|
|
7875
|
+
type: 'string',
|
|
7876
|
+
},
|
|
7877
|
+
requestKey: {
|
|
7878
|
+
maxLength: 128,
|
|
7879
|
+
minLength: 1,
|
|
7880
|
+
type: 'string',
|
|
7881
|
+
},
|
|
7882
|
+
role: {
|
|
7883
|
+
anyOf: [
|
|
7884
|
+
{
|
|
7885
|
+
const: 'mentee',
|
|
7886
|
+
type: 'string',
|
|
7887
|
+
},
|
|
7888
|
+
{
|
|
7889
|
+
const: 'mentor',
|
|
7890
|
+
type: 'string',
|
|
7891
|
+
},
|
|
7892
|
+
],
|
|
7893
|
+
},
|
|
7894
|
+
status: {
|
|
7895
|
+
anyOf: [
|
|
7896
|
+
{
|
|
7897
|
+
const: 'active',
|
|
7898
|
+
type: 'string',
|
|
7899
|
+
},
|
|
7900
|
+
{
|
|
7901
|
+
const: 'removed',
|
|
7902
|
+
type: 'string',
|
|
7903
|
+
},
|
|
7904
|
+
],
|
|
7905
|
+
},
|
|
7906
|
+
},
|
|
7907
|
+
required: [
|
|
7908
|
+
'personId',
|
|
7909
|
+
'programId',
|
|
7910
|
+
'role',
|
|
7911
|
+
'status',
|
|
7912
|
+
'confirm',
|
|
7913
|
+
'requestKey',
|
|
7914
|
+
],
|
|
7915
|
+
type: 'object',
|
|
7916
|
+
},
|
|
7917
|
+
path: ['mentorship', 'members', 'setStatus'],
|
|
7918
|
+
permission: 'mentorship.members.setStatus',
|
|
7919
|
+
scope: 'mentorship:write',
|
|
7920
|
+
summary: 'Take someone off a mentorship program, or put them back',
|
|
7921
|
+
},
|
|
7922
|
+
{
|
|
7923
|
+
access: 'read',
|
|
7924
|
+
command: ['mentorship', 'mine'],
|
|
7925
|
+
input: {
|
|
7926
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7927
|
+
additionalProperties: false,
|
|
7928
|
+
properties: {},
|
|
7929
|
+
type: 'object',
|
|
7930
|
+
},
|
|
7931
|
+
path: ['mentorship', 'mine'],
|
|
7932
|
+
permission: 'mentorship.mine',
|
|
7933
|
+
scope: 'self:read',
|
|
7934
|
+
summary: 'Your mentorship programs and pairings, with goals and check-ins',
|
|
7935
|
+
},
|
|
7936
|
+
{
|
|
7937
|
+
access: 'write',
|
|
7938
|
+
command: ['mentorship', 'pairs', 'decide'],
|
|
7939
|
+
input: {
|
|
7940
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7941
|
+
additionalProperties: false,
|
|
7942
|
+
properties: {
|
|
7943
|
+
confirm: {
|
|
7944
|
+
const: 'mentorship.pairs.decide',
|
|
7945
|
+
type: 'string',
|
|
7946
|
+
},
|
|
7947
|
+
decision: {
|
|
7948
|
+
anyOf: [
|
|
7949
|
+
{
|
|
7950
|
+
const: 'approve',
|
|
7951
|
+
type: 'string',
|
|
7952
|
+
},
|
|
7953
|
+
{
|
|
7954
|
+
const: 'skip',
|
|
7955
|
+
type: 'string',
|
|
7956
|
+
},
|
|
7957
|
+
],
|
|
7958
|
+
},
|
|
7959
|
+
pairId: {
|
|
7960
|
+
type: 'string',
|
|
7961
|
+
},
|
|
7962
|
+
requestKey: {
|
|
7963
|
+
maxLength: 128,
|
|
7964
|
+
minLength: 1,
|
|
7965
|
+
type: 'string',
|
|
7966
|
+
},
|
|
7967
|
+
},
|
|
7968
|
+
required: ['decision', 'pairId', 'confirm', 'requestKey'],
|
|
7969
|
+
type: 'object',
|
|
7970
|
+
},
|
|
7971
|
+
path: ['mentorship', 'pairs', 'decide'],
|
|
7972
|
+
permission: 'mentorship.pairs.decide',
|
|
7973
|
+
scope: 'mentorship:write',
|
|
7974
|
+
summary: 'Approve a suggested mentorship pair, which introduces them, or skip it',
|
|
7975
|
+
},
|
|
7976
|
+
{
|
|
7977
|
+
access: 'write',
|
|
7978
|
+
command: ['mentorship', 'pairs', 'end'],
|
|
7979
|
+
input: {
|
|
7980
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
7981
|
+
additionalProperties: false,
|
|
7982
|
+
properties: {
|
|
7983
|
+
confirm: {
|
|
7984
|
+
const: 'mentorship.pairs.end',
|
|
7985
|
+
type: 'string',
|
|
7986
|
+
},
|
|
7987
|
+
pairId: {
|
|
7988
|
+
type: 'string',
|
|
7989
|
+
},
|
|
7990
|
+
requestKey: {
|
|
7991
|
+
maxLength: 128,
|
|
7992
|
+
minLength: 1,
|
|
7993
|
+
type: 'string',
|
|
7994
|
+
},
|
|
7995
|
+
},
|
|
7996
|
+
required: ['pairId', 'confirm', 'requestKey'],
|
|
7997
|
+
type: 'object',
|
|
7998
|
+
},
|
|
7999
|
+
path: ['mentorship', 'pairs', 'end'],
|
|
8000
|
+
permission: 'mentorship.pairs.end',
|
|
8001
|
+
scope: 'mentorship:write',
|
|
8002
|
+
summary: 'End a mentorship pairing early',
|
|
8003
|
+
},
|
|
8004
|
+
{
|
|
8005
|
+
access: 'write',
|
|
8006
|
+
command: ['mentorship', 'pairs', 'set-mine'],
|
|
8007
|
+
input: {
|
|
8008
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
8009
|
+
additionalProperties: false,
|
|
8010
|
+
properties: {
|
|
8011
|
+
confirm: {
|
|
8012
|
+
const: 'mentorship.pairs.setMine',
|
|
8013
|
+
type: 'string',
|
|
8014
|
+
},
|
|
8015
|
+
pairId: {
|
|
8016
|
+
type: 'string',
|
|
8017
|
+
},
|
|
8018
|
+
requestKey: {
|
|
8019
|
+
maxLength: 128,
|
|
8020
|
+
minLength: 1,
|
|
8021
|
+
type: 'string',
|
|
8022
|
+
},
|
|
8023
|
+
status: {
|
|
8024
|
+
anyOf: [
|
|
8025
|
+
{
|
|
8026
|
+
const: 'active',
|
|
8027
|
+
type: 'string',
|
|
8028
|
+
},
|
|
8029
|
+
{
|
|
8030
|
+
const: 'ended',
|
|
8031
|
+
type: 'string',
|
|
8032
|
+
},
|
|
8033
|
+
{
|
|
8034
|
+
const: 'paused',
|
|
8035
|
+
type: 'string',
|
|
8036
|
+
},
|
|
8037
|
+
],
|
|
8038
|
+
},
|
|
8039
|
+
},
|
|
8040
|
+
required: ['pairId', 'status', 'confirm', 'requestKey'],
|
|
8041
|
+
type: 'object',
|
|
8042
|
+
},
|
|
8043
|
+
path: ['mentorship', 'pairs', 'setMine'],
|
|
8044
|
+
permission: 'mentorship.pairs.setMine',
|
|
8045
|
+
scope: 'self:write',
|
|
8046
|
+
summary: 'Pause, resume or end your own mentorship pairing',
|
|
8047
|
+
},
|
|
8048
|
+
{
|
|
8049
|
+
access: 'write',
|
|
8050
|
+
command: ['mentorship', 'pairs', 'suggest'],
|
|
8051
|
+
input: {
|
|
8052
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
8053
|
+
additionalProperties: false,
|
|
8054
|
+
properties: {
|
|
8055
|
+
confirm: {
|
|
8056
|
+
const: 'mentorship.pairs.suggest',
|
|
8057
|
+
type: 'string',
|
|
8058
|
+
},
|
|
8059
|
+
programId: {
|
|
8060
|
+
type: 'string',
|
|
8061
|
+
},
|
|
8062
|
+
requestKey: {
|
|
8063
|
+
maxLength: 128,
|
|
8064
|
+
minLength: 1,
|
|
8065
|
+
type: 'string',
|
|
8066
|
+
},
|
|
8067
|
+
},
|
|
8068
|
+
required: ['programId', 'confirm', 'requestKey'],
|
|
8069
|
+
type: 'object',
|
|
8070
|
+
},
|
|
8071
|
+
path: ['mentorship', 'pairs', 'suggest'],
|
|
8072
|
+
permission: 'mentorship.pairs.suggest',
|
|
8073
|
+
scope: 'mentorship:write',
|
|
8074
|
+
summary: 'Suggest a mentor outside their reporting line for every mentee still waiting',
|
|
8075
|
+
},
|
|
8076
|
+
{
|
|
8077
|
+
access: 'read',
|
|
8078
|
+
command: ['mentorship', 'programs', 'get'],
|
|
8079
|
+
input: {
|
|
8080
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
8081
|
+
additionalProperties: false,
|
|
8082
|
+
properties: {
|
|
8083
|
+
programId: {
|
|
8084
|
+
type: 'string',
|
|
8085
|
+
},
|
|
8086
|
+
},
|
|
8087
|
+
required: ['programId'],
|
|
8088
|
+
type: 'object',
|
|
8089
|
+
},
|
|
8090
|
+
path: ['mentorship', 'programs', 'get'],
|
|
8091
|
+
permission: 'mentorship.programs.get',
|
|
8092
|
+
scope: 'mentorship:read',
|
|
8093
|
+
summary: 'One mentorship program: who joined, the suggested pairs and whether pairs are meeting',
|
|
8094
|
+
},
|
|
8095
|
+
{
|
|
8096
|
+
access: 'read',
|
|
8097
|
+
command: ['mentorship', 'programs', 'list'],
|
|
8098
|
+
input: {
|
|
8099
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
8100
|
+
additionalProperties: false,
|
|
8101
|
+
properties: {},
|
|
8102
|
+
type: 'object',
|
|
8103
|
+
},
|
|
8104
|
+
path: ['mentorship', 'programs', 'list'],
|
|
8105
|
+
permission: 'mentorship.programs.list',
|
|
8106
|
+
scope: 'mentorship:read',
|
|
8107
|
+
summary: 'List mentorship programs, with how many mentors, mentees and pairs each has',
|
|
8108
|
+
},
|
|
8109
|
+
{
|
|
8110
|
+
access: 'write',
|
|
8111
|
+
command: ['mentorship', 'programs', 'save'],
|
|
8112
|
+
input: {
|
|
8113
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
8114
|
+
additionalProperties: false,
|
|
8115
|
+
properties: {
|
|
8116
|
+
checkInWeeks: {
|
|
8117
|
+
type: 'number',
|
|
8118
|
+
},
|
|
8119
|
+
confirm: {
|
|
8120
|
+
const: 'mentorship.programs.save',
|
|
8121
|
+
type: 'string',
|
|
8122
|
+
},
|
|
8123
|
+
description: {
|
|
8124
|
+
type: 'string',
|
|
8125
|
+
},
|
|
8126
|
+
groupId: {
|
|
8127
|
+
type: ['null', 'string'],
|
|
8128
|
+
},
|
|
8129
|
+
id: {
|
|
8130
|
+
type: 'string',
|
|
8131
|
+
},
|
|
8132
|
+
mentorCapacity: {
|
|
8133
|
+
type: 'number',
|
|
8134
|
+
},
|
|
8135
|
+
name: {
|
|
8136
|
+
type: 'string',
|
|
8137
|
+
},
|
|
8138
|
+
pairingWeeks: {
|
|
8139
|
+
type: 'number',
|
|
8140
|
+
},
|
|
8141
|
+
requestKey: {
|
|
8142
|
+
maxLength: 128,
|
|
8143
|
+
minLength: 1,
|
|
8144
|
+
type: 'string',
|
|
8145
|
+
},
|
|
8146
|
+
},
|
|
8147
|
+
required: ['name', 'confirm', 'requestKey'],
|
|
8148
|
+
type: 'object',
|
|
8149
|
+
},
|
|
8150
|
+
path: ['mentorship', 'programs', 'save'],
|
|
8151
|
+
permission: 'mentorship.programs.save',
|
|
8152
|
+
scope: 'mentorship:write',
|
|
8153
|
+
summary: 'Create or change a mentorship program: who can join, how long pairings last and how often pairs check in',
|
|
8154
|
+
},
|
|
8155
|
+
{
|
|
8156
|
+
access: 'write',
|
|
8157
|
+
command: ['mentorship', 'programs', 'set-status'],
|
|
8158
|
+
input: {
|
|
8159
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
8160
|
+
additionalProperties: false,
|
|
8161
|
+
properties: {
|
|
8162
|
+
confirm: {
|
|
8163
|
+
const: 'mentorship.programs.setStatus',
|
|
8164
|
+
type: 'string',
|
|
8165
|
+
},
|
|
8166
|
+
programId: {
|
|
8167
|
+
type: 'string',
|
|
8168
|
+
},
|
|
8169
|
+
requestKey: {
|
|
8170
|
+
maxLength: 128,
|
|
8171
|
+
minLength: 1,
|
|
8172
|
+
type: 'string',
|
|
8173
|
+
},
|
|
8174
|
+
status: {
|
|
8175
|
+
anyOf: [
|
|
8176
|
+
{
|
|
8177
|
+
const: 'active',
|
|
8178
|
+
type: 'string',
|
|
8179
|
+
},
|
|
8180
|
+
{
|
|
8181
|
+
const: 'archived',
|
|
8182
|
+
type: 'string',
|
|
8183
|
+
},
|
|
8184
|
+
{
|
|
8185
|
+
const: 'paused',
|
|
8186
|
+
type: 'string',
|
|
8187
|
+
},
|
|
8188
|
+
],
|
|
8189
|
+
},
|
|
8190
|
+
},
|
|
8191
|
+
required: ['programId', 'status', 'confirm', 'requestKey'],
|
|
8192
|
+
type: 'object',
|
|
8193
|
+
},
|
|
8194
|
+
path: ['mentorship', 'programs', 'setStatus'],
|
|
8195
|
+
permission: 'mentorship.programs.setStatus',
|
|
8196
|
+
scope: 'mentorship:write',
|
|
8197
|
+
summary: 'Turn mentorship programs on, pause one, or archive one and end its pairs',
|
|
8198
|
+
},
|
|
7596
8199
|
{
|
|
7597
8200
|
access: 'write',
|
|
7598
8201
|
command: ['network', 'claim'],
|
|
@@ -7810,6 +8413,10 @@ export const commands = [
|
|
|
7810
8413
|
const: 'legacy_upgrade',
|
|
7811
8414
|
type: 'string',
|
|
7812
8415
|
},
|
|
8416
|
+
{
|
|
8417
|
+
const: 'mentorship',
|
|
8418
|
+
type: 'string',
|
|
8419
|
+
},
|
|
7813
8420
|
{
|
|
7814
8421
|
const: 'playbook',
|
|
7815
8422
|
type: 'string',
|
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.5.
|
|
5
|
-
"@shuffl/sdk": "0.5.
|
|
4
|
+
"@shuffl/api-contracts": "0.5.7",
|
|
5
|
+
"@shuffl/sdk": "0.5.7"
|
|
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.5.
|
|
36
|
+
"version": "0.5.7",
|
|
37
37
|
"bin": {
|
|
38
38
|
"shuffl": "./dist/bin.js"
|
|
39
39
|
}
|