@forestadmin/forestadmin-client 1.37.3 → 1.37.5
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/types.d.ts +12 -12
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -232,20 +232,20 @@ export interface SchemaServiceInterface {
|
|
|
232
232
|
getSchema: () => Promise<ForestSchemaCollection[]>;
|
|
233
233
|
}
|
|
234
234
|
export interface ForestAdminServerInterface {
|
|
235
|
-
getEnvironmentPermissions
|
|
236
|
-
getUsers
|
|
237
|
-
getRenderingPermissions
|
|
238
|
-
getModelCustomizations
|
|
239
|
-
getMcpServerConfigs
|
|
240
|
-
makeAuthService(options: ForestAdminClientOptionsWithDefaults): ForestAdminAuthServiceInterface;
|
|
241
|
-
getSchema
|
|
242
|
-
postSchema
|
|
243
|
-
checkSchemaHash
|
|
235
|
+
getEnvironmentPermissions?: (...args: any[]) => Promise<EnvironmentPermissionsV4>;
|
|
236
|
+
getUsers?: (...args: any[]) => Promise<UserPermissionV4[]>;
|
|
237
|
+
getRenderingPermissions?: (renderingId: number, ...args: any[]) => Promise<RenderingPermissionV4>;
|
|
238
|
+
getModelCustomizations?: (options: HttpOptions) => Promise<ModelCustomization[]>;
|
|
239
|
+
getMcpServerConfigs?: (options: HttpOptions) => Promise<McpConfiguration>;
|
|
240
|
+
makeAuthService?(options: ForestAdminClientOptionsWithDefaults): ForestAdminAuthServiceInterface;
|
|
241
|
+
getSchema?: (options: HttpOptions) => Promise<ForestSchemaCollection[]>;
|
|
242
|
+
postSchema?: (options: HttpOptions, schema: object) => Promise<void>;
|
|
243
|
+
checkSchemaHash?: (options: HttpOptions, hash: string) => Promise<{
|
|
244
244
|
sendSchema: boolean;
|
|
245
245
|
}>;
|
|
246
|
-
getIpWhitelistRules
|
|
247
|
-
createActivityLog
|
|
248
|
-
updateActivityLogStatus
|
|
246
|
+
getIpWhitelistRules?: (options: HttpOptions) => Promise<IpWhitelistRulesResponse>;
|
|
247
|
+
createActivityLog?: (options: ActivityLogHttpOptions, body: object) => Promise<ActivityLogResponse>;
|
|
248
|
+
updateActivityLogStatus?: (options: ActivityLogHttpOptions, index: string, id: string, body: object) => Promise<void>;
|
|
249
249
|
}
|
|
250
250
|
export type ActivityLogHttpOptions = {
|
|
251
251
|
forestServerUrl: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forestadmin/forestadmin-client",
|
|
3
|
-
"version": "1.37.
|
|
3
|
+
"version": "1.37.5",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"test": "jest"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@forestadmin/ai-proxy": "1.0
|
|
34
|
+
"@forestadmin/ai-proxy": "1.1.0",
|
|
35
35
|
"@forestadmin/datasource-toolkit": "1.50.1",
|
|
36
36
|
"@types/json-api-serializer": "^2.6.3",
|
|
37
37
|
"@types/jsonwebtoken": "^9.0.1",
|