import { SettingType, type ISetting } from '../../../src/definition/settings'; import { ServerSettingBridge } from '../../../src/server/bridges'; export class TestsServerSettingBridge extends ServerSettingBridge { public getAll(appId: string): Promise> { throw new Error('Method not implemented.'); } public getOneById(id: string, appId: string): Promise { return Promise.resolve({ id, packageValue: 'packageValue', value: 'value', i18nLabel: 'i18nLabel', i18nDescription: 'i18nDescription', required: true, public: true, type: SettingType.STRING, }); } public hideGroup(name: string): Promise { throw new Error('Method not implemented.'); } public hideSetting(id: string): Promise { throw new Error('Method not implemented.'); } public isReadableById(id: string, appId: string): Promise { throw new Error('Method not implemented.'); } public updateOne(setting: ISetting, appId: string): Promise { throw new Error('Method not implemented.'); } public incrementValue(id: ISetting['id'], value: number, appId: string): Promise { throw new Error('Method not implemented.'); } }