architect-node-sdk
Version:
Essentialz Architect Nodejs SDK
27 lines (26 loc) • 793 B
TypeScript
import { ArchitectFilesService } from './files';
import { ArchitectResourceService } from './resources';
export declare enum BaseService {
files = "files"
}
export declare type BaseServices = {
files: ArchitectFilesService;
users: ArchitectResourceService;
};
export declare type ResourceServices<T> = {
[Property in keyof T]: ArchitectResourceService<T[Property]>;
};
export declare type ArchitectServices<T> = BaseServices & ResourceServices<T>;
export declare type ArchitectConfig = {
baseUrl: string;
recommendedCase?: boolean;
developerKey?: string;
};
export declare type ArchitectQueryOptions = {
_contains?: string;
_min?: number;
_max?: number;
};
export declare type ArchitectQuery<T> = {
[Property in keyof T]?: ArchitectQueryOptions;
};