@salesforce/plugin-signups 2.1.2 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -123,7 +123,7 @@ EXAMPLES
123
123
  $ sf org create shape --target-org SourceOrg
124
124
  ```
125
125
 
126
- _See code: [src/commands/org/create/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.2/src/commands/org/create/shape.ts)_
126
+ _See code: [src/commands/org/create/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.2.0/src/commands/org/create/shape.ts)_
127
127
 
128
128
  ## `sf org create snapshot`
129
129
 
@@ -179,7 +179,7 @@ FLAG DESCRIPTIONS
179
179
  as a version control system tag or commit ID.
180
180
  ```
181
181
 
182
- _See code: [src/commands/org/create/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.2/src/commands/org/create/snapshot.ts)_
182
+ _See code: [src/commands/org/create/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.2.0/src/commands/org/create/snapshot.ts)_
183
183
 
184
184
  ## `sf org delete shape`
185
185
 
@@ -219,7 +219,7 @@ EXAMPLES
219
219
  $ sf org delete shape --target-org SourceOrg --no-prompt
220
220
  ```
221
221
 
222
- _See code: [src/commands/org/delete/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.2/src/commands/org/delete/shape.ts)_
222
+ _See code: [src/commands/org/delete/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.2.0/src/commands/org/delete/shape.ts)_
223
223
 
224
224
  ## `sf org delete snapshot`
225
225
 
@@ -263,7 +263,7 @@ FLAG DESCRIPTIONS
263
263
  The IDs of scratch org snapshots start with 0Oo.
264
264
  ```
265
265
 
266
- _See code: [src/commands/org/delete/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.2/src/commands/org/delete/snapshot.ts)_
266
+ _See code: [src/commands/org/delete/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.2.0/src/commands/org/delete/snapshot.ts)_
267
267
 
268
268
  ## `sf org get snapshot`
269
269
 
@@ -310,7 +310,7 @@ FLAG DESCRIPTIONS
310
310
  The IDs of scratch org snapshots start with 0Oo.
311
311
  ```
312
312
 
313
- _See code: [src/commands/org/get/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.2/src/commands/org/get/snapshot.ts)_
313
+ _See code: [src/commands/org/get/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.2.0/src/commands/org/get/snapshot.ts)_
314
314
 
315
315
  ## `sf org list shape`
316
316
 
@@ -343,7 +343,7 @@ EXAMPLES
343
343
  $ sf org list shape --json > tmp/MyOrgShapeList.json
344
344
  ```
345
345
 
346
- _See code: [src/commands/org/list/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.2/src/commands/org/list/shape.ts)_
346
+ _See code: [src/commands/org/list/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.2.0/src/commands/org/list/shape.ts)_
347
347
 
348
348
  ## `sf org list snapshot`
349
349
 
@@ -385,6 +385,6 @@ EXAMPLES
385
385
  $ sf org list snapshot --target-dev-hub SnapshotDevHub
386
386
  ```
387
387
 
388
- _See code: [src/commands/org/list/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.2/src/commands/org/list/snapshot.ts)_
388
+ _See code: [src/commands/org/list/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.2.0/src/commands/org/list/snapshot.ts)_
389
389
 
390
390
  <!-- commandsstop -->
@@ -1,9 +1,9 @@
1
1
  import { SfCommand } from '@salesforce/sf-plugins-core';
2
- export interface ShapeCreateResult {
2
+ export type ShapeCreateResult = {
3
3
  shapeId: string;
4
4
  success: boolean;
5
5
  errors: [];
6
- }
6
+ };
7
7
  export declare class OrgShapeCreateCommand extends SfCommand<ShapeCreateResult> {
8
8
  static readonly summary: string;
9
9
  static readonly description: string;
@@ -1,8 +1,8 @@
1
1
  import { SfCommand } from '@salesforce/sf-plugins-core';
2
2
  import { DeleteAllResult } from '../../../shared/deleteUtils.js';
3
- export interface OrgShapeDeleteResult extends DeleteAllResult {
3
+ export type OrgShapeDeleteResult = {
4
4
  orgId: string;
5
- }
5
+ } & DeleteAllResult;
6
6
  export declare class OrgShapeDeleteCommand extends SfCommand<OrgShapeDeleteResult | undefined> {
7
7
  static readonly summary: string;
8
8
  static readonly description: string;
@@ -1,5 +1,5 @@
1
1
  import { SfCommand } from '@salesforce/sf-plugins-core';
2
- import type { SaveResult } from 'jsforce';
2
+ import type { SaveResult } from '@jsforce/jsforce-node';
3
3
  export declare class SnapshotDelete extends SfCommand<SaveResult> {
4
4
  static readonly summary: string;
5
5
  static readonly description: string;
@@ -14,6 +14,6 @@ export type DeleteAllResult = {
14
14
  */
15
15
  export declare const deleteAll: (conn: Connection, username: string) => Promise<DeleteAllResult>;
16
16
  declare const _default: {
17
- deleteAll: (conn: Connection<import("jsforce").Schema>, username: string) => Promise<DeleteAllResult>;
17
+ deleteAll: (conn: Connection<import("@jsforce/jsforce-node").Schema>, username: string) => Promise<DeleteAllResult>;
18
18
  };
19
19
  export default _default;
@@ -8,10 +8,10 @@ export type OrgShapeListResult = {
8
8
  createdBy: string;
9
9
  createdDate: string;
10
10
  };
11
- export interface JsForceError extends Error {
11
+ export type JsForceError = {
12
12
  errorCode: string;
13
13
  fields: string[];
14
- }
14
+ } & Error;
15
15
  export declare function getAllShapesFromOrg(orgAuth: OrgAuthorization): Promise<OrgShapeListResult[]>;
16
16
  /**
17
17
  * Check if the ShapeExportPilot preference is enabled.
@@ -1,11 +1,11 @@
1
1
  import { Connection, Messages } from '@salesforce/core';
2
2
  export declare const messages: Messages<string>;
3
- export interface OrgSnapshotRequest {
3
+ export type OrgSnapshotRequest = {
4
4
  SourceOrg: string;
5
5
  SnapshotName: string;
6
6
  Description: string;
7
7
  Content?: string;
8
- }
8
+ };
9
9
  export type OrgSnapshot = OrgSnapshotRequest & {
10
10
  Id: string;
11
11
  Status: string;