@salesforce/plugin-sobject 1.0.9 → 1.1.1

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.
Files changed (53) hide show
  1. package/README.md +12 -12
  2. package/lib/commands/schema/generate/field.d.ts +3 -1
  3. package/lib/commands/schema/generate/field.js +100 -126
  4. package/lib/commands/schema/generate/field.js.map +1 -1
  5. package/lib/commands/schema/generate/platformevent.js +17 -16
  6. package/lib/commands/schema/generate/platformevent.js.map +1 -1
  7. package/lib/commands/schema/generate/sobject.js +34 -31
  8. package/lib/commands/schema/generate/sobject.js.map +1 -1
  9. package/lib/shared/flags.js.map +1 -1
  10. package/lib/shared/prompts/apiName.d.ts +5 -0
  11. package/lib/shared/prompts/apiName.js +26 -0
  12. package/lib/shared/prompts/apiName.js.map +1 -0
  13. package/lib/shared/prompts/description.d.ts +3 -0
  14. package/lib/shared/prompts/description.js +15 -0
  15. package/lib/shared/prompts/description.js.map +1 -0
  16. package/lib/shared/prompts/directory.d.ts +3 -0
  17. package/lib/shared/prompts/directory.js +16 -0
  18. package/lib/shared/prompts/directory.js.map +1 -0
  19. package/lib/shared/prompts/fields/number.d.ts +4 -0
  20. package/lib/shared/prompts/fields/number.js +26 -0
  21. package/lib/shared/prompts/fields/number.js.map +1 -0
  22. package/lib/shared/prompts/fields/text.d.ts +2 -0
  23. package/lib/shared/prompts/fields/text.js +31 -0
  24. package/lib/shared/prompts/fields/text.js.map +1 -0
  25. package/lib/shared/prompts/functions.d.ts +8 -0
  26. package/lib/shared/prompts/functions.js +24 -0
  27. package/lib/shared/prompts/functions.js.map +1 -0
  28. package/lib/shared/prompts/nameField.d.ts +5 -0
  29. package/lib/shared/prompts/nameField.js +31 -0
  30. package/lib/shared/prompts/nameField.js.map +1 -0
  31. package/lib/shared/prompts/object.d.ts +8 -0
  32. package/lib/shared/prompts/object.js +23 -0
  33. package/lib/shared/prompts/object.js.map +1 -0
  34. package/lib/shared/prompts/picklist.d.ts +2 -0
  35. package/lib/shared/prompts/picklist.js +31 -0
  36. package/lib/shared/prompts/picklist.js.map +1 -0
  37. package/lib/shared/prompts/plural.d.ts +3 -0
  38. package/lib/shared/prompts/plural.js +15 -0
  39. package/lib/shared/prompts/plural.js.map +1 -0
  40. package/lib/shared/prompts/relationshipField.js +43 -55
  41. package/lib/shared/prompts/relationshipField.js.map +1 -1
  42. package/lib/shared/types.d.ts +1 -8
  43. package/messages/generate.event.md +4 -0
  44. package/messages/generate.object.md +9 -9
  45. package/messages/prompts.shared.md +3 -3
  46. package/oclif.lock +186 -75
  47. package/oclif.manifest.json +2 -6
  48. package/package.json +10 -8
  49. package/schemas/schema-generate-field.json +15 -0
  50. package/schemas/schema-generate-sobject.json +17 -14
  51. package/lib/shared/prompts/prompts.d.ts +0 -28
  52. package/lib/shared/prompts/prompts.js +0 -123
  53. package/lib/shared/prompts/prompts.js.map +0 -1
package/oclif.lock CHANGED
@@ -442,6 +442,70 @@
442
442
  resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz#e5211452df060fa8522b55c7b3c0c4d1981cb044"
443
443
  integrity sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==
444
444
 
