@forestadmin/forestadmin-client 1.37.3 → 1.37.4

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +12 -12
  2. package/package.json +1 -1
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: (...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<{
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: (options: HttpOptions) => Promise<IpWhitelistRulesResponse>;
247
- createActivityLog: (options: ActivityLogHttpOptions, body: object) => Promise<ActivityLogResponse>;
248
- updateActivityLogStatus: (options: ActivityLogHttpOptions, index: string, id: string, body: object) => Promise<void>;
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",
3
+ "version": "1.37.4",
4
4
  "main": "dist/index.js",
5
5
  "license": "GPL-3.0",
6
6
  "publishConfig": {