sardines-core
Version:
Core of sardines.js
32 lines • 1.6 kB
TypeScript
import { Sardines } from './interfaces/sardines';
export declare namespace RepositoryClient {
const sardineAppName = "sardines";
const sardineRepoModuleName = "/repository";
enum RepositoryService {
signIn = "signIn",
signOut = "signOut",
signUp = "signUp",
queryService = "queryService",
createOrUpdateSource = "createOrUpdateSource",
createOrUpdateApplication = "createOrUpdateApplication",
createOrUpdateService = "createOrUpdateService",
fetchServiceRuntime = "fetchServiceRuntime"
}
let remoteServices: Sardines.Runtime.ServiceCache;
let localServices: Sardines.Runtime.ServiceCache;
const setLocalServices: (localServiceCache: any) => void;
const setupPlatform: (p: string) => void;
const setupDrivers: (driverCache: {
[name: string]: any;
}) => void;
const setupRepositoryEntries: (repoEntries: Sardines.Entry[]) => void;
const setupRepositoryEntriesBySardinesConfig: (config: any, initDrivers?: boolean) => void;
const queryService: (serviceIdentity: Sardines.ServiceIdentity) => Promise<any>;
const createUser: (username: string, password: string) => Promise<any>;
const createOrUpdateSource: (source: any) => Promise<any>;
const createOrUpdateApplication: (application: any) => Promise<any>;
const createOrUpdateService: (service: any) => Promise<any>;
const fetchServiceRuntime: (serviceIdentity: Sardines.ServiceIdentity) => Promise<any>;
const exec: (serviceName: string, data: any) => Promise<any>;
}
//# sourceMappingURL=repo_client.d.ts.map