@atproto/ozone
Version:
Backend service for moderating the Bluesky network.
21 lines • 633 B
TypeScript
import { Generated, GeneratedAlways } from 'kysely';
import { Member } from './member';
export declare const settingTableName = "setting";
export type SettingScope = 'personal' | 'instance';
export interface Setting {
id: GeneratedAlways<number>;
key: string;
value: Record<string, unknown>;
managerRole: Member['role'] | null;
description: string | null;
did: string;
scope: SettingScope;
lastUpdatedBy: string;
createdBy: string;
createdAt: Generated<Date>;
updatedAt: Generated<Date>;
}
export type PartialDB = {
[settingTableName]: Setting;
};
//# sourceMappingURL=setting.d.ts.map