445
+ "@inquirer/confirm@^2.0.15":
446
+ version "2.0.15"
447
+ resolved "https://registry.yarnpkg.com/@inquirer/confirm/-/confirm-2.0.15.tgz#b5512ed190efd8c5b96e0969115756b48546ab36"
448
+ integrity sha512-hj8Q/z7sQXsF0DSpLQZVDhWYGN6KLM/gNjjqGkpKwBzljbQofGjn0ueHADy4HUY+OqDHmXuwk/bY+tZyIuuB0w==
449
+ dependencies:
450
+ "@inquirer/core" "^5.1.1"
451
+ "@inquirer/type" "^1.1.5"
452
+ chalk "^4.1.2"
453
+
454
+ "@inquirer/core@^5.1.1":
455
+ version "5.1.1"
456
+ resolved "https://registry.yarnpkg.com/@inquirer/core/-/core-5.1.1.tgz#849d4846aea68371c133df6ec9059f5e5bd30d30"
457
+ integrity sha512-IuJyZQUg75+L5AmopgnzxYrgcU6PJKL0hoIs332G1Gv55CnmZrhG6BzNOeZ5sOsTi1YCGOopw4rYICv74ejMFg==
458
+ dependencies:
459
+ "@inquirer/type" "^1.1.5"
460
+ "@types/mute-stream" "^0.0.4"
461
+ "@types/node" "^20.9.0"
462
+ "@types/wrap-ansi" "^3.0.0"
463
+ ansi-escapes "^4.3.2"
464
+ chalk "^4.1.2"
465
+ cli-spinners "^2.9.1"
466
+ cli-width "^4.1.0"
467
+ figures "^3.2.0"
468
+ mute-stream "^1.0.0"
469
+ run-async "^3.0.0"
470
+ signal-exit "^4.1.0"
471
+ strip-ansi "^6.0.1"
472
+ wrap-ansi "^6.2.0"
473
+
474
+ "@inquirer/input@^1.2.14":
475
+ version "1.2.14"
476
+ resolved "https://registry.yarnpkg.com/@inquirer/input/-/input-1.2.14.tgz#8951867618bb5cd16dd096e02404eec225a92207"
477
+ integrity sha512-tISLGpUKXixIQue7jypNEShrdzJoLvEvZOJ4QRsw5XTfrIYfoWFqAjMQLerGs9CzR86yAI89JR6snHmKwnNddw==
478
+ dependencies:
479
+ "@inquirer/core" "^5.1.1"
480
+ "@inquirer/type" "^1.1.5"
481
+ chalk "^4.1.2"
482
+
483
+ "@inquirer/password@^1.1.14":
484
+ version "1.1.14"
485
+ resolved "https://registry.yarnpkg.com/@inquirer/password/-/password-1.1.14.tgz#c1fc139efe84a38986870a1bcf80718050f82bbf"
486
+ integrity sha512-vL2BFxfMo8EvuGuZYlryiyAB3XsgtbxOcFs4H9WI9szAS/VZCAwdVqs8rqEeaAf/GV/eZOghIOYxvD91IsRWSg==
487
+ dependencies:
488
+ "@inquirer/input" "^1.2.14"
489
+ "@inquirer/type" "^1.1.5"
490
+ ansi-escapes "^4.3.2"
491
+ chalk "^4.1.2"
492
+
493
+ "@inquirer/select@^1.3.1":
494
+ version "1.3.1"
495
+ resolved "https://registry.yarnpkg.com/@inquirer/select/-/select-1.3.1.tgz#b10bb8d4ba72f08eb887b3d948eb734d680897c6"
496
+ integrity sha512-EgOPHv7XOHEqiBwBJTyiMg9r57ySyW4oyYCumGp+pGyOaXQaLb2kTnccWI6NFd9HSi5kDJhF7YjA+3RfMQJ2JQ==
497
+ dependencies:
498
+ "@inquirer/core" "^5.1.1"
499
+ "@inquirer/type" "^1.1.5"
500
+ ansi-escapes "^4.3.2"
501
+ chalk "^4.1.2"
502
+ figures "^3.2.0"
503
+
504
+ "@inquirer/type@^1.1.5":
505
+ version "1.1.5"
506
+ resolved "https://registry.yarnpkg.com/@inquirer/type/-/type-1.1.5.tgz#b8c171f755859c8159b10e41e1e3a88f0ca99d7f"
507
+ integrity sha512-wmwHvHozpPo4IZkkNtbYenem/0wnfI6hvOcGKmPEa0DwuaH5XUQzFqy6OpEpjEegZMhYIk8HDYITI16BPLtrRA==
508
+
445
509
  "@isaacs/cliui@^8.0.2":
446
510
  version "8.0.2"
447
511
  resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550"
@@ -964,10 +1028,10 @@
964
1028
  strip-ansi "6.0.1"
965
1029
  ts-retry-promise "^0.7.1"
966
1030
 
967
- "@salesforce/core@^6.4.0", "@salesforce/core@^6.4.1", "@salesforce/core@^6.4.2", "@salesforce/core@^6.4.4":
968
- version "6.4.4"
969
- resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.4.4.tgz#e96d2ef9cd05c3894578374d1054af80bfdca119"
970
- integrity sha512-VegX3ChnJUOOztSP05QPiXCTOSioShB22NyhYjL7vVhf6yqSOH0VT2oQ3ywrMYbYCbjLSdsmFdTVLiQIFpK57g==
1031
+ "@salesforce/core@^6.4.1", "@salesforce/core@^6.4.2", "@salesforce/core@^6.4.4", "@salesforce/core@^6.4.6":
1032
+ version "6.4.7"
1033
+ resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.4.7.tgz#f15538380aa5c75de697d3c95a2ddbdabae69dbb"
1034
+ integrity sha512-gebjw2xC8Z0gqS3lYRQWz7J+PuGZtybotrnnaJbnzzxdfpBFIp6PjW4nt/235BQW9UWFTLaQh+AwkFgmMTTSkA==
971
1035
  dependencies:
972
1036
  "@salesforce/kit" "^3.0.15"
973
1037
  "@salesforce/schemas" "^1.6.1"
@@ -981,7 +1045,7 @@
981
1045
  jsforce "^2.0.0-beta.29"
982
1046
  jsonwebtoken "9.0.2"
983
1047
  jszip "3.10.1"
984
- pino "^8.16.2"
1048
+ pino "^8.17.2"
985
1049
  pino-abstract-transport "^1.1.0"
986
1050
  pino-pretty "^10.3.1"
987
1051
  proper-lockfile "^4.1.2"
@@ -993,10 +1057,10 @@
993
1057
  resolved "https://registry.yarnpkg.com/@salesforce/dev-config/-/dev-config-4.1.0.tgz#e529576466d074e7a5f1441236510fef123da01e"
994
1058
  integrity sha512-2iDDepiIwjXHS5IVY7pwv8jMo4xWosJ7p/UTj+lllpB/gnJiYLhjJPE4Z3FCGFKyvfg5jGaimCd8Ca6bLGsCQA==
995
1059
 
996
- "@salesforce/dev-scripts@^8.2.0":
997
- version "8.2.0"
998
- resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-8.2.0.tgz#e8ca6fd377b0e85ecf88baea727493a68c2154ee"
999
- integrity sha512-dzVBmetyBe8IM1XJCBw83U5rC0TSwvXa1MPRRI0pmE/VeBqlfxM7rneKtlORCirz9n8SAvCiQvI4oJ/yWW5Quw==
1060
+ "@salesforce/dev-scripts@^8.3.0":
1061
+ version "8.3.0"
1062
+ resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-8.3.0.tgz#8fcf223edc57dbdeb11397bf7db1f07a8a5e7720"
1063
+ integrity sha512-NoaGfTtyIYed5lGXtLM7QsyGbZvPVa5uflbmIQdeFOefrvAv48k0+RbJzOl7nuj58EmvULzqrZHL6B7w5u4T5Q==
1000
1064
  dependencies:
