@salesforce/lds-adapters-platform-devworkspace 1.354.0-dev1 → 1.354.0-dev10
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/dist/es/es2018/platform-devworkspace.js +21 -5
- package/dist/es/es2018/types/src/generated/types/DevWorkspaceDetailsRepresentation.d.ts +6 -3
- package/dist/es/es2018/types/src/generated/types/DevWorkspaceMetadataDetailOutputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +22 -6
- package/src/raml/api.raml +9 -0
|
@@ -80,16 +80,25 @@ function createLink(ref) {
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
const TTL$2 = 30000;
|
|
83
|
-
const VERSION$2 = "
|
|
83
|
+
const VERSION$2 = "8f4504d0a42e5b49c9d2e98ab0b7c264";
|
|
84
84
|
function validate$3(obj, path = 'DevWorkspaceDetailsRepresentation') {
|
|
85
85
|
const v_error = (() => {
|
|
86
86
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
87
87
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
88
88
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
if (obj.activePlan !== undefined) {
|
|
90
|
+
const obj_activePlan = obj.activePlan;
|
|
91
|
+
const path_activePlan = path + '.activePlan';
|
|
92
|
+
if (typeof obj_activePlan !== 'string') {
|
|
93
|
+
return new TypeError('Expected "string" but received "' + typeof obj_activePlan + '" (at "' + path_activePlan + '")');
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
if (obj.description !== undefined) {
|
|
97
|
+
const obj_description = obj.description;
|
|
98
|
+
const path_description = path + '.description';
|
|
99
|
+
if (typeof obj_description !== 'string') {
|
|
100
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
101
|
+
}
|
|
93
102
|
}
|
|
94
103
|
const obj_devWorkspaceId = obj.devWorkspaceId;
|
|
95
104
|
const path_devWorkspaceId = path + '.devWorkspaceId';
|
|
@@ -516,6 +525,13 @@ function validate$1(obj, path = 'DevWorkspaceMetadataDetailOutputRepresentation'
|
|
|
516
525
|
return new TypeError('Expected "string" but received "' + typeof obj_developerName + '" (at "' + path_developerName + '")');
|
|
517
526
|
}
|
|
518
527
|
}
|
|
528
|
+
if (obj.isAiGenerated !== undefined) {
|
|
529
|
+
const obj_isAiGenerated = obj.isAiGenerated;
|
|
530
|
+
const path_isAiGenerated = path + '.isAiGenerated';
|
|
531
|
+
if (typeof obj_isAiGenerated !== 'boolean') {
|
|
532
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isAiGenerated + '" (at "' + path_isAiGenerated + '")');
|
|
533
|
+
}
|
|
534
|
+
}
|
|
519
535
|
if (obj.label !== undefined) {
|
|
520
536
|
const obj_label = obj.label;
|
|
521
537
|
const path_label = path + '.label';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const TTL = 30000;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "8f4504d0a42e5b49c9d2e98ab0b7c264";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: DevWorkspaceDetailsRepresentation, existing: DevWorkspaceDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DevWorkspaceDetailsRepresentationNormalized;
|
|
@@ -15,8 +15,10 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
* (none)
|
|
16
16
|
*/
|
|
17
17
|
export interface DevWorkspaceDetailsRepresentationNormalized {
|
|
18
|
+
/** The Plan ID for active plan for the Dev Workspace */
|
|
19
|
+
activePlan?: string;
|
|
18
20
|
/** The description of Dev Workspace */
|
|
19
|
-
description
|
|
21
|
+
description?: string;
|
|
20
22
|
/** The id of Dev Workspace */
|
|
21
23
|
devWorkspaceId: string;
|
|
22
24
|
/** The developerName of DevWorkspace */
|
|
@@ -33,7 +35,8 @@ export interface DevWorkspaceDetailsRepresentationNormalized {
|
|
|
33
35
|
* (none)
|
|
34
36
|
*/
|
|
35
37
|
export interface DevWorkspaceDetailsRepresentation {
|
|
36
|
-
|
|
38
|
+
activePlan?: string;
|
|
39
|
+
description?: string;
|
|
37
40
|
devWorkspaceId: string;
|
|
38
41
|
developerName: string;
|
|
39
42
|
lastModifiedDate: string;
|
package/dist/es/es2018/types/src/generated/types/DevWorkspaceMetadataDetailOutputRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const TTL = 30000;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "1a1282781c40067bc7816734163ff220";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: DevWorkspaceMetadataDetailOutputRepresentation, existing: DevWorkspaceMetadataDetailOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DevWorkspaceMetadataDetailOutputRepresentationNormalized;
|
|
@@ -19,6 +19,8 @@ export interface DevWorkspaceMetadataDetailOutputRepresentationNormalized {
|
|
|
19
19
|
actionURL?: string;
|
|
20
20
|
/** The developer name of the metadata record */
|
|
21
21
|
developerName?: string;
|
|
22
|
+
/** Whether the metadata was generated through AI */
|
|
23
|
+
isAiGenerated?: boolean;
|
|
22
24
|
/** The label of the metadata record */
|
|
23
25
|
label?: string;
|
|
24
26
|
/** The last modified date of the metadata record */
|
|
@@ -39,6 +41,7 @@ export interface DevWorkspaceMetadataDetailOutputRepresentationNormalized {
|
|
|
39
41
|
export interface DevWorkspaceMetadataDetailOutputRepresentation {
|
|
40
42
|
actionURL?: string;
|
|
41
43
|
developerName?: string;
|
|
44
|
+
isAiGenerated?: boolean;
|
|
42
45
|
label?: string;
|
|
43
46
|
lastModifiedDate?: string;
|
|
44
47
|
metadataId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-devworkspace",
|
|
3
|
-
"version": "1.354.0-
|
|
3
|
+
"version": "1.354.0-dev10",
|
|
4
4
|
"description": "APIs exposed for operation on dev workspaces",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/platform-devworkspace.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.354.0-
|
|
43
|
+
"@salesforce/lds-bindings": "^1.354.0-dev10"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.354.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.354.0-dev10"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -90,16 +90,25 @@ function createLink(ref) {
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
const TTL$2 = 30000;
|
|
93
|
-
const VERSION$2 = "
|
|
93
|
+
const VERSION$2 = "8f4504d0a42e5b49c9d2e98ab0b7c264";
|
|
94
94
|
function validate$3(obj, path = 'DevWorkspaceDetailsRepresentation') {
|
|
95
95
|
const v_error = (() => {
|
|
96
96
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
97
97
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
98
98
|
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
if (obj.activePlan !== undefined) {
|
|
100
|
+
const obj_activePlan = obj.activePlan;
|
|
101
|
+
const path_activePlan = path + '.activePlan';
|
|
102
|
+
if (typeof obj_activePlan !== 'string') {
|
|
103
|
+
return new TypeError('Expected "string" but received "' + typeof obj_activePlan + '" (at "' + path_activePlan + '")');
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
if (obj.description !== undefined) {
|
|
107
|
+
const obj_description = obj.description;
|
|
108
|
+
const path_description = path + '.description';
|
|
109
|
+
if (typeof obj_description !== 'string') {
|
|
110
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
111
|
+
}
|
|
103
112
|
}
|
|
104
113
|
const obj_devWorkspaceId = obj.devWorkspaceId;
|
|
105
114
|
const path_devWorkspaceId = path + '.devWorkspaceId';
|
|
@@ -321,6 +330,13 @@ function validate$2(obj, path = 'DevWorkspaceMetadataDetailOutputRepresentation'
|
|
|
321
330
|
return new TypeError('Expected "string" but received "' + typeof obj_developerName + '" (at "' + path_developerName + '")');
|
|
322
331
|
}
|
|
323
332
|
}
|
|
333
|
+
if (obj.isAiGenerated !== undefined) {
|
|
334
|
+
const obj_isAiGenerated = obj.isAiGenerated;
|
|
335
|
+
const path_isAiGenerated = path + '.isAiGenerated';
|
|
336
|
+
if (typeof obj_isAiGenerated !== 'boolean') {
|
|
337
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isAiGenerated + '" (at "' + path_isAiGenerated + '")');
|
|
338
|
+
}
|
|
339
|
+
}
|
|
324
340
|
if (obj.label !== undefined) {
|
|
325
341
|
const obj_label = obj.label;
|
|
326
342
|
const path_label = path + '.label';
|
|
@@ -977,4 +993,4 @@ withDefaultLuvio((luvio) => {
|
|
|
977
993
|
});
|
|
978
994
|
|
|
979
995
|
export { getDevWorkspaceDetails, getDevWorkspaceDetails_imperative, getDevWorkspaceMetadata, getDevWorkspaceMetadataNotifyChange, getDevWorkspaceMetadata_imperative, getDevWorkspaces, getDevWorkspaces_imperative, updateDevWorkspaceMetadata };
|
|
980
|
-
// version: 1.354.0-
|
|
996
|
+
// version: 1.354.0-dev10-f675337995
|
package/src/raml/api.raml
CHANGED
|
@@ -44,6 +44,7 @@ types:
|
|
|
44
44
|
description:
|
|
45
45
|
description: The description of Dev Workspace
|
|
46
46
|
type: string
|
|
47
|
+
required: false
|
|
47
48
|
devWorkspaceId:
|
|
48
49
|
description: The id of Dev Workspace
|
|
49
50
|
type: string
|
|
@@ -56,6 +57,10 @@ types:
|
|
|
56
57
|
masterLabel:
|
|
57
58
|
description: The masterLabel of Dev Workspace
|
|
58
59
|
type: string
|
|
60
|
+
activePlan:
|
|
61
|
+
description: The Plan ID for active plan for the Dev Workspace
|
|
62
|
+
type: string
|
|
63
|
+
required: false
|
|
59
64
|
DevWorkspaceMetadataCollectionOutputRepresentation:
|
|
60
65
|
description: Representation for list of Workspace Metadata
|
|
61
66
|
type: object
|
|
@@ -99,6 +104,10 @@ types:
|
|
|
99
104
|
description: The label of the metadata type
|
|
100
105
|
type: string
|
|
101
106
|
required: false
|
|
107
|
+
isAiGenerated:
|
|
108
|
+
description: Whether the metadata was generated through AI
|
|
109
|
+
type: boolean
|
|
110
|
+
required: false
|
|
102
111
|
DevWorkspaceMetadataIdCollectionInputRepresentation:
|
|
103
112
|
description: Representation for List of metadata Ids
|
|
104
113
|
type: object
|