@salesforce/plugin-custom-metadata 2.0.15 → 2.1.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/lib/commands/{generate/cmdt → cmdt/generate}/field.d.ts +7 -7
- package/lib/commands/{generate/cmdt → cmdt/generate}/field.js +0 -0
- package/lib/commands/{generate/cmdt → cmdt/generate}/field.js.map +1 -1
- package/lib/commands/{generate/cmdt → cmdt/generate}/fromorg.d.ts +10 -10
- package/lib/commands/{generate/cmdt → cmdt/generate}/fromorg.js +0 -0
- package/lib/commands/{generate/cmdt → cmdt/generate}/fromorg.js.map +1 -1
- package/lib/commands/{generate/cmdt → cmdt/generate}/object.d.ts +6 -6
- package/lib/commands/{generate/cmdt → cmdt/generate}/object.js +0 -0
- package/lib/commands/{generate/cmdt → cmdt/generate}/object.js.map +1 -1
- package/lib/commands/{generate/cmdt → cmdt/generate}/record.d.ts +7 -7
- package/lib/commands/{generate/cmdt → cmdt/generate}/record.js +0 -0
- package/lib/commands/cmdt/generate/record.js.map +1 -0
- package/lib/commands/{generate/cmdt → cmdt/generate}/records.d.ts +6 -6
- package/lib/commands/{generate/cmdt → cmdt/generate}/records.js +0 -0
- package/lib/commands/{generate/cmdt → cmdt/generate}/records.js.map +1 -1
- package/messages/fromorg.md +1 -1
- package/oclif.manifest.json +14 -13
- package/package.json +121 -30
- package/schemas/{generate-cmdt-fromorg.json → cmdt-generate-fromorg.json} +0 -0
- package/schemas/{generate-cmdt-record.json → cmdt-generate-record.json} +0 -0
- package/schemas/{generate-cmdt-records.json → cmdt-generate-records.json} +0 -0
- package/lib/commands/generate/cmdt/record.js.map +0 -1
|
@@ -11,13 +11,13 @@ export default class Create extends SfCommand<CmdtFieldCreateResponse> {
|
|
|
11
11
|
static readonly requiresProject = true;
|
|
12
12
|
static readonly aliases: string[];
|
|
13
13
|
static readonly flags: {
|
|
14
|
-
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
15
|
-
name: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
16
|
-
type: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
17
|
-
'picklist-values': import("@oclif/core/lib/interfaces").OptionFlag<string[] | undefined>;
|
|
18
|
-
'decimal-places': import("@oclif/core/lib/interfaces").OptionFlag<number>;
|
|
19
|
-
label: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
20
|
-
'output-directory': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
14
|
+
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
15
|
+
name: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
16
|
+
type: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
17
|
+
'picklist-values': import("@oclif/core/lib/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
18
|
+
'decimal-places': import("@oclif/core/lib/interfaces").OptionFlag<number, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
19
|
+
label: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
20
|
+
'output-directory': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
21
21
|
};
|
|
22
22
|
run(): Promise<CmdtFieldCreateResponse>;
|
|
23
23
|
}
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.js","sourceRoot":"","sources":["../../../../src/commands/generate/
|
|
1
|
+
{"version":3,"file":"field.js","sourceRoot":"","sources":["../../../../src/commands/cmdt/generate/field.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iEAA+F;AAC/F,2CAAqD;AACrD,mE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YACV,OAAO;YACP,QAAQ;YACR,SAAS;YACT,OAAO;YACP,UAAU;YACV,MAAM;YACN,UAAU;YACV,cAAc;YACd,KAAK;SACN;QACD,OAAO,EAAE,CAAC,WAAW,CAAC;KACvB,CAAC;IACF,iBAAiB,EAAE,IAAA,sCAAoB,EAAC;QACtC,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,+BAA+B,CAAC;QAC7D,OAAO,EAAE,CAAC,gBAAgB,CAAC;KAC5B,CAAC;IACF,gBAAgB,EAAE,uBAAK,CAAC,OAAO,CAAC;QAC9B,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,8BAA8B,CAAC;QAC5D,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,kCAAkC,CAAC;QACpE,OAAO,EAAE,CAAC;QACV,GAAG,EAAE,CAAC;QACN,OAAO,EAAE,CAAC,eAAe,CAAC;KAC3B,CAAC;IACF,KAAK,EAAE,uBAAK,CAAC,MAAM,CAAC;QAClB,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC;KACpD,CAAC;IACF,kBAAkB,EAAE,uBAAK,CAAC,SAAS,CAAC;QAClC,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,gCAAgC,CAAC;QAC9D,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,oCAAoC,CAAC;QACtE,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,CAAC,WAAW,EAAE,iBAAiB,CAAC;KAC1C,CAAC;CACH,CAAC"}
|
|
@@ -10,17 +10,17 @@ export default class Generate extends SfCommand<CmdtGenerateResponse> {
|
|
|
10
10
|
static readonly requiresProject = true;
|
|
11
11
|
static readonly aliases: string[];
|
|
12
12
|
static readonly flags: {
|
|
13
|
-
'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org>;
|
|
14
|
-
'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
15
|
-
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
16
|
-
'dev-name': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
17
|
-
label: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
18
|
-
'plural-label': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
19
|
-
visibility: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
20
|
-
sobject: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
13
|
+
'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
14
|
+
'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
15
|
+
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
16
|
+
'dev-name': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
17
|
+
label: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
18
|
+
'plural-label': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
19
|
+
visibility: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
20
|
+
sobject: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
21
21
|
'ignore-unsupported': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
22
|
-
'type-output-directory': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
23
|
-
'records-output-dir': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
22
|
+
'type-output-directory': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
23
|
+
'records-output-dir': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
24
24
|
};
|
|
25
25
|
run(): Promise<CmdtGenerateResponse>;
|
|
26
26
|
}
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fromorg.js","sourceRoot":"","sources":["../../../../src/commands/generate/
|
|
1
|
+
{"version":3,"file":"fromorg.js","sourceRoot":"","sources":["../../../../src/commands/cmdt/generate/fromorg.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,6BAA6B;AAC7B,iEAMqC;AACrC,2CAAqD;AACrD,yCAA0C;AAE1C,mEAA+E;AAC/E,mEAAmF;AACnF,uEAAqH;AACrH,2EAIgD;AAChD,mEAAkG;AAElG,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,oCAAoC,EAAE,SAAS,CAAC,CAAC;AAMxF,MAAqB,QAAS,SAAQ,2BAA+B;IA8D5D,KAAK,CAAC,GAAG;;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAC7C,MAAM,IAAI,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;QAErE,qFAAqF;QACrF,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QAE5E,0FAA0F;QAC1F,IAAI,IAAA,aAAO,EAAC,WAAW,CAAC,MAAM,CAAC,EAAE;YAC/B,MAAM,MAAM,GAAG,QAAQ,C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AM,EAAE,EAAE,CAAC,CAAC;QACxC,GAAG,aAAa;QAChB,QAAQ,EAAE,GAAG,MAAM,GAAG,KAAK,CAAC,QAAQ,EAAE;QACtC,KAAK,EAAE,GAAG,MAAM,GAAG,KAAK,CAAC,KAAK,EAAE;KACjC,CAAC,CAAC,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -12,12 +12,12 @@ export default class Create extends SfCommand<CmdtCreateResponse> {
|
|
|
12
12
|
static readonly aliases: string[];
|
|
13
13
|
static readonly requiresProject = true;
|
|
14
14
|
static readonly flags: {
|
|
15
|
-
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
16
|
-
'type-name': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
17
|
-
label: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
18
|
-
'plural-label': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
19
|
-
visibility: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
20
|
-
'output-directory': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
15
|
+
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
16
|
+
'type-name': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
17
|
+
label: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
18
|
+
'plural-label': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
19
|
+
visibility: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
20
|
+
'output-directory': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
21
21
|
};
|
|
22
22
|
run(): Promise<CmdtCreateResponse>;
|
|
23
23
|
}
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"object.js","sourceRoot":"","sources":["../../../../src/commands/generate/
|
|
1
|
+
{"version":3,"file":"object.js","sourceRoot":"","sources":["../../../../src/commands/cmdt/generate/object.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iEAAyE;AACzE,2CAA4C;AAC5C,mEAAmE;AACnE,2EAAyG;AACzG,mEAAsE;AAEtE,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,oCAAoC,EAAE,QAAQ,CAAC,CAAC;AAQvF,MAAqB,MAAO,SAAQ,2BAA6B;IA8CxD,KAAK,CAAC,GAAG;;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAC3C,MAAM,KAAK,GAAG,MAAA,KAAK,CAAC,KAAK,mCAAI,KAAK,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC,wEAAwE;QAC9I,MAAM,WAAW,GAAG,MAAA,KAAK,CAAC,cAAc,CAAC,mCAAI,KAAK,CAAC;QAEnD,MAAM,SAAS,GAAG,IAAA,2BAAe,EAAC,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;QAC5E,MAAM,WAAW,GAAG,MAAM,IAAA,0BAAa,EAAC,EAAE,EAAE,KAAK,CAAC,kBAAkB,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,EAAE,SAAS,CAAC,CAAC;QAEtG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QACpE,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAA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CAAC,wBAAwB,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KACxG,CAAC;IACF,cAAc,EAAE,uBAAK,CAAC,MAAM,CAAC;QAC3B,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,4BAA4B,CAAC;QAC1D,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,CACrB,OAAO,CAAC,OAAO,CAAC,IAAA,sCAAqB,EAAC,KAAK,EAAE,QAAQ,CAAC,UAAU,CAAC,8BAA8B,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC7G,OAAO,EAAE,CAAC,aAAa,CAAC;KACzB,CAAC;IACF,UAAU,EAAE,uBAAK,CAAC,MAAM,CAAC;QACvB,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,0BAA0B,CAAC;QACxD,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,8BAA8B,CAAC;QAChE,OAAO,EAAE,CAAC,kBAAkB,EAAE,WAAW,EAAE,QAAQ,CAAC;QACpD,OAAO,EAAE,QAAQ;KAClB,CAAC;IACF,kBAAkB,EAAE,uBAAK,CAAC,SAAS,CAAC;QAClC,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,gCAAgC,CAAC;QAC9D,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,oCAAoC,CAAC;QACtE,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,CAAC,WAAW,EAAE,iBAAiB,CAAC;KAC1C,CAAC;CACH,CAAC"}
|
|
@@ -18,13 +18,13 @@ export default class Create extends SfCommand<CmdtRecordCreateResponse> {
|
|
|
18
18
|
static aliases: string[];
|
|
19
19
|
static readonly examples: string[];
|
|
20
20
|
static readonly flags: {
|
|
21
|
-
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
22
|
-
'type-name': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
23
|
-
'record-name': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
24
|
-
label: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
25
|
-
protected: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
26
|
-
'input-directory': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
27
|
-
'output-directory': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
21
|
+
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
22
|
+
'type-name': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
23
|
+
'record-name': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
24
|
+
label: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
25
|
+
protected: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
26
|
+
'input-directory': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
27
|
+
'output-directory': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
28
28
|
};
|
|
29
29
|
run(): Promise<CmdtRecordCreateResponse>;
|
|
30
30
|
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record.js","sourceRoot":"","sources":["../../../../src/commands/cmdt/generate/record.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,6BAA6B;AAC7B,iEAAuF;AACvF,2CAA4C;AAE5C,mEAAsG;AACtG,2EAIgD;AAEhD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAA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OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,gCAAgC,CAAC;QAC9D,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,gBAAgB,CAAC;QACpE,OAAO,EAAE,CAAC,WAAW,EAAE,iBAAiB,CAAC;KAC1C,CAAC;CACH,CAAC"}
|
|
@@ -7,12 +7,12 @@ export default class Insert extends SfCommand<CreateConfigs> {
|
|
|
7
7
|
static readonly aliases: string[];
|
|
8
8
|
static readonly examples: string[];
|
|
9
9
|
static readonly flags: {
|
|
10
|
-
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
11
|
-
csv: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
12
|
-
'type-name': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
13
|
-
'input-directory': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
14
|
-
'output-directory': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
15
|
-
'name-column': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
10
|
+
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
11
|
+
csv: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
12
|
+
'type-name': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
13
|
+
'input-directory': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
14
|
+
'output-directory': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
15
|
+
'name-column': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
16
16
|
};
|
|
17
17
|
run(): Promise<CreateConfigs>;
|
|
18
18
|
}
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"records.js","sourceRoot":"","sources":["../../../../src/commands/generate/
|
|
1
|
+
{"version":3,"file":"records.js","sourceRoot":"","sources":["../../../../src/commands/cmdt/generate/records.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,6BAA6B;AAC7B,iEAAyE;AACzE,2CAAqD;AAErD,6CAA6C;AAC7C,mEAAqH;AAGrH,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,oCAAoC,EAAE,SAAS,CAAC,CAAC;AAExF,MAAqB,MAAO,SAAQ,2BAAwB;IA2CnD,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAC3C,MAAM,OAAO,GAAG,IAAA,kCAAqB,EAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;QAC1D,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;QAC5E,MAAM,SAAS,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;QAE1D,qDAAqD;QACrD,MAAM,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,kBAAkB,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QAExE,MAAM,QAAQ,GAAG,MAAM,IAAA,wBAAW,EAAC,YAAY,EAAE,SAAS,CAAC,CAAC;QAC5D,MAAM,UAAU,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAa,CAAC;QAEjE,MAAM,kBAAkB,GAAG,IAAA,0BAAa,EAAC,QAAQ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QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;QAC/F,OAAO,EAAE,CAAC,UAAU,CAAC;KACtB,CAAC;IACF,iBAAiB,EAAE,uBAAK,CAAC,SAAS,CAAC;QACjC,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,+BAA+B,CAAC;QAC7D,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,CAAC;QAC7D,OAAO,EAAE,CAAC,UAAU,EAAE,gBAAgB,CAAC;QACvC,MAAM,EAAE,IAAI;KACb,CAAC;IACF,kBAAkB,EAAE,uBAAK,CAAC,SAAS,CAAC;QAClC,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,gCAAgC,CAAC;QAC9D,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,gBAAgB,CAAC;QACpE,OAAO,EAAE,CAAC,WAAW,EAAE,iBAAiB,CAAC;KAC1C,CAAC;IACF,aAAa,EAAE,uBAAK,CAAC,MAAM,CAAC;QAC1B,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC;QACzD,OAAO,EAAE,MAAM;QACf,OAAO,EAAE,CAAC,YAAY,CAAC;KACxB,CAAC;CACH,CAAC"}
|
package/messages/fromorg.md
CHANGED
|
@@ -4,7 +4,7 @@ Generate a custom metadata type and all its records from a Salesforce object.
|
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
Use this command to migrate existing custom objects or custom settings in an org to custom metadata types. If a field of the Salesforce object is of an unsupported type, the field type is automatically converted to text. Run "<%= config.bin %> cmdt field
|
|
7
|
+
Use this command to migrate existing custom objects or custom settings in an org to custom metadata types. If a field of the Salesforce object is of an unsupported type, the field type is automatically converted to text. Run "<%= config.bin %> cmdt generate field --help" to see the list of supported cmdt field types, listed in the --type flag summary. Use the --ignore-unsupported to ignore these fields.
|
|
8
8
|
|
|
9
9
|
This command creates the metadata files that describe the new custom metadata type and its fields in the "force-app/main/default/objects/TypeName__mdt" directory by default, where "TypeName" is the value of the required --dev-name flag. Use --type-output-directory to create them in a different directory.
|
|
10
10
|
|
package/oclif.manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.0
|
|
2
|
+
"version": "2.1.0",
|
|
3
3
|
"commands": {
|
|
4
|
-
"generate:
|
|
5
|
-
"id": "generate:
|
|
4
|
+
"cmdt:generate:field": {
|
|
5
|
+
"id": "cmdt:generate:field",
|
|
6
6
|
"summary": "Generate a field for a custom metadata type based on the provided field type.",
|
|
7
7
|
"description": "Similar to a custom object, a custom metadata type has a list of custom fields that represent aspects of the metadata.\n\nThis command creates a metadata file that describes the new custom metadata type field. By default, the file is created in a \"fields\" directory in the current directory. Use the --output-directory to generate the file in the directory that contains the custom metadata type metdata files, such as \"force-app/main/default/objects/MyCmdt__mdt\" for the custom metadata type called MyCmdt.",
|
|
8
8
|
"strict": true,
|
|
@@ -80,7 +80,8 @@
|
|
|
80
80
|
"multiple": true,
|
|
81
81
|
"aliases": [
|
|
82
82
|
"picklistvalues"
|
|
83
|
-
]
|
|
83
|
+
],
|
|
84
|
+
"delimiter": ","
|
|
84
85
|
},
|
|
85
86
|
"decimal-places": {
|
|
86
87
|
"name": "decimal-places",
|
|
@@ -118,10 +119,10 @@
|
|
|
118
119
|
"args": {},
|
|
119
120
|
"requiresProject": true
|
|
120
121
|
},
|
|
121
|
-
"generate:
|
|
122
|
-
"id": "generate:
|
|
122
|
+
"cmdt:generate:fromorg": {
|
|
123
|
+
"id": "cmdt:generate:fromorg",
|
|
123
124
|
"summary": "Generate a custom metadata type and all its records from a Salesforce object.",
|
|
124
|
-
"description": "Use this command to migrate existing custom objects or custom settings in an org to custom metadata types. If a field of the Salesforce object is of an unsupported type, the field type is automatically converted to text. Run \"<%= config.bin %> cmdt field
|
|
125
|
+
"description": "Use this command to migrate existing custom objects or custom settings in an org to custom metadata types. If a field of the Salesforce object is of an unsupported type, the field type is automatically converted to text. Run \"<%= config.bin %> cmdt generate field --help\" to see the list of supported cmdt field types, listed in the --type flag summary. Use the --ignore-unsupported to ignore these fields.\n\nThis command creates the metadata files that describe the new custom metadata type and its fields in the \"force-app/main/default/objects/TypeName__mdt\" directory by default, where \"TypeName\" is the value of the required --dev-name flag. Use --type-output-directory to create them in a different directory.",
|
|
125
126
|
"strict": true,
|
|
126
127
|
"pluginName": "@salesforce/plugin-custom-metadata",
|
|
127
128
|
"pluginAlias": "@salesforce/plugin-custom-metadata",
|
|
@@ -266,8 +267,8 @@
|
|
|
266
267
|
"requiresProject": true,
|
|
267
268
|
"hasDynamicHelp": true
|
|
268
269
|
},
|
|
269
|
-
"generate:
|
|
270
|
-
"id": "generate:
|
|
270
|
+
"cmdt:generate:object": {
|
|
271
|
+
"id": "cmdt:generate:object",
|
|
271
272
|
"summary": "Generate a new custom metadata type in the current project.",
|
|
272
273
|
"description": "This command creates a metadata file that describes the new custom metadata type. By default, the file is created in the MyCustomType__mdt directory in the current directory, where MyCustomType is the value of the required --type-name flag. Use the --output-directory to generate the file in a package directory with other custom metadata types, such as \"force-app/main/default/objects\".",
|
|
273
274
|
"strict": true,
|
|
@@ -359,8 +360,8 @@
|
|
|
359
360
|
"args": {},
|
|
360
361
|
"requiresProject": true
|
|
361
362
|
},
|
|
362
|
-
"generate:
|
|
363
|
-
"id": "generate:
|
|
363
|
+
"cmdt:generate:record": {
|
|
364
|
+
"id": "cmdt:generate:record",
|
|
364
365
|
"summary": "Generate a new record for a given custom metadata type in the current project.",
|
|
365
366
|
"description": "The custom metadata type must already exist in your project. You must specify a name for the new record. Use name=value pairs to specify the values for the fields, such as MyTextField=\"some text here\" or MyNumberField=32.",
|
|
366
367
|
"strict": false,
|
|
@@ -462,8 +463,8 @@
|
|
|
462
463
|
"args": {},
|
|
463
464
|
"requiresProject": true
|
|
464
465
|
},
|
|
465
|
-
"generate:
|
|
466
|
-
"id": "generate:
|
|
466
|
+
"cmdt:generate:records": {
|
|
467
|
+
"id": "cmdt:generate:records",
|
|
467
468
|
"summary": "Generate new custom metadata type records from a CSV file.",
|
|
468
469
|
"description": "The custom metadata type must already exist in your project. By default, the Name column is used to determine the record name; use the --name-column flag to specify a different column.",
|
|
469
470
|
"strict": true,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-custom-metadata",
|
|
3
3
|
"description": "Tools for working with custom metadata types and their records.",
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.1.0",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
7
7
|
"name": "Carolyn Grabill",
|
|
@@ -42,46 +42,47 @@
|
|
|
42
42
|
],
|
|
43
43
|
"bugs": "https://github.com/salesforcecli/plugin-custom-metadata/issues",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@oclif/core": "^
|
|
46
|
-
"@salesforce/core": "^3.33.
|
|
47
|
-
"@salesforce/sf-plugins-core": "^
|
|
45
|
+
"@oclif/core": "^2.0.7",
|
|
46
|
+
"@salesforce/core": "^3.33.1",
|
|
47
|
+
"@salesforce/sf-plugins-core": "^2.0.1",
|
|
48
48
|
"@salesforce/ts-types": "^1.7.1",
|
|
49
49
|
"fast-xml-parser": "^4.0.12",
|
|
50
50
|
"tslib": "^2"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@oclif/plugin-command-snapshot": "^3.3.0",
|
|
54
|
-
"@salesforce/cli-plugins-testkit": "^3.2.
|
|
54
|
+
"@salesforce/cli-plugins-testkit": "^3.2.18",
|
|
55
55
|
"@salesforce/dev-config": "^3.0.1",
|
|
56
|
-
"@salesforce/dev-scripts": "^
|
|
56
|
+
"@salesforce/dev-scripts": "^4.0.0-beta.8",
|
|
57
57
|
"@salesforce/plugin-command-reference": "^2.2.9",
|
|
58
58
|
"@salesforce/prettier-config": "^0.0.2",
|
|
59
59
|
"@salesforce/ts-sinon": "^1.4.2",
|
|
60
60
|
"@swc/core": "^1.3.26",
|
|
61
61
|
"@typescript-eslint/eslint-plugin": "^5.48.1",
|
|
62
|
-
"@typescript-eslint/parser": "^5.
|
|
62
|
+
"@typescript-eslint/parser": "^5.49.0",
|
|
63
63
|
"bluebird": "3.7.2",
|
|
64
64
|
"chai": "^4.3.7",
|
|
65
65
|
"eslint": "^8.30.0",
|
|
66
66
|
"eslint-config-prettier": "^8.6.0",
|
|
67
|
-
"eslint-config-salesforce": "^1.1.
|
|
68
|
-
"eslint-config-salesforce-license": "^0.
|
|
67
|
+
"eslint-config-salesforce": "^1.1.1",
|
|
68
|
+
"eslint-config-salesforce-license": "^0.2.0",
|
|
69
69
|
"eslint-config-salesforce-typescript": "^1.1.1",
|
|
70
70
|
"eslint-plugin-header": "^3.1.1",
|
|
71
71
|
"eslint-plugin-import": "^2.26.0",
|
|
72
72
|
"eslint-plugin-jsdoc": "^39.6.4",
|
|
73
|
-
"eslint-plugin-sf-plugin": "^1.
|
|
73
|
+
"eslint-plugin-sf-plugin": "^1.7.0",
|
|
74
74
|
"husky": "^7.0.4",
|
|
75
75
|
"jsforce": "^2.0.0-beta.19",
|
|
76
76
|
"mocha": "^9.1.3",
|
|
77
77
|
"nyc": "^15.1.0",
|
|
78
|
-
"oclif": "^3.6.
|
|
79
|
-
"prettier": "^2.8.
|
|
78
|
+
"oclif": "^3.6.1",
|
|
79
|
+
"prettier": "^2.8.3",
|
|
80
80
|
"pretty-quick": "^3.1.0",
|
|
81
81
|
"shx": "0.2.2",
|
|
82
82
|
"sinon": "10.0.0",
|
|
83
83
|
"ts-node": "^10.0.0",
|
|
84
|
-
"typescript": "^4.9.4"
|
|
84
|
+
"typescript": "^4.9.4",
|
|
85
|
+
"wireit": "^0.9.3"
|
|
85
86
|
},
|
|
86
87
|
"engines": {
|
|
87
88
|
"node": ">=14.0.0"
|
|
@@ -107,12 +108,11 @@
|
|
|
107
108
|
"@salesforce/plugin-command-reference"
|
|
108
109
|
],
|
|
109
110
|
"topics": {
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"description": "Commands to generate a project, create a function, and more.",
|
|
111
|
+
"cmdt": {
|
|
112
|
+
"description": "Generate custom metadata types and their records.",
|
|
113
113
|
"subtopics": {
|
|
114
|
-
"
|
|
115
|
-
"description": "
|
|
114
|
+
"generate": {
|
|
115
|
+
"description": "Generate custom metadata types and their records."
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
}
|
|
@@ -120,32 +120,123 @@
|
|
|
120
120
|
},
|
|
121
121
|
"repository": "github:salesforcecli/plugin-custom-metadata",
|
|
122
122
|
"scripts": {
|
|
123
|
-
"build": "
|
|
123
|
+
"build": "wireit",
|
|
124
124
|
"clean": "sf-clean",
|
|
125
125
|
"clean-all": "sf-clean all",
|
|
126
126
|
"clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
|
|
127
|
-
"compile": "
|
|
127
|
+
"compile": "wireit",
|
|
128
128
|
"docs": "sf-docs",
|
|
129
|
-
"format": "
|
|
130
|
-
"lint": "
|
|
129
|
+
"format": "wireit",
|
|
130
|
+
"lint": "wireit",
|
|
131
131
|
"postpack": "shx rm -f oclif.manifest.json",
|
|
132
|
-
"posttest": "yarn lint && yarn test:deprecation-policy && yarn test:json-schema",
|
|
133
132
|
"prepack": "sf-prepack",
|
|
134
133
|
"prepare": "sf-install",
|
|
135
|
-
"
|
|
136
|
-
"test": "
|
|
137
|
-
"test:
|
|
138
|
-
"test:deprecation-policy": "
|
|
139
|
-
"test:json-schema": "
|
|
134
|
+
"test": "wireit",
|
|
135
|
+
"test:command-reference": "wireit",
|
|
136
|
+
"test:compile": "wireit",
|
|
137
|
+
"test:deprecation-policy": "wireit",
|
|
138
|
+
"test:json-schema": "wireit",
|
|
140
139
|
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
|
|
141
140
|
"test:nuts:local": "nyc mocha \"**/local/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
|
|
141
|
+
"test:only": "wireit",
|
|
142
142
|
"version": "oclif readme"
|
|
143
143
|
},
|
|
144
144
|
"publishConfig": {
|
|
145
145
|
"access": "public"
|
|
146
146
|
},
|
|
147
|
+
"wireit": {
|
|
148
|
+
"build": {
|
|
149
|
+
"dependencies": [
|
|
150
|
+
"compile",
|
|
151
|
+
"lint"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
"compile": {
|
|
155
|
+
"command": "tsc -p . --pretty --incremental",
|
|
156
|
+
"files": [
|
|
157
|
+
"src/**/*.ts",
|
|
158
|
+
"tsconfig.json",
|
|
159
|
+
"messages/**"
|
|
160
|
+
],
|
|
161
|
+
"output": [
|
|
162
|
+
"lib/**",
|
|
163
|
+
"*.tsbuildinfo"
|
|
164
|
+
],
|
|
165
|
+
"clean": "if-file-deleted"
|
|
166
|
+
},
|
|
167
|
+
"format": {
|
|
168
|
+
"command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\""
|
|
169
|
+
},
|
|
170
|
+
"lint": {
|
|
171
|
+
"command": "eslint --color --cache --cache-location .eslintcache",
|
|
172
|
+
"files": [
|
|
173
|
+
"src/**/*.ts",
|
|
174
|
+
"test/**/*.ts",
|
|
175
|
+
".eslintignore",
|
|
176
|
+
".eslintrc.js"
|
|
177
|
+
],
|
|
178
|
+
"output": []
|
|
179
|
+
},
|
|
180
|
+
"test:compile": {
|
|
181
|
+
"command": "tsc -p \"./test\" --pretty",
|
|
182
|
+
"files": [
|
|
183
|
+
"test/**/*.ts",
|
|
184
|
+
"tsconfig.json",
|
|
185
|
+
"test/tsconfig.json"
|
|
186
|
+
],
|
|
187
|
+
"output": []
|
|
188
|
+
},
|
|
189
|
+
"test": {
|
|
190
|
+
"dependencies": [
|
|
191
|
+
"test:compile",
|
|
192
|
+
"test:only",
|
|
193
|
+
"test:command-reference",
|
|
194
|
+
"test:deprecation-policy",
|
|
195
|
+
"lint",
|
|
196
|
+
"test:json-schema"
|
|
197
|
+
]
|
|
198
|
+
},
|
|
199
|
+
"test:only": {
|
|
200
|
+
"command": "nyc mocha \"test/**/*.test.ts\"",
|
|
201
|
+
"files": [
|
|
202
|
+
"test/**/*.ts",
|
|
203
|
+
"src/**/*.ts",
|
|
204
|
+
"tsconfig.json",
|
|
205
|
+
"test/tsconfig.json"
|
|
206
|
+
],
|
|
207
|
+
"output": []
|
|
208
|
+
},
|
|
209
|
+
"test:command-reference": {
|
|
210
|
+
"command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
|
|
211
|
+
"files": [
|
|
212
|
+
"src/**/*.ts",
|
|
213
|
+
"messages/**"
|
|
214
|
+
],
|
|
215
|
+
"output": [
|
|
216
|
+
"tmp/root"
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
"test:deprecation-policy": {
|
|
220
|
+
"command": "\"./bin/dev\" snapshot:compare",
|
|
221
|
+
"files": [
|
|
222
|
+
"src/**/*.ts"
|
|
223
|
+
],
|
|
224
|
+
"output": [],
|
|
225
|
+
"dependencies": [
|
|
226
|
+
"compile"
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
"test:json-schema": {
|
|
230
|
+
"command": "\"./bin/dev\" schema:compare",
|
|
231
|
+
"files": [
|
|
232
|
+
"src/**/*.ts",
|
|
233
|
+
"schemas"
|
|
234
|
+
],
|
|
235
|
+
"output": []
|
|
236
|
+
}
|
|
237
|
+
},
|
|
147
238
|
"sfdx": {
|
|
148
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-custom-metadata/2.0.
|
|
149
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-custom-metadata/2.0.
|
|
239
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-custom-metadata/2.1.0.crt",
|
|
240
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-custom-metadata/2.1.0.sig"
|
|
150
241
|
}
|
|
151
242
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"record.js","sourceRoot":"","sources":["../../../../src/commands/generate/cmdt/record.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,6BAA6B;AAC7B,iEAAuF;AACvF,2CAA4C;AAE5C,mEAAsG;AACtG,2EAIgD;AAEhD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,oCAAoC,EAAE,QAAQ,CAAC,CAAC;AAYvF,MAAqB,MAAO,SAAQ,2BAAmC;IAqD9D,KAAK,CAAC,GAAG;;QACd,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACvD,MAAM,OAAO,GAAG,IAAA,8BAAY,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACzC,MAAM,KAAK,GAAG,MAAA,KAAK,CAAC,KAAK,mCAAI,KAAK,CAAC,aAAa,CAAC,CAAC;QAClD,MAAM,aAAa,GAAG,KAAK,CAAC,SAAS,KAAK,MAAM,CAAC;QACjD,MAAM,OAAO,GAAG,IAAA,kCAAqB,EAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;QAC1D,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;QAC5E,MAAM,SAAS,GAAG,MAAM,EAAE,CAAC,QAAQ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