1001
1065
  "@commitlint/cli" "^17.1.2"
1002
1066
  "@commitlint/config-conventional" "^17.8.1"
@@ -1011,7 +1075,7 @@
1011
1075
  cosmiconfig "^7.0.0"
1012
1076
  eslint-config-salesforce-typescript "^3.0.5"
1013
1077
  husky "^7.0.4"
1014
- linkinator "^6.0.2"
1078
+ linkinator "^6.0.3"
1015
1079
  mocha "^10.2.0"
1016
1080
  nyc "^15.1.0"
1017
1081
  prettier "^2.8.8"
@@ -1033,15 +1097,15 @@
1033
1097
  "@salesforce/ts-types" "^2.0.9"
1034
1098
  tslib "^2.6.2"
1035
1099
 
1036
- "@salesforce/plugin-command-reference@^3.0.58":
1037
- version "3.0.58"
1038
- resolved "https://registry.yarnpkg.com/@salesforce/plugin-command-reference/-/plugin-command-reference-3.0.58.tgz#2c1e151a4b2d3cca5956554eb4a43bab4fcf27d8"
1039
- integrity sha512-OblBIcOATD1HVorM/A+t2dT3V0FM/CQv2PtCoUA+rHecjGAjtLdzKajPIGw+Z56GCNqLM5keoEglzFGY8HeA4Q==
1100
+ "@salesforce/plugin-command-reference@^3.0.59":
1101
+ version "3.0.59"
1102
+ resolved "https://registry.yarnpkg.com/@salesforce/plugin-command-reference/-/plugin-command-reference-3.0.59.tgz#309dba84ae01828e1b8d62d80390240418688c43"
1103
+ integrity sha512-8mjPJyxz1FF6Ei7RwjMLHZTmFX2+bOOh5aq7lNwk3qkSqy5cSTW8bf+1/lcOPkm2125qCbAUL0wAgAyNACF6Xg==
1040
1104
  dependencies:
1041
1105
  "@oclif/core" "^3.15.1"
1042
1106
  "@salesforce/core" "^6.4.1"
1043
1107
  "@salesforce/kit" "^3.0.15"
1044
- "@salesforce/sf-plugins-core" "^5.0.12"
1108
+ "@salesforce/sf-plugins-core" "^5.0.13"
1045
1109
  "@salesforce/ts-types" "^2.0.9"
1046
1110
  chalk "^4"
1047
1111
  handlebars "^4.7.8"
@@ -1057,7 +1121,7 @@
1057
1121
  resolved "https://registry.yarnpkg.com/@salesforce/schemas/-/schemas-1.6.1.tgz#7d1c071e1e509ca9d2d8a6e48ac7447dd67a534d"
1058
1122
  integrity sha512-eVy947ZMxCJReKJdgfddUIsBIbPTa/i8RwQGwxq4/ss38H5sLOAeSTaun9V7HpJ1hkpDznWKfgzYvjsst9K6ig==
1059
1123
 
1060
- "@salesforce/sf-plugins-core@^5.0.11", "@salesforce/sf-plugins-core@^5.0.12":
1124
+ "@salesforce/sf-plugins-core@^5.0.13":
1061
1125
  version "5.0.13"
1062
1126
  resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-5.0.13.tgz#f2941527d66ded5750a6646e146af047ab72acc9"
1063
1127
  integrity sha512-b5R8krKeOIkW0hPxvfpm8T5tCSyWW7MDERnJwm/FXq4ueUJsC1/TCWSscyVKPSZ0VRcEFbzOWKJvpV/omB1D9w==
@@ -1070,6 +1134,19 @@
1070
1134
  chalk "^4"
1071
1135
  inquirer "^8.2.5"
1072
1136
 
1137
+ "@salesforce/sf-plugins-core@^7.1.1":
1138
+ version "7.1.1"
1139
+ resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-7.1.1.tgz#195b14d8bbb5ee2123872775110892c54c08c791"
1140
+ integrity sha512-stVcdLNaroS8UbcTQicr0aVH7K3yfpMFcPpTpLn2Z7OL66iEhBg4Vtr9+v0qKBjA5ZW7S0M1zzrgjY3ZNRJSxw==
1141
+ dependencies:
1142
+ "@inquirer/confirm" "^2.0.15"
1143
+ "@inquirer/password" "^1.1.14"
1144
+ "@oclif/core" "^3.16.0"
1145
+ "@salesforce/core" "^6.4.6"
1146
+ "@salesforce/kit" "^3.0.15"
1147
+ "@salesforce/ts-types" "^2.0.9"
1148
+ chalk "^5.3.0"
1149
+
1073
1150
  "@salesforce/ts-types@^2.0.9":
1074
1151
  version "2.0.9"
1075
1152
  resolved "https://registry.yarnpkg.com/@salesforce/ts-types/-/ts-types-2.0.9.tgz#66bff7b41720065d6b01631b6f6a3ccca02857c5"
@@ -1286,7 +1363,21 @@
1286
1363
  resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-10.0.6.tgz#818551d39113081048bdddbef96701b4e8bb9d1b"
1287
1364
  integrity sha512-dJvrYWxP/UcXm36Qn36fxhUKu8A/xMRXVT2cliFF1Z7UA9liG5Psj3ezNSZw+5puH2czDXRLcXQxf8JbJt0ejg==
1288
1365
 
