UNPKG

@forestadmin/forestadmin-client

Version:

This package contains the logic to use the ForestAdmin API inside an agent.

17 lines 543 B
import { ForestSchema } from './types'; import { ForestAdminClientOptionsWithDefaults } from '../types'; type SerializedSchema = { meta: { schemaFileHash: string; }; }; export default class SchemaService { private options; constructor(options: ForestAdminClientOptionsWithDefaults); postSchema(schema: ForestSchema): Promise<boolean>; static serialize(schema: ForestSchema): SerializedSchema; private static get serializer(); private doServerWantsSchema; } export {}; //# sourceMappingURL=index.d.ts.map