import { Repository } from '@jig-software/sdk';
import { AppSettings } from '../shared';

export const AppSettingsRepository = Repository.extend(
  'AppSettingsRepository',
  {
    schema: AppSettings,
    autoTimestamps: {
      createTimestampKey: 'createdAt',
      updateTimestampKey: 'updatedAt',
    },
  },
);
export type AppSettingsRepository = Repository.infer<
  typeof AppSettingsRepository
>;
