@wfm-cn/dsh-storage 0.0.0-stage → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/LICENSE +21 -0
- package/README.md +128 -2
- package/cordis.patch.yml +3 -0
- package/lib/backends/database.js +578 -0
- package/lib/backfill.js +331 -0
- package/lib/client/index.js +79 -0
- package/lib/client/panel.js +299 -0
- package/lib/client/toast.js +66 -0
- package/lib/client.js +1 -0
- package/lib/compaction.js +108 -0
- package/lib/config.js +171 -0
- package/lib/ddl.js +323 -0
- package/lib/generated/mysql/browser.js +17 -0
- package/lib/generated/mysql/client.js +34 -0
- package/lib/generated/mysql/commonInputTypes.js +10 -0
- package/lib/generated/mysql/enums.js +10 -0
- package/lib/generated/mysql/internal/class.js +49 -0
- package/lib/generated/mysql/internal/prismaNamespace.js +146 -0
- package/lib/generated/mysql/internal/prismaNamespaceBrowser.js +117 -0
- package/lib/generated/mysql/models/AiChatHistory.js +1 -0
- package/lib/generated/mysql/models/AiMessage.js +1 -0
- package/lib/generated/mysql/models.js +1 -0
- package/lib/generated/postgresql/browser.js +17 -0
- package/lib/generated/postgresql/client.js +34 -0
- package/lib/generated/postgresql/commonInputTypes.js +10 -0
- package/lib/generated/postgresql/enums.js +10 -0
- package/lib/generated/postgresql/internal/class.js +49 -0
- package/lib/generated/postgresql/internal/prismaNamespace.js +131 -0
- package/lib/generated/postgresql/internal/prismaNamespaceBrowser.js +102 -0
- package/lib/generated/postgresql/models/AiChatHistory.js +1 -0
- package/lib/generated/postgresql/models/AiMessage.js +1 -0
- package/lib/generated/postgresql/models.js +1 -0
- package/lib/generated/sqlite/browser.js +17 -0
- package/lib/generated/sqlite/client.js +34 -0
- package/lib/generated/sqlite/commonInputTypes.js +10 -0
- package/lib/generated/sqlite/enums.js +10 -0
- package/lib/generated/sqlite/internal/class.js +49 -0
- package/lib/generated/sqlite/internal/prismaNamespace.js +128 -0
- package/lib/generated/sqlite/internal/prismaNamespaceBrowser.js +99 -0
- package/lib/generated/sqlite/models/AiChatHistory.js +1 -0
- package/lib/generated/sqlite/models/AiMessage.js +1 -0
- package/lib/generated/sqlite/models.js +1 -0
- package/lib/generated/sqlserver/browser.js +17 -0
- package/lib/generated/sqlserver/client.js +34 -0
- package/lib/generated/sqlserver/commonInputTypes.js +10 -0
- package/lib/generated/sqlserver/enums.js +10 -0
- package/lib/generated/sqlserver/internal/class.js +49 -0
- package/lib/generated/sqlserver/internal/prismaNamespace.js +119 -0
- package/lib/generated/sqlserver/internal/prismaNamespaceBrowser.js +90 -0
- package/lib/generated/sqlserver/models/AiChatHistory.js +1 -0
- package/lib/generated/sqlserver/models/AiMessage.js +1 -0
- package/lib/generated/sqlserver/models.js +1 -0
- package/lib/health.js +180 -0
- package/lib/index.js +676 -0
- package/lib/notify.js +56 -0
- package/lib/projector.js +191 -0
- package/lib/status-route.js +172 -0
- package/lib/types/backends/database.d.ts +78 -0
- package/lib/types/backfill.d.ts +67 -0
- package/lib/types/client/index.d.ts +12 -0
- package/lib/types/client/panel.d.ts +79 -0
- package/lib/types/client/toast.d.ts +38 -0
- package/lib/types/compaction.d.ts +3 -0
- package/lib/types/config.d.ts +52 -0
- package/lib/types/ddl.d.ts +49 -0
- package/lib/types/generated/mysql/browser.d.ts +14 -0
- package/lib/types/generated/mysql/client.d.ts +33 -0
- package/lib/types/generated/mysql/commonInputTypes.d.ts +396 -0
- package/lib/types/generated/mysql/enums.d.ts +1 -0
- package/lib/types/generated/mysql/internal/class.d.ts +143 -0
- package/lib/types/generated/mysql/internal/prismaNamespace.d.ts +709 -0
- package/lib/types/generated/mysql/internal/prismaNamespaceBrowser.d.ts +112 -0
- package/lib/types/generated/mysql/models/AiChatHistory.d.ts +1258 -0
- package/lib/types/generated/mysql/models/AiMessage.d.ts +1359 -0
- package/lib/types/generated/mysql/models.d.ts +3 -0
- package/lib/types/generated/postgresql/browser.d.ts +14 -0
- package/lib/types/generated/postgresql/client.d.ts +33 -0
- package/lib/types/generated/postgresql/commonInputTypes.d.ts +392 -0
- package/lib/types/generated/postgresql/enums.d.ts +1 -0
- package/lib/types/generated/postgresql/internal/class.d.ts +143 -0
- package/lib/types/generated/postgresql/internal/prismaNamespace.d.ts +728 -0
- package/lib/types/generated/postgresql/internal/prismaNamespaceBrowser.d.ts +95 -0
- package/lib/types/generated/postgresql/models/AiChatHistory.d.ts +1373 -0
- package/lib/types/generated/postgresql/models/AiMessage.d.ts +1496 -0
- package/lib/types/generated/postgresql/models.d.ts +3 -0
- package/lib/types/generated/sqlite/browser.d.ts +14 -0
- package/lib/types/generated/sqlite/client.d.ts +33 -0
- package/lib/types/generated/sqlite/commonInputTypes.d.ts +373 -0
- package/lib/types/generated/sqlite/enums.d.ts +1 -0
- package/lib/types/generated/sqlite/internal/class.d.ts +143 -0
- package/lib/types/generated/sqlite/internal/prismaNamespace.d.ts +705 -0
- package/lib/types/generated/sqlite/internal/prismaNamespaceBrowser.d.ts +92 -0
- package/lib/types/generated/sqlite/models/AiChatHistory.d.ts +1371 -0
- package/lib/types/generated/sqlite/models/AiMessage.d.ts +1493 -0
- package/lib/types/generated/sqlite/models.d.ts +3 -0
- package/lib/types/generated/sqlserver/browser.d.ts +14 -0
- package/lib/types/generated/sqlserver/client.d.ts +33 -0
- package/lib/types/generated/sqlserver/commonInputTypes.d.ts +333 -0
- package/lib/types/generated/sqlserver/enums.d.ts +1 -0
- package/lib/types/generated/sqlserver/internal/class.d.ts +143 -0
- package/lib/types/generated/sqlserver/internal/prismaNamespace.d.ts +669 -0
- package/lib/types/generated/sqlserver/internal/prismaNamespaceBrowser.d.ts +80 -0
- package/lib/types/generated/sqlserver/models/AiChatHistory.d.ts +1257 -0
- package/lib/types/generated/sqlserver/models/AiMessage.d.ts +1375 -0
- package/lib/types/generated/sqlserver/models.d.ts +3 -0
- package/lib/types/health.d.ts +52 -0
- package/lib/types/index.d.ts +91 -0
- package/lib/types/notify.d.ts +35 -0
- package/lib/types/projector.d.ts +51 -0
- package/lib/types/status-route.d.ts +48 -0
- package/lib/types/types.d.ts +58 -0
- package/lib/types.js +8 -0
- package/package.json +126 -3
- package/preview.png +0 -0
- package/prisma/schema.mysql.prisma +78 -0
- package/prisma/schema.postgresql.prisma +70 -0
- package/prisma/schema.sqlite.prisma +70 -0
- package/prisma/schema.sqlserver.prisma +76 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sync-status toast notifications (Task 6): a standalone React portal the
|
|
3
|
+
* client entry mounts on document.body — independent of the settings panel
|
|
4
|
+
* section, so toasts appear even when the panel is closed. The host records
|
|
5
|
+
* toasts on HealthMonitor transitions (src/notify.ts); this component polls
|
|
6
|
+
* them through the status bridge with a `sinceId` cursor.
|
|
7
|
+
*
|
|
8
|
+
* Factory pattern like panel.tsx: React (and react-dom's createPortal) come
|
|
9
|
+
* from the host page's module loader, never bundled.
|
|
10
|
+
*/
|
|
11
|
+
import type { StorageToast } from '../notify.js';
|
|
12
|
+
export interface ToastClient {
|
|
13
|
+
toasts(payload: {
|
|
14
|
+
sinceId: number;
|
|
15
|
+
}): Promise<StorageToast[]>;
|
|
16
|
+
}
|
|
17
|
+
/** Default poll interval; transitions are rare, this only carries toasts. */
|
|
18
|
+
export declare const TOAST_POLL_MS = 5000;
|
|
19
|
+
/** How long a toast stays on screen. */
|
|
20
|
+
export declare const TOAST_DISPLAY_MS = 8000;
|
|
21
|
+
export interface ReactLike {
|
|
22
|
+
createElement: any;
|
|
23
|
+
useState: <S>(initial: S) => [S, (value: S | ((prev: S) => S)) => void];
|
|
24
|
+
useEffect: (effect: () => void | (() => void), deps?: unknown[]) => void;
|
|
25
|
+
useRef: <T>(initial: T) => {
|
|
26
|
+
current: T;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export interface PortalDom {
|
|
30
|
+
createPortal: (node: any, container: Element) => any;
|
|
31
|
+
}
|
|
32
|
+
export declare function makeToastHost(React: ReactLike, ReactDOM: PortalDom): {
|
|
33
|
+
(props: {
|
|
34
|
+
client: ToastClient;
|
|
35
|
+
pollMs?: number;
|
|
36
|
+
}): any;
|
|
37
|
+
displayName: string;
|
|
38
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export type SyncConfig = {
|
|
2
|
+
enabled: boolean;
|
|
3
|
+
provider: 'mysql' | 'postgresql' | 'sqlite' | 'sqlserver';
|
|
4
|
+
host: string;
|
|
5
|
+
port: number;
|
|
6
|
+
user: string;
|
|
7
|
+
password: string;
|
|
8
|
+
database: string;
|
|
9
|
+
timezone: string;
|
|
10
|
+
/** Identifier stamped on mirrored rows so several machines can share one database. */
|
|
11
|
+
device: string;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Default device identifier: the OS hostname, truncated to the column width
|
|
15
|
+
* (VARCHAR(100)). Empty hostnames (theoretically possible) fall back to a
|
|
16
|
+
* stable placeholder so rows are never stamped with ''.
|
|
17
|
+
*/
|
|
18
|
+
export declare function defaultDevice(): string;
|
|
19
|
+
export declare const DEFAULT_CONFIG: SyncConfig;
|
|
20
|
+
/** Resolve the DSH home directory: $DSH_HOME or ~/.dsh. */
|
|
21
|
+
export declare function dshHome(): string;
|
|
22
|
+
export declare function defaultConfigPath(): string;
|
|
23
|
+
/**
|
|
24
|
+
* Parse a config timezone string ('+08:00', '-05:00', '+05:30', 'Z'/'UTC')
|
|
25
|
+
* into signed minutes east of UTC. Invalid or absent input → 0 (the caller
|
|
26
|
+
* decides whether to warn). This mirrors what the patched
|
|
27
|
+
* @prisma/adapter-mariadb reads via globalThis.__DSH_STORAGE_TZ_OFFSET_MIN__.
|
|
28
|
+
*/
|
|
29
|
+
export declare function tzOffsetMinutes(tz: string): number;
|
|
30
|
+
/** Valid TCP port for the form: a finite integer in [0, 65535] (0 allowed for sqlite configs). */
|
|
31
|
+
export declare function isValidPort(value: unknown): value is number;
|
|
32
|
+
/**
|
|
33
|
+
* First shape problem with a candidate sync config, or undefined when valid.
|
|
34
|
+
* Field-specific reasons keep RPC rejections honest ('cfg.port must be…'
|
|
35
|
+
* instead of a generic 'requires a cfg object').
|
|
36
|
+
*/
|
|
37
|
+
export declare function syncConfigProblem(value: unknown): string | undefined;
|
|
38
|
+
export declare function loadConfig(path?: string): {
|
|
39
|
+
config: SyncConfig;
|
|
40
|
+
error?: 'parse' | 'missing-field';
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Atomic write: temp file in the same directory + rename. The file holds the
|
|
44
|
+
* database password, so it is created owner-only (0600) — writeFileSync's
|
|
45
|
+
* mode is masked by umask, so chmod the temp file explicitly before rename
|
|
46
|
+
* (rename keeps the temp file's mode, so rewrites stay 0600 too).
|
|
47
|
+
*/
|
|
48
|
+
export declare function saveConfig(c: SyncConfig, path?: string): void;
|
|
49
|
+
/** Watch the config file; bursts are debounced (300ms). Returns a disposer. */
|
|
50
|
+
export declare function watchConfig(path: string, cb: (c: SyncConfig) => void): () => void;
|
|
51
|
+
/** Build a connection URL from discrete form fields; sqlite → file:<path>. */
|
|
52
|
+
export declare function configToUrl(c: SyncConfig): string;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type SyncConfig } from './config.js';
|
|
2
|
+
export type CreateTableResult = 'ok' | `fail:${string}`;
|
|
3
|
+
/**
|
|
4
|
+
* MySQL DDL — captured from Prisma 7.9 `db push` of
|
|
5
|
+
* prisma/schema.mysql.prisma (MySQL 8.4) via SHOW CREATE TABLE. Column
|
|
6
|
+
* types must match the schema exactly: char(36) ids, varchar lengths,
|
|
7
|
+
* longtext content, json columns, timestamp(0) message timestamps,
|
|
8
|
+
* datetime(6) history timestamps. ai_chat_histories is created first —
|
|
9
|
+
* ai_messages carries a foreign key into it.
|
|
10
|
+
*/
|
|
11
|
+
export declare const MYSQL_DDL: string[];
|
|
12
|
+
/**
|
|
13
|
+
* SQLite DDL — captured from Prisma 7.9 `db push` of
|
|
14
|
+
* prisma/schema.sqlite.prisma (sqlite_master dump), converted to
|
|
15
|
+
* IF NOT EXISTS forms. The histories table precedes the FK-carrying
|
|
16
|
+
* messages table.
|
|
17
|
+
*/
|
|
18
|
+
export declare const SQLITE_DDL: string[];
|
|
19
|
+
/** Embedded DDL statements for a provider; undefined → prisma-CLI fallback. */
|
|
20
|
+
export declare function ddlStatementsFor(provider: SyncConfig['provider']): readonly string[] | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Ensure both tables carry the nullable `device` column, then stamp every
|
|
23
|
+
* still-NULL row with `device` (the current machine's identifier — at
|
|
24
|
+
* migration time this machine owns all pre-feature rows). Executed by the
|
|
25
|
+
* panel's 「建表」 (createTables) and once per mirror startup; a no-op when
|
|
26
|
+
* the columns already exist (cheap information_schema check). mysql only —
|
|
27
|
+
* the other providers gain the column via their prisma schema `db push`.
|
|
28
|
+
*
|
|
29
|
+
* Returns 'ok' or a `fail:<reason>` string; never throws.
|
|
30
|
+
*/
|
|
31
|
+
export declare function ensureDeviceColumn(cfg: {
|
|
32
|
+
provider: SyncConfig['provider'];
|
|
33
|
+
url: string;
|
|
34
|
+
timezone?: string;
|
|
35
|
+
}, device?: string): Promise<CreateTableResult>;
|
|
36
|
+
/**
|
|
37
|
+
* Sanitize a device identifier for direct embedding into the migration SQL
|
|
38
|
+
* (no bound parameters — see ensureDeviceColumn). Strips quote, backslash,
|
|
39
|
+
* backtick and NUL characters and truncates to the column width; the value
|
|
40
|
+
* is still wrapped in single quotes at the call site.
|
|
41
|
+
*/
|
|
42
|
+
export declare function sqlString(device: string): string;
|
|
43
|
+
/**
|
|
44
|
+
* Create the ai_messages / ai_chat_histories tables for `cfg.provider`.
|
|
45
|
+
* mysql/sqlite run embedded idempotent DDL over the adapter connection;
|
|
46
|
+
* postgresql/sqlserver shell out to `prisma db push` against the packaged
|
|
47
|
+
* schema variant (requires the prisma CLI — a devDependency).
|
|
48
|
+
*/
|
|
49
|
+
export declare function createTables(cfg: SyncConfig): Promise<CreateTableResult>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as Prisma from './internal/prismaNamespaceBrowser.js';
|
|
2
|
+
export { Prisma };
|
|
3
|
+
export * as $Enums from './enums.js';
|
|
4
|
+
export * from './enums.js';
|
|
5
|
+
/**
|
|
6
|
+
* Model AiMessage
|
|
7
|
+
* User and assistant messages; tool results update the assistant row's tool_calls.
|
|
8
|
+
*/
|
|
9
|
+
export type AiMessage = Prisma.AiMessageModel;
|
|
10
|
+
/**
|
|
11
|
+
* Model AiChatHistory
|
|
12
|
+
* Per-session rollup, maintained incrementally by the projector.
|
|
13
|
+
*/
|
|
14
|
+
export type AiChatHistory = Prisma.AiChatHistoryModel;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import * as $Class from "./internal/class.js";
|
|
3
|
+
import * as Prisma from "./internal/prismaNamespace.js";
|
|
4
|
+
export * as $Enums from './enums.js';
|
|
5
|
+
export * from "./enums.js";
|
|
6
|
+
/**
|
|
7
|
+
* ## Prisma Client
|
|
8
|
+
*
|
|
9
|
+
* Type-safe database client for TypeScript
|
|
10
|
+
* @example
|
|
11
|
+
* ```
|
|
12
|
+
* const prisma = new PrismaClient({
|
|
13
|
+
* adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
14
|
+
* })
|
|
15
|
+
* // Fetch zero or more AiMessages
|
|
16
|
+
* const aiMessages = await prisma.aiMessage.findMany()
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* Read more in our [docs](https://pris.ly/d/client).
|
|
20
|
+
*/
|
|
21
|
+
export declare const PrismaClient: $Class.PrismaClientConstructor;
|
|
22
|
+
export type PrismaClient<LogOpts extends Prisma.LogLevel = never, OmitOpts extends Prisma.PrismaClientOptions["omit"] = Prisma.PrismaClientOptions["omit"], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>;
|
|
23
|
+
export { Prisma };
|
|
24
|
+
/**
|
|
25
|
+
* Model AiMessage
|
|
26
|
+
* User and assistant messages; tool results update the assistant row's tool_calls.
|
|
27
|
+
*/
|
|
28
|
+
export type AiMessage = Prisma.AiMessageModel;
|
|
29
|
+
/**
|
|
30
|
+
* Model AiChatHistory
|
|
31
|
+
* Per-session rollup, maintained incrementally by the projector.
|
|
32
|
+
*/
|
|
33
|
+
export type AiChatHistory = Prisma.AiChatHistoryModel;
|
|
@@ -0,0 +1,396 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "./internal/prismaNamespace.js";
|
|
3
|
+
export type StringFilter<$PrismaModel = never> = {
|
|
4
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
5
|
+
in?: string[];
|
|
6
|
+
notIn?: string[];
|
|
7
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
8
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
9
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
10
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
11
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
12
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
13
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
14
|
+
search?: string;
|
|
15
|
+
not?: Prisma.NestedStringFilter<$PrismaModel> | string;
|
|
16
|
+
};
|
|
17
|
+
export type StringNullableFilter<$PrismaModel = never> = {
|
|
18
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
19
|
+
in?: string[] | null;
|
|
20
|
+
notIn?: string[] | null;
|
|
21
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
22
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
23
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
24
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
25
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
26
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
27
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
28
|
+
search?: string;
|
|
29
|
+
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null;
|
|
30
|
+
};
|
|
31
|
+
export type JsonNullableFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<JsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>, Required<JsonNullableFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>;
|
|
32
|
+
export type JsonNullableFilterBase<$PrismaModel = never> = {
|
|
33
|
+
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
34
|
+
path?: string;
|
|
35
|
+
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>;
|
|
36
|
+
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
37
|
+
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
38
|
+
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
39
|
+
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
40
|
+
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
41
|
+
array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
42
|
+
lt?: runtime.InputJsonValue;
|
|
43
|
+
lte?: runtime.InputJsonValue;
|
|
44
|
+
gt?: runtime.InputJsonValue;
|
|
45
|
+
gte?: runtime.InputJsonValue;
|
|
46
|
+
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
47
|
+
};
|
|
48
|
+
export type DateTimeFilter<$PrismaModel = never> = {
|
|
49
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
50
|
+
in?: Date[] | string[];
|
|
51
|
+
notIn?: Date[] | string[];
|
|
52
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
53
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
54
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
55
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
56
|
+
not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string;
|
|
57
|
+
};
|
|
58
|
+
export type DateTimeNullableFilter<$PrismaModel = never> = {
|
|
59
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null;
|
|
60
|
+
in?: Date[] | string[] | null;
|
|
61
|
+
notIn?: Date[] | string[] | null;
|
|
62
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
63
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
64
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
65
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
66
|
+
not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null;
|
|
67
|
+
};
|
|
68
|
+
export type SortOrderInput = {
|
|
69
|
+
sort: Prisma.SortOrder;
|
|
70
|
+
nulls?: Prisma.NullsOrder;
|
|
71
|
+
};
|
|
72
|
+
export type StringWithAggregatesFilter<$PrismaModel = never> = {
|
|
73
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
74
|
+
in?: string[];
|
|
75
|
+
notIn?: string[];
|
|
76
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
77
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
78
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
79
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
80
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
81
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
82
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
83
|
+
search?: string;
|
|
84
|
+
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string;
|
|
85
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
86
|
+
_min?: Prisma.NestedStringFilter<$PrismaModel>;
|
|
87
|
+
_max?: Prisma.NestedStringFilter<$PrismaModel>;
|
|
88
|
+
};
|
|
89
|
+
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
90
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
91
|
+
in?: string[] | null;
|
|
92
|
+
notIn?: string[] | null;
|
|
93
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
94
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
95
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
96
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
97
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
98
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
99
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
100
|
+
search?: string;
|
|
101
|
+
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null;
|
|
102
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
103
|
+
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>;
|
|
104
|
+
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>;
|
|
105
|
+
};
|
|
106
|
+
export type JsonNullableWithAggregatesFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>, Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>;
|
|
107
|
+
export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
108
|
+
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
109
|
+
path?: string;
|
|
110
|
+
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>;
|
|
111
|
+
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
112
|
+
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
113
|
+
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
114
|
+
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
115
|
+
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
116
|
+
array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
117
|
+
lt?: runtime.InputJsonValue;
|
|
118
|
+
lte?: runtime.InputJsonValue;
|
|
119
|
+
gt?: runtime.InputJsonValue;
|
|
120
|
+
gte?: runtime.InputJsonValue;
|
|
121
|
+
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
122
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
123
|
+
_min?: Prisma.NestedJsonNullableFilter<$PrismaModel>;
|
|
124
|
+
_max?: Prisma.NestedJsonNullableFilter<$PrismaModel>;
|
|
125
|
+
};
|
|
126
|
+
export type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
|
127
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
128
|
+
in?: Date[] | string[];
|
|
129
|
+
notIn?: Date[] | string[];
|
|
130
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
131
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
132
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
133
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
134
|
+
not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string;
|
|
135
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
136
|
+
_min?: Prisma.NestedDateTimeFilter<$PrismaModel>;
|
|
137
|
+
_max?: Prisma.NestedDateTimeFilter<$PrismaModel>;
|
|
138
|
+
};
|
|
139
|
+
export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
140
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null;
|
|
141
|
+
in?: Date[] | string[] | null;
|
|
142
|
+
notIn?: Date[] | string[] | null;
|
|
143
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
144
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
145
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
146
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
147
|
+
not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null;
|
|
148
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
149
|
+
_min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
|
|
150
|
+
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
|
|
151
|
+
};
|
|
152
|
+
export type IntFilter<$PrismaModel = never> = {
|
|
153
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
154
|
+
in?: number[];
|
|
155
|
+
notIn?: number[];
|
|
156
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
157
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
158
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
159
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
160
|
+
not?: Prisma.NestedIntFilter<$PrismaModel> | number;
|
|
161
|
+
};
|
|
162
|
+
export type BigIntFilter<$PrismaModel = never> = {
|
|
163
|
+
equals?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
164
|
+
in?: bigint[] | number[];
|
|
165
|
+
notIn?: bigint[] | number[];
|
|
166
|
+
lt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
167
|
+
lte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
168
|
+
gt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
169
|
+
gte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
170
|
+
not?: Prisma.NestedBigIntFilter<$PrismaModel> | bigint | number;
|
|
171
|
+
};
|
|
172
|
+
export type IntWithAggregatesFilter<$PrismaModel = never> = {
|
|
173
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
174
|
+
in?: number[];
|
|
175
|
+
notIn?: number[];
|
|
176
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
177
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
178
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
179
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
180
|
+
not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number;
|
|
181
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
182
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>;
|
|
183
|
+
_sum?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
184
|
+
_min?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
185
|
+
_max?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
186
|
+
};
|
|
187
|
+
export type BigIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
188
|
+
equals?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
189
|
+
in?: bigint[] | number[];
|
|
190
|
+
notIn?: bigint[] | number[];
|
|
191
|
+
lt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
192
|
+
lte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
193
|
+
gt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
194
|
+
gte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
195
|
+
not?: Prisma.NestedBigIntWithAggregatesFilter<$PrismaModel> | bigint | number;
|
|
196
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
197
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>;
|
|
198
|
+
_sum?: Prisma.NestedBigIntFilter<$PrismaModel>;
|
|
199
|
+
_min?: Prisma.NestedBigIntFilter<$PrismaModel>;
|
|
200
|
+
_max?: Prisma.NestedBigIntFilter<$PrismaModel>;
|
|
201
|
+
};
|
|
202
|
+
export type NestedStringFilter<$PrismaModel = never> = {
|
|
203
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
204
|
+
in?: string[];
|
|
205
|
+
notIn?: string[];
|
|
206
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
207
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
208
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
209
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
210
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
211
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
212
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
213
|
+
search?: string;
|
|
214
|
+
not?: Prisma.NestedStringFilter<$PrismaModel> | string;
|
|
215
|
+
};
|
|
216
|
+
export type NestedStringNullableFilter<$PrismaModel = never> = {
|
|
217
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
218
|
+
in?: string[] | null;
|
|
219
|
+
notIn?: string[] | null;
|
|
220
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
221
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
222
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
223
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
224
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
225
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
226
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
227
|
+
search?: string;
|
|
228
|
+
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null;
|
|
229
|
+
};
|
|
230
|
+
export type NestedDateTimeFilter<$PrismaModel = never> = {
|
|
231
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
232
|
+
in?: Date[] | string[];
|
|
233
|
+
notIn?: Date[] | string[];
|
|
234
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
235
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
236
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
237
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
238
|
+
not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string;
|
|
239
|
+
};
|
|
240
|
+
export type NestedDateTimeNullableFilter<$PrismaModel = never> = {
|
|
241
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null;
|
|
242
|
+
in?: Date[] | string[] | null;
|
|
243
|
+
notIn?: Date[] | string[] | null;
|
|
244
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
245
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
246
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
247
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
248
|
+
not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null;
|
|
249
|
+
};
|
|
250
|
+
export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
|
|
251
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
252
|
+
in?: string[];
|
|
253
|
+
notIn?: string[];
|
|
254
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
255
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
256
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
257
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
258
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
259
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
260
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
261
|
+
search?: string;
|
|
262
|
+
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string;
|
|
263
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
264
|
+
_min?: Prisma.NestedStringFilter<$PrismaModel>;
|
|
265
|
+
_max?: Prisma.NestedStringFilter<$PrismaModel>;
|
|
266
|
+
};
|
|
267
|
+
export type NestedIntFilter<$PrismaModel = never> = {
|
|
268
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
269
|
+
in?: number[];
|
|
270
|
+
notIn?: number[];
|
|
271
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
272
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
273
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
274
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
275
|
+
not?: Prisma.NestedIntFilter<$PrismaModel> | number;
|
|
276
|
+
};
|
|
277
|
+
export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
278
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
279
|
+
in?: string[] | null;
|
|
280
|
+
notIn?: string[] | null;
|
|
281
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
282
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
283
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
284
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
285
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
286
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
287
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
288
|
+
search?: string;
|
|
289
|
+
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null;
|
|
290
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
291
|
+
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>;
|
|
292
|
+
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>;
|
|
293
|
+
};
|
|
294
|
+
export type NestedIntNullableFilter<$PrismaModel = never> = {
|
|
295
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null;
|
|
296
|
+
in?: number[] | null;
|
|
297
|
+
notIn?: number[] | null;
|
|
298
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
299
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
300
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
301
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
302
|
+
not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null;
|
|
303
|
+
};
|
|
304
|
+
export type NestedJsonNullableFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<NestedJsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>, Required<NestedJsonNullableFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>;
|
|
305
|
+
export type NestedJsonNullableFilterBase<$PrismaModel = never> = {
|
|
306
|
+
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
307
|
+
path?: string;
|
|
308
|
+
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>;
|
|
309
|
+
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
310
|
+
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
311
|
+
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
312
|
+
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
313
|
+
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
314
|
+
array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
315
|
+
lt?: runtime.InputJsonValue;
|
|
316
|
+
lte?: runtime.InputJsonValue;
|
|
317
|
+
gt?: runtime.InputJsonValue;
|
|
318
|
+
gte?: runtime.InputJsonValue;
|
|
319
|
+
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
320
|
+
};
|
|
321
|
+
export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
|
322
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
323
|
+
in?: Date[] | string[];
|
|
324
|
+
notIn?: Date[] | string[];
|
|
325
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
326
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
327
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
328
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
329
|
+
not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string;
|
|
330
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
331
|
+
_min?: Prisma.NestedDateTimeFilter<$PrismaModel>;
|
|
332
|
+
_max?: Prisma.NestedDateTimeFilter<$PrismaModel>;
|
|
333
|
+
};
|
|
334
|
+
export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
335
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null;
|
|
336
|
+
in?: Date[] | string[] | null;
|
|
337
|
+
notIn?: Date[] | string[] | null;
|
|
338
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
339
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
340
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
341
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
342
|
+
not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null;
|
|
343
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
344
|
+
_min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
|
|
345
|
+
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
|
|
346
|
+
};
|
|
347
|
+
export type NestedBigIntFilter<$PrismaModel = never> = {
|
|
348
|
+
equals?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
349
|
+
in?: bigint[] | number[];
|
|
350
|
+
notIn?: bigint[] | number[];
|
|
351
|
+
lt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
352
|
+
lte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
353
|
+
gt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
354
|
+
gte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
355
|
+
not?: Prisma.NestedBigIntFilter<$PrismaModel> | bigint | number;
|
|
356
|
+
};
|
|
357
|
+
export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
358
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
359
|
+
in?: number[];
|
|
360
|
+
notIn?: number[];
|
|
361
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
362
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
363
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
364
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
365
|
+
not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number;
|
|
366
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
367
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>;
|
|
368
|
+
_sum?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
369
|
+
_min?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
370
|
+
_max?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
371
|
+
};
|
|
372
|
+
export type NestedFloatFilter<$PrismaModel = never> = {
|
|
373
|
+
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
374
|
+
in?: number[];
|
|
375
|
+
notIn?: number[];
|
|
376
|
+
lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
377
|
+
lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
378
|
+
gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
379
|
+
gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
380
|
+
not?: Prisma.NestedFloatFilter<$PrismaModel> | number;
|
|
381
|
+
};
|
|
382
|
+
export type NestedBigIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
383
|
+
equals?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
384
|
+
in?: bigint[] | number[];
|
|
385
|
+
notIn?: bigint[] | number[];
|
|
386
|
+
lt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
387
|
+
lte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
388
|
+
gt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
389
|
+
gte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
390
|
+
not?: Prisma.NestedBigIntWithAggregatesFilter<$PrismaModel> | bigint | number;
|
|
391
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
392
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>;
|
|
393
|
+
_sum?: Prisma.NestedBigIntFilter<$PrismaModel>;
|
|
394
|
+
_min?: Prisma.NestedBigIntFilter<$PrismaModel>;
|
|
395
|
+
_max?: Prisma.NestedBigIntFilter<$PrismaModel>;
|
|
396
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|