@sw-tsdk/plugin-connector 3.8.0 → 3.9.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/README.md +103 -29
- package/lib/commands/component/create.js +6 -6
- package/lib/commands/component/create.js.map +1 -1
- package/lib/commands/connector/create.js +6 -6
- package/lib/commands/connector/create.js.map +1 -1
- package/lib/commands/playbook/create.js +6 -6
- package/lib/commands/playbook/create.js.map +1 -1
- package/lib/commands/widget/create.d.ts +32 -0
- package/lib/commands/widget/create.js +196 -0
- package/lib/commands/widget/create.js.map +1 -0
- package/lib/commands/widget/image.d.ts +12 -0
- package/lib/commands/widget/image.js +73 -0
- package/lib/commands/widget/image.js.map +1 -0
- package/lib/commands/widget/ssp.d.ts +11 -0
- package/lib/commands/widget/ssp.js +60 -0
- package/lib/commands/widget/ssp.js.map +1 -0
- package/lib/common.d.ts +14 -1
- package/lib/common.js +16 -7
- package/lib/common.js.map +1 -1
- package/lib/types/connector-types.d.ts +12 -0
- package/oclif.manifest.json +171 -1
- package/package.json +6 -6
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "3.
|
|
2
|
+
"version": "3.9.0",
|
|
3
3
|
"commands": {
|
|
4
4
|
"action:add": {
|
|
5
5
|
"id": "action:add",
|
|
@@ -1346,6 +1346,176 @@
|
|
|
1346
1346
|
},
|
|
1347
1347
|
"args": {}
|
|
1348
1348
|
},
|
|
1349
|
+
"widget:create": {
|
|
1350
|
+
"id": "widget:create",
|
|
1351
|
+
"description": "Scaffold a new widget",
|
|
1352
|
+
"strict": true,
|
|
1353
|
+
"pluginName": "@sw-tsdk/plugin-connector",
|
|
1354
|
+
"pluginAlias": "@sw-tsdk/plugin-connector",
|
|
1355
|
+
"pluginType": "core",
|
|
1356
|
+
"aliases": [],
|
|
1357
|
+
"flags": {
|
|
1358
|
+
"directory": {
|
|
1359
|
+
"name": "directory",
|
|
1360
|
+
"type": "option",
|
|
1361
|
+
"char": "d",
|
|
1362
|
+
"description": "root directory for where to store Widget.",
|
|
1363
|
+
"multiple": false,
|
|
1364
|
+
"default": "./"
|
|
1365
|
+
},
|
|
1366
|
+
"widgetName": {
|
|
1367
|
+
"name": "widgetName",
|
|
1368
|
+
"type": "option",
|
|
1369
|
+
"description": "Widget Name (e.g. Action Buttons)",
|
|
1370
|
+
"multiple": false
|
|
1371
|
+
},
|
|
1372
|
+
"keywords": {
|
|
1373
|
+
"name": "keywords",
|
|
1374
|
+
"type": "option",
|
|
1375
|
+
"description": "Enter keywords",
|
|
1376
|
+
"multiple": false
|
|
1377
|
+
},
|
|
1378
|
+
"description": {
|
|
1379
|
+
"name": "description",
|
|
1380
|
+
"type": "option",
|
|
1381
|
+
"description": "Description (e.g. Action Buttons Description)",
|
|
1382
|
+
"multiple": false
|
|
1383
|
+
},
|
|
1384
|
+
"logoPath": {
|
|
1385
|
+
"name": "logoPath",
|
|
1386
|
+
"type": "option",
|
|
1387
|
+
"description": "URL or absolute path to logo file. Image should be in 1:1 aspect ratio and min resolution 200x200",
|
|
1388
|
+
"multiple": false
|
|
1389
|
+
},
|
|
1390
|
+
"overviewImagePath": {
|
|
1391
|
+
"name": "overviewImagePath",
|
|
1392
|
+
"type": "option",
|
|
1393
|
+
"description": "URL or absolute path to overview image file. Min resolution 1100x660",
|
|
1394
|
+
"multiple": false
|
|
1395
|
+
},
|
|
1396
|
+
"sspPath": {
|
|
1397
|
+
"name": "sspPath",
|
|
1398
|
+
"type": "option",
|
|
1399
|
+
"description": "absolute path to .ssp file",
|
|
1400
|
+
"multiple": false
|
|
1401
|
+
},
|
|
1402
|
+
"author": {
|
|
1403
|
+
"name": "author",
|
|
1404
|
+
"type": "option",
|
|
1405
|
+
"description": "Widget Author",
|
|
1406
|
+
"multiple": false
|
|
1407
|
+
},
|
|
1408
|
+
"authorEmail": {
|
|
1409
|
+
"name": "authorEmail",
|
|
1410
|
+
"type": "option",
|
|
1411
|
+
"description": "Widget Author Email",
|
|
1412
|
+
"multiple": false
|
|
1413
|
+
},
|
|
1414
|
+
"homepage": {
|
|
1415
|
+
"name": "homepage",
|
|
1416
|
+
"type": "option",
|
|
1417
|
+
"description": "Widget Author Support URL",
|
|
1418
|
+
"multiple": false
|
|
1419
|
+
},
|
|
1420
|
+
"help": {
|
|
1421
|
+
"name": "help",
|
|
1422
|
+
"type": "boolean",
|
|
1423
|
+
"char": "h",
|
|
1424
|
+
"description": "Show CLI help.",
|
|
1425
|
+
"allowNo": false
|
|
1426
|
+
}
|
|
1427
|
+
},
|
|
1428
|
+
"args": {}
|
|
1429
|
+
},
|
|
1430
|
+
"widget:image": {
|
|
1431
|
+
"id": "widget:image",
|
|
1432
|
+
"description": "Update a Widget image.",
|
|
1433
|
+
"strict": true,
|
|
1434
|
+
"pluginName": "@sw-tsdk/plugin-connector",
|
|
1435
|
+
"pluginAlias": "@sw-tsdk/plugin-connector",
|
|
1436
|
+
"pluginType": "core",
|
|
1437
|
+
"aliases": [],
|
|
1438
|
+
"flags": {
|
|
1439
|
+
"directory": {
|
|
1440
|
+
"name": "directory",
|
|
1441
|
+
"type": "option",
|
|
1442
|
+
"char": "d",
|
|
1443
|
+
"description": "root directory of the widget folder.",
|
|
1444
|
+
"multiple": false,
|
|
1445
|
+
"default": "./"
|
|
1446
|
+
},
|
|
1447
|
+
"componentName": {
|
|
1448
|
+
"name": "componentName",
|
|
1449
|
+
"type": "option",
|
|
1450
|
+
"char": "n",
|
|
1451
|
+
"description": "Widget Name (e.g. action_buttons)",
|
|
1452
|
+
"multiple": false
|
|
1453
|
+
},
|
|
1454
|
+
"imageType": {
|
|
1455
|
+
"name": "imageType",
|
|
1456
|
+
"type": "option",
|
|
1457
|
+
"char": "i",
|
|
1458
|
+
"description": "Image Type (e.g. logo/overview)",
|
|
1459
|
+
"multiple": false
|
|
1460
|
+
},
|
|
1461
|
+
"imagePath": {
|
|
1462
|
+
"name": "imagePath",
|
|
1463
|
+
"type": "option",
|
|
1464
|
+
"char": "p",
|
|
1465
|
+
"description": "path or URL to product image in PNG format.",
|
|
1466
|
+
"multiple": false
|
|
1467
|
+
},
|
|
1468
|
+
"help": {
|
|
1469
|
+
"name": "help",
|
|
1470
|
+
"type": "boolean",
|
|
1471
|
+
"char": "h",
|
|
1472
|
+
"description": "Show CLI help.",
|
|
1473
|
+
"allowNo": false
|
|
1474
|
+
}
|
|
1475
|
+
},
|
|
1476
|
+
"args": {}
|
|
1477
|
+
},
|
|
1478
|
+
"widget:ssp": {
|
|
1479
|
+
"id": "widget:ssp",
|
|
1480
|
+
"description": "Update an SSP",
|
|
1481
|
+
"strict": true,
|
|
1482
|
+
"pluginName": "@sw-tsdk/plugin-connector",
|
|
1483
|
+
"pluginAlias": "@sw-tsdk/plugin-connector",
|
|
1484
|
+
"pluginType": "core",
|
|
1485
|
+
"aliases": [],
|
|
1486
|
+
"flags": {
|
|
1487
|
+
"directory": {
|
|
1488
|
+
"name": "directory",
|
|
1489
|
+
"type": "option",
|
|
1490
|
+
"char": "d",
|
|
1491
|
+
"description": "root directory of the widget folder.",
|
|
1492
|
+
"multiple": false,
|
|
1493
|
+
"default": "./"
|
|
1494
|
+
},
|
|
1495
|
+
"widgetName": {
|
|
1496
|
+
"name": "widgetName",
|
|
1497
|
+
"type": "option",
|
|
1498
|
+
"char": "n",
|
|
1499
|
+
"description": "Widget Name (e.g. action_buttons)",
|
|
1500
|
+
"multiple": false
|
|
1501
|
+
},
|
|
1502
|
+
"sspPath": {
|
|
1503
|
+
"name": "sspPath",
|
|
1504
|
+
"type": "option",
|
|
1505
|
+
"char": "p",
|
|
1506
|
+
"description": "Absolute path to .SSP file",
|
|
1507
|
+
"multiple": false
|
|
1508
|
+
},
|
|
1509
|
+
"help": {
|
|
1510
|
+
"name": "help",
|
|
1511
|
+
"type": "boolean",
|
|
1512
|
+
"char": "h",
|
|
1513
|
+
"description": "Show CLI help.",
|
|
1514
|
+
"allowNo": false
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
"args": {}
|
|
1518
|
+
},
|
|
1349
1519
|
"action:generate:data": {
|
|
1350
1520
|
"id": "action:generate:data",
|
|
1351
1521
|
"description": "Use to test a task in an integration",
|
package/package.json
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@apidevtools/json-schema-ref-parser": "10.1.0",
|
|
8
8
|
"@oclif/core": "2.8.5",
|
|
9
|
-
"@sw-tsdk/common": "^3.
|
|
10
|
-
"@sw-tsdk/connector": "^3.
|
|
11
|
-
"@sw-tsdk/core": "^3.
|
|
12
|
-
"@sw-tsdk/docker": "^3.
|
|
9
|
+
"@sw-tsdk/common": "^3.9.0",
|
|
10
|
+
"@sw-tsdk/connector": "^3.9.0",
|
|
11
|
+
"@sw-tsdk/core": "^3.9.0",
|
|
12
|
+
"@sw-tsdk/docker": "^3.9.0",
|
|
13
13
|
"@swimlane/connector-interfaces": "1.11.0",
|
|
14
14
|
"@swimlane/cosign": "1.4.1",
|
|
15
15
|
"@swimlane/docker-reference": "2.0.1",
|
|
@@ -95,6 +95,6 @@
|
|
|
95
95
|
"posttest": "yarn lint",
|
|
96
96
|
"dev:setup": "npm link"
|
|
97
97
|
},
|
|
98
|
-
"version": "3.
|
|
99
|
-
"gitHead": "
|
|
98
|
+
"version": "3.9.0",
|
|
99
|
+
"gitHead": "3e0fa61126cbeb1a84e0ddc459c5825d4783741d"
|
|
100
100
|
}
|