jinaga
Version:
Data management for web and mobile applications.
17 lines • 1.19 kB
TypeScript
import { FactManager } from "../managers/factManager";
import { Specification } from "../specification/specification";
import { FactEnvelope, FactFeed, FactRecord, FactReference, ProjectedResult, ReferencesByName, Storage } from "../storage";
import { UserIdentity } from "../user-identity";
import { Authorization } from './authorization';
export declare class AuthorizationNoOp implements Authorization {
private factManager;
private store;
constructor(factManager: FactManager, store: Storage);
getOrCreateUserFact(userIdentity: UserIdentity): Promise<FactRecord>;
read(userIdentity: UserIdentity, start: FactReference[], specification: Specification): Promise<ProjectedResult[]>;
load(userIdentity: UserIdentity, references: FactReference[]): Promise<FactEnvelope[]>;
feed(userIdentity: UserIdentity, specification: Specification, start: FactReference[], bookmark: string): Promise<FactFeed>;
save(userIdentity: UserIdentity, envelopes: FactEnvelope[]): Promise<FactEnvelope[]>;
verifyDistribution(userIdentity: UserIdentity, feeds: Specification[], namedStart: ReferencesByName): Promise<void>;
}
//# sourceMappingURL=authorization-noop.d.ts.map