- 数据: Habit/CheckIn/CheckList/CheckListItem/CheckListTemplate + 迁移 + 重新生成 client
- 后端: server/checkin/period.js 周期计算(日/周/月/年, 周一起始, Asia/Shanghai)
/api/checkin/* 打卡项CRUD/打卡/撤销/补打/某日详情/月历
/api/checklists/* 清单与检查项CRUD/勾选/全选/复制/模板(系统预置出差·回老家)
- 前端: 底部新增「打卡」Tab -> /checkin, 页内三视图
环形进度 RingProgress + 完成特效(粒子/光晕/触感, 可关闭)
打卡视图: 待办列表/乐观更新/撤销/新建编辑
日历视图: 月历网格 + 今天·昨天·明天 + 日期标记/完成率
清单视图: 场景清单/勾选进度条/模板生成/另存模板/归档
- 文档: docs/V0.2/需求文档.md 补充实现约定(附录B)与接口清单
694 lines
18 KiB
TypeScript
694 lines
18 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* WARNING: This is an internal file that is subject to change!
|
|
*
|
|
* 🛑 Under no circumstances should you import this file directly! 🛑
|
|
*
|
|
* All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
|
|
* While this enables partial backward compatibility, it is not part of the stable public API.
|
|
*
|
|
* If you are looking for your Models, Enums, and Input Types, please import them from the respective
|
|
* model files in the `model` directory!
|
|
*/
|
|
|
|
import * as runtime from "@prisma/client/runtime/index-browser"
|
|
|
|
export type * from '../models.ts'
|
|
export type * from './prismaNamespace.ts'
|
|
|
|
export const Decimal = runtime.Decimal
|
|
|
|
|
|
export const NullTypes = {
|
|
DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
|
|
JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
|
|
AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
|
|
}
|
|
/**
|
|
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
|
*
|
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
*/
|
|
export const DbNull = runtime.DbNull
|
|
|
|
/**
|
|
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
|
|
*
|
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
*/
|
|
export const JsonNull = runtime.JsonNull
|
|
|
|
/**
|
|
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
|
|
*
|
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
*/
|
|
export const AnyNull = runtime.AnyNull
|
|
|
|
|
|
export const ModelName = {
|
|
User: 'User',
|
|
Article: 'Article',
|
|
Strategy: 'Strategy',
|
|
Indicator: 'Indicator',
|
|
IndicatorPoint: 'IndicatorPoint',
|
|
News: 'News',
|
|
Alert: 'Alert',
|
|
ServerNode: 'ServerNode',
|
|
ServerNodeHistory: 'ServerNodeHistory',
|
|
ServiceCheck: 'ServiceCheck',
|
|
Econ_SowInventory: 'Econ_SowInventory',
|
|
ScraperCache: 'ScraperCache',
|
|
OilPriceHistory: 'OilPriceHistory',
|
|
MihomeAccount: 'MihomeAccount',
|
|
MihomeHome: 'MihomeHome',
|
|
MihomeDevice: 'MihomeDevice',
|
|
MihomeEnvSample: 'MihomeEnvSample',
|
|
MihomeEnvHour: 'MihomeEnvHour',
|
|
Habit: 'Habit',
|
|
CheckIn: 'CheckIn',
|
|
CheckList: 'CheckList',
|
|
CheckListItem: 'CheckListItem',
|
|
CheckListTemplate: 'CheckListTemplate'
|
|
} as const
|
|
|
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
|
|
/*
|
|
* Enums
|
|
*/
|
|
|
|
export const TransactionIsolationLevel = runtime.makeStrictEnum({
|
|
ReadUncommitted: 'ReadUncommitted',
|
|
ReadCommitted: 'ReadCommitted',
|
|
RepeatableRead: 'RepeatableRead',
|
|
Serializable: 'Serializable'
|
|
} as const)
|
|
|
|
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
|
|
|
|
|
|
export const UserScalarFieldEnum = {
|
|
id: 'id',
|
|
name: 'name',
|
|
email: 'email',
|
|
password: 'password',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
|
|
|
|
|
|
export const ArticleScalarFieldEnum = {
|
|
id: 'id',
|
|
title: 'title',
|
|
slug: 'slug',
|
|
content: 'content',
|
|
date: 'date',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type ArticleScalarFieldEnum = (typeof ArticleScalarFieldEnum)[keyof typeof ArticleScalarFieldEnum]
|
|
|
|
|
|
export const StrategyScalarFieldEnum = {
|
|
id: 'id',
|
|
name: 'name',
|
|
description: 'description',
|
|
data: 'data',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type StrategyScalarFieldEnum = (typeof StrategyScalarFieldEnum)[keyof typeof StrategyScalarFieldEnum]
|
|
|
|
|
|
export const IndicatorScalarFieldEnum = {
|
|
id: 'id',
|
|
name: 'name',
|
|
groupName: 'groupName',
|
|
title: 'title',
|
|
unit: 'unit',
|
|
source: 'source',
|
|
frequency: 'frequency',
|
|
hidden: 'hidden',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type IndicatorScalarFieldEnum = (typeof IndicatorScalarFieldEnum)[keyof typeof IndicatorScalarFieldEnum]
|
|
|
|
|
|
export const IndicatorPointScalarFieldEnum = {
|
|
id: 'id',
|
|
indicatorId: 'indicatorId',
|
|
period: 'period',
|
|
value: 'value',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type IndicatorPointScalarFieldEnum = (typeof IndicatorPointScalarFieldEnum)[keyof typeof IndicatorPointScalarFieldEnum]
|
|
|
|
|
|
export const NewsScalarFieldEnum = {
|
|
id: 'id',
|
|
title: 'title',
|
|
summary: 'summary',
|
|
content: 'content',
|
|
source: 'source',
|
|
url: 'url',
|
|
publishedAt: 'publishedAt',
|
|
impactRank: 'impactRank',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type NewsScalarFieldEnum = (typeof NewsScalarFieldEnum)[keyof typeof NewsScalarFieldEnum]
|
|
|
|
|
|
export const AlertScalarFieldEnum = {
|
|
id: 'id',
|
|
indicatorName: 'indicatorName',
|
|
period: 'period',
|
|
valueA: 'valueA',
|
|
valueB: 'valueB',
|
|
sourceA: 'sourceA',
|
|
sourceB: 'sourceB',
|
|
diff: 'diff',
|
|
diffRatio: 'diffRatio',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type AlertScalarFieldEnum = (typeof AlertScalarFieldEnum)[keyof typeof AlertScalarFieldEnum]
|
|
|
|
|
|
export const ServerNodeScalarFieldEnum = {
|
|
id: 'id',
|
|
uuid: 'uuid',
|
|
name: 'name',
|
|
cpuName: 'cpuName',
|
|
os: 'os',
|
|
region: 'region',
|
|
memTotal: 'memTotal',
|
|
diskTotal: 'diskTotal',
|
|
cpuCores: 'cpuCores',
|
|
cpuUsage: 'cpuUsage',
|
|
ramUsed: 'ramUsed',
|
|
swapUsed: 'swapUsed',
|
|
load1: 'load1',
|
|
load5: 'load5',
|
|
load15: 'load15',
|
|
diskUsed: 'diskUsed',
|
|
netIn: 'netIn',
|
|
netOut: 'netOut',
|
|
uptime: 'uptime',
|
|
process: 'process',
|
|
connections: 'connections',
|
|
status: 'status',
|
|
recordedAt: 'recordedAt',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type ServerNodeScalarFieldEnum = (typeof ServerNodeScalarFieldEnum)[keyof typeof ServerNodeScalarFieldEnum]
|
|
|
|
|
|
export const ServerNodeHistoryScalarFieldEnum = {
|
|
id: 'id',
|
|
uuid: 'uuid',
|
|
period: 'period',
|
|
cpu: 'cpu',
|
|
ram: 'ram',
|
|
load: 'load',
|
|
disk: 'disk',
|
|
netIn: 'netIn',
|
|
netOut: 'netOut',
|
|
process: 'process',
|
|
connections: 'connections',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type ServerNodeHistoryScalarFieldEnum = (typeof ServerNodeHistoryScalarFieldEnum)[keyof typeof ServerNodeHistoryScalarFieldEnum]
|
|
|
|
|
|
export const ServiceCheckScalarFieldEnum = {
|
|
id: 'id',
|
|
name: 'name',
|
|
url: 'url',
|
|
status: 'status',
|
|
latencyMs: 'latencyMs',
|
|
message: 'message',
|
|
lastCheckAt: 'lastCheckAt',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type ServiceCheckScalarFieldEnum = (typeof ServiceCheckScalarFieldEnum)[keyof typeof ServiceCheckScalarFieldEnum]
|
|
|
|
|
|
export const Econ_SowInventoryScalarFieldEnum = {
|
|
id: 'id',
|
|
month: 'month',
|
|
inventory: 'inventory',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type Econ_SowInventoryScalarFieldEnum = (typeof Econ_SowInventoryScalarFieldEnum)[keyof typeof Econ_SowInventoryScalarFieldEnum]
|
|
|
|
|
|
export const ScraperCacheScalarFieldEnum = {
|
|
id: 'id',
|
|
scraperName: 'scraperName',
|
|
lastDataHash: 'lastDataHash',
|
|
lastUpdateAt: 'lastUpdateAt',
|
|
metadata: 'metadata',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type ScraperCacheScalarFieldEnum = (typeof ScraperCacheScalarFieldEnum)[keyof typeof ScraperCacheScalarFieldEnum]
|
|
|
|
|
|
export const OilPriceHistoryScalarFieldEnum = {
|
|
id: 'id',
|
|
date: 'date',
|
|
province: 'province',
|
|
fuel: 'fuel',
|
|
price: 'price',
|
|
source: 'source',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type OilPriceHistoryScalarFieldEnum = (typeof OilPriceHistoryScalarFieldEnum)[keyof typeof OilPriceHistoryScalarFieldEnum]
|
|
|
|
|
|
export const MihomeAccountScalarFieldEnum = {
|
|
id: 'id',
|
|
key: 'key',
|
|
userId: 'userId',
|
|
status: 'status',
|
|
lastError: 'lastError',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type MihomeAccountScalarFieldEnum = (typeof MihomeAccountScalarFieldEnum)[keyof typeof MihomeAccountScalarFieldEnum]
|
|
|
|
|
|
export const MihomeHomeScalarFieldEnum = {
|
|
id: 'id',
|
|
homeId: 'homeId',
|
|
name: 'name',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type MihomeHomeScalarFieldEnum = (typeof MihomeHomeScalarFieldEnum)[keyof typeof MihomeHomeScalarFieldEnum]
|
|
|
|
|
|
export const MihomeDeviceScalarFieldEnum = {
|
|
id: 'id',
|
|
did: 'did',
|
|
homeId: 'homeId',
|
|
model: 'model',
|
|
name: 'name',
|
|
alias: 'alias',
|
|
tempSiid: 'tempSiid',
|
|
tempPiid: 'tempPiid',
|
|
humSiid: 'humSiid',
|
|
humPiid: 'humPiid',
|
|
battSiid: 'battSiid',
|
|
battPiid: 'battPiid',
|
|
battery: 'battery',
|
|
batteryAt: 'batteryAt',
|
|
enabled: 'enabled',
|
|
lastSyncAt: 'lastSyncAt',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type MihomeDeviceScalarFieldEnum = (typeof MihomeDeviceScalarFieldEnum)[keyof typeof MihomeDeviceScalarFieldEnum]
|
|
|
|
|
|
export const MihomeEnvSampleScalarFieldEnum = {
|
|
id: 'id',
|
|
deviceId: 'deviceId',
|
|
date: 'date',
|
|
temperature: 'temperature',
|
|
humidity: 'humidity',
|
|
temperatureAvg: 'temperatureAvg',
|
|
humidityAvg: 'humidityAvg',
|
|
temperatureMin: 'temperatureMin',
|
|
temperatureMax: 'temperatureMax',
|
|
humidityMin: 'humidityMin',
|
|
humidityMax: 'humidityMax',
|
|
origin: 'origin',
|
|
sampledAt: 'sampledAt',
|
|
raw: 'raw',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type MihomeEnvSampleScalarFieldEnum = (typeof MihomeEnvSampleScalarFieldEnum)[keyof typeof MihomeEnvSampleScalarFieldEnum]
|
|
|
|
|
|
export const MihomeEnvHourScalarFieldEnum = {
|
|
id: 'id',
|
|
deviceId: 'deviceId',
|
|
hour: 'hour',
|
|
temperatureAvg: 'temperatureAvg',
|
|
humidityAvg: 'humidityAvg',
|
|
raw: 'raw',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type MihomeEnvHourScalarFieldEnum = (typeof MihomeEnvHourScalarFieldEnum)[keyof typeof MihomeEnvHourScalarFieldEnum]
|
|
|
|
|
|
export const HabitScalarFieldEnum = {
|
|
id: 'id',
|
|
userId: 'userId',
|
|
name: 'name',
|
|
period: 'period',
|
|
target: 'target',
|
|
color: 'color',
|
|
icon: 'icon',
|
|
note: 'note',
|
|
archived: 'archived',
|
|
sortOrder: 'sortOrder',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type HabitScalarFieldEnum = (typeof HabitScalarFieldEnum)[keyof typeof HabitScalarFieldEnum]
|
|
|
|
|
|
export const CheckInScalarFieldEnum = {
|
|
id: 'id',
|
|
habitId: 'habitId',
|
|
userId: 'userId',
|
|
date: 'date',
|
|
seq: 'seq',
|
|
note: 'note',
|
|
source: 'source',
|
|
createdAt: 'createdAt'
|
|
} as const
|
|
|
|
export type CheckInScalarFieldEnum = (typeof CheckInScalarFieldEnum)[keyof typeof CheckInScalarFieldEnum]
|
|
|
|
|
|
export const CheckListScalarFieldEnum = {
|
|
id: 'id',
|
|
userId: 'userId',
|
|
title: 'title',
|
|
scene: 'scene',
|
|
note: 'note',
|
|
archived: 'archived',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type CheckListScalarFieldEnum = (typeof CheckListScalarFieldEnum)[keyof typeof CheckListScalarFieldEnum]
|
|
|
|
|
|
export const CheckListItemScalarFieldEnum = {
|
|
id: 'id',
|
|
listId: 'listId',
|
|
title: 'title',
|
|
note: 'note',
|
|
done: 'done',
|
|
doneAt: 'doneAt',
|
|
sortOrder: 'sortOrder',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type CheckListItemScalarFieldEnum = (typeof CheckListItemScalarFieldEnum)[keyof typeof CheckListItemScalarFieldEnum]
|
|
|
|
|
|
export const CheckListTemplateScalarFieldEnum = {
|
|
id: 'id',
|
|
userId: 'userId',
|
|
name: 'name',
|
|
scene: 'scene',
|
|
items: 'items',
|
|
builtin: 'builtin',
|
|
createdAt: 'createdAt',
|
|
updatedAt: 'updatedAt'
|
|
} as const
|
|
|
|
export type CheckListTemplateScalarFieldEnum = (typeof CheckListTemplateScalarFieldEnum)[keyof typeof CheckListTemplateScalarFieldEnum]
|
|
|
|
|
|
export const SortOrder = {
|
|
asc: 'asc',
|
|
desc: 'desc'
|
|
} as const
|
|
|
|
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
|
|
|
|
|
|
export const JsonNullValueInput = {
|
|
JsonNull: JsonNull
|
|
} as const
|
|
|
|
export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
|
|
|
|
|
|
export const NullableJsonNullValueInput = {
|
|
DbNull: DbNull,
|
|
JsonNull: JsonNull
|
|
} as const
|
|
|
|
export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
|
|
|
|
|
|
export const UserOrderByRelevanceFieldEnum = {
|
|
name: 'name',
|
|
email: 'email',
|
|
password: 'password'
|
|
} as const
|
|
|
|
export type UserOrderByRelevanceFieldEnum = (typeof UserOrderByRelevanceFieldEnum)[keyof typeof UserOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const ArticleOrderByRelevanceFieldEnum = {
|
|
title: 'title',
|
|
slug: 'slug',
|
|
content: 'content',
|
|
date: 'date'
|
|
} as const
|
|
|
|
export type ArticleOrderByRelevanceFieldEnum = (typeof ArticleOrderByRelevanceFieldEnum)[keyof typeof ArticleOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const JsonNullValueFilter = {
|
|
DbNull: DbNull,
|
|
JsonNull: JsonNull,
|
|
AnyNull: AnyNull
|
|
} as const
|
|
|
|
export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]
|
|
|
|
|
|
export const QueryMode = {
|
|
default: 'default',
|
|
insensitive: 'insensitive'
|
|
} as const
|
|
|
|
export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
|
|
|
|
|
|
export const StrategyOrderByRelevanceFieldEnum = {
|
|
name: 'name',
|
|
description: 'description'
|
|
} as const
|
|
|
|
export type StrategyOrderByRelevanceFieldEnum = (typeof StrategyOrderByRelevanceFieldEnum)[keyof typeof StrategyOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const IndicatorOrderByRelevanceFieldEnum = {
|
|
name: 'name',
|
|
groupName: 'groupName',
|
|
title: 'title',
|
|
unit: 'unit',
|
|
source: 'source',
|
|
frequency: 'frequency'
|
|
} as const
|
|
|
|
export type IndicatorOrderByRelevanceFieldEnum = (typeof IndicatorOrderByRelevanceFieldEnum)[keyof typeof IndicatorOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const IndicatorPointOrderByRelevanceFieldEnum = {
|
|
period: 'period'
|
|
} as const
|
|
|
|
export type IndicatorPointOrderByRelevanceFieldEnum = (typeof IndicatorPointOrderByRelevanceFieldEnum)[keyof typeof IndicatorPointOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const NullsOrder = {
|
|
first: 'first',
|
|
last: 'last'
|
|
} as const
|
|
|
|
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
|
|
|
|
|
|
export const NewsOrderByRelevanceFieldEnum = {
|
|
title: 'title',
|
|
summary: 'summary',
|
|
content: 'content',
|
|
source: 'source',
|
|
url: 'url'
|
|
} as const
|
|
|
|
export type NewsOrderByRelevanceFieldEnum = (typeof NewsOrderByRelevanceFieldEnum)[keyof typeof NewsOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const AlertOrderByRelevanceFieldEnum = {
|
|
indicatorName: 'indicatorName',
|
|
period: 'period',
|
|
sourceA: 'sourceA',
|
|
sourceB: 'sourceB'
|
|
} as const
|
|
|
|
export type AlertOrderByRelevanceFieldEnum = (typeof AlertOrderByRelevanceFieldEnum)[keyof typeof AlertOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const ServerNodeOrderByRelevanceFieldEnum = {
|
|
uuid: 'uuid',
|
|
name: 'name',
|
|
cpuName: 'cpuName',
|
|
os: 'os',
|
|
region: 'region',
|
|
status: 'status'
|
|
} as const
|
|
|
|
export type ServerNodeOrderByRelevanceFieldEnum = (typeof ServerNodeOrderByRelevanceFieldEnum)[keyof typeof ServerNodeOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const ServerNodeHistoryOrderByRelevanceFieldEnum = {
|
|
uuid: 'uuid'
|
|
} as const
|
|
|
|
export type ServerNodeHistoryOrderByRelevanceFieldEnum = (typeof ServerNodeHistoryOrderByRelevanceFieldEnum)[keyof typeof ServerNodeHistoryOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const ServiceCheckOrderByRelevanceFieldEnum = {
|
|
name: 'name',
|
|
url: 'url',
|
|
status: 'status',
|
|
message: 'message'
|
|
} as const
|
|
|
|
export type ServiceCheckOrderByRelevanceFieldEnum = (typeof ServiceCheckOrderByRelevanceFieldEnum)[keyof typeof ServiceCheckOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const Econ_SowInventoryOrderByRelevanceFieldEnum = {
|
|
month: 'month'
|
|
} as const
|
|
|
|
export type Econ_SowInventoryOrderByRelevanceFieldEnum = (typeof Econ_SowInventoryOrderByRelevanceFieldEnum)[keyof typeof Econ_SowInventoryOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const ScraperCacheOrderByRelevanceFieldEnum = {
|
|
scraperName: 'scraperName',
|
|
lastDataHash: 'lastDataHash'
|
|
} as const
|
|
|
|
export type ScraperCacheOrderByRelevanceFieldEnum = (typeof ScraperCacheOrderByRelevanceFieldEnum)[keyof typeof ScraperCacheOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const OilPriceHistoryOrderByRelevanceFieldEnum = {
|
|
province: 'province',
|
|
fuel: 'fuel',
|
|
source: 'source'
|
|
} as const
|
|
|
|
export type OilPriceHistoryOrderByRelevanceFieldEnum = (typeof OilPriceHistoryOrderByRelevanceFieldEnum)[keyof typeof OilPriceHistoryOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const MihomeAccountOrderByRelevanceFieldEnum = {
|
|
key: 'key',
|
|
userId: 'userId',
|
|
status: 'status',
|
|
lastError: 'lastError'
|
|
} as const
|
|
|
|
export type MihomeAccountOrderByRelevanceFieldEnum = (typeof MihomeAccountOrderByRelevanceFieldEnum)[keyof typeof MihomeAccountOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const MihomeHomeOrderByRelevanceFieldEnum = {
|
|
homeId: 'homeId',
|
|
name: 'name'
|
|
} as const
|
|
|
|
export type MihomeHomeOrderByRelevanceFieldEnum = (typeof MihomeHomeOrderByRelevanceFieldEnum)[keyof typeof MihomeHomeOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const MihomeDeviceOrderByRelevanceFieldEnum = {
|
|
did: 'did',
|
|
homeId: 'homeId',
|
|
model: 'model',
|
|
name: 'name',
|
|
alias: 'alias'
|
|
} as const
|
|
|
|
export type MihomeDeviceOrderByRelevanceFieldEnum = (typeof MihomeDeviceOrderByRelevanceFieldEnum)[keyof typeof MihomeDeviceOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const MihomeEnvSampleOrderByRelevanceFieldEnum = {
|
|
origin: 'origin'
|
|
} as const
|
|
|
|
export type MihomeEnvSampleOrderByRelevanceFieldEnum = (typeof MihomeEnvSampleOrderByRelevanceFieldEnum)[keyof typeof MihomeEnvSampleOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const HabitOrderByRelevanceFieldEnum = {
|
|
name: 'name',
|
|
period: 'period',
|
|
color: 'color',
|
|
icon: 'icon',
|
|
note: 'note'
|
|
} as const
|
|
|
|
export type HabitOrderByRelevanceFieldEnum = (typeof HabitOrderByRelevanceFieldEnum)[keyof typeof HabitOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const CheckInOrderByRelevanceFieldEnum = {
|
|
date: 'date',
|
|
note: 'note',
|
|
source: 'source'
|
|
} as const
|
|
|
|
export type CheckInOrderByRelevanceFieldEnum = (typeof CheckInOrderByRelevanceFieldEnum)[keyof typeof CheckInOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const CheckListOrderByRelevanceFieldEnum = {
|
|
title: 'title',
|
|
scene: 'scene',
|
|
note: 'note'
|
|
} as const
|
|
|
|
export type CheckListOrderByRelevanceFieldEnum = (typeof CheckListOrderByRelevanceFieldEnum)[keyof typeof CheckListOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const CheckListItemOrderByRelevanceFieldEnum = {
|
|
title: 'title',
|
|
note: 'note'
|
|
} as const
|
|
|
|
export type CheckListItemOrderByRelevanceFieldEnum = (typeof CheckListItemOrderByRelevanceFieldEnum)[keyof typeof CheckListItemOrderByRelevanceFieldEnum]
|
|
|
|
|
|
export const CheckListTemplateOrderByRelevanceFieldEnum = {
|
|
name: 'name',
|
|
scene: 'scene'
|
|
} as const
|
|
|
|
export type CheckListTemplateOrderByRelevanceFieldEnum = (typeof CheckListTemplateOrderByRelevanceFieldEnum)[keyof typeof CheckListTemplateOrderByRelevanceFieldEnum]
|
|
|