generated from salesforcecli/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: separate tables for scratch orgs (#100)
* feat: separate tables for scratch orgs * chore: keep up with core changes * chore: update core
- Loading branch information
1 parent
0f0aae4
commit c3b18d8
Showing
9 changed files
with
217 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,88 +1,70 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$ref": "#/definitions/SfOrg", | ||
"$ref": "#/definitions/OrgAuthorization", | ||
"definitions": { | ||
"SfOrg": { | ||
"OrgAuthorization": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/definitions/Optional%3CAnyJson%3E" | ||
}, | ||
"properties": { | ||
"alias": { | ||
"orgId": { | ||
"type": "string" | ||
}, | ||
"username": { | ||
"type": "string" | ||
}, | ||
"orgId": { | ||
"type": "string" | ||
"oauthMethod": { | ||
"type": "string", | ||
"enum": [ | ||
"jwt", | ||
"web", | ||
"token", | ||
"unknown" | ||
] | ||
}, | ||
"aliases": { | ||
"anyOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"type": "null" | ||
} | ||
] | ||
}, | ||
"configs": { | ||
"anyOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"type": "null" | ||
} | ||
] | ||
}, | ||
"isScratchOrg": { | ||
"type": "boolean" | ||
}, | ||
"instanceUrl": { | ||
"type": "string" | ||
}, | ||
"accessToken": { | ||
"type": "string" | ||
}, | ||
"oauthMethod": { | ||
"type": "string", | ||
"enum": ["jwt", "web", "token", "unknown"] | ||
}, | ||
"error": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"Optional<AnyJson>": { | ||
"anyOf": [ | ||
{ | ||
"$ref": "#/definitions/AnyJson" | ||
}, | ||
{ | ||
"not": {} | ||
} | ||
], | ||
"description": "A union type for either the parameterized type `T` or `undefined` -- the opposite of {@link NonOptional } ." | ||
}, | ||
"AnyJson": { | ||
"anyOf": [ | ||
{ | ||
"$ref": "#/definitions/JsonPrimitive" | ||
}, | ||
{ | ||
"$ref": "#/definitions/JsonCollection" | ||
} | ||
], | ||
"description": "Any valid JSON value." | ||
}, | ||
"JsonPrimitive": { | ||
"type": ["null", "boolean", "number", "string"], | ||
"description": "Any valid JSON primitive value." | ||
}, | ||
"JsonCollection": { | ||
"anyOf": [ | ||
{ | ||
"$ref": "#/definitions/JsonMap" | ||
}, | ||
{ | ||
"$ref": "#/definitions/JsonArray" | ||
} | ||
], | ||
"description": "Any valid JSON collection value." | ||
}, | ||
"JsonMap": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/definitions/Optional%3CAnyJson%3E" | ||
}, | ||
"properties": {}, | ||
"description": "Any JSON-compatible object." | ||
}, | ||
"JsonArray": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/AnyJson" | ||
}, | ||
"description": "Any JSON-compatible array." | ||
"required": [ | ||
"orgId", | ||
"username", | ||
"oauthMethod" | ||
], | ||
"additionalProperties": false | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,94 +1,76 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$ref": "#/definitions/SfOrgs", | ||
"$ref": "#/definitions/Environments", | ||
"definitions": { | ||
"SfOrgs": { | ||
"Environments": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/SfOrg" | ||
"$ref": "#/definitions/OrgAuthorization" | ||
} | ||
}, | ||
"SfOrg": { | ||
"OrgAuthorization": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/definitions/Optional%3CAnyJson%3E" | ||
}, | ||
"properties": { | ||
"alias": { | ||
"orgId": { | ||
"type": "string" | ||
}, | ||
"username": { | ||
"type": "string" | ||
}, | ||
"orgId": { | ||
"type": "string" | ||
"oauthMethod": { | ||
"type": "string", | ||
"enum": [ | ||
"jwt", | ||
"web", | ||
"token", | ||
"unknown" | ||
] | ||
}, | ||
"aliases": { | ||
"anyOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"type": "null" | ||
} | ||
] | ||
}, | ||
"configs": { | ||
"anyOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"type": "null" | ||
} | ||
] | ||
}, | ||
"isScratchOrg": { | ||
"type": "boolean" | ||
}, | ||
"instanceUrl": { | ||
"type": "string" | ||
}, | ||
"accessToken": { | ||
"type": "string" | ||
}, | ||
"oauthMethod": { | ||
"type": "string", | ||
"enum": ["jwt", "web", "token", "unknown"] | ||
}, | ||
"error": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"Optional<AnyJson>": { | ||
"anyOf": [ | ||
{ | ||
"$ref": "#/definitions/AnyJson" | ||
}, | ||
{ | ||
"not": {} | ||
} | ||
], | ||
"description": "A union type for either the parameterized type `T` or `undefined` -- the opposite of {@link NonOptional } ." | ||
}, | ||
"AnyJson": { | ||
"anyOf": [ | ||
{ | ||
"$ref": "#/definitions/JsonPrimitive" | ||
}, | ||
{ | ||
"$ref": "#/definitions/JsonCollection" | ||
} | ||
], | ||
"description": "Any valid JSON value." | ||
}, | ||
"JsonPrimitive": { | ||
"type": ["null", "boolean", "number", "string"], | ||
"description": "Any valid JSON primitive value." | ||
}, | ||
"JsonCollection": { | ||
"anyOf": [ | ||
{ | ||
"$ref": "#/definitions/JsonMap" | ||
}, | ||
{ | ||
"$ref": "#/definitions/JsonArray" | ||
} | ||
], | ||
"description": "Any valid JSON collection value." | ||
}, | ||
"JsonMap": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/definitions/Optional%3CAnyJson%3E" | ||
}, | ||
"properties": {}, | ||
"description": "Any JSON-compatible object." | ||
}, | ||
"JsonArray": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/AnyJson" | ||
}, | ||
"description": "Any JSON-compatible array." | ||
"required": [ | ||
"orgId", | ||
"username", | ||
"oauthMethod" | ||
], | ||
"additionalProperties": false | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,10 @@ | |
"type": "string" | ||
} | ||
}, | ||
"required": ["url"], | ||
"required": [ | ||
"url" | ||
], | ||
"additionalProperties": false | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.