1289
- "@types/node@*", "@types/node@20.5.1":
1366
+ "@types/mute-stream@^0.0.4":
1367
+ version "0.0.4"
1368
+ resolved "https://registry.yarnpkg.com/@types/mute-stream/-/mute-stream-0.0.4.tgz#77208e56a08767af6c5e1237be8888e2f255c478"
1369
+ integrity sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==
1370
+ dependencies:
1371
+ "@types/node" "*"
1372
+
1373
+ "@types/node@*", "@types/node@^20.9.0":
1374
+ version "20.10.5"
1375
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-20.10.5.tgz#47ad460b514096b7ed63a1dae26fad0914ed3ab2"
1376
+ integrity sha512-nNPsNE65wjMxEKI93yOP+NPGGBJz/PoN3kZsVLee0XMiJolxSekEVD8wRwBUBqkwc7UWop0edW50yrCQW4CyRw==
1377
+ dependencies:
1378
+ undici-types "~5.26.4"
1379
+
1380
+ "@types/node@20.5.1":
1290
1381
  version "20.5.1"
1291
1382
  resolved "https://registry.yarnpkg.com/@types/node/-/node-20.5.1.tgz#178d58ee7e4834152b0e8b4d30cbfab578b9bb30"
1292
1383
  integrity sha512-4tT2UrL5LBqDwoed9wZ6N3umC4Yhz3W3FloMmiiG4JwmUJWpie0c7lcnUNd4gtMKuDEO4wRVS8B6Xa0uMRsMKg==
@@ -1365,6 +1456,11 @@
1365
1456
  "@types/expect" "^1.20.4"
1366
1457
  "@types/node" "*"
1367
1458
 
1459
+ "@types/wrap-ansi@^3.0.0":
1460
+ version "3.0.0"
1461
+ resolved "https://registry.yarnpkg.com/@types/wrap-ansi/-/wrap-ansi-3.0.0.tgz#18b97a972f94f60a679fd5c796d96421b9abb9fd"
1462
+ integrity sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==
1463
+
1368
1464
  "@typescript-eslint/eslint-plugin@^6.10.0":
1369
1465
  version "6.11.0"
1370
1466
  resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.11.0.tgz#52aae65174ff526576351f9ccd41cea01001463f"
@@ -1401,13 +1497,13 @@
1401
1497
  "@typescript-eslint/types" "6.11.0"
1402
1498
  "@typescript-eslint/visitor-keys" "6.11.0"
1403
1499
 
1404
- "@typescript-eslint/scope-manager@6.16.0":
1405
- version "6.16.0"
1406
- resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.16.0.tgz#f3e9a00fbc1d0701356359cd56489c54d9e37168"
1407
- integrity sha512-0N7Y9DSPdaBQ3sqSCwlrm9zJwkpOuc6HYm7LpzLAPqBL7dmzAUimr4M29dMkOP/tEwvOCC/Cxo//yOfJD3HUiw==
1500
+ "@typescript-eslint/scope-manager@6.18.0":
1501
+ version "6.18.0"
1502
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.18.0.tgz#24ca6fc1f4a2afa71122dcfca9282878687d9997"
1503
+ integrity sha512-o/UoDT2NgOJ2VfHpfr+KBY2ErWvCySNUIX/X7O9g8Zzt/tXdpfEU43qbNk8LVuWUT2E0ptzTWXh79i74PP0twA==
1408
1504
  dependencies:
1409
- "@typescript-eslint/types" "6.16.0"
1410
- "@typescript-eslint/visitor-keys" "6.16.0"
1505
+ "@typescript-eslint/types" "6.18.0"
1506
+ "@typescript-eslint/visitor-keys" "6.18.0"
1411
1507
 
1412
1508
  "@typescript-eslint/type-utils@6.11.0":
1413
1509
  version "6.11.0"
@@ -1424,10 +1520,10 @@
1424
1520
  resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.11.0.tgz#8ad3aa000cbf4bdc4dcceed96e9b577f15e0bf53"
1425
1521
  integrity sha512-ZbEzuD4DwEJxwPqhv3QULlRj8KYTAnNsXxmfuUXFCxZmO6CF2gM/y+ugBSAQhrqaJL3M+oe4owdWunaHM6beqA==
1426
1522
 
1427
- "@typescript-eslint/types@6.16.0":
1428
- version "6.16.0"
1429
- resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.16.0.tgz#a3abe0045737d44d8234708d5ed8fef5d59dc91e"
1430
- integrity sha512-hvDFpLEvTJoHutVl87+MG/c5C8I6LOgEx05zExTSJDEVU7hhR3jhV8M5zuggbdFCw98+HhZWPHZeKS97kS3JoQ==
1523
+ "@typescript-eslint/types@6.18.0":
1524
+ version "6.18.0"
1525
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.18.0.tgz#ffce610a1540c17cf7d8ecf2bb34b8b0e2e77101"
1526
+ integrity sha512-/RFVIccwkwSdW/1zeMx3hADShWbgBxBnV/qSrex6607isYjj05t36P6LyONgqdUrNLl5TYU8NIKdHUYpFvExkA==
1431
1527
 
1432
1528
  "@typescript-eslint/typescript-estree@6.11.0":
1433
1529
  version "6.11.0"
@@ -1442,13 +1538,13 @@
1442
1538
  semver "^7.5.4"
1443
1539
  ts-api-utils "^1.0.1"
1444
1540
 
