@salesforce/plugin-schema 2.3.33 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -15
- package/lib/commands/sobject/describe.d.ts +5 -5
- package/lib/commands/sobject/describe.js +27 -29
- package/lib/commands/sobject/describe.js.map +1 -1
- package/lib/commands/sobject/list.d.ts +4 -4
- package/lib/commands/sobject/list.js +32 -34
- package/lib/commands/sobject/list.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -2
- package/lib/index.js.map +1 -1
- package/oclif.lock +7624 -0
- package/oclif.manifest.json +172 -78
- package/package.json +33 -49
package/README.md
CHANGED
|
@@ -70,16 +70,16 @@ sfdx plugins
|
|
|
70
70
|
|
|
71
71
|
<!-- commands -->
|
|
72
72
|
|
|
73
|
-
- [`
|
|
74
|
-
- [`
|
|
73
|
+
- [`sf sobject describe`](#sf-sobject-describe)
|
|
74
|
+
- [`sf sobject list`](#sf-sobject-list)
|
|
75
75
|
|
|
76
|
-
## `
|
|
76
|
+
## `sf sobject describe`
|
|
77
77
|
|
|
78
78
|
Display the metadata for a standard or custom object or a Tooling API object.
|
|
79
79
|
|
|
80
80
|
```
|
|
81
81
|
USAGE
|
|
82
|
-
$
|
|
82
|
+
$ sf sobject describe -o <value> -s <value> [--json] [--api-version <value>] [-t]
|
|
83
83
|
|
|
84
84
|
FLAGS
|
|
85
85
|
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
@@ -100,31 +100,31 @@ DESCRIPTION
|
|
|
100
100
|
a Tooling API object.
|
|
101
101
|
|
|
102
102
|
ALIASES
|
|
103
|
-
$
|
|
103
|
+
$ sf force schema sobject describe
|
|
104
104
|
|
|
105
105
|
EXAMPLES
|
|
106
106
|
Display the metadata of the "Account" standard object in your default org:
|
|
107
107
|
|
|
108
|
-
$
|
|
108
|
+
$ sf sobject describe --sobject Account
|
|
109
109
|
|
|
110
110
|
Display the metadata of the "MyObject__c" custom object in the org with alias "my-scratch-org":
|
|
111
111
|
|
|
112
|
-
$
|
|
112
|
+
$ sf sobject describe --sobject MyObject__c --target-org my-scratch-org
|
|
113
113
|
|
|
114
114
|
Display the metadata of the ApexCodeCoverage Tooling API object in your default org:
|
|
115
115
|
|
|
116
|
-
$
|
|
116
|
+
$ sf sobject describe --sobject ApexCodeCoverage --use-tooling-api
|
|
117
117
|
```
|
|
118
118
|
|
|
119
|
-
_See code: [src/commands/sobject/describe.ts](https://github.com/salesforcecli/plugin-schema/blob/
|
|
119
|
+
_See code: [src/commands/sobject/describe.ts](https://github.com/salesforcecli/plugin-schema/blob/3.0.2/src/commands/sobject/describe.ts)_
|
|
120
120
|
|
|
121
|
-
## `
|
|
121
|
+
## `sf sobject list`
|
|
122
122
|
|
|
123
123
|
List all Salesforce objects of a specified category.
|
|
124
124
|
|
|
125
125
|
```
|
|
126
126
|
USAGE
|
|
127
|
-
$
|
|
127
|
+
$ sf sobject list -o <value> [--json] [--api-version <value>] [-s <value>]
|
|
128
128
|
|
|
129
129
|
FLAGS
|
|
130
130
|
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
@@ -141,18 +141,18 @@ DESCRIPTION
|
|
|
141
141
|
objects.
|
|
142
142
|
|
|
143
143
|
ALIASES
|
|
144
|
-
$
|
|
144
|
+
$ sf force schema sobject list
|
|
145
145
|
|
|
146
146
|
EXAMPLES
|
|
147
147
|
List all objects in your default org:
|
|
148
148
|
|
|
149
|
-
$
|
|
149
|
+
$ sf sobject list --sobject all
|
|
150
150
|
|
|
151
151
|
List only custom objects in the org with alias "my-scratch-org":
|
|
152
152
|
|
|
153
|
-
$
|
|
153
|
+
$ sf sobject list --sobject custom --target-org my-scratch-org
|
|
154
154
|
```
|
|
155
155
|
|
|
156
|
-
_See code: [src/commands/sobject/list.ts](https://github.com/salesforcecli/plugin-schema/blob/
|
|
156
|
+
_See code: [src/commands/sobject/list.ts](https://github.com/salesforcecli/plugin-schema/blob/3.0.2/src/commands/sobject/list.ts)_
|
|
157
157
|
|
|
158
158
|
<!-- commandsstop -->
|
|
@@ -6,11 +6,11 @@ export declare class SObjectDescribe extends SfCommand<DescribeSObjectResult> {
|
|
|
6
6
|
static readonly examples: string[];
|
|
7
7
|
static readonly aliases: string[];
|
|
8
8
|
static readonly flags: {
|
|
9
|
-
'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
10
|
-
'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
11
|
-
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
12
|
-
sobject: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
13
|
-
'use-tooling-api': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
9
|
+
'target-org': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
10
|
+
'api-version': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
11
|
+
loglevel: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
12
|
+
sobject: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
13
|
+
'use-tooling-api': import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
|
|
14
14
|
};
|
|
15
15
|
run(): Promise<DescribeSObjectResult>;
|
|
16
16
|
}
|
|
@@ -1,17 +1,36 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/*
|
|
3
2
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
4
3
|
* All rights reserved.
|
|
5
4
|
* Licensed under the BSD 3-Clause license.
|
|
6
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
7
6
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const messages =
|
|
14
|
-
class SObjectDescribe extends
|
|
7
|
+
import { dirname } from 'node:path';
|
|
8
|
+
import { fileURLToPath } from 'node:url';
|
|
9
|
+
import { SfCommand, Flags, orgApiVersionFlagWithDeprecations, requiredOrgFlagWithDeprecations, loglevel, } from '@salesforce/sf-plugins-core';
|
|
10
|
+
import { Messages } from '@salesforce/core';
|
|
11
|
+
Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url)));
|
|
12
|
+
const messages = Messages.loadMessages('@salesforce/plugin-schema', 'describe');
|
|
13
|
+
export class SObjectDescribe extends SfCommand {
|
|
14
|
+
static summary = messages.getMessage('summary');
|
|
15
|
+
static description = messages.getMessage('description');
|
|
16
|
+
static examples = messages.getMessages('examples');
|
|
17
|
+
static aliases = ['force:schema:sobject:describe'];
|
|
18
|
+
static flags = {
|
|
19
|
+
'target-org': requiredOrgFlagWithDeprecations,
|
|
20
|
+
'api-version': orgApiVersionFlagWithDeprecations,
|
|
21
|
+
loglevel,
|
|
22
|
+
sobject: Flags.string({
|
|
23
|
+
char: 's',
|
|
24
|
+
required: true,
|
|
25
|
+
summary: messages.getMessage('flags.sobject.summary'),
|
|
26
|
+
aliases: ['sobjecttype'],
|
|
27
|
+
}),
|
|
28
|
+
'use-tooling-api': Flags.boolean({
|
|
29
|
+
char: 't',
|
|
30
|
+
summary: messages.getMessage('flags.use-tooling-api.summary'),
|
|
31
|
+
aliases: ['usetoolingapi'],
|
|
32
|
+
}),
|
|
33
|
+
};
|
|
15
34
|
async run() {
|
|
16
35
|
const { flags } = await this.parse(SObjectDescribe);
|
|
17
36
|
const conn = flags['target-org'].getConnection(flags['api-version']);
|
|
@@ -22,25 +41,4 @@ class SObjectDescribe extends sf_plugins_core_1.SfCommand {
|
|
|
22
41
|
return description;
|
|
23
42
|
}
|
|
24
43
|
}
|
|
25
|
-
exports.SObjectDescribe = SObjectDescribe;
|
|
26
|
-
SObjectDescribe.summary = messages.getMessage('summary');
|
|
27
|
-
SObjectDescribe.description = messages.getMessage('description');
|
|
28
|
-
SObjectDescribe.examples = messages.getMessages('examples');
|
|
29
|
-
SObjectDescribe.aliases = ['force:schema:sobject:describe'];
|
|
30
|
-
SObjectDescribe.flags = {
|
|
31
|
-
'target-org': sf_plugins_core_1.requiredOrgFlagWithDeprecations,
|
|
32
|
-
'api-version': sf_plugins_core_1.orgApiVersionFlagWithDeprecations,
|
|
33
|
-
loglevel: sf_plugins_core_1.loglevel,
|
|
34
|
-
sobject: sf_plugins_core_1.Flags.string({
|
|
35
|
-
char: 's',
|
|
36
|
-
required: true,
|
|
37
|
-
summary: messages.getMessage('flags.sobject.summary'),
|
|
38
|
-
aliases: ['sobjecttype'],
|
|
39
|
-
}),
|
|
40
|
-
'use-tooling-api': sf_plugins_core_1.Flags.boolean({
|
|
41
|
-
char: 't',
|
|
42
|
-
summary: messages.getMessage('flags.use-tooling-api.summary'),
|
|
43
|
-
aliases: ['usetoolingapi'],
|
|
44
|
-
}),
|
|
45
|
-
};
|
|
46
44
|
//# sourceMappingURL=describe.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"describe.js","sourceRoot":"","sources":["../../../src/commands/sobject/describe.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"describe.js","sourceRoot":"","sources":["../../../src/commands/sobject/describe.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EACL,SAAS,EACT,KAAK,EACL,iCAAiC,EACjC,+BAA+B,EAC/B,QAAQ,GACT,MAAM,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CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;QAErE,MAAM,WAAW,GAAG,KAAK,CAAC,iBAAiB,CAAC;YAC1C,CAAC,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC;YAC5C,CAAC,CAAC,MAAM,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAEvC,IAAI,CAAC,UAAU,CAAC,WAAsB,CAAC,CAAC;QAExC,OAAO,WAAW,CAAC;IACrB,CAAC"}
|
|
@@ -11,10 +11,10 @@ export declare class SObjectList extends SfCommand<SObjectListResult> {
|
|
|
11
11
|
static readonly examples: string[];
|
|
12
12
|
static readonly aliases: string[];
|
|
13
13
|
static readonly flags: {
|
|
14
|
-
'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
15
|
-
'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
16
|
-
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
17
|
-
sobject: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
14
|
+
'target-org': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
15
|
+
'api-version': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
16
|
+
loglevel: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
17
|
+
sobject: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
18
18
|
};
|
|
19
19
|
run(): Promise<SObjectListResult>;
|
|
20
20
|
}
|
|
@@ -1,24 +1,45 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SObjectList = exports.SObjectType = void 0;
|
|
4
1
|
/*
|
|
5
2
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
6
3
|
* All rights reserved.
|
|
7
4
|
* Licensed under the BSD 3-Clause license.
|
|
8
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
9
6
|
*/
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
import os from 'node:os';
|
|
8
|
+
import { dirname } from 'node:path';
|
|
9
|
+
import { fileURLToPath } from 'node:url';
|
|
10
|
+
import { SfCommand, Flags, orgApiVersionFlagWithDeprecations, requiredOrgFlagWithDeprecations, loglevel, } from '@salesforce/sf-plugins-core';
|
|
11
|
+
import { Messages } from '@salesforce/core';
|
|
12
|
+
Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url)));
|
|
13
|
+
const messages = Messages.loadMessages('@salesforce/plugin-schema', 'list');
|
|
14
|
+
export var SObjectType;
|
|
16
15
|
(function (SObjectType) {
|
|
17
16
|
SObjectType[SObjectType["ALL"] = 0] = "ALL";
|
|
18
17
|
SObjectType[SObjectType["STANDARD"] = 1] = "STANDARD";
|
|
19
18
|
SObjectType[SObjectType["CUSTOM"] = 2] = "CUSTOM";
|
|
20
|
-
})(SObjectType || (
|
|
21
|
-
class SObjectList extends
|
|
19
|
+
})(SObjectType || (SObjectType = {}));
|
|
20
|
+
export class SObjectList extends SfCommand {
|
|
21
|
+
static summary = messages.getMessage('summary');
|
|
22
|
+
static description = messages.getMessage('description');
|
|
23
|
+
static examples = messages.getMessages('examples');
|
|
24
|
+
static aliases = ['force:schema:sobject:list'];
|
|
25
|
+
static flags = {
|
|
26
|
+
'target-org': requiredOrgFlagWithDeprecations,
|
|
27
|
+
'api-version': orgApiVersionFlagWithDeprecations,
|
|
28
|
+
loglevel,
|
|
29
|
+
sobject: Flags.string({
|
|
30
|
+
char: 's',
|
|
31
|
+
default: 'ALL',
|
|
32
|
+
summary: messages.getMessage('flags.sobject.summary'),
|
|
33
|
+
aliases: ['sobjecttypecategory', 'c'],
|
|
34
|
+
parse: (val) => {
|
|
35
|
+
const lowercasedType = val.toLowerCase();
|
|
36
|
+
if (!['all', 'standard', 'custom'].includes(lowercasedType)) {
|
|
37
|
+
throw messages.createError('invalid-sobject-type');
|
|
38
|
+
}
|
|
39
|
+
return Promise.resolve(lowercasedType);
|
|
40
|
+
},
|
|
41
|
+
}),
|
|
42
|
+
};
|
|
22
43
|
async run() {
|
|
23
44
|
const { flags } = await this.parse(SObjectList);
|
|
24
45
|
const category = flags.sobject.toUpperCase();
|
|
@@ -41,27 +62,4 @@ class SObjectList extends sf_plugins_core_1.SfCommand {
|
|
|
41
62
|
return sobjects;
|
|
42
63
|
}
|
|
43
64
|
}
|
|
44
|
-
exports.SObjectList = SObjectList;
|
|
45
|
-
SObjectList.summary = messages.getMessage('summary');
|
|
46
|
-
SObjectList.description = messages.getMessage('description');
|
|
47
|
-
SObjectList.examples = messages.getMessages('examples');
|
|
48
|
-
SObjectList.aliases = ['force:schema:sobject:list'];
|
|
49
|
-
SObjectList.flags = {
|
|
50
|
-
'target-org': sf_plugins_core_1.requiredOrgFlagWithDeprecations,
|
|
51
|
-
'api-version': sf_plugins_core_1.orgApiVersionFlagWithDeprecations,
|
|
52
|
-
loglevel: sf_plugins_core_1.loglevel,
|
|
53
|
-
sobject: sf_plugins_core_1.Flags.string({
|
|
54
|
-
char: 's',
|
|
55
|
-
default: 'ALL',
|
|
56
|
-
summary: messages.getMessage('flags.sobject.summary'),
|
|
57
|
-
aliases: ['sobjecttypecategory', 'c'],
|
|
58
|
-
parse: (val) => {
|
|
59
|
-
const lowercasedType = val.toLowerCase();
|
|
60
|
-
if (!['all', 'standard', 'custom'].includes(lowercasedType)) {
|
|
61
|
-
throw messages.createError('invalid-sobject-type');
|
|
62
|
-
}
|
|
63
|
-
return Promise.resolve(lowercasedType);
|
|
64
|
-
},
|
|
65
|
-
}),
|
|
66
|
-
};
|
|
67
65
|
//# sourceMappingURL=list.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../src/commands/sobject/list.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../src/commands/sobject/list.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EACL,SAAS,EACT,KAAK,EACL,iCAAiC,EACjC,+BAA+B,EAC/B,QAAQ,GACT,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,QAAQ,CAAC,uBAAuB,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAC1E,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,2BAA2B,EAAE,MAAM,CAAC,CAAC;AAE5E,MAAM,CAAN,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,2CAAG,CAAA;IACH,qDAAQ,CAAA;IACR,iDAAM,CAAA;AACR,CAAC,EAJW,WAAW,KAAX,WAAW,QAItB;AAID,MAAM,OAAO,WAAY,SAAQ,SAA4B;IACpD,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,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AAQ,GAAG,OAAO,CAAC,MAAM,CAAC;YAChC,OAAO,CACL,IAAI,KAAK,WAAW,CAAC,GAAG;gBACxB,CAAC,IAAI,KAAK,WAAW,CAAC,MAAM,IAAI,QAAQ,CAAC;gBACzC,CAAC,IAAI,KAAK,WAAW,CAAC,QAAQ,IAAI,CAAC,QAAQ,CAAC,CAC7C,CAAC;QACJ,CAAC,CAAC;aACD,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAElC,IAAI,QAAQ,CAAC,MAAM,EAAE;YACnB,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;SACjC;aAAM;YACL,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,aAAa,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;SACnE;QAED,OAAO,QAAQ,CAAC;IAClB,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
declare const _default: {};
|
|
2
|
-
export
|
|
2
|
+
export default _default;
|
package/lib/index.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/*
|
|
3
2
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
4
3
|
* All rights reserved.
|
|
5
4
|
* Licensed under the BSD 3-Clause license.
|
|
6
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
7
6
|
*/
|
|
8
|
-
|
|
7
|
+
export default {};
|
|
9
8
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAe,EAAE,CAAC"}
|