UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.

16 lines 834 B
import type { IPatStore } from '../../lib/types/stores/pat-store.js'; import type { CreatePatSchema, PatSchema } from '../../lib/openapi/index.js'; export default class FakePatStore implements IPatStore { create(_pat: CreatePatSchema, _secret: string, _userId: number): Promise<PatSchema>; delete(_key: number): Promise<void>; deleteAll(): Promise<void>; destroy(): void; exists(_key: number): Promise<boolean>; existsWithDescriptionByUser(_description: string, _userId: number): Promise<boolean>; countByUser(_userId: number): Promise<number>; get(_key: number): Promise<PatSchema>; getAll(_query?: Object): Promise<PatSchema[]>; getAllByUser(_userId: number): Promise<PatSchema[]>; deleteForUser(_id: number, _userId: number): Promise<void>; } //# sourceMappingURL=fake-pat-store.d.ts.map