UNPKG

sardines-utils

Version:
24 lines 1.53 kB
import { Sardines } from './sardines_interfaces'; export declare const sardineAppName = "sardines"; export declare const sardineRepoModuleName = "/repository"; export declare const genServiceIdentitySting: (serviceIdentity: Sardines.ServiceIdentity) => string; export declare const parseServiceIdentity: (identityString: string) => Sardines.ServiceIdentity | null; export declare enum RepositoryService { signIn = "signIn", signOut = "signOut", signUp = "signUp", queryService = "queryService", createOrUpdateSource = "createOrUpdateSource", createOrUpdateApplication = "createOrUpdateApplication", createOrUpdateService = "createOrUpdateService" } export declare const readSardinesConfigFile: (sardinesConfigFile: string) => Sardines.Config; export declare const setupRepositoryEntries: (repoEntries: Sardines.RepositoryEntry[]) => void; export declare const setupRepositoryEntriesBySardinesConfig: (config: Sardines.Config) => void; export declare const setupRepositoryEntriesByConfigFile: (sardinesConfigFile: string) => Sardines.Config; export declare const queryService: (serviceIdentity: Sardines.ServiceIdentity) => Promise<any>; export declare const createUser: (username: string, password: string) => Promise<any>; export declare const createOrUpdateSource: (source: any) => Promise<any>; export declare const createOrUpdateApplication: (application: any) => Promise<any>; export declare const createOrUpdateService: (service: any) => Promise<any>; //# sourceMappingURL=repo_client.d.ts.map