1445
- "@typescript-eslint/typescript-estree@6.16.0":
1446
- version "6.16.0"
1447
- resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.16.0.tgz#d6e0578e4f593045f0df06c4b3a22bd6f13f2d03"
1448
- integrity sha512-VTWZuixh/vr7nih6CfrdpmFNLEnoVBF1skfjdyGnNwXOH1SLeHItGdZDHhhAIzd3ACazyY2Fg76zuzOVTaknGA==
1541
+ "@typescript-eslint/typescript-estree@6.18.0":
1542
+ version "6.18.0"
1543
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.18.0.tgz#1c357c3ca435c3cfa2af6b9daf45ca0bc2bb059a"
1544
+ integrity sha512-klNvl+Ql4NsBNGB4W9TZ2Od03lm7aGvTbs0wYaFYsplVPhr+oeXjlPZCDI4U9jgJIDK38W1FKhacCFzCC+nbIg==
1449
1545
  dependencies:
1450
- "@typescript-eslint/types" "6.16.0"
1451
- "@typescript-eslint/visitor-keys" "6.16.0"
1546
+ "@typescript-eslint/types" "6.18.0"
1547
+ "@typescript-eslint/visitor-keys" "6.18.0"
1452
1548
  debug "^4.3.4"
1453
1549
  globby "^11.1.0"
1454
1550
  is-glob "^4.0.3"
@@ -1469,17 +1565,17 @@
1469
1565
  "@typescript-eslint/typescript-estree" "6.11.0"
1470
1566
  semver "^7.5.4"
1471
1567
 
1472
- "@typescript-eslint/utils@^6.13.2", "@typescript-eslint/utils@^6.7.5":
1473
- version "6.16.0"
1474
- resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.16.0.tgz#1c291492d34670f9210d2b7fcf6b402bea3134ae"
1475
- integrity sha512-T83QPKrBm6n//q9mv7oiSvy/Xq/7Hyw9SzSEhMHJwznEmQayfBM87+oAlkNAMEO7/MjIwKyOHgBJbxB0s7gx2A==
1568
+ "@typescript-eslint/utils@^6.17.0", "@typescript-eslint/utils@^6.7.5":
1569
+ version "6.18.0"
1570
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.18.0.tgz#4d07c9c08f84b9939a1aca7aef98c8f378936142"
1571
+ integrity sha512-wiKKCbUeDPGaYEYQh1S580dGxJ/V9HI7K5sbGAVklyf+o5g3O+adnS4UNJajplF4e7z2q0uVBaTdT/yLb4XAVA==
1476
1572
  dependencies:
1477
1573
  "@eslint-community/eslint-utils" "^4.4.0"
1478
1574
  "@types/json-schema" "^7.0.12"
1479
1575
  "@types/semver" "^7.5.0"
1480
- "@typescript-eslint/scope-manager" "6.16.0"
1481
- "@typescript-eslint/types" "6.16.0"
1482
- "@typescript-eslint/typescript-estree" "6.16.0"
1576
+ "@typescript-eslint/scope-manager" "6.18.0"
1577
+ "@typescript-eslint/types" "6.18.0"
1578
+ "@typescript-eslint/typescript-estree" "6.18.0"
1483
1579
  semver "^7.5.4"
1484
1580
 
1485
1581
  "@typescript-eslint/visitor-keys@6.11.0":
@@ -1490,12 +1586,12 @@
1490
1586
  "@typescript-eslint/types" "6.11.0"
1491
1587
  eslint-visitor-keys "^3.4.1"
1492
1588
 
1493
- "@typescript-eslint/visitor-keys@6.16.0":
1494
- version "6.16.0"
1495
- resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.16.0.tgz#d50da18a05d91318ed3e7e8889bda0edc35f3a10"
1496
- integrity sha512-QSFQLruk7fhs91a/Ep/LqRdbJCZ1Rq03rqBdKT5Ky17Sz8zRLUksqIe9DW0pKtg/Z35/ztbLQ6qpOCN6rOC11A==
1589
+ "@typescript-eslint/visitor-keys@6.18.0":
1590
+ version "6.18.0"
1591
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.18.0.tgz#3c8733737786fa6c78a347b4fa306ae7155b560f"
1592
+ integrity sha512-1wetAlSZpewRDb2h9p/Q8kRjdGuqdTAQbkJIOUMLug2LBLG+QOjiWoSj6/3B/hA9/tVTFFdtiKvAYoYnSRW/RA==
1497
1593
  dependencies:
1498
- "@typescript-eslint/types" "6.16.0"
1594
+ "@typescript-eslint/types" "6.18.0"
1499
1595
  eslint-visitor-keys "^3.4.1"
1500
1596
 
1501
1597
  "@ungap/structured-clone@^1.2.0":
@@ -2275,10 +2371,10 @@ cli-progress@^3.12.0:
2275
2371
  dependencies:
2276
2372
  string-width "^4.2.3"
2277
2373
 
2278
- cli-spinners@^2.5.0:
2279
- version "2.9.1"
2280
- resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.1.tgz#9c0b9dad69a6d47cbb4333c14319b060ed395a35"
2281
- integrity sha512-jHgecW0pxkonBJdrKsqxgRX9AcG+u/5k0Q7WPDfi8AogLAdwxEkyYYNWwZ5GvVFoFx2uiY1eNcSK00fh+1+FyQ==
2374
+ cli-spinners@^2.5.0, cli-spinners@^2.9.1:
2375
+ version "2.9.2"
2376
+ resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.2.tgz#1773a8f4b9c4d6ac31563df53b3fc1d79462fe41"
2377
+ integrity sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==
2282
2378
 
2283
2379
  cli-table@^0.3.1:
2284
2380
  version "0.3.11"
@@ -2292,6 +2388,11 @@ cli-width@^3.0.0:
2292
2388
  resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6"
2293
2389
  integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==
2294
2390
 
2391
+ cli-width@^4.1.0:
2392
+ version "4.1.0"
2393
+ resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-4.1.0.tgz#42daac41d3c254ef38ad8ac037672130173691c5"
2394
+ integrity sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==
2395
+
2295
2396
  cliui@^6.0.0:
