@salesforce/sdk-core 1.46.1 → 1.47.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/dist/data.d.ts +0 -73
- package/dist/data.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/data.d.ts
CHANGED
|
@@ -14,52 +14,6 @@ export interface GraphQLResponse<T> {
|
|
|
14
14
|
path?: string[];
|
|
15
15
|
}[];
|
|
16
16
|
}
|
|
17
|
-
/**
|
|
18
|
-
* Custom label request options
|
|
19
|
-
*/
|
|
20
|
-
export interface LabelRequest {
|
|
21
|
-
/**
|
|
22
|
-
* Label name (e.g., 'c.MyCustomLabel')
|
|
23
|
-
*/
|
|
24
|
-
labelName: string;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Resource URL request options
|
|
28
|
-
*/
|
|
29
|
-
export interface ResourceUrlRequest {
|
|
30
|
-
/**
|
|
31
|
-
* Resource path (e.g., 'images/logo.png')
|
|
32
|
-
*/
|
|
33
|
-
resourcePath: string;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* User information from Salesforce
|
|
37
|
-
*/
|
|
38
|
-
export interface UserInfo {
|
|
39
|
-
userId: string;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Schema descriptor request options
|
|
43
|
-
*/
|
|
44
|
-
export interface SchemaRequest {
|
|
45
|
-
/**
|
|
46
|
-
* Object API name (e.g., 'Account', 'Contact')
|
|
47
|
-
*/
|
|
48
|
-
objectApiName: string;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Schema descriptor response
|
|
52
|
-
*/
|
|
53
|
-
export interface SchemaDescriptor {
|
|
54
|
-
apiName: string;
|
|
55
|
-
label: string;
|
|
56
|
-
fields: {
|
|
57
|
-
apiName: string;
|
|
58
|
-
label: string;
|
|
59
|
-
dataType: string;
|
|
60
|
-
required: boolean;
|
|
61
|
-
}[];
|
|
62
|
-
}
|
|
63
17
|
export interface DataSDK {
|
|
64
18
|
/**
|
|
65
19
|
* Run a GraphQL query
|
|
@@ -76,32 +30,5 @@ export interface DataSDK {
|
|
|
76
30
|
* @returns Promise resolving to Response
|
|
77
31
|
*/
|
|
78
32
|
fetch?: typeof fetch;
|
|
79
|
-
/**
|
|
80
|
-
* Request a custom label value
|
|
81
|
-
*
|
|
82
|
-
* @param request - Label request configuration
|
|
83
|
-
* @returns Promise resolving to the label value
|
|
84
|
-
*/
|
|
85
|
-
getLabel?: (request: LabelRequest) => Promise<string>;
|
|
86
|
-
/**
|
|
87
|
-
* Request a static resource URL
|
|
88
|
-
*
|
|
89
|
-
* @param request - Resource URL request
|
|
90
|
-
* @returns Promise resolving to the resource URL
|
|
91
|
-
*/
|
|
92
|
-
getResourceUrl?: (request: ResourceUrlRequest) => Promise<string>;
|
|
93
|
-
/**
|
|
94
|
-
* Get current user information
|
|
95
|
-
*
|
|
96
|
-
* @returns Promise resolving to user info
|
|
97
|
-
*/
|
|
98
|
-
getUserInfo?: () => Promise<UserInfo>;
|
|
99
|
-
/**
|
|
100
|
-
* Get schema descriptor for a Salesforce object
|
|
101
|
-
*
|
|
102
|
-
* @param request - Schema request configuration
|
|
103
|
-
* @returns Promise resolving to the schema descriptor
|
|
104
|
-
*/
|
|
105
|
-
getSchema?: (request: SchemaRequest) => Promise<SchemaDescriptor>;
|
|
106
33
|
}
|
|
107
34
|
//# sourceMappingURL=data.d.ts.map
|
package/dist/data.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../src/data.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,eAAe,CAAC,CAAC;IACjC,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,CAAC,EAAE;QACR,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;QAC/C,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;KAChB,EAAE,CAAC;CACJ;AAED
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../src/data.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,eAAe,CAAC,CAAC;IACjC,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,CAAC,EAAE;QACR,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;QAC/C,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;KAChB,EAAE,CAAC;CACJ;AAED,MAAM,WAAW,OAAO;IACvB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACxC,KAAK,EAAE,MAAM,EACb,SAAS,CAAC,EAAE,CAAC,KACT,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;IAEjC;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACrB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { Surface, getSurface } from "./surface.js";
|
|
|
7
7
|
export type { SDKOptions } from "./options.js";
|
|
8
8
|
export type { ChatMessage, ChatSDK, DisplayMode, ResourceRequest, ToolCall, ToolState, } from "./chat.js";
|
|
9
9
|
export type { AlertOptions, MessageLevel, ModalOptions, ToastOptions, Theme, ThemeMode, ViewSDK, } from "./view.js";
|
|
10
|
-
export type { DataSDK, GraphQLResponse
|
|
10
|
+
export type { DataSDK, GraphQLResponse } from "./data.js";
|
|
11
11
|
export type { LightningSDK, LMSMessage, LMSSubscription, MessageChannel } from "./lightning.js";
|
|
12
12
|
export type { OpenAISDK, SalesforceACCSDK } from "./platforms.js";
|
|
13
13
|
export type { JsonRpcBase, JsonRpcRequest, JsonRpcError, JsonRpcSuccessResponse, JsonRpcErrorResponse, JsonRpcResponse, JsonRpcNotification, JsonRpcMessage, JsonRpcPendingRequest, JsonRpcPendingRequestMap, } from "./jsonrpc.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAGnD,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,YAAY,EACX,WAAW,EACX,OAAO,EACP,WAAW,EACX,eAAe,EACf,QAAQ,EACR,SAAS,GACT,MAAM,WAAW,CAAC;AAGnB,YAAY,EACX,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,KAAK,EACL,SAAS,EACT,OAAO,GACP,MAAM,WAAW,CAAC;AAGnB,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAGnD,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,YAAY,EACX,WAAW,EACX,OAAO,EACP,WAAW,EACX,eAAe,EACf,QAAQ,EACR,SAAS,GACT,MAAM,WAAW,CAAC;AAGnB,YAAY,EACX,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,KAAK,EACL,SAAS,EACT,OAAO,GACP,MAAM,WAAW,CAAC;AAGnB,YAAY,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAG1D,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhG,YAAY,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGlE,YAAY,EACX,WAAW,EACX,cAAc,EACd,YAAY,EACZ,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EACrB,wBAAwB,GACxB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACN,aAAa,EACb,wBAAwB,EACxB,sBAAsB,EACtB,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,GAChB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/sdk-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.47.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "664bfe805c8d96ec2c7b8d3ce403295f420bf42c"
|
|
35
35
|
}
|