cc-core-cli 1.0.15 → 1.0.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-core-cli",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "Command Line Interface tool for generating project templates for the (Your Platform's Name) platform.",
5
5
  "main": "bin/index.js",
6
6
  "scripts": {
@@ -973,626 +973,7 @@
973
973
  ],
974
974
  "source_key": "local",
975
975
  "actions": []
976
- },
977
- {
978
- "title": "Google",
979
- "source_key": "google",
980
- "actions": [],
981
- "blocks": [
982
- {
983
- "key": "92404a6b03747f510eb2",
984
- "type": "column",
985
- "layout": {
986
- "num_of_col": 2,
987
- "fields": [
988
- [
989
- {
990
- "field": "switch",
991
- "type": "standard_component",
992
- "unique_key": "standard_component_switch_0d21c5915144e6a9cd7b",
993
- "key": "enable",
994
- "label": "Enable",
995
- "link_type": "key",
996
- "yes_label": "Yes",
997
- "no_label": "No",
998
- "trigger": [
999
- {
1000
- "field": "standard_component_input_084ec33985a4dcca8c90",
1001
- "method": "required",
1002
- "value": "${ google.enable }"
1003
- },
1004
- {
1005
- "field": "standard_component_input_b795173d28cf4845bd26",
1006
- "method": "required",
1007
- "value": "${ google.enable }"
1008
- },
1009
- {
1010
- "field": "standard_component_input_fbe2f45171f67eb7c5cb",
1011
- "method": "required",
1012
- "value": "${ google.enable }"
1013
- },
1014
- {
1015
- "field": "standard_component_input_1f3a591f40fc4749e0af",
1016
- "method": "required",
1017
- "value": "${ google.enable }"
1018
- },
1019
- {
1020
- "field": "standard_component_input_574165b79fcdd9d24869",
1021
- "method": "required",
1022
- "value": "${ google.enable }"
1023
- }
1024
- ]
1025
- }
1026
- ],
1027
- []
1028
- ]
1029
- }
1030
- },
1031
- {
1032
- "key": "2f611d6b425f6005bcff",
1033
- "type": "column",
1034
- "layout": {
1035
- "num_of_col": 2,
1036
- "fields": [
1037
- [
1038
- {
1039
- "field": "input",
1040
- "type": "standard_component",
1041
- "unique_key": "standard_component_input_084ec33985a4dcca8c90",
1042
- "key": "allow_domain",
1043
- "label": "Allow Domain",
1044
- "required": false,
1045
- "link_type": "key",
1046
- "entity": "not_use",
1047
- "input_type": "single_line",
1048
- "trigger": []
1049
- },
1050
- {
1051
- "field": "input",
1052
- "type": "standard_component",
1053
- "unique_key": "standard_component_input_b795173d28cf4845bd26",
1054
- "key": "client_id",
1055
- "label": "Client Id",
1056
- "required": false,
1057
- "link_type": "key",
1058
- "entity": "not_use",
1059
- "input_type": "single_line",
1060
- "trigger": []
1061
- },
1062
- {
1063
- "field": "input",
1064
- "type": "standard_component",
1065
- "unique_key": "standard_component_input_fbe2f45171f67eb7c5cb",
1066
- "key": "expires_in",
1067
- "label": "Expire In",
1068
- "description": "minutes(m), hours(h), days(d), weeks(w)",
1069
- "required": false,
1070
- "link_type": "key",
1071
- "entity": "not_use",
1072
- "input_type": "single_line",
1073
- "trigger": []
1074
- }
1075
- ],
1076
- [
1077
- {
1078
- "field": "input",
1079
- "type": "standard_component",
1080
- "unique_key": "standard_component_input_1f3a591f40fc4749e0af",
1081
- "key": "redirect_url",
1082
- "label": "Redirect Url",
1083
- "required": false,
1084
- "link_type": "key",
1085
- "entity": "not_use",
1086
- "input_type": "single_line",
1087
- "trigger": []
1088
- },
1089
- {
1090
- "field": "input",
1091
- "type": "standard_component",
1092
- "unique_key": "standard_component_input_574165b79fcdd9d24869",
1093
- "key": "client_secret",
1094
- "label": "Client Secret",
1095
- "required": false,
1096
- "link_type": "key",
1097
- "input_type": "password",
1098
- "trigger": []
1099
- }
1100
- ]
1101
- ]
1102
- }
1103
- }
1104
- ],
1105
- "key": "75aaa3d7e0e7c7948786"
1106
- },
1107
- {
1108
- "source_key": "cognito",
1109
- "title": "Cognito",
1110
- "actions": [],
1111
- "blocks": [
1112
- {
1113
- "key": "481cfa4925ac6079c4e8",
1114
- "type": "column",
1115
- "layout": {
1116
- "num_of_col": 2,
1117
- "fields": [
1118
- [
1119
- {
1120
- "field": "switch",
1121
- "type": "standard_component",
1122
- "unique_key": "standard_component_switch_9cf24c324e0f29b0f2f0",
1123
- "key": "enable",
1124
- "label": "Enable",
1125
- "link_type": "key",
1126
- "yes_label": "Yes",
1127
- "no_label": "No",
1128
- "trigger": [
1129
- {
1130
- "field": "standard_component_input_f4f5a3350dc108ee0369",
1131
- "method": "required",
1132
- "value": "${ cognito.enable }"
1133
- },
1134
- {
1135
- "field": "standard_component_input_82408b873f8487ca9c82",
1136
- "method": "required",
1137
- "value": "${ cognito.enable }"
1138
- },
1139
- {
1140
- "field": "standard_component_input_299184484bf3b2fe4261",
1141
- "method": "required",
1142
- "value": "${ cognito.enable }"
1143
- },
1144
- {
1145
- "field": "standard_component_input_ffdead2e41e8a50b8ac1",
1146
- "method": "required",
1147
- "value": "${ cognito.enable }"
1148
- },
1149
- {
1150
- "field": "standard_component_input_d3424b489b79f24367ef",
1151
- "method": "required",
1152
- "value": "${ cognito.enable }"
1153
- },
1154
- {
1155
- "field": "standard_component_input_182c102e7bb8ad4a95df",
1156
- "method": "required",
1157
- "value": "${ cognito.enable }"
1158
- }
1159
- ]
1160
- }
1161
- ],
1162
- []
1163
- ]
1164
- }
1165
- },
1166
- {
1167
- "key": "6420bb8c3280387e3190",
1168
- "type": "column",
1169
- "layout": {
1170
- "num_of_col": 2,
1171
- "fields": [
1172
- [
1173
- {
1174
- "field": "input",
1175
- "type": "standard_component",
1176
- "unique_key": "standard_component_input_f4f5a3350dc108ee0369",
1177
- "key": "domain",
1178
- "label": "Domain",
1179
- "required": false,
1180
- "link_type": "key",
1181
- "entity": "not_use",
1182
- "input_type": "single_line",
1183
- "trigger": []
1184
- },
1185
- {
1186
- "field": "input",
1187
- "type": "standard_component",
1188
- "unique_key": "standard_component_input_82408b873f8487ca9c82",
1189
- "key": "client_id",
1190
- "label": "Client Id",
1191
- "required": false,
1192
- "link_type": "key",
1193
- "entity": "not_use",
1194
- "input_type": "single_line",
1195
- "trigger": []
1196
- },
1197
- {
1198
- "field": "input",
1199
- "type": "standard_component",
1200
- "unique_key": "standard_component_input_299184484bf3b2fe4261",
1201
- "key": "region",
1202
- "label": "Region",
1203
- "required": false,
1204
- "link_type": "key",
1205
- "entity": "not_use",
1206
- "input_type": "single_line",
1207
- "trigger": []
1208
- }
1209
- ],
1210
- [
1211
- {
1212
- "field": "input",
1213
- "type": "standard_component",
1214
- "unique_key": "standard_component_input_ffdead2e41e8a50b8ac1",
1215
- "key": "scope",
1216
- "label": "Scope",
1217
- "required": false,
1218
- "link_type": "key",
1219
- "entity": "not_use",
1220
- "input_type": "single_line",
1221
- "trigger": []
1222
- },
1223
- {
1224
- "field": "input",
1225
- "type": "standard_component",
1226
- "unique_key": "standard_component_input_d3424b489b79f24367ef",
1227
- "key": "client_secret",
1228
- "label": "Client Secret",
1229
- "required": false,
1230
- "link_type": "key",
1231
- "input_type": "password",
1232
- "trigger": []
1233
- },
1234
- {
1235
- "field": "input",
1236
- "type": "standard_component",
1237
- "unique_key": "standard_component_input_182c102e7bb8ad4a95df",
1238
- "key": "pool_id",
1239
- "label": "Pool Id",
1240
- "required": false,
1241
- "link_type": "key",
1242
- "entity": "not_use",
1243
- "input_type": "single_line",
1244
- "trigger": []
1245
- }
1246
- ]
1247
- ]
1248
- }
1249
- }
1250
- ],
1251
- "key": "b2cf518e6b02d6a36c2c"
1252
- },
1253
- {
1254
- "source_key": "ldap",
1255
- "title": "LDAP",
1256
- "actions": [],
1257
- "blocks": [
1258
- {
1259
- "key": "501cfa4925ac6079c4e8",
1260
- "type": "column",
1261
- "layout": {
1262
- "num_of_col": 2,
1263
- "fields": [
1264
- [
1265
- {
1266
- "field": "switch",
1267
- "type": "standard_component",
1268
- "unique_key": "standard_component_switch_50f24c324e0f29b0f2f0",
1269
- "key": "enable",
1270
- "label": "Enable",
1271
- "link_type": "key",
1272
- "yes_label": "Yes",
1273
- "no_label": "No",
1274
- "trigger": [
1275
- {
1276
- "field": "standard_component_input_50f5a3350dc108ee0369",
1277
- "method": "required",
1278
- "value": "${ ldap.enable }"
1279
- },
1280
- {
1281
- "field": "standard_component_input_50408b873f8487ca9c82",
1282
- "method": "required",
1283
- "value": "${ ldap.enable }"
1284
- },
1285
- {
1286
- "field": "standard_component_input_509184484bf3b2fe4261",
1287
- "method": "required",
1288
- "value": "${ ldap.enable }"
1289
- },
1290
- {
1291
- "field": "standard_component_input_50dead2e41e8a50b8ac1",
1292
- "method": "required",
1293
- "value": "${ ldap.enable }"
1294
- },
1295
- {
1296
- "field": "standard_component_input_50424b489b79f24367ef",
1297
- "method": "required",
1298
- "value": "${ ldap.enable }"
1299
- },
1300
- {
1301
- "field": "standard_component_input_502c102e7bb8ad4a95df",
1302
- "method": "required",
1303
- "value": "${ ldap.enable }"
1304
- },
1305
- {
1306
- "field": "advanced_component_mapping_data_5044dd50c3c33358d818",
1307
- "method": "required",
1308
- "value": "${ ldap.enable }"
1309
- }
1310
- ]
1311
- }
1312
- ],
1313
- []
1314
- ]
1315
- }
1316
- },
1317
- {
1318
- "key": "5020bb8c3280387e3190",
1319
- "type": "column",
1320
- "layout": {
1321
- "num_of_col": 2,
1322
- "fields": [
1323
- [
1324
- {
1325
- "field": "input",
1326
- "type": "standard_component",
1327
- "unique_key": "standard_component_input_50f5a3350dc108ee0369",
1328
- "key": "url",
1329
- "label": "Url",
1330
- "required": false,
1331
- "link_type": "key",
1332
- "entity": "not_use",
1333
- "input_type": "single_line",
1334
- "trigger": []
1335
- },
1336
- {
1337
- "field": "input",
1338
- "type": "standard_component",
1339
- "unique_key": "standard_component_input_50408b873f8487ca9c82",
1340
- "key": "bind_dn",
1341
- "label": "Bind DN",
1342
- "required": false,
1343
- "link_type": "key",
1344
- "entity": "not_use",
1345
- "input_type": "single_line",
1346
- "trigger": []
1347
- },
1348
- {
1349
- "field": "input",
1350
- "type": "standard_component",
1351
- "unique_key": "standard_component_input_50dead2e41e8a50b8ac1",
1352
- "key": "search_base",
1353
- "label": "Search Base",
1354
- "required": false,
1355
- "link_type": "key",
1356
- "entity": "not_use",
1357
- "input_type": "single_line",
1358
- "trigger": []
1359
- }
1360
- ],
1361
- [
1362
- {
1363
- "field": "input",
1364
- "type": "standard_component",
1365
- "unique_key": "standard_component_input_502c102e7bb8ad4a95df",
1366
- "key": "expires_in",
1367
- "label": "Expires In",
1368
- "required": false,
1369
- "link_type": "key",
1370
- "entity": "not_use",
1371
- "input_type": "single_line",
1372
- "trigger": []
1373
- },
1374
- {
1375
- "field": "input",
1376
- "type": "standard_component",
1377
- "unique_key": "standard_component_input_509184484bf3b2fe4261",
1378
- "key": "bind_credentials",
1379
- "label": "Bind Credentials",
1380
- "required": false,
1381
- "link_type": "key",
1382
- "entity": "not_use",
1383
- "input_type": "single_line",
1384
- "trigger": []
1385
- },
1386
- {
1387
- "field": "input",
1388
- "type": "standard_component",
1389
- "unique_key": "standard_component_input_50424b489b79f24367ef",
1390
- "key": "search_filter",
1391
- "label": "Search Filter",
1392
- "required": false,
1393
- "link_type": "key",
1394
- "input_type": "password",
1395
- "trigger": []
1396
- }
1397
- ]
1398
- ]
1399
- }
1400
- },
1401
- {
1402
- "key": "5020bb8c3280387e3191",
1403
- "type": "column",
1404
- "layout": {
1405
- "num_of_col": 1,
1406
- "fields": [
1407
- [
1408
- {
1409
- "field": "mapping_data",
1410
- "type": "advanced_component",
1411
- "label": "LDAP Profile mapping",
1412
- "unique_key": "advanced_component_mapping_data_5044dd50c3c33358d818",
1413
- "key": "profile_mapping",
1414
- "link_type": "key",
1415
- "hide_label": false,
1416
- "input_type": "json",
1417
- "output_type": "json",
1418
- "source_mapping_option": {
1419
- "entity": "other_entity",
1420
- "relate_ref": "user"
1421
- },
1422
- "destination_mapping_option": {
1423
- "entity": "custom",
1424
- "relate_ref": "[{\"field\":\"username\",\"type\":\"string\",\"children\":[]}]"
1425
- },
1426
- "show_example": true
1427
- }
1428
- ]
1429
- ]
1430
- }
1431
- }
1432
- ],
1433
- "key": "b2cf518e6b02d6a36c3d"
1434
- },
1435
- {
1436
- "source_key": "id_connect",
1437
- "title": "ID Connect",
1438
- "actions": [],
1439
- "blocks": [
1440
- {
1441
- "key": "dW8vKWuZ9R7NT621qNbJ",
1442
- "type": "column",
1443
- "layout": {
1444
- "num_of_col": 2,
1445
- "fields": [
1446
- [
1447
- {
1448
- "field": "switch",
1449
- "type": "standard_component",
1450
- "unique_key": "standard_component_switch_B5F8Aix8ZOAjWxQTazCS",
1451
- "key": "enable",
1452
- "label": "Enable",
1453
- "link_type": "key",
1454
- "yes_label": "Yes",
1455
- "no_label": "No",
1456
- "trigger": [
1457
- {
1458
- "field": "standard_component_input_HXgyDy6gnmKB0T6mSFa7",
1459
- "method": "required",
1460
- "value": "${ id_connect.enable }"
1461
- },
1462
- {
1463
- "field": "standard_component_input_3J7azgndKxkwxSZ2zZqk",
1464
- "method": "required",
1465
- "value": "${ id_connect.enable }"
1466
- },
1467
- {
1468
- "field": "standard_component_select_5f42db19246a83de0567",
1469
- "method": "required",
1470
- "value": "${ id_connect.enable }"
1471
- },
1472
- {
1473
- "field": "standard_component_input_DNbIAAmvAPaksUVvXfBQ",
1474
- "method": "required",
1475
- "value": "${ id_connect.enable }"
1476
- },
1477
- {
1478
- "field": "standard_component_input_Z2a3N29KtSvOQTvdRwkq",
1479
- "method": "required",
1480
- "value": "${ id_connect.enable }"
1481
- }
1482
- ]
1483
- }
1484
- ],
1485
- []
1486
- ]
1487
- }
1488
- },
1489
- {
1490
- "key": "O7OBBeJ9IpIavLZpbe2A",
1491
- "type": "column",
1492
- "layout": {
1493
- "num_of_col": 2,
1494
- "fields": [
1495
- [
1496
- {
1497
- "field": "input",
1498
- "type": "standard_component",
1499
- "unique_key": "standard_component_input_HXgyDy6gnmKB0T6mSFa7",
1500
- "key": "domain",
1501
- "label": "Domain",
1502
- "required": false,
1503
- "link_type": "key",
1504
- "entity": "not_use",
1505
- "input_type": "single_line",
1506
- "trigger": []
1507
- },
1508
- {
1509
- "field": "input",
1510
- "type": "standard_component",
1511
- "unique_key": "standard_component_input_3J7azgndKxkwxSZ2zZqk",
1512
- "key": "client_id",
1513
- "label": "Client Id",
1514
- "required": false,
1515
- "link_type": "key",
1516
- "entity": "not_use",
1517
- "input_type": "single_line",
1518
- "trigger": []
1519
- }
1520
- ],
1521
- [
1522
- {
1523
- "field": "input",
1524
- "type": "standard_component",
1525
- "unique_key": "standard_component_input_Z2a3N29KtSvOQTvdRwkq",
1526
- "key": "domain_api",
1527
- "label": "Domain Apin",
1528
- "required": false,
1529
- "link_type": "key",
1530
- "entity": "not_use",
1531
- "input_type": "single_line",
1532
- "trigger": []
1533
- },
1534
- {
1535
- "field": "input",
1536
- "type": "standard_component",
1537
- "unique_key": "standard_component_input_DNbIAAmvAPaksUVvXfBQ",
1538
- "key": "client_secret",
1539
- "label": "Client Secret",
1540
- "required": false,
1541
- "link_type": "key",
1542
- "input_type": "password",
1543
- "trigger": []
1544
- },
1545
- {
1546
- "field": "select",
1547
- "type": "standard_component",
1548
- "unique_key": "standard_component_select_5f42db19246a83de0567",
1549
- "key": "scope",
1550
- "label": "Scope",
1551
- "required": false,
1552
- "link_type": "key",
1553
- "mode": "tags",
1554
- "allow_duplicate": false,
1555
- "entity": "custom",
1556
- "trigger": []
1557
- }
1558
- ]
1559
- ]
1560
- }
1561
- },
1562
- {
1563
- "key": "BuIyObgIA8Wtjifuj0Od",
1564
- "type": "column",
1565
- "layout": {
1566
- "num_of_col": 1,
1567
- "fields": [
1568
- [
1569
- {
1570
- "field": "mapping_data",
1571
- "type": "advanced_component",
1572
- "label": "ID Connect Mpping Profile",
1573
- "unique_key": "advanced_component_mapping_data_6rcaXQrvnpopUxwer9pw",
1574
- "key": "profile_mapping",
1575
- "link_type": "key",
1576
- "hide_label": false,
1577
- "input_type": "json",
1578
- "output_type": "json",
1579
- "source_mapping_option": {
1580
- "entity": "other_entity",
1581
- "relate_ref": "user"
1582
- },
1583
- "destination_mapping_option": {
1584
- "entity": "custom",
1585
- "relate_ref": "[{\"field\":\"first_name\",\"type\":\"string\",\"children\":[]},{\"field\":\"last_name\",\"type\":\"string\",\"children\":[]},{\"field\":\"full_name\",\"type\":\"string\",\"children\":[]},{\"field\":\"user_id\",\"type\":\"string\",\"children\":[]},{\"field\":\"organization\",\"type\":\"string\",\"children\":[]},{\"field\":\"email\",\"type\":\"string\",\"children\":[]},{\"field\":\"phone_no\",\"type\":\"string\",\"children\":[]},{\"field\":\"username\",\"type\":\"string\",\"children\":[]}]"
1586
- },
1587
- "show_example": true
1588
- }
1589
- ]
1590
- ]
1591
- }
1592
- }
1593
- ],
1594
- "key": "dFF5E7jp7TQUp1QNDj9A"
1595
- }
976
+ }
1596
977
  ]
1597
978
  }
1598
979
  ],