2296
2397
  version "6.0.0"
2297
2398
  resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1"
@@ -3073,13 +3174,13 @@ eslint-plugin-perfectionist@^2.1.0:
3073
3174
  minimatch "^9.0.3"
3074
3175
  natural-compare-lite "^1.4.0"
3075
3176
 
3076
- eslint-plugin-sf-plugin@^1.17.0:
3077
- version "1.17.0"
3078
- resolved "https://registry.yarnpkg.com/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.17.0.tgz#9a7e81cb63bc6f36aae7c7797f95e2179def7fd3"
3079
- integrity sha512-grW7leP0FJbKQZgDjBZanLSTYrus0itKaEmoflEuqTZSyqH4feP53rHby5ysbOnw9OvgZfuq9NSc0a/CzcIbtQ==
3177
+ eslint-plugin-sf-plugin@^1.17.1:
3178
+ version "1.17.1"
3179
+ resolved "https://registry.yarnpkg.com/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.17.1.tgz#085119cb27d856170c0651c0d0abbd25493a22d6"
3180
+ integrity sha512-ZbIC0P5W7enSMNWZYTKKMzQ+yAU8FyWKazdOwk2rMrMEVk+LA23lfKcgCEvvuala718TEkqkPTwPYyn7qujPkA==
3080
3181
  dependencies:
3081
- "@salesforce/core" "^6.4.0"
3082
- "@typescript-eslint/utils" "^6.13.2"
3182
+ "@salesforce/core" "^6.4.4"
3183
+ "@typescript-eslint/utils" "^6.17.0"
3083
3184
 
3084
3185
  eslint-plugin-unicorn@^49.0.0:
3085
3186
  version "49.0.0"
@@ -3351,7 +3452,7 @@ faye@^1.4.0:
3351
3452
  tough-cookie "*"
3352
3453
  tunnel-agent "*"
3353
3454
 
3354
- figures@^3.0.0:
3455
+ figures@^3.0.0, figures@^3.2.0:
3355
3456
  version "3.2.0"
3356
3457
  resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af"
3357
3458
  integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==
@@ -4770,10 +4871,10 @@ lines-and-columns@^1.1.6:
4770
4871
  resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632"
4771
4872
  integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==
4772
4873
 
4773
- linkinator@^6.0.2:
4774
- version "6.0.2"
4775
- resolved "https://registry.yarnpkg.com/linkinator/-/linkinator-6.0.2.tgz#6a33df3372894a2fa3b25f80f2cd5e6bb9f73e7d"
4776
- integrity sha512-28eiQVzGwaCvVUb/cxii5jraWZYUv5n2Q5CaSRUH9oGDo1Jr8GcREnpw/0IfJ5YTRoIt9/ihra2lG8yqCN292g==
4874
+ linkinator@^6.0.3:
4875
+ version "6.0.3"
4876
+ resolved "https://registry.yarnpkg.com/linkinator/-/linkinator-6.0.3.tgz#552965bafb37a8747858b2c02a70b3c148b68909"
4877
+ integrity sha512-QAcefOkkumXa5NciVhICPkSR5SMk6LFISe/FIX8vvPdLHLUqdXU06Dq/nuOPA5V89iv2gV9FDufYA7adxIcvOw==
4777
4878
  dependencies:
4778
4879
  chalk "^5.0.0"
4779
4880
  escape-html "^1.0.3"
@@ -4781,7 +4882,7 @@ linkinator@^6.0.2:
4781
4882
  glob "^10.3.10"
4782
4883
  htmlparser2 "^9.0.0"
4783
4884
  marked "^10.0.0"
4784
- meow "^12.0.1"
4885
+ meow "^13.0.0"
4785
4886
  mime "^3.0.0"
4786
4887
  server-destroy "^1.0.1"
4787
4888
  srcset "^5.0.0"
@@ -5121,10 +5222,10 @@ marked@^4.3.0:
5121
5222
  vinyl "^2.0.1"
5122
5223
  vinyl-file "^3.0.0"
5123
5224
 
5124
- meow@^12.0.1:
5125
- version "12.1.1"
5126
- resolved "https://registry.yarnpkg.com/meow/-/meow-12.1.1.tgz#e558dddbab12477b69b2e9a2728c327f191bace6"
5127
- integrity sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==
5225
+ meow@^13.0.0:
5226
+ version "13.1.0"
5227
+ resolved "https://registry.yarnpkg.com/meow/-/meow-13.1.0.tgz#62995b0e8c3951739fe6e0a4becdd4d0df23eb37"
5228
+ integrity sha512-o5R/R3Tzxq0PJ3v3qcQJtSvSE9nKOLSAaDuuoMzDVuGTwHdccMWcYomh9Xolng2tjT6O/Y83d+0coVGof6tqmA==
5128
5229
 
5129
5230
  meow@^8.0.0, meow@^8.1.2:
5130
5231
  version "8.1.2"
@@ -5432,6 +5533,11 @@ mute-stream@0.0.8:
5432
5533
  resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"
5433
5534
  integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==
5434
5535
 
5536
+ mute-stream@^1.0.0:
5537
+ version "1.0.0"
5538
+ resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-1.0.0.tgz#e31bd9fe62f0aed23520aa4324ea6671531e013e"
5539
+ integrity sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==
5540
+
5435
5541
  nanoid@3.3.3:
5436
5542
  version "3.3.3"
5437
5543
  resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.3.tgz#fd8e8b7aa761fe807dba2d1b98fb7241bb724a25"
@@ -6220,17 +6326,17 @@ pino-std-serializers@^6.0.0:
6220
6326
  resolved "https://registry.yarnpkg.com/pino-std-serializers/-/pino-std-serializers-6.2.2.tgz#d9a9b5f2b9a402486a5fc4db0a737570a860aab3"
