@shuffl/cli 0.11.16 → 0.11.18
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 +170 -0
- package/package.json +3 -3
|
@@ -4485,6 +4485,10 @@ export const commands = [
|
|
|
4485
4485
|
const: 'knowledge.sources.importWebsite',
|
|
4486
4486
|
type: 'string',
|
|
4487
4487
|
},
|
|
4488
|
+
{
|
|
4489
|
+
const: 'knowledge.sources.importWebsiteSection',
|
|
4490
|
+
type: 'string',
|
|
4491
|
+
},
|
|
4488
4492
|
{
|
|
4489
4493
|
const: 'knowledge.sources.list',
|
|
4490
4494
|
type: 'string',
|
|
@@ -4509,6 +4513,10 @@ export const commands = [
|
|
|
4509
4513
|
const: 'knowledge.sources.search',
|
|
4510
4514
|
type: 'string',
|
|
4511
4515
|
},
|
|
4516
|
+
{
|
|
4517
|
+
const: 'knowledge.sources.websiteSectionImports',
|
|
4518
|
+
type: 'string',
|
|
4519
|
+
},
|
|
4512
4520
|
{
|
|
4513
4521
|
const: 'knowledge.sources.withdraw',
|
|
4514
4522
|
type: 'string',
|
|
@@ -4913,6 +4921,10 @@ export const commands = [
|
|
|
4913
4921
|
const: 'praise.feed',
|
|
4914
4922
|
type: 'string',
|
|
4915
4923
|
},
|
|
4924
|
+
{
|
|
4925
|
+
const: 'praise.get',
|
|
4926
|
+
type: 'string',
|
|
4927
|
+
},
|
|
4916
4928
|
{
|
|
4917
4929
|
const: 'praise.insights',
|
|
4918
4930
|
type: 'string',
|
|
@@ -10076,6 +10088,127 @@ export const commands = [
|
|
|
10076
10088
|
scope: 'knowledge:write',
|
|
10077
10089
|
summary: 'Import a website page into Knowledge for review',
|
|
10078
10090
|
},
|
|
10091
|
+
{
|
|
10092
|
+
access: 'write',
|
|
10093
|
+
command: ['knowledge', 'sources', 'import-website-section'],
|
|
10094
|
+
input: {
|
|
10095
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
10096
|
+
additionalProperties: false,
|
|
10097
|
+
properties: {
|
|
10098
|
+
auth: {
|
|
10099
|
+
anyOf: [
|
|
10100
|
+
{
|
|
10101
|
+
additionalProperties: false,
|
|
10102
|
+
properties: {
|
|
10103
|
+
type: {
|
|
10104
|
+
const: 'none',
|
|
10105
|
+
type: 'string',
|
|
10106
|
+
},
|
|
10107
|
+
},
|
|
10108
|
+
required: ['type'],
|
|
10109
|
+
type: 'object',
|
|
10110
|
+
},
|
|
10111
|
+
{
|
|
10112
|
+
additionalProperties: false,
|
|
10113
|
+
properties: {
|
|
10114
|
+
token: {
|
|
10115
|
+
type: 'string',
|
|
10116
|
+
},
|
|
10117
|
+
type: {
|
|
10118
|
+
const: 'bearer',
|
|
10119
|
+
type: 'string',
|
|
10120
|
+
},
|
|
10121
|
+
},
|
|
10122
|
+
required: ['token', 'type'],
|
|
10123
|
+
type: 'object',
|
|
10124
|
+
},
|
|
10125
|
+
{
|
|
10126
|
+
additionalProperties: false,
|
|
10127
|
+
properties: {
|
|
10128
|
+
password: {
|
|
10129
|
+
type: 'string',
|
|
10130
|
+
},
|
|
10131
|
+
type: {
|
|
10132
|
+
const: 'basic',
|
|
10133
|
+
type: 'string',
|
|
10134
|
+
},
|
|
10135
|
+
username: {
|
|
10136
|
+
type: 'string',
|
|
10137
|
+
},
|
|
10138
|
+
},
|
|
10139
|
+
required: ['password', 'type', 'username'],
|
|
10140
|
+
type: 'object',
|
|
10141
|
+
},
|
|
10142
|
+
{
|
|
10143
|
+
additionalProperties: false,
|
|
10144
|
+
properties: {
|
|
10145
|
+
header: {
|
|
10146
|
+
anyOf: [
|
|
10147
|
+
{
|
|
10148
|
+
const: 'api-key',
|
|
10149
|
+
type: 'string',
|
|
10150
|
+
},
|
|
10151
|
+
{
|
|
10152
|
+
const: 'x-api-key',
|
|
10153
|
+
type: 'string',
|
|
10154
|
+
},
|
|
10155
|
+
{
|
|
10156
|
+
const: 'x-auth-token',
|
|
10157
|
+
type: 'string',
|
|
10158
|
+
},
|
|
10159
|
+
],
|
|
10160
|
+
},
|
|
10161
|
+
token: {
|
|
10162
|
+
type: 'string',
|
|
10163
|
+
},
|
|
10164
|
+
type: {
|
|
10165
|
+
const: 'api_key',
|
|
10166
|
+
type: 'string',
|
|
10167
|
+
},
|
|
10168
|
+
},
|
|
10169
|
+
required: ['header', 'token', 'type'],
|
|
10170
|
+
type: 'object',
|
|
10171
|
+
},
|
|
10172
|
+
{
|
|
10173
|
+
additionalProperties: false,
|
|
10174
|
+
properties: {
|
|
10175
|
+
clientId: {
|
|
10176
|
+
type: 'string',
|
|
10177
|
+
},
|
|
10178
|
+
clientSecret: {
|
|
10179
|
+
type: 'string',
|
|
10180
|
+
},
|
|
10181
|
+
type: {
|
|
10182
|
+
const: 'cloudflare_access',
|
|
10183
|
+
type: 'string',
|
|
10184
|
+
},
|
|
10185
|
+
},
|
|
10186
|
+
required: ['clientId', 'clientSecret', 'type'],
|
|
10187
|
+
type: 'object',
|
|
10188
|
+
},
|
|
10189
|
+
],
|
|
10190
|
+
},
|
|
10191
|
+
confirm: {
|
|
10192
|
+
const: 'knowledge.sources.importWebsiteSection',
|
|
10193
|
+
type: 'string',
|
|
10194
|
+
},
|
|
10195
|
+
requestKey: {
|
|
10196
|
+
maxLength: 128,
|
|
10197
|
+
minLength: 1,
|
|
10198
|
+
type: 'string',
|
|
10199
|
+
},
|
|
10200
|
+
url: {
|
|
10201
|
+
type: 'string',
|
|
10202
|
+
},
|
|
10203
|
+
},
|
|
10204
|
+
required: ['auth', 'url', 'confirm', 'requestKey'],
|
|
10205
|
+
type: 'object',
|
|
10206
|
+
},
|
|
10207
|
+
path: ['knowledge', 'sources', 'importWebsiteSection'],
|
|
10208
|
+
permission: 'knowledge.sources.importWebsiteSection',
|
|
10209
|
+
scope: 'knowledge:write',
|
|
10210
|
+
summary: 'Import every page under a website path into Knowledge, each as its own draft',
|
|
10211
|
+
},
|
|
10079
10212
|
{
|
|
10080
10213
|
access: 'read',
|
|
10081
10214
|
command: ['knowledge', 'sources', 'list'],
|
|
@@ -10433,6 +10566,20 @@ export const commands = [
|
|
|
10433
10566
|
scope: 'knowledge:read',
|
|
10434
10567
|
summary: 'Search Knowledge sources by title',
|
|
10435
10568
|
},
|
|
10569
|
+
{
|
|
10570
|
+
access: 'read',
|
|
10571
|
+
command: ['knowledge', 'sources', 'website-section-imports'],
|
|
10572
|
+
input: {
|
|
10573
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
10574
|
+
additionalProperties: false,
|
|
10575
|
+
properties: {},
|
|
10576
|
+
type: 'object',
|
|
10577
|
+
},
|
|
10578
|
+
path: ['knowledge', 'sources', 'websiteSectionImports'],
|
|
10579
|
+
permission: 'knowledge.sources.websiteSectionImports',
|
|
10580
|
+
scope: 'knowledge:read',
|
|
10581
|
+
summary: 'List website section imports from the last week and how far each has got',
|
|
10582
|
+
},
|
|
10436
10583
|
{
|
|
10437
10584
|
access: 'write',
|
|
10438
10585
|
command: ['knowledge', 'sources', 'withdraw'],
|
|
@@ -14356,6 +14503,25 @@ export const commands = [
|
|
|
14356
14503
|
scope: 'self:read',
|
|
14357
14504
|
summary: 'Read the Praise feed',
|
|
14358
14505
|
},
|
|
14506
|
+
{
|
|
14507
|
+
access: 'read',
|
|
14508
|
+
command: ['praise', 'get'],
|
|
14509
|
+
input: {
|
|
14510
|
+
$schema: 'https://json-schema.org/draft/2020-12/schema',
|
|
14511
|
+
additionalProperties: false,
|
|
14512
|
+
properties: {
|
|
14513
|
+
praiseId: {
|
|
14514
|
+
type: 'string',
|
|
14515
|
+
},
|
|
14516
|
+
},
|
|
14517
|
+
required: ['praiseId'],
|
|
14518
|
+
type: 'object',
|
|
14519
|
+
},
|
|
14520
|
+
path: ['praise', 'get'],
|
|
14521
|
+
permission: 'praise.get',
|
|
14522
|
+
scope: 'self:read',
|
|
14523
|
+
summary: 'Read one praise with its values, reactions and recent thanks',
|
|
14524
|
+
},
|
|
14359
14525
|
{
|
|
14360
14526
|
access: 'read',
|
|
14361
14527
|
command: ['praise', 'insights'],
|
|
@@ -14552,6 +14718,10 @@ export const commands = [
|
|
|
14552
14718
|
},
|
|
14553
14719
|
from: {
|
|
14554
14720
|
anyOf: [
|
|
14721
|
+
{
|
|
14722
|
+
const: 'detail',
|
|
14723
|
+
type: 'string',
|
|
14724
|
+
},
|
|
14555
14725
|
{
|
|
14556
14726
|
const: 'feed',
|
|
14557
14727
|
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.11.
|
|
5
|
-
"@shuffl/sdk": "0.11.
|
|
4
|
+
"@shuffl/api-contracts": "0.11.18",
|
|
5
|
+
"@shuffl/sdk": "0.11.18"
|
|
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.11.
|
|
36
|
+
"version": "0.11.18",
|
|
37
37
|
"bin": {
|
|
38
38
|
"shuffl": "./dist/bin.js"
|
|
39
39
|
}
|