@salesforce/plugin-omnistudio-migration-tool 2.0.0-preview.12 → 2.0.0-preview.13

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.
@@ -218,7 +218,7 @@ class InterfaceImplements {
218
218
  exports.InterfaceImplements = InterfaceImplements;
219
219
  class InterfaceMatcher {
220
220
  static getMatchingTokens(checkFor, ctx) {
221
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
221
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
222
222
  const tokens = [];
223
223
  const typeNameContexts = ctx.typeName();
224
224
  if (!typeNameContexts)
@@ -230,8 +230,8 @@ class InterfaceMatcher {
230
230
  }
231
231
  else if (checkFor.namespace &&
232
232
  typeNameContexts.length === 2 &&
233
- checkFor.namespace === ((_h = (_g = (_f = (_e = typeNameContexts[0]) === null || _e === void 0 ? void 0 : _e.id()) === null || _f === void 0 ? void 0 : _f.Identifier()) === null || _g === void 0 ? void 0 : _g.symbol) === null || _h === void 0 ? void 0 : _h.text) &&
234
- checkFor.name === ((_m = (_l = (_k = (_j = typeNameContexts[1]) === null || _j === void 0 ? void 0 : _j.id()) === null || _k === void 0 ? void 0 : _k.Identifier()) === null || _l === void 0 ? void 0 : _l.symbol) === null || _m === void 0 ? void 0 : _m.text)) {
233
+ checkFor.namespace === ((_j = (_h = (_g = (_f = (_e = typeNameContexts[0]) === null || _e === void 0 ? void 0 : _e.id()) === null || _f === void 0 ? void 0 : _f.Identifier()) === null || _g === void 0 ? void 0 : _g.symbol) === null || _h === void 0 ? void 0 : _h.text) === null || _j === void 0 ? void 0 : _j.toLowerCase()) &&
234
+ checkFor.name === ((_o = (_m = (_l = (_k = typeNameContexts[1]) === null || _k === void 0 ? void 0 : _k.id()) === null || _l === void 0 ? void 0 : _l.Identifier()) === null || _m === void 0 ? void 0 : _m.symbol) === null || _o === void 0 ? void 0 : _o.text)) {
235
235
  tokens.push(typeNameContexts[0].id().Identifier().symbol);
236
236
  tokens.push(typeNameContexts[1].id().Identifier().symbol);
237
237
  }
@@ -240,8 +240,8 @@ class InterfaceMatcher {
240
240
  checkFor.namespace === SYSTEM_NAMESPACE &&
241
241
  checkFor.name === CALLABLE_INTERFACE &&
242
242
  typeNameContexts.length === 2 &&
243
- !((_p = (_o = typeNameContexts[0]) === null || _o === void 0 ? void 0 : _o.id()) === null || _p === void 0 ? void 0 : _p.Identifier()) && // System is a reserved keyword, no Identifier
244
- ((_t = (_s = (_r = (_q = typeNameContexts[1]) === null || _q === void 0 ? void 0 : _q.id()) === null || _r === void 0 ? void 0 : _r.Identifier()) === null || _s === void 0 ? void 0 : _s.symbol) === null || _t === void 0 ? void 0 : _t.text) === CALLABLE_INTERFACE) {
243
+ !((_q = (_p = typeNameContexts[0]) === null || _p === void 0 ? void 0 : _p.id()) === null || _q === void 0 ? void 0 : _q.Identifier()) && // System is a reserved keyword, no Identifier
244
+ ((_u = (_t = (_s = (_r = typeNameContexts[1]) === null || _r === void 0 ? void 0 : _r.id()) === null || _s === void 0 ? void 0 : _s.Identifier()) === null || _t === void 0 ? void 0 : _t.symbol) === null || _u === void 0 ? void 0 : _u.text) === CALLABLE_INTERFACE) {
245
245
  tokens.push(typeNameContexts[0].start);
246
246
  tokens.push(typeNameContexts[1].id().Identifier().symbol);
247
247
  }
@@ -1 +1 @@
1
- {"version":3,"file":"apexparser.js","sourceRoot":"","sources":["../../../../src/utils/apex/parser/apexparser.ts"],"names":[],"mappings":";;;AAAA,wDAAwD;AACxD,sDAAsD;AACtD,+DAA+D;AAC/D,4DAA4D;AAC5D,2DAcmC;AACnC,uCAAsF;AACtF,mEAAgE;AAChE,yCAAsC;AAEtC,8DAA8D;AAC9D,MAAM,gBAAgB,GAAG,QAAQ,CAAC;AAClC,MAAM,kBAAkB,GAAG,UAAU,CAAC;AAEtC,MAAa,aAAa;IAkBxB,IAAW,oBAA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C;AACJ,CAAC;AArBD,sEAqBC"}
1
+ {"version":3,"file":"apexparser.js","sourceRoot":"","sources":["../../../../src/utils/apex/parser/apexparser.ts"],"names":[],"mappings":";;;AAAA,wDAAwD;AACxD,sDAAsD;AACtD,+DAA+D;AAC/D,4DAA4D;AAC5D,2DAcmC;AACnC,uCAAsF;AACtF,mEAAgE;AAChE,yCAAsC;AAEtC,8DAA8D;AAC9D,MAAM,gBAAgB,GAAG,QAAQ,CAAC;AAClC,MAAM,kBAAkB,GAAG,UAAU,CAAC;AAEtC,MAAa,aAAa;IAkBxB,IAAW,oBAAoB;QAC7B,OAAO,IAAI,CAAC,mBAAmB,CAAC;IAClC,CAAC;IAED,IAAW,gBAAgB;QACzB,OAAO,IAAI,CAAC,qBAAqB,CAAC;IACpC,CAAC;IAED,IAAW,qBAAqB;QAC9B,OAAO,IAAI,CAAC,0BAA0B,CAAC;IACzC,CAAC;IACD,IAAW,kBAAkB;QAC3B,OAAO,IAAI,CAAC,wBAAwB,CAAC;IACvC,CAAC;IACD,IAAW,kBAAkB;QAC3B,OAAO,IAAI,CAAC,wBAAwB,CAAC;IACvC,CAAC;IAED,IAAW,gBAAgB;QACzB,OAAO,IAAI,CAAC,eAAe,CAAC;IAC9B,CAAC;IACD,IAAW,gBAAgB;QACzB,OAAO,IAAI,CAAC,eAAe,CAAC;IAC9B,CAAC;IACD,IAAW,6BAA6B;QACtC,OAAO,IAAI,CAAC,4BAA4B,CAAC;IAC3C,CAAC;IACD,IAAW,wBAAwB;QACjC,OAAO,IAAI,CAAC,aAAa,CAAC;IAC5B,CAAC;IAED,YACE,eAAuB,EACvB,cAAqC,EACrC,WAA4B,EAC5B,SAAiB;QAnDX,wBAAmB,GAAsC,IAAI,GAAG,EAAE,CAAC;QACnE,oBAAe,GAAgC,IAAI,GAAG,EAAE,CAAC;QACzD,iCAA4B,GAAiB,EAAE,CAAC;QAChD,oBAAe,GAAyB,IAAI,GAAG,EAAE,CAAC;QAMlD,kBAAa,GAAG,K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0CAAE,MAAM,MAAK,CAAC,EAClD;QACA,OAAO,KAAK,CAAC;KACd;IAED,4CAA4C;IAC5C,OAAO,CACL,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC;QAC5D,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAC3D,CAAC;AACJ,CAAC;AArBD,sEAqBC"}
@@ -1 +1 @@
1
- {"version":"2.0.0-preview.12","commands":{"basecommand":{"id":"basecommand","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-omnistudio-migration-tool","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"omnistudio:migration:assess":{"id":"omnistudio:migration:assess","description":"If your Omnistudio components are on custom data model, assess the migration of the components from Omnistudio managed package runtime to Omnistudio standard runtime. If your Omnistudio components are on standard data model, assess the updates made to the component names and references.See: https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_naming_conventions.htm&type=5","usage":"<%= command.id %> [-o <string>] [-a] [-r <string>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-omnistudio-migration-tool","pluginType":"core","aliases":[],"examples":["omnistudio:migration:assess -u orguser@domain.com ","omnistudio:migration:assess -u orguser@domain.com --only=dm","omnistudio:migration:assess -u orguser@domain.com --only=ip","omnistudio:migration:assess -u orguser@domain.com --only=os","omnistudio:migration:assess -u orguser@domain.com --only=fc","omnistudio:migration:assess -u orguser@domain.com --only=cl","omnistudio:migration:assess -u orguser@domain.com --only=autonumber","omnistudio:migration:assess -u orguser@domain.com --relatedobjects apex,lwc,flexipage,expsites","omnistudio:migration:assess -u orguser@domain.com -r apex,lwc,flexipage,expsites"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"only":{"name":"only","type":"option","char":"o","description":"Migrate a single component: os | ip | fc | dm | autonumber | cl"},"allversions":{"name":"allversions","type":"boolean","char":"a","description":"Migrate all versions of a component","required":false,"allowNo":false},"relatedobjects":{"name":"relatedobjects","type":"option","char":"r","description":"Select the component type that you want to migrate: 'apex' for Apex classes, 'lwc' for Lightning Web Components, 'flexipage' for FlexiPages, 'expsites' for Experience Sites, or 'apex, lwc, flexipage, expsites' if you want to include all types."},"verbose":{"name":"verbose","type":"boolean","description":"Enable verbose output","allowNo":false}},"args":[{"name":"file"}]},"omnistudio:migration:info":{"id":"omnistudio:migration:info","description":"print a greeting and your org IDs","usage":"<%= command.id %> [-n <string>] [-a] [-v <string>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-omnistudio-migration-tool","pluginType":"core","aliases":[],"examples":["sfdx omnistudio:migration:info --targetusername myOrg@example.com --targetdevhubusername devhub@org.com","sfdx omnistudio:migration:info --name myname --targetusername myOrg@example.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"name":{"name":"name","type":"option","char":"n","description":"name to print"},"allversions":{"name":"allversions","type":"boolean","char":"a","description":"Migrate all versions of a component","required":false,"allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"Enable verbose output","allowNo":false}},"args":[{"name":"file"}]},"omnistudio:migration:migrate":{"id":"omnistudio:migration:migrate","description":"If your Omnistudio components are on custom data model, migrate the components from custom data model to standard data model, and switch the runtime from Omnistudio managed package runtime to Omnistudio standard runtime. If your Omnistudio components are on standard data model, the component names and references will be updated to contain only alphanumeric characters. This update is required to enable the metadata API. See: https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_naming_conventions.htm&type=5","usage":"<%= command.id %> [-o <string>] [-a] [-r <string>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-omnistudio-migration-tool","pluginType":"core","aliases":[],"examples":["omnistudio:migration:migrate -u orguser@domain.com ","omnistudio:migration:migrate -u orguser@domain.com --only=dm","omnistudio:migration:migrate -u orguser@domain.com --only=ip","omnistudio:migration:migrate -u orguser@domain.com --only=os","omnistudio:migration:migrate -u orguser@domain.com --only=fc","omnistudio:migration:migrate -u orguser@domain.com --only=autonumber","omnistudio:migration:migrate -u orguser@domain.com --only=cl","omnistudio:migration:migrate -u orguser@domain.com --relatedobjects apex,lwc,flexipage,expsites","omnistudio:migration:migrate -u orguser@domain.com -r apex,lwc,flexipage,expsites","omnistudio:migration:migrate -u orguser@domain.com -r apex","omnistudio:migration:migrate -u orguser@domain.com -r lwc"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"only":{"name":"only","type":"option","char":"o","description":"Migrate a single component: os | ip | fc | dm | autonumber | cl"},"allversions":{"name":"allversions","type":"boolean","char":"a","description":"Migrate all versions of a component","required":false,"allowNo":false},"relatedobjects":{"name":"relatedobjects","type":"option","char":"r","description":"Select the component type that you want to migrate: 'apex' for Apex classes, 'lwc' for Lightning Web Components, 'flexipage' for FlexiPages, 'expsites' for Experience Sites, or 'apex, lwc, flexipage, expsites' if you want to include all types."},"verbose":{"name":"verbose","type":"boolean","description":"Enable verbose output","allowNo":false}},"args":[{"name":"file"}]}}}
1
+ {"version":"2.0.0-preview.13","commands":{"basecommand":{"id":"basecommand","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-omnistudio-migration-tool","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"omnistudio:migration:assess":{"id":"omnistudio:migration:assess","description":"If your Omnistudio components are on custom data model, assess the migration of the components from Omnistudio managed package runtime to Omnistudio standard runtime. If your Omnistudio components are on standard data model, assess the updates made to the component names and references.See: https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_naming_conventions.htm&type=5","usage":"<%= command.id %> [-o <string>] [-a] [-r <string>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-omnistudio-migration-tool","pluginType":"core","aliases":[],"examples":["omnistudio:migration:assess -u orguser@domain.com ","omnistudio:migration:assess -u orguser@domain.com --only=dm","omnistudio:migration:assess -u orguser@domain.com --only=ip","omnistudio:migration:assess -u orguser@domain.com --only=os","omnistudio:migration:assess -u orguser@domain.com --only=fc","omnistudio:migration:assess -u orguser@domain.com --only=cl","omnistudio:migration:assess -u orguser@domain.com --only=autonumber","omnistudio:migration:assess -u orguser@domain.com --relatedobjects apex,lwc,flexipage,expsites","omnistudio:migration:assess -u orguser@domain.com -r apex,lwc,flexipage,expsites"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"only":{"name":"only","type":"option","char":"o","description":"Migrate a single component: os | ip | fc | dm | autonumber | cl"},"allversions":{"name":"allversions","type":"boolean","char":"a","description":"Migrate all versions of a component","required":false,"allowNo":false},"relatedobjects":{"name":"relatedobjects","type":"option","char":"r","description":"Select the component type that you want to migrate: 'apex' for Apex classes, 'lwc' for Lightning Web Components, 'flexipage' for FlexiPages, 'expsites' for Experience Sites, or 'apex, lwc, flexipage, expsites' if you want to include all types."},"verbose":{"name":"verbose","type":"boolean","description":"Enable verbose output","allowNo":false}},"args":[{"name":"file"}]},"omnistudio:migration:info":{"id":"omnistudio:migration:info","description":"print a greeting and your org IDs","usage":"<%= command.id %> [-n <string>] [-a] [-v <string>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-omnistudio-migration-tool","pluginType":"core","aliases":[],"examples":["sfdx omnistudio:migration:info --targetusername myOrg@example.com --targetdevhubusername devhub@org.com","sfdx omnistudio:migration:info --name myname --targetusername myOrg@example.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"name":{"name":"name","type":"option","char":"n","description":"name to print"},"allversions":{"name":"allversions","type":"boolean","char":"a","description":"Migrate all versions of a component","required":false,"allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"Enable verbose output","allowNo":false}},"args":[{"name":"file"}]},"omnistudio:migration:migrate":{"id":"omnistudio:migration:migrate","description":"If your Omnistudio components are on custom data model, migrate the components from custom data model to standard data model, and switch the runtime from Omnistudio managed package runtime to Omnistudio standard runtime. If your Omnistudio components are on standard data model, the component names and references will be updated to contain only alphanumeric characters. This update is required to enable the metadata API. See: https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_naming_conventions.htm&type=5","usage":"<%= command.id %> [-o <string>] [-a] [-r <string>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-omnistudio-migration-tool","pluginType":"core","aliases":[],"examples":["omnistudio:migration:migrate -u orguser@domain.com ","omnistudio:migration:migrate -u orguser@domain.com --only=dm","omnistudio:migration:migrate -u orguser@domain.com --only=ip","omnistudio:migration:migrate -u orguser@domain.com --only=os","omnistudio:migration:migrate -u orguser@domain.com --only=fc","omnistudio:migration:migrate -u orguser@domain.com --only=autonumber","omnistudio:migration:migrate -u orguser@domain.com --only=cl","omnistudio:migration:migrate -u orguser@domain.com --relatedobjects apex,lwc,flexipage,expsites","omnistudio:migration:migrate -u orguser@domain.com -r apex,lwc,flexipage,expsites","omnistudio:migration:migrate -u orguser@domain.com -r apex","omnistudio:migration:migrate -u orguser@domain.com -r lwc"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"only":{"name":"only","type":"option","char":"o","description":"Migrate a single component: os | ip | fc | dm | autonumber | cl"},"allversions":{"name":"allversions","type":"boolean","char":"a","description":"Migrate all versions of a component","required":false,"allowNo":false},"relatedobjects":{"name":"relatedobjects","type":"option","char":"r","description":"Select the component type that you want to migrate: 'apex' for Apex classes, 'lwc' for Lightning Web Components, 'flexipage' for FlexiPages, 'expsites' for Experience Sites, or 'apex, lwc, flexipage, expsites' if you want to include all types."},"verbose":{"name":"verbose","type":"boolean","description":"Enable verbose output","allowNo":false}},"args":[{"name":"file"}]}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-omnistudio-migration-tool",
3
3
  "description": "This SFDX plugin migrates FlexCard, OmniScript, DataRaptor, and Integration Procedure custom objects to standard objects.",
4
- "version": "2.0.0-preview.12",
4
+ "version": "2.0.0-preview.13",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -161,7 +161,7 @@
161
161
  }
162
162
  },
163
163
  "sfdx": {
164
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-omnistudio-migration-tool/2.0.0-preview.12.crt",
165
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-omnistudio-migration-tool/2.0.0-preview.12.sig"
164
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-omnistudio-migration-tool/2.0.0-preview.13.crt",
165
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-omnistudio-migration-tool/2.0.0-preview.13.sig"
166
166
  }
167
167
  }