6221
6327
  integrity sha512-cHjPPsE+vhj/tnhCy/wiMh3M3z3h/j15zHQX+S9GkTBgqJuTuJzYJ4gUyACLhDaJ7kk9ba9iRDmbH2tJU03OiA==
6222
6328
 
6223
- pino@^8.16.2:
6224
- version "8.16.2"
6225
- resolved "https://registry.yarnpkg.com/pino/-/pino-8.16.2.tgz#7a906f2d9a8c5b4c57412c9ca95d6820bd2090cd"
6226
- integrity sha512-2advCDGVEvkKu9TTVSa/kWW7Z3htI/sBKEZpqiHk6ive0i/7f5b1rsU8jn0aimxqfnSz5bj/nOYkwhBUn5xxvg==
6329
+ pino@^8.17.2:
6330
+ version "8.17.2"
6331
+ resolved "https://registry.yarnpkg.com/pino/-/pino-8.17.2.tgz#0ed20175623a69d31664a1e8a5f85476272224be"
6332
+ integrity sha512-LA6qKgeDMLr2ux2y/YiUt47EfgQ+S9LznBWOJdN3q1dx2sv0ziDLUBeVpyVv17TEcGCBuWf0zNtg3M5m1NhhWQ==
6227
6333
  dependencies:
6228
6334
  atomic-sleep "^1.0.0"
6229
6335
  fast-redact "^3.1.1"
6230
6336
  on-exit-leak-free "^2.1.0"
6231
6337
  pino-abstract-transport v1.1.0
6232
6338
  pino-std-serializers "^6.0.0"
6233
- process-warning "^2.0.0"
6339
+ process-warning "^3.0.0"
6234
6340
  quick-format-unescaped "^4.0.3"
6235
6341
  real-require "^0.2.0"
6236
6342
  safe-stable-stringify "^2.3.1"
@@ -6308,10 +6414,10 @@ process-on-spawn@^1.0.0:
6308
6414
  dependencies:
6309
6415
  fromentries "^1.2.0"
6310
6416
 
6311
- process-warning@^2.0.0:
6312
- version "2.3.0"
6313
- resolved "https://registry.yarnpkg.com/process-warning/-/process-warning-2.3.0.tgz#02ccba12fd55c05879cb7ddab31b6a20af2fe4d9"
6314
- integrity sha512-N6mp1+2jpQr3oCFMz6SeHRGbv6Slb20bRhj4v3xR99HqNToAcOe1MFOp4tytyzOfJn+QtN8Rf7U/h2KAn4kC6g==
6417
+ process-warning@^3.0.0:
6418
+ version "3.0.0"
6419
+ resolved "https://registry.yarnpkg.com/process-warning/-/process-warning-3.0.0.tgz#96e5b88884187a1dce6f5c3166d611132058710b"
6420
+ integrity sha512-mqn0kFRl0EoqhnL0GQ0veqFHyIN1yig9RHh/InzORTUiZHFRAur+aMtRkELNwGs9aNwKS6tg/An4NYBPGwvtzQ==
6315
6421
 
6316
6422
  process@^0.11.10:
6317
6423
  version "0.11.10"
@@ -6678,6 +6784,11 @@ run-async@^2.0.0, run-async@^2.4.0:
6678
6784
  resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455"
6679
6785
  integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==
6680
6786
 
6787
+ run-async@^3.0.0:
6788
+ version "3.0.0"
6789
+ resolved "https://registry.yarnpkg.com/run-async/-/run-async-3.0.0.tgz#42a432f6d76c689522058984384df28be379daad"
6790
+ integrity sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==
6791
+
6681
6792
  run-parallel@^1.1.9:
6682
6793
  version "1.2.0"
6683
6794
  resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee"
@@ -6883,7 +6994,7 @@ signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7:
6883
6994
  resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9"
6884
6995
  integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==
6885
6996
 
6886
- signal-exit@^4.0.1:
6997
+ signal-exit@^4.0.1, signal-exit@^4.1.0:
6887
6998
  version "4.1.0"
6888
6999
  resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04"
6889
7000
  integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==
@@ -40,7 +40,6 @@
40
40
  "strict": true,
41
41
  "summary": "Generate metadata source files for a new custom field on a specified object.",
42
42
  "enableJsonFlag": false,
43
- "SF_ENV": "SF_ENV",
44
43
  "requiresProject": true,
45
44
  "isESM": true,
46
45
  "relativePath": [
@@ -97,7 +96,6 @@
97
96
  "strict": true,
98
97
  "summary": "Generate metadata source files for a new platform event.",
99
98
  "enableJsonFlag": false,
100
- "SF_ENV": "SF_ENV",
101
99
  "requiresProject": true,
102
100
  "isESM": true,
103
101
  "relativePath": [
@@ -147,7 +145,7 @@
147
145
  },
148
146
  "use-default-features": {
149
147
  "char": "f",
150
- "description": "Enables these features:\n\n* Search: Allows users to find the custom object's records when they search, including SOSL.\n* Feeds: Enables feed tracking.\n* Reports: Allows reporting of the data in the custom object records.\n* History: Enables object history tracking.\n* Activities: Allows users to associate tasks and scheduled calendar events related to the custom object records.\n* Bulk API: With Sharing and Streaming API, classifies the custom object as an Enterprise Application object.\n* Sharing: With Bulk API and Streaming API, classifies the custom object as an Enterprise Application object.\n* Streaming API: With Bulk API and Sharing, classifies the custom object as an Enterprise Application object.",
148
+ "description": "Enables these features:\n\n- Search: Allows users to find the custom object's records when they search, including SOSL.\n- Feeds: Enables feed tracking.\n- Reports: Allows reporting of the data in the custom object records.\n- History: Enables object history tracking.\n- Activities: Allows users to associate tasks and scheduled calendar events related to the custom object records.\n- Bulk API: With Sharing and Streaming API, classifies the custom object as an Enterprise Application object.\n- Sharing: With Bulk API and Streaming API, classifies the custom object as an Enterprise Application object.\n- Streaming API: With Bulk API and Sharing, classifies the custom object as an Enterprise Application object.",
151
149
  "name": "use-default-features",
152
150
  "summary": "Enable all optional features without prompting.",
153
151
  "allowNo": false,
@@ -163,7 +161,6 @@
163
161
  "strict": true,
164
162
  "summary": "Generate metadata source files for a new custom object.",
165
163
  "enableJsonFlag": false,
166
- "SF_ENV": "SF_ENV",
167
164
  "requiresProject": true,
168
165
  "isESM": true,
169
166
  "relativePath": [
@@ -248,7 +245,6 @@
248
245
  "strict": true,
249
246
  "summary": "Generate the metadata source files for a new custom tab on a custom object.",
250
247
  "enableJsonFlag": true,
251
- "SF_ENV": "SF_ENV",
252
248
  "requiresProject": true,
253
249
  "isESM": true,
254
250
  "relativePath": [
@@ -276,5 +272,5 @@
276
272
  ]
277
273
  }
278
274
  },
279
- "version": "1.0.9"
275
+ "version": "1.1.1"
280
276
  }
package/package.json CHANGED
@@ -1,15 +1,17 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-sobject",
3
3
  "description": "Create objects, fields, tabs, etc",
4
- "version": "1.0.9",
4
+ "version": "1.1.1",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
+ "@inquirer/confirm": "^2.0.15",
9
+ "@inquirer/input": "^1.2.14",
10
+ "@inquirer/select": "^1.3.1",
8
11
  "@oclif/core": "^3.16.0",
9
12
  "@salesforce/core": "^6.4.4",
10
13
  "@salesforce/kit": "^3.0.15",
11
- "@salesforce/sf-plugins-core": "^5.0.11",
12
- "change-case": "^4.1.2",
14
+ "@salesforce/sf-plugins-core": "^7.1.1",
13
15
  "fast-glob": "^3.3.2",
14
16
  "fast-xml-parser": "^4.3.2",
15
17
  "js2xmlparser": "^4.0.2"
@@ -17,10 +19,10 @@
17
19
  "devDependencies": {
18
20
  "@oclif/plugin-command-snapshot": "^5.0.5",
19
21
  "@salesforce/cli-plugins-testkit": "^5.1.3",
20
- "@salesforce/dev-scripts": "^8.2.0",
21
- "@salesforce/plugin-command-reference": "^3.0.58",
22
+ "@salesforce/dev-scripts": "^8.3.0",
23
+ "@salesforce/plugin-command-reference": "^3.0.59",
22
24
  "@types/inquirer": "^8.2.0",
23
- "eslint-plugin-sf-plugin": "^1.17.0",
25
+ "eslint-plugin-sf-plugin": "^1.17.1",
24
26
  "oclif": "^4.1.0",
25
27
  "shx": "0.3.4",
26
28
  "ts-node": "^10.9.2",
@@ -210,7 +212,7 @@
210
212
  "exports": "./lib/index.js",
211
213
  "type": "module",
212
214
  "sfdx": {
213
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-sobject/1.0.9.crt",
214
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-sobject/1.0.9.sig"
215
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-sobject/1.1.1.crt",
216
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-sobject/1.1.1.sig"
215
217
  }
216
218
  }
@@ -44,6 +44,21 @@
44
44
  },
45
45
  "length": {
46
46
  "type": ["number", "null"]
47
+ },
48
+ "unique": {
49
+ "type": ["boolean", "null"]
50
+ },
51
+ "externalId": {
52
+ "type": ["boolean", "null"]
53
+ },
54
+ "startingNumber": {
55
+ "type": ["number", "null"]
56
+ },
57
+ "defaultValue": {
58
+ "type": ["string", "null"]
59
+ },
60
+ "securityClassification": {
61
+ "type": ["string", "null"]
47
62
  }
48
63
  },
49
64
  "required": ["type"]
@@ -20,20 +20,7 @@
20
20
  "additionalProperties": false,
21
21
  "properties": {
22
22
  "nameField": {
23
- "type": "object",
24
- "properties": {
25
- "label": {
26
- "type": ["string", "null"]
27
- },
28
- "type": {
29
- "type": ["string", "null"]
30
- },
31
- "displayFormat": {
32
- "type": ["string", "null"]
33
- }
34
- },
35
- "additionalProperties": false,
36
- "description": "Used by classical CustomObject"
23
+ "$ref": "#/definitions/NameField"
37
24
  },
38
25
  "label": {
39
26
  "type": ["string", "null"]
@@ -80,6 +67,22 @@
80
67
  },
81
68
  "required": ["nameField"],
82
69
  "description": "There are a lot of properties that we don't, and some that jsforce thinks are mandatory that aren't. Many apply to the various sub-species (mdt, external, events)\n\nThis type represents a \"classical\" CustomObject subset that can deploy."
70
+ },
71
+ "NameField": {
72
+ "type": "object",
73
+ "properties": {
74
+ "label": {
75
+ "type": ["string", "null"]
76
+ },
77
+ "type": {
78
+ "type": ["string", "null"]
79
+ },
80
+ "displayFormat": {
81
+ "type": ["string", "null"]
82
+ }
83
+ },
84
+ "additionalProperties": false,
85
+ "description": "Used by classical CustomObject"
83
86
  }
84
87
  }
85
88
  }