iranti 0.1.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/.env.example +63 -0
- package/LICENSE +12 -0
- package/README.md +520 -0
- package/bin/iranti.js +24 -0
- package/dist/scripts/api-key-create.js +57 -0
- package/dist/scripts/api-key-list.js +42 -0
- package/dist/scripts/api-key-revoke.js +42 -0
- package/dist/scripts/iranti-cli.js +387 -0
- package/dist/scripts/seed-codebase.js +138 -0
- package/dist/scripts/seed.js +121 -0
- package/dist/scripts/setup.js +86 -0
- package/dist/src/api/archivistScheduler.d.ts +8 -0
- package/dist/src/api/archivistScheduler.d.ts.map +1 -0
- package/dist/src/api/archivistScheduler.js +100 -0
- package/dist/src/api/archivistScheduler.js.map +1 -0
- package/dist/src/api/diag.d.ts +2 -0
- package/dist/src/api/diag.d.ts.map +1 -0
- package/dist/src/api/diag.js +54 -0
- package/dist/src/api/diag.js.map +1 -0
- package/dist/src/api/middleware/auth.d.ts +3 -0
- package/dist/src/api/middleware/auth.d.ts.map +1 -0
- package/dist/src/api/middleware/auth.js +36 -0
- package/dist/src/api/middleware/auth.js.map +1 -0
- package/dist/src/api/middleware/authorization.d.ts +4 -0
- package/dist/src/api/middleware/authorization.d.ts.map +1 -0
- package/dist/src/api/middleware/authorization.js +54 -0
- package/dist/src/api/middleware/authorization.js.map +1 -0
- package/dist/src/api/middleware/rateLimit.d.ts +23 -0
- package/dist/src/api/middleware/rateLimit.d.ts.map +1 -0
- package/dist/src/api/middleware/rateLimit.js +70 -0
- package/dist/src/api/middleware/rateLimit.js.map +1 -0
- package/dist/src/api/middleware/validation.d.ts +128 -0
- package/dist/src/api/middleware/validation.d.ts.map +1 -0
- package/dist/src/api/middleware/validation.js +137 -0
- package/dist/src/api/middleware/validation.js.map +1 -0
- package/dist/src/api/repro.d.ts +2 -0
- package/dist/src/api/repro.d.ts.map +1 -0
- package/dist/src/api/repro.js +25 -0
- package/dist/src/api/repro.js.map +1 -0
- package/dist/src/api/routes/agents.d.ts +4 -0
- package/dist/src/api/routes/agents.d.ts.map +1 -0
- package/dist/src/api/routes/agents.js +56 -0
- package/dist/src/api/routes/agents.js.map +1 -0
- package/dist/src/api/routes/batch.d.ts +2 -0
- package/dist/src/api/routes/batch.d.ts.map +1 -0
- package/dist/src/api/routes/batch.js +63 -0
- package/dist/src/api/routes/batch.js.map +1 -0
- package/dist/src/api/routes/dev.d.ts +2 -0
- package/dist/src/api/routes/dev.d.ts.map +1 -0
- package/dist/src/api/routes/dev.js +29 -0
- package/dist/src/api/routes/dev.js.map +1 -0
- package/dist/src/api/routes/knowledge.d.ts +4 -0
- package/dist/src/api/routes/knowledge.d.ts.map +1 -0
- package/dist/src/api/routes/knowledge.js +184 -0
- package/dist/src/api/routes/knowledge.js.map +1 -0
- package/dist/src/api/routes/memory.d.ts +4 -0
- package/dist/src/api/routes/memory.d.ts.map +1 -0
- package/dist/src/api/routes/memory.js +150 -0
- package/dist/src/api/routes/memory.js.map +1 -0
- package/dist/src/api/server.d.ts +2 -0
- package/dist/src/api/server.d.ts.map +1 -0
- package/dist/src/api/server.js +191 -0
- package/dist/src/api/server.js.map +1 -0
- package/dist/src/archivist/index.d.ts +10 -0
- package/dist/src/archivist/index.d.ts.map +1 -0
- package/dist/src/archivist/index.js +232 -0
- package/dist/src/archivist/index.js.map +1 -0
- package/dist/src/attendant/AttendantInstance.d.ts +96 -0
- package/dist/src/attendant/AttendantInstance.d.ts.map +1 -0
- package/dist/src/attendant/AttendantInstance.js +808 -0
- package/dist/src/attendant/AttendantInstance.js.map +1 -0
- package/dist/src/attendant/index.d.ts +12 -0
- package/dist/src/attendant/index.d.ts.map +1 -0
- package/dist/src/attendant/index.js +39 -0
- package/dist/src/attendant/index.js.map +1 -0
- package/dist/src/attendant/registry.d.ts +6 -0
- package/dist/src/attendant/registry.d.ts.map +1 -0
- package/dist/src/attendant/registry.js +27 -0
- package/dist/src/attendant/registry.js.map +1 -0
- package/dist/src/generated/prisma/browser.d.ts +35 -0
- package/dist/src/generated/prisma/browser.d.ts.map +1 -0
- package/dist/src/generated/prisma/browser.js +57 -0
- package/dist/src/generated/prisma/browser.js.map +1 -0
- package/dist/src/generated/prisma/client.d.ts +54 -0
- package/dist/src/generated/prisma/client.d.ts.map +1 -0
- package/dist/src/generated/prisma/client.js +71 -0
- package/dist/src/generated/prisma/client.js.map +1 -0
- package/dist/src/generated/prisma/commonInputTypes.d.ts +415 -0
- package/dist/src/generated/prisma/commonInputTypes.d.ts.map +1 -0
- package/dist/src/generated/prisma/commonInputTypes.js +12 -0
- package/dist/src/generated/prisma/commonInputTypes.js.map +1 -0
- package/dist/src/generated/prisma/enums.d.ts +2 -0
- package/dist/src/generated/prisma/enums.d.ts.map +1 -0
- package/dist/src/generated/prisma/enums.js +12 -0
- package/dist/src/generated/prisma/enums.js.map +1 -0
- package/dist/src/generated/prisma/internal/class.d.ts +186 -0
- package/dist/src/generated/prisma/internal/class.d.ts.map +1 -0
- package/dist/src/generated/prisma/internal/class.js +86 -0
- package/dist/src/generated/prisma/internal/class.js.map +1 -0
- package/dist/src/generated/prisma/internal/prismaNamespace.d.ts +1015 -0
- package/dist/src/generated/prisma/internal/prismaNamespace.d.ts.map +1 -0
- package/dist/src/generated/prisma/internal/prismaNamespace.js +220 -0
- package/dist/src/generated/prisma/internal/prismaNamespace.js.map +1 -0
- package/dist/src/generated/prisma/internal/prismaNamespaceBrowser.d.ts +152 -0
- package/dist/src/generated/prisma/internal/prismaNamespaceBrowser.d.ts.map +1 -0
- package/dist/src/generated/prisma/internal/prismaNamespaceBrowser.js +191 -0
- package/dist/src/generated/prisma/internal/prismaNamespaceBrowser.js.map +1 -0
- package/dist/src/generated/prisma/models/Archive.d.ts +1425 -0
- package/dist/src/generated/prisma/models/Archive.d.ts.map +1 -0
- package/dist/src/generated/prisma/models/Archive.js +3 -0
- package/dist/src/generated/prisma/models/Archive.js.map +1 -0
- package/dist/src/generated/prisma/models/Entity.d.ts +1129 -0
- package/dist/src/generated/prisma/models/Entity.d.ts.map +1 -0
- package/dist/src/generated/prisma/models/Entity.js +3 -0
- package/dist/src/generated/prisma/models/Entity.js.map +1 -0
- package/dist/src/generated/prisma/models/EntityAlias.d.ts +1347 -0
- package/dist/src/generated/prisma/models/EntityAlias.d.ts.map +1 -0
- package/dist/src/generated/prisma/models/EntityAlias.js +3 -0
- package/dist/src/generated/prisma/models/EntityAlias.js.map +1 -0
- package/dist/src/generated/prisma/models/EntityRelationship.d.ts +1143 -0
- package/dist/src/generated/prisma/models/EntityRelationship.d.ts.map +1 -0
- package/dist/src/generated/prisma/models/EntityRelationship.js +3 -0
- package/dist/src/generated/prisma/models/EntityRelationship.js.map +1 -0
- package/dist/src/generated/prisma/models/KnowledgeEntry.d.ts +1322 -0
- package/dist/src/generated/prisma/models/KnowledgeEntry.d.ts.map +1 -0
- package/dist/src/generated/prisma/models/KnowledgeEntry.js +3 -0
- package/dist/src/generated/prisma/models/KnowledgeEntry.js.map +1 -0
- package/dist/src/generated/prisma/models/WriteReceipt.d.ts +1147 -0
- package/dist/src/generated/prisma/models/WriteReceipt.d.ts.map +1 -0
- package/dist/src/generated/prisma/models/WriteReceipt.js +3 -0
- package/dist/src/generated/prisma/models/WriteReceipt.js.map +1 -0
- package/dist/src/generated/prisma/models.d.ts +8 -0
- package/dist/src/generated/prisma/models.d.ts.map +1 -0
- package/dist/src/generated/prisma/models.js +3 -0
- package/dist/src/generated/prisma/models.js.map +1 -0
- package/dist/src/lib/escalationPaths.d.ts +9 -0
- package/dist/src/lib/escalationPaths.d.ts.map +1 -0
- package/dist/src/lib/escalationPaths.js +38 -0
- package/dist/src/lib/escalationPaths.js.map +1 -0
- package/dist/src/lib/llm.d.ts +32 -0
- package/dist/src/lib/llm.d.ts.map +1 -0
- package/dist/src/lib/llm.js +161 -0
- package/dist/src/lib/llm.js.map +1 -0
- package/dist/src/lib/metrics.d.ts +21 -0
- package/dist/src/lib/metrics.d.ts.map +1 -0
- package/dist/src/lib/metrics.js +46 -0
- package/dist/src/lib/metrics.js.map +1 -0
- package/dist/src/lib/providers/claude.d.ts +7 -0
- package/dist/src/lib/providers/claude.d.ts.map +1 -0
- package/dist/src/lib/providers/claude.js +9 -0
- package/dist/src/lib/providers/claude.js.map +1 -0
- package/dist/src/lib/providers/gemini.d.ts +10 -0
- package/dist/src/lib/providers/gemini.d.ts.map +1 -0
- package/dist/src/lib/providers/gemini.js +40 -0
- package/dist/src/lib/providers/gemini.js.map +1 -0
- package/dist/src/lib/providers/groq.d.ts +10 -0
- package/dist/src/lib/providers/groq.d.ts.map +1 -0
- package/dist/src/lib/providers/groq.js +39 -0
- package/dist/src/lib/providers/groq.js.map +1 -0
- package/dist/src/lib/providers/mistral.d.ts +10 -0
- package/dist/src/lib/providers/mistral.d.ts.map +1 -0
- package/dist/src/lib/providers/mistral.js +39 -0
- package/dist/src/lib/providers/mistral.js.map +1 -0
- package/dist/src/lib/providers/mock.d.ts +24 -0
- package/dist/src/lib/providers/mock.d.ts.map +1 -0
- package/dist/src/lib/providers/mock.js +129 -0
- package/dist/src/lib/providers/mock.js.map +1 -0
- package/dist/src/lib/providers/ollama.d.ts +10 -0
- package/dist/src/lib/providers/ollama.d.ts.map +1 -0
- package/dist/src/lib/providers/ollama.js +39 -0
- package/dist/src/lib/providers/ollama.js.map +1 -0
- package/dist/src/lib/providers/openai.d.ts +11 -0
- package/dist/src/lib/providers/openai.d.ts.map +1 -0
- package/dist/src/lib/providers/openai.js +38 -0
- package/dist/src/lib/providers/openai.js.map +1 -0
- package/dist/src/lib/requestContext.d.ts +8 -0
- package/dist/src/lib/requestContext.d.ts.map +1 -0
- package/dist/src/lib/requestContext.js +10 -0
- package/dist/src/lib/requestContext.js.map +1 -0
- package/dist/src/lib/router.d.ts +16 -0
- package/dist/src/lib/router.d.ts.map +1 -0
- package/dist/src/lib/router.js +63 -0
- package/dist/src/lib/router.js.map +1 -0
- package/dist/src/librarian/chunker.d.ts +16 -0
- package/dist/src/librarian/chunker.d.ts.map +1 -0
- package/dist/src/librarian/chunker.js +67 -0
- package/dist/src/librarian/chunker.js.map +1 -0
- package/dist/src/librarian/getPolicy.d.ts +3 -0
- package/dist/src/librarian/getPolicy.d.ts.map +1 -0
- package/dist/src/librarian/getPolicy.js +22 -0
- package/dist/src/librarian/getPolicy.js.map +1 -0
- package/dist/src/librarian/guards.d.ts +9 -0
- package/dist/src/librarian/guards.d.ts.map +1 -0
- package/dist/src/librarian/guards.js +52 -0
- package/dist/src/librarian/guards.js.map +1 -0
- package/dist/src/librarian/index.d.ts +20 -0
- package/dist/src/librarian/index.d.ts.map +1 -0
- package/dist/src/librarian/index.js +512 -0
- package/dist/src/librarian/index.js.map +1 -0
- package/dist/src/librarian/policy.d.ts +13 -0
- package/dist/src/librarian/policy.d.ts.map +1 -0
- package/dist/src/librarian/policy.js +20 -0
- package/dist/src/librarian/policy.js.map +1 -0
- package/dist/src/librarian/scoring.d.ts +8 -0
- package/dist/src/librarian/scoring.d.ts.map +1 -0
- package/dist/src/librarian/scoring.js +10 -0
- package/dist/src/librarian/scoring.js.map +1 -0
- package/dist/src/librarian/source-reliability.d.ts +8 -0
- package/dist/src/librarian/source-reliability.d.ts.map +1 -0
- package/dist/src/librarian/source-reliability.js +105 -0
- package/dist/src/librarian/source-reliability.js.map +1 -0
- package/dist/src/library/agent-registry.d.ts +31 -0
- package/dist/src/library/agent-registry.d.ts.map +1 -0
- package/dist/src/library/agent-registry.js +197 -0
- package/dist/src/library/agent-registry.js.map +1 -0
- package/dist/src/library/client.d.ts +5 -0
- package/dist/src/library/client.d.ts.map +1 -0
- package/dist/src/library/client.js +39 -0
- package/dist/src/library/client.js.map +1 -0
- package/dist/src/library/entity-resolution.d.ts +47 -0
- package/dist/src/library/entity-resolution.d.ts.map +1 -0
- package/dist/src/library/entity-resolution.js +344 -0
- package/dist/src/library/entity-resolution.js.map +1 -0
- package/dist/src/library/locks.d.ts +9 -0
- package/dist/src/library/locks.d.ts.map +1 -0
- package/dist/src/library/locks.js +38 -0
- package/dist/src/library/locks.js.map +1 -0
- package/dist/src/library/queries.d.ts +66 -0
- package/dist/src/library/queries.d.ts.map +1 -0
- package/dist/src/library/queries.js +169 -0
- package/dist/src/library/queries.js.map +1 -0
- package/dist/src/library/relationships.d.ts +30 -0
- package/dist/src/library/relationships.d.ts.map +1 -0
- package/dist/src/library/relationships.js +97 -0
- package/dist/src/library/relationships.js.map +1 -0
- package/dist/src/sdk/index.d.ts +108 -0
- package/dist/src/sdk/index.d.ts.map +1 -0
- package/dist/src/sdk/index.js +323 -0
- package/dist/src/sdk/index.js.map +1 -0
- package/dist/src/security/apiKeys.d.ts +48 -0
- package/dist/src/security/apiKeys.d.ts.map +1 -0
- package/dist/src/security/apiKeys.js +279 -0
- package/dist/src/security/apiKeys.js.map +1 -0
- package/dist/src/types.d.ts +54 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/src/types.js +4 -0
- package/dist/src/types.js.map +1 -0
- package/package.json +86 -0
- package/prisma/migrations/20260228090200_init/migration.sql +49 -0
- package/prisma/migrations/20260228121746_add_properties_and_relationships/migration.sql +29 -0
- package/prisma/migrations/20260301223834_add_superseded_by_pointer/migration.sql +4 -0
- package/prisma/migrations/20260301225152_add_write_receipts/migration.sql +20 -0
- package/prisma/migrations/20260302135650_entity_resolution/migration.sql +33 -0
- package/prisma/migrations/migration_lock.toml +3 -0
- package/prisma/schema.prisma +118 -0
|
@@ -0,0 +1,1347 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace";
|
|
3
|
+
/**
|
|
4
|
+
* Model EntityAlias
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type EntityAliasModel = runtime.Types.Result.DefaultSelection<Prisma.$EntityAliasPayload>;
|
|
8
|
+
export type AggregateEntityAlias = {
|
|
9
|
+
_count: EntityAliasCountAggregateOutputType | null;
|
|
10
|
+
_avg: EntityAliasAvgAggregateOutputType | null;
|
|
11
|
+
_sum: EntityAliasSumAggregateOutputType | null;
|
|
12
|
+
_min: EntityAliasMinAggregateOutputType | null;
|
|
13
|
+
_max: EntityAliasMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type EntityAliasAvgAggregateOutputType = {
|
|
16
|
+
id: number | null;
|
|
17
|
+
confidence: number | null;
|
|
18
|
+
};
|
|
19
|
+
export type EntityAliasSumAggregateOutputType = {
|
|
20
|
+
id: number | null;
|
|
21
|
+
confidence: number | null;
|
|
22
|
+
};
|
|
23
|
+
export type EntityAliasMinAggregateOutputType = {
|
|
24
|
+
id: number | null;
|
|
25
|
+
entityType: string | null;
|
|
26
|
+
aliasNorm: string | null;
|
|
27
|
+
rawAlias: string | null;
|
|
28
|
+
canonicalEntityType: string | null;
|
|
29
|
+
canonicalEntityId: string | null;
|
|
30
|
+
source: string | null;
|
|
31
|
+
confidence: number | null;
|
|
32
|
+
createdAt: Date | null;
|
|
33
|
+
};
|
|
34
|
+
export type EntityAliasMaxAggregateOutputType = {
|
|
35
|
+
id: number | null;
|
|
36
|
+
entityType: string | null;
|
|
37
|
+
aliasNorm: string | null;
|
|
38
|
+
rawAlias: string | null;
|
|
39
|
+
canonicalEntityType: string | null;
|
|
40
|
+
canonicalEntityId: string | null;
|
|
41
|
+
source: string | null;
|
|
42
|
+
confidence: number | null;
|
|
43
|
+
createdAt: Date | null;
|
|
44
|
+
};
|
|
45
|
+
export type EntityAliasCountAggregateOutputType = {
|
|
46
|
+
id: number;
|
|
47
|
+
entityType: number;
|
|
48
|
+
aliasNorm: number;
|
|
49
|
+
rawAlias: number;
|
|
50
|
+
canonicalEntityType: number;
|
|
51
|
+
canonicalEntityId: number;
|
|
52
|
+
source: number;
|
|
53
|
+
confidence: number;
|
|
54
|
+
createdAt: number;
|
|
55
|
+
_all: number;
|
|
56
|
+
};
|
|
57
|
+
export type EntityAliasAvgAggregateInputType = {
|
|
58
|
+
id?: true;
|
|
59
|
+
confidence?: true;
|
|
60
|
+
};
|
|
61
|
+
export type EntityAliasSumAggregateInputType = {
|
|
62
|
+
id?: true;
|
|
63
|
+
confidence?: true;
|
|
64
|
+
};
|
|
65
|
+
export type EntityAliasMinAggregateInputType = {
|
|
66
|
+
id?: true;
|
|
67
|
+
entityType?: true;
|
|
68
|
+
aliasNorm?: true;
|
|
69
|
+
rawAlias?: true;
|
|
70
|
+
canonicalEntityType?: true;
|
|
71
|
+
canonicalEntityId?: true;
|
|
72
|
+
source?: true;
|
|
73
|
+
confidence?: true;
|
|
74
|
+
createdAt?: true;
|
|
75
|
+
};
|
|
76
|
+
export type EntityAliasMaxAggregateInputType = {
|
|
77
|
+
id?: true;
|
|
78
|
+
entityType?: true;
|
|
79
|
+
aliasNorm?: true;
|
|
80
|
+
rawAlias?: true;
|
|
81
|
+
canonicalEntityType?: true;
|
|
82
|
+
canonicalEntityId?: true;
|
|
83
|
+
source?: true;
|
|
84
|
+
confidence?: true;
|
|
85
|
+
createdAt?: true;
|
|
86
|
+
};
|
|
87
|
+
export type EntityAliasCountAggregateInputType = {
|
|
88
|
+
id?: true;
|
|
89
|
+
entityType?: true;
|
|
90
|
+
aliasNorm?: true;
|
|
91
|
+
rawAlias?: true;
|
|
92
|
+
canonicalEntityType?: true;
|
|
93
|
+
canonicalEntityId?: true;
|
|
94
|
+
source?: true;
|
|
95
|
+
confidence?: true;
|
|
96
|
+
createdAt?: true;
|
|
97
|
+
_all?: true;
|
|
98
|
+
};
|
|
99
|
+
export type EntityAliasAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
100
|
+
/**
|
|
101
|
+
* Filter which EntityAlias to aggregate.
|
|
102
|
+
*/
|
|
103
|
+
where?: Prisma.EntityAliasWhereInput;
|
|
104
|
+
/**
|
|
105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
106
|
+
*
|
|
107
|
+
* Determine the order of EntityAliases to fetch.
|
|
108
|
+
*/
|
|
109
|
+
orderBy?: Prisma.EntityAliasOrderByWithRelationInput | Prisma.EntityAliasOrderByWithRelationInput[];
|
|
110
|
+
/**
|
|
111
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
112
|
+
*
|
|
113
|
+
* Sets the start position
|
|
114
|
+
*/
|
|
115
|
+
cursor?: Prisma.EntityAliasWhereUniqueInput;
|
|
116
|
+
/**
|
|
117
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
118
|
+
*
|
|
119
|
+
* Take `±n` EntityAliases from the position of the cursor.
|
|
120
|
+
*/
|
|
121
|
+
take?: number;
|
|
122
|
+
/**
|
|
123
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
124
|
+
*
|
|
125
|
+
* Skip the first `n` EntityAliases.
|
|
126
|
+
*/
|
|
127
|
+
skip?: number;
|
|
128
|
+
/**
|
|
129
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
130
|
+
*
|
|
131
|
+
* Count returned EntityAliases
|
|
132
|
+
**/
|
|
133
|
+
_count?: true | EntityAliasCountAggregateInputType;
|
|
134
|
+
/**
|
|
135
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
136
|
+
*
|
|
137
|
+
* Select which fields to average
|
|
138
|
+
**/
|
|
139
|
+
_avg?: EntityAliasAvgAggregateInputType;
|
|
140
|
+
/**
|
|
141
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
142
|
+
*
|
|
143
|
+
* Select which fields to sum
|
|
144
|
+
**/
|
|
145
|
+
_sum?: EntityAliasSumAggregateInputType;
|
|
146
|
+
/**
|
|
147
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
148
|
+
*
|
|
149
|
+
* Select which fields to find the minimum value
|
|
150
|
+
**/
|
|
151
|
+
_min?: EntityAliasMinAggregateInputType;
|
|
152
|
+
/**
|
|
153
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
154
|
+
*
|
|
155
|
+
* Select which fields to find the maximum value
|
|
156
|
+
**/
|
|
157
|
+
_max?: EntityAliasMaxAggregateInputType;
|
|
158
|
+
};
|
|
159
|
+
export type GetEntityAliasAggregateType<T extends EntityAliasAggregateArgs> = {
|
|
160
|
+
[P in keyof T & keyof AggregateEntityAlias]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateEntityAlias[P]> : Prisma.GetScalarType<T[P], AggregateEntityAlias[P]>;
|
|
161
|
+
};
|
|
162
|
+
export type EntityAliasGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
163
|
+
where?: Prisma.EntityAliasWhereInput;
|
|
164
|
+
orderBy?: Prisma.EntityAliasOrderByWithAggregationInput | Prisma.EntityAliasOrderByWithAggregationInput[];
|
|
165
|
+
by: Prisma.EntityAliasScalarFieldEnum[] | Prisma.EntityAliasScalarFieldEnum;
|
|
166
|
+
having?: Prisma.EntityAliasScalarWhereWithAggregatesInput;
|
|
167
|
+
take?: number;
|
|
168
|
+
skip?: number;
|
|
169
|
+
_count?: EntityAliasCountAggregateInputType | true;
|
|
170
|
+
_avg?: EntityAliasAvgAggregateInputType;
|
|
171
|
+
_sum?: EntityAliasSumAggregateInputType;
|
|
172
|
+
_min?: EntityAliasMinAggregateInputType;
|
|
173
|
+
_max?: EntityAliasMaxAggregateInputType;
|
|
174
|
+
};
|
|
175
|
+
export type EntityAliasGroupByOutputType = {
|
|
176
|
+
id: number;
|
|
177
|
+
entityType: string;
|
|
178
|
+
aliasNorm: string;
|
|
179
|
+
rawAlias: string;
|
|
180
|
+
canonicalEntityType: string;
|
|
181
|
+
canonicalEntityId: string;
|
|
182
|
+
source: string;
|
|
183
|
+
confidence: number;
|
|
184
|
+
createdAt: Date;
|
|
185
|
+
_count: EntityAliasCountAggregateOutputType | null;
|
|
186
|
+
_avg: EntityAliasAvgAggregateOutputType | null;
|
|
187
|
+
_sum: EntityAliasSumAggregateOutputType | null;
|
|
188
|
+
_min: EntityAliasMinAggregateOutputType | null;
|
|
189
|
+
_max: EntityAliasMaxAggregateOutputType | null;
|
|
190
|
+
};
|
|
191
|
+
type GetEntityAliasGroupByPayload<T extends EntityAliasGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<EntityAliasGroupByOutputType, T['by']> & {
|
|
192
|
+
[P in ((keyof T) & (keyof EntityAliasGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], EntityAliasGroupByOutputType[P]> : Prisma.GetScalarType<T[P], EntityAliasGroupByOutputType[P]>;
|
|
193
|
+
}>>;
|
|
194
|
+
export type EntityAliasWhereInput = {
|
|
195
|
+
AND?: Prisma.EntityAliasWhereInput | Prisma.EntityAliasWhereInput[];
|
|
196
|
+
OR?: Prisma.EntityAliasWhereInput[];
|
|
197
|
+
NOT?: Prisma.EntityAliasWhereInput | Prisma.EntityAliasWhereInput[];
|
|
198
|
+
id?: Prisma.IntFilter<"EntityAlias"> | number;
|
|
199
|
+
entityType?: Prisma.StringFilter<"EntityAlias"> | string;
|
|
200
|
+
aliasNorm?: Prisma.StringFilter<"EntityAlias"> | string;
|
|
201
|
+
rawAlias?: Prisma.StringFilter<"EntityAlias"> | string;
|
|
202
|
+
canonicalEntityType?: Prisma.StringFilter<"EntityAlias"> | string;
|
|
203
|
+
canonicalEntityId?: Prisma.StringFilter<"EntityAlias"> | string;
|
|
204
|
+
source?: Prisma.StringFilter<"EntityAlias"> | string;
|
|
205
|
+
confidence?: Prisma.IntFilter<"EntityAlias"> | number;
|
|
206
|
+
createdAt?: Prisma.DateTimeFilter<"EntityAlias"> | Date | string;
|
|
207
|
+
entity?: Prisma.XOR<Prisma.EntityScalarRelationFilter, Prisma.EntityWhereInput>;
|
|
208
|
+
};
|
|
209
|
+
export type EntityAliasOrderByWithRelationInput = {
|
|
210
|
+
id?: Prisma.SortOrder;
|
|
211
|
+
entityType?: Prisma.SortOrder;
|
|
212
|
+
aliasNorm?: Prisma.SortOrder;
|
|
213
|
+
rawAlias?: Prisma.SortOrder;
|
|
214
|
+
canonicalEntityType?: Prisma.SortOrder;
|
|
215
|
+
canonicalEntityId?: Prisma.SortOrder;
|
|
216
|
+
source?: Prisma.SortOrder;
|
|
217
|
+
confidence?: Prisma.SortOrder;
|
|
218
|
+
createdAt?: Prisma.SortOrder;
|
|
219
|
+
entity?: Prisma.EntityOrderByWithRelationInput;
|
|
220
|
+
};
|
|
221
|
+
export type EntityAliasWhereUniqueInput = Prisma.AtLeast<{
|
|
222
|
+
id?: number;
|
|
223
|
+
entityType_aliasNorm?: Prisma.EntityAliasEntityTypeAliasNormCompoundUniqueInput;
|
|
224
|
+
AND?: Prisma.EntityAliasWhereInput | Prisma.EntityAliasWhereInput[];
|
|
225
|
+
OR?: Prisma.EntityAliasWhereInput[];
|
|
226
|
+
NOT?: Prisma.EntityAliasWhereInput | Prisma.EntityAliasWhereInput[];
|
|
227
|
+
entityType?: Prisma.StringFilter<"EntityAlias"> | string;
|
|
228
|
+
aliasNorm?: Prisma.StringFilter<"EntityAlias"> | string;
|
|
229
|
+
rawAlias?: Prisma.StringFilter<"EntityAlias"> | string;
|
|
230
|
+
canonicalEntityType?: Prisma.StringFilter<"EntityAlias"> | string;
|
|
231
|
+
canonicalEntityId?: Prisma.StringFilter<"EntityAlias"> | string;
|
|
232
|
+
source?: Prisma.StringFilter<"EntityAlias"> | string;
|
|
233
|
+
confidence?: Prisma.IntFilter<"EntityAlias"> | number;
|
|
234
|
+
createdAt?: Prisma.DateTimeFilter<"EntityAlias"> | Date | string;
|
|
235
|
+
entity?: Prisma.XOR<Prisma.EntityScalarRelationFilter, Prisma.EntityWhereInput>;
|
|
236
|
+
}, "id" | "entityType_aliasNorm">;
|
|
237
|
+
export type EntityAliasOrderByWithAggregationInput = {
|
|
238
|
+
id?: Prisma.SortOrder;
|
|
239
|
+
entityType?: Prisma.SortOrder;
|
|
240
|
+
aliasNorm?: Prisma.SortOrder;
|
|
241
|
+
rawAlias?: Prisma.SortOrder;
|
|
242
|
+
canonicalEntityType?: Prisma.SortOrder;
|
|
243
|
+
canonicalEntityId?: Prisma.SortOrder;
|
|
244
|
+
source?: Prisma.SortOrder;
|
|
245
|
+
confidence?: Prisma.SortOrder;
|
|
246
|
+
createdAt?: Prisma.SortOrder;
|
|
247
|
+
_count?: Prisma.EntityAliasCountOrderByAggregateInput;
|
|
248
|
+
_avg?: Prisma.EntityAliasAvgOrderByAggregateInput;
|
|
249
|
+
_max?: Prisma.EntityAliasMaxOrderByAggregateInput;
|
|
250
|
+
_min?: Prisma.EntityAliasMinOrderByAggregateInput;
|
|
251
|
+
_sum?: Prisma.EntityAliasSumOrderByAggregateInput;
|
|
252
|
+
};
|
|
253
|
+
export type EntityAliasScalarWhereWithAggregatesInput = {
|
|
254
|
+
AND?: Prisma.EntityAliasScalarWhereWithAggregatesInput | Prisma.EntityAliasScalarWhereWithAggregatesInput[];
|
|
255
|
+
OR?: Prisma.EntityAliasScalarWhereWithAggregatesInput[];
|
|
256
|
+
NOT?: Prisma.EntityAliasScalarWhereWithAggregatesInput | Prisma.EntityAliasScalarWhereWithAggregatesInput[];
|
|
257
|
+
id?: Prisma.IntWithAggregatesFilter<"EntityAlias"> | number;
|
|
258
|
+
entityType?: Prisma.StringWithAggregatesFilter<"EntityAlias"> | string;
|
|
259
|
+
aliasNorm?: Prisma.StringWithAggregatesFilter<"EntityAlias"> | string;
|
|
260
|
+
rawAlias?: Prisma.StringWithAggregatesFilter<"EntityAlias"> | string;
|
|
261
|
+
canonicalEntityType?: Prisma.StringWithAggregatesFilter<"EntityAlias"> | string;
|
|
262
|
+
canonicalEntityId?: Prisma.StringWithAggregatesFilter<"EntityAlias"> | string;
|
|
263
|
+
source?: Prisma.StringWithAggregatesFilter<"EntityAlias"> | string;
|
|
264
|
+
confidence?: Prisma.IntWithAggregatesFilter<"EntityAlias"> | number;
|
|
265
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"EntityAlias"> | Date | string;
|
|
266
|
+
};
|
|
267
|
+
export type EntityAliasCreateInput = {
|
|
268
|
+
entityType: string;
|
|
269
|
+
aliasNorm: string;
|
|
270
|
+
rawAlias: string;
|
|
271
|
+
source: string;
|
|
272
|
+
confidence?: number;
|
|
273
|
+
createdAt?: Date | string;
|
|
274
|
+
entity: Prisma.EntityCreateNestedOneWithoutAliasesInput;
|
|
275
|
+
};
|
|
276
|
+
export type EntityAliasUncheckedCreateInput = {
|
|
277
|
+
id?: number;
|
|
278
|
+
entityType: string;
|
|
279
|
+
aliasNorm: string;
|
|
280
|
+
rawAlias: string;
|
|
281
|
+
canonicalEntityType: string;
|
|
282
|
+
canonicalEntityId: string;
|
|
283
|
+
source: string;
|
|
284
|
+
confidence?: number;
|
|
285
|
+
createdAt?: Date | string;
|
|
286
|
+
};
|
|
287
|
+
export type EntityAliasUpdateInput = {
|
|
288
|
+
entityType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
289
|
+
aliasNorm?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
290
|
+
rawAlias?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
291
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
292
|
+
confidence?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
293
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
294
|
+
entity?: Prisma.EntityUpdateOneRequiredWithoutAliasesNestedInput;
|
|
295
|
+
};
|
|
296
|
+
export type EntityAliasUncheckedUpdateInput = {
|
|
297
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
298
|
+
entityType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
299
|
+
aliasNorm?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
300
|
+
rawAlias?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
301
|
+
canonicalEntityType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
302
|
+
canonicalEntityId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
303
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
304
|
+
confidence?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
305
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
306
|
+
};
|
|
307
|
+
export type EntityAliasCreateManyInput = {
|
|
308
|
+
id?: number;
|
|
309
|
+
entityType: string;
|
|
310
|
+
aliasNorm: string;
|
|
311
|
+
rawAlias: string;
|
|
312
|
+
canonicalEntityType: string;
|
|
313
|
+
canonicalEntityId: string;
|
|
314
|
+
source: string;
|
|
315
|
+
confidence?: number;
|
|
316
|
+
createdAt?: Date | string;
|
|
317
|
+
};
|
|
318
|
+
export type EntityAliasUpdateManyMutationInput = {
|
|
319
|
+
entityType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
320
|
+
aliasNorm?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
321
|
+
rawAlias?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
322
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
323
|
+
confidence?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
324
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
325
|
+
};
|
|
326
|
+
export type EntityAliasUncheckedUpdateManyInput = {
|
|
327
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
328
|
+
entityType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
329
|
+
aliasNorm?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
330
|
+
rawAlias?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
331
|
+
canonicalEntityType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
332
|
+
canonicalEntityId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
333
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
334
|
+
confidence?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
335
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
336
|
+
};
|
|
337
|
+
export type EntityAliasListRelationFilter = {
|
|
338
|
+
every?: Prisma.EntityAliasWhereInput;
|
|
339
|
+
some?: Prisma.EntityAliasWhereInput;
|
|
340
|
+
none?: Prisma.EntityAliasWhereInput;
|
|
341
|
+
};
|
|
342
|
+
export type EntityAliasOrderByRelationAggregateInput = {
|
|
343
|
+
_count?: Prisma.SortOrder;
|
|
344
|
+
};
|
|
345
|
+
export type EntityAliasEntityTypeAliasNormCompoundUniqueInput = {
|
|
346
|
+
entityType: string;
|
|
347
|
+
aliasNorm: string;
|
|
348
|
+
};
|
|
349
|
+
export type EntityAliasCountOrderByAggregateInput = {
|
|
350
|
+
id?: Prisma.SortOrder;
|
|
351
|
+
entityType?: Prisma.SortOrder;
|
|
352
|
+
aliasNorm?: Prisma.SortOrder;
|
|
353
|
+
rawAlias?: Prisma.SortOrder;
|
|
354
|
+
canonicalEntityType?: Prisma.SortOrder;
|
|
355
|
+
canonicalEntityId?: Prisma.SortOrder;
|
|
356
|
+
source?: Prisma.SortOrder;
|
|
357
|
+
confidence?: Prisma.SortOrder;
|
|
358
|
+
createdAt?: Prisma.SortOrder;
|
|
359
|
+
};
|
|
360
|
+
export type EntityAliasAvgOrderByAggregateInput = {
|
|
361
|
+
id?: Prisma.SortOrder;
|
|
362
|
+
confidence?: Prisma.SortOrder;
|
|
363
|
+
};
|
|
364
|
+
export type EntityAliasMaxOrderByAggregateInput = {
|
|
365
|
+
id?: Prisma.SortOrder;
|
|
366
|
+
entityType?: Prisma.SortOrder;
|
|
367
|
+
aliasNorm?: Prisma.SortOrder;
|
|
368
|
+
rawAlias?: Prisma.SortOrder;
|
|
369
|
+
canonicalEntityType?: Prisma.SortOrder;
|
|
370
|
+
canonicalEntityId?: Prisma.SortOrder;
|
|
371
|
+
source?: Prisma.SortOrder;
|
|
372
|
+
confidence?: Prisma.SortOrder;
|
|
373
|
+
createdAt?: Prisma.SortOrder;
|
|
374
|
+
};
|
|
375
|
+
export type EntityAliasMinOrderByAggregateInput = {
|
|
376
|
+
id?: Prisma.SortOrder;
|
|
377
|
+
entityType?: Prisma.SortOrder;
|
|
378
|
+
aliasNorm?: Prisma.SortOrder;
|
|
379
|
+
rawAlias?: Prisma.SortOrder;
|
|
380
|
+
canonicalEntityType?: Prisma.SortOrder;
|
|
381
|
+
canonicalEntityId?: Prisma.SortOrder;
|
|
382
|
+
source?: Prisma.SortOrder;
|
|
383
|
+
confidence?: Prisma.SortOrder;
|
|
384
|
+
createdAt?: Prisma.SortOrder;
|
|
385
|
+
};
|
|
386
|
+
export type EntityAliasSumOrderByAggregateInput = {
|
|
387
|
+
id?: Prisma.SortOrder;
|
|
388
|
+
confidence?: Prisma.SortOrder;
|
|
389
|
+
};
|
|
390
|
+
export type EntityAliasCreateNestedManyWithoutEntityInput = {
|
|
391
|
+
create?: Prisma.XOR<Prisma.EntityAliasCreateWithoutEntityInput, Prisma.EntityAliasUncheckedCreateWithoutEntityInput> | Prisma.EntityAliasCreateWithoutEntityInput[] | Prisma.EntityAliasUncheckedCreateWithoutEntityInput[];
|
|
392
|
+
connectOrCreate?: Prisma.EntityAliasCreateOrConnectWithoutEntityInput | Prisma.EntityAliasCreateOrConnectWithoutEntityInput[];
|
|
393
|
+
createMany?: Prisma.EntityAliasCreateManyEntityInputEnvelope;
|
|
394
|
+
connect?: Prisma.EntityAliasWhereUniqueInput | Prisma.EntityAliasWhereUniqueInput[];
|
|
395
|
+
};
|
|
396
|
+
export type EntityAliasUncheckedCreateNestedManyWithoutEntityInput = {
|
|
397
|
+
create?: Prisma.XOR<Prisma.EntityAliasCreateWithoutEntityInput, Prisma.EntityAliasUncheckedCreateWithoutEntityInput> | Prisma.EntityAliasCreateWithoutEntityInput[] | Prisma.EntityAliasUncheckedCreateWithoutEntityInput[];
|
|
398
|
+
connectOrCreate?: Prisma.EntityAliasCreateOrConnectWithoutEntityInput | Prisma.EntityAliasCreateOrConnectWithoutEntityInput[];
|
|
399
|
+
createMany?: Prisma.EntityAliasCreateManyEntityInputEnvelope;
|
|
400
|
+
connect?: Prisma.EntityAliasWhereUniqueInput | Prisma.EntityAliasWhereUniqueInput[];
|
|
401
|
+
};
|
|
402
|
+
export type EntityAliasUpdateManyWithoutEntityNestedInput = {
|
|
403
|
+
create?: Prisma.XOR<Prisma.EntityAliasCreateWithoutEntityInput, Prisma.EntityAliasUncheckedCreateWithoutEntityInput> | Prisma.EntityAliasCreateWithoutEntityInput[] | Prisma.EntityAliasUncheckedCreateWithoutEntityInput[];
|
|
404
|
+
connectOrCreate?: Prisma.EntityAliasCreateOrConnectWithoutEntityInput | Prisma.EntityAliasCreateOrConnectWithoutEntityInput[];
|
|
405
|
+
upsert?: Prisma.EntityAliasUpsertWithWhereUniqueWithoutEntityInput | Prisma.EntityAliasUpsertWithWhereUniqueWithoutEntityInput[];
|
|
406
|
+
createMany?: Prisma.EntityAliasCreateManyEntityInputEnvelope;
|
|
407
|
+
set?: Prisma.EntityAliasWhereUniqueInput | Prisma.EntityAliasWhereUniqueInput[];
|
|
408
|
+
disconnect?: Prisma.EntityAliasWhereUniqueInput | Prisma.EntityAliasWhereUniqueInput[];
|
|
409
|
+
delete?: Prisma.EntityAliasWhereUniqueInput | Prisma.EntityAliasWhereUniqueInput[];
|
|
410
|
+
connect?: Prisma.EntityAliasWhereUniqueInput | Prisma.EntityAliasWhereUniqueInput[];
|
|
411
|
+
update?: Prisma.EntityAliasUpdateWithWhereUniqueWithoutEntityInput | Prisma.EntityAliasUpdateWithWhereUniqueWithoutEntityInput[];
|
|
412
|
+
updateMany?: Prisma.EntityAliasUpdateManyWithWhereWithoutEntityInput | Prisma.EntityAliasUpdateManyWithWhereWithoutEntityInput[];
|
|
413
|
+
deleteMany?: Prisma.EntityAliasScalarWhereInput | Prisma.EntityAliasScalarWhereInput[];
|
|
414
|
+
};
|
|
415
|
+
export type EntityAliasUncheckedUpdateManyWithoutEntityNestedInput = {
|
|
416
|
+
create?: Prisma.XOR<Prisma.EntityAliasCreateWithoutEntityInput, Prisma.EntityAliasUncheckedCreateWithoutEntityInput> | Prisma.EntityAliasCreateWithoutEntityInput[] | Prisma.EntityAliasUncheckedCreateWithoutEntityInput[];
|
|
417
|
+
connectOrCreate?: Prisma.EntityAliasCreateOrConnectWithoutEntityInput | Prisma.EntityAliasCreateOrConnectWithoutEntityInput[];
|
|
418
|
+
upsert?: Prisma.EntityAliasUpsertWithWhereUniqueWithoutEntityInput | Prisma.EntityAliasUpsertWithWhereUniqueWithoutEntityInput[];
|
|
419
|
+
createMany?: Prisma.EntityAliasCreateManyEntityInputEnvelope;
|
|
420
|
+
set?: Prisma.EntityAliasWhereUniqueInput | Prisma.EntityAliasWhereUniqueInput[];
|
|
421
|
+
disconnect?: Prisma.EntityAliasWhereUniqueInput | Prisma.EntityAliasWhereUniqueInput[];
|
|
422
|
+
delete?: Prisma.EntityAliasWhereUniqueInput | Prisma.EntityAliasWhereUniqueInput[];
|
|
423
|
+
connect?: Prisma.EntityAliasWhereUniqueInput | Prisma.EntityAliasWhereUniqueInput[];
|
|
424
|
+
update?: Prisma.EntityAliasUpdateWithWhereUniqueWithoutEntityInput | Prisma.EntityAliasUpdateWithWhereUniqueWithoutEntityInput[];
|
|
425
|
+
updateMany?: Prisma.EntityAliasUpdateManyWithWhereWithoutEntityInput | Prisma.EntityAliasUpdateManyWithWhereWithoutEntityInput[];
|
|
426
|
+
deleteMany?: Prisma.EntityAliasScalarWhereInput | Prisma.EntityAliasScalarWhereInput[];
|
|
427
|
+
};
|
|
428
|
+
export type EntityAliasCreateWithoutEntityInput = {
|
|
429
|
+
entityType: string;
|
|
430
|
+
aliasNorm: string;
|
|
431
|
+
rawAlias: string;
|
|
432
|
+
source: string;
|
|
433
|
+
confidence?: number;
|
|
434
|
+
createdAt?: Date | string;
|
|
435
|
+
};
|
|
436
|
+
export type EntityAliasUncheckedCreateWithoutEntityInput = {
|
|
437
|
+
id?: number;
|
|
438
|
+
entityType: string;
|
|
439
|
+
aliasNorm: string;
|
|
440
|
+
rawAlias: string;
|
|
441
|
+
source: string;
|
|
442
|
+
confidence?: number;
|
|
443
|
+
createdAt?: Date | string;
|
|
444
|
+
};
|
|
445
|
+
export type EntityAliasCreateOrConnectWithoutEntityInput = {
|
|
446
|
+
where: Prisma.EntityAliasWhereUniqueInput;
|
|
447
|
+
create: Prisma.XOR<Prisma.EntityAliasCreateWithoutEntityInput, Prisma.EntityAliasUncheckedCreateWithoutEntityInput>;
|
|
448
|
+
};
|
|
449
|
+
export type EntityAliasCreateManyEntityInputEnvelope = {
|
|
450
|
+
data: Prisma.EntityAliasCreateManyEntityInput | Prisma.EntityAliasCreateManyEntityInput[];
|
|
451
|
+
skipDuplicates?: boolean;
|
|
452
|
+
};
|
|
453
|
+
export type EntityAliasUpsertWithWhereUniqueWithoutEntityInput = {
|
|
454
|
+
where: Prisma.EntityAliasWhereUniqueInput;
|
|
455
|
+
update: Prisma.XOR<Prisma.EntityAliasUpdateWithoutEntityInput, Prisma.EntityAliasUncheckedUpdateWithoutEntityInput>;
|
|
456
|
+
create: Prisma.XOR<Prisma.EntityAliasCreateWithoutEntityInput, Prisma.EntityAliasUncheckedCreateWithoutEntityInput>;
|
|
457
|
+
};
|
|
458
|
+
export type EntityAliasUpdateWithWhereUniqueWithoutEntityInput = {
|
|
459
|
+
where: Prisma.EntityAliasWhereUniqueInput;
|
|
460
|
+
data: Prisma.XOR<Prisma.EntityAliasUpdateWithoutEntityInput, Prisma.EntityAliasUncheckedUpdateWithoutEntityInput>;
|
|
461
|
+
};
|
|
462
|
+
export type EntityAliasUpdateManyWithWhereWithoutEntityInput = {
|
|
463
|
+
where: Prisma.EntityAliasScalarWhereInput;
|
|
464
|
+
data: Prisma.XOR<Prisma.EntityAliasUpdateManyMutationInput, Prisma.EntityAliasUncheckedUpdateManyWithoutEntityInput>;
|
|
465
|
+
};
|
|
466
|
+
export type EntityAliasScalarWhereInput = {
|
|
467
|
+
AND?: Prisma.EntityAliasScalarWhereInput | Prisma.EntityAliasScalarWhereInput[];
|
|
468
|
+
OR?: Prisma.EntityAliasScalarWhereInput[];
|
|
469
|
+
NOT?: Prisma.EntityAliasScalarWhereInput | Prisma.EntityAliasScalarWhereInput[];
|
|
470
|
+
id?: Prisma.IntFilter<"EntityAlias"> | number;
|
|
471
|
+
entityType?: Prisma.StringFilter<"EntityAlias"> | string;
|
|
472
|
+
aliasNorm?: Prisma.StringFilter<"EntityAlias"> | string;
|
|
473
|
+
rawAlias?: Prisma.StringFilter<"EntityAlias"> | string;
|
|
474
|
+
canonicalEntityType?: Prisma.StringFilter<"EntityAlias"> | string;
|
|
475
|
+
canonicalEntityId?: Prisma.StringFilter<"EntityAlias"> | string;
|
|
476
|
+
source?: Prisma.StringFilter<"EntityAlias"> | string;
|
|
477
|
+
confidence?: Prisma.IntFilter<"EntityAlias"> | number;
|
|
478
|
+
createdAt?: Prisma.DateTimeFilter<"EntityAlias"> | Date | string;
|
|
479
|
+
};
|
|
480
|
+
export type EntityAliasCreateManyEntityInput = {
|
|
481
|
+
id?: number;
|
|
482
|
+
entityType: string;
|
|
483
|
+
aliasNorm: string;
|
|
484
|
+
rawAlias: string;
|
|
485
|
+
source: string;
|
|
486
|
+
confidence?: number;
|
|
487
|
+
createdAt?: Date | string;
|
|
488
|
+
};
|
|
489
|
+
export type EntityAliasUpdateWithoutEntityInput = {
|
|
490
|
+
entityType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
491
|
+
aliasNorm?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
492
|
+
rawAlias?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
493
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
494
|
+
confidence?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
495
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
496
|
+
};
|
|
497
|
+
export type EntityAliasUncheckedUpdateWithoutEntityInput = {
|
|
498
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
499
|
+
entityType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
500
|
+
aliasNorm?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
501
|
+
rawAlias?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
502
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
503
|
+
confidence?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
504
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
505
|
+
};
|
|
506
|
+
export type EntityAliasUncheckedUpdateManyWithoutEntityInput = {
|
|
507
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
508
|
+
entityType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
509
|
+
aliasNorm?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
510
|
+
rawAlias?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
511
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
512
|
+
confidence?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
513
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
514
|
+
};
|
|
515
|
+
export type EntityAliasSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
516
|
+
id?: boolean;
|
|
517
|
+
entityType?: boolean;
|
|
518
|
+
aliasNorm?: boolean;
|
|
519
|
+
rawAlias?: boolean;
|
|
520
|
+
canonicalEntityType?: boolean;
|
|
521
|
+
canonicalEntityId?: boolean;
|
|
522
|
+
source?: boolean;
|
|
523
|
+
confidence?: boolean;
|
|
524
|
+
createdAt?: boolean;
|
|
525
|
+
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>;
|
|
526
|
+
}, ExtArgs["result"]["entityAlias"]>;
|
|
527
|
+
export type EntityAliasSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
528
|
+
id?: boolean;
|
|
529
|
+
entityType?: boolean;
|
|
530
|
+
aliasNorm?: boolean;
|
|
531
|
+
rawAlias?: boolean;
|
|
532
|
+
canonicalEntityType?: boolean;
|
|
533
|
+
canonicalEntityId?: boolean;
|
|
534
|
+
source?: boolean;
|
|
535
|
+
confidence?: boolean;
|
|
536
|
+
createdAt?: boolean;
|
|
537
|
+
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>;
|
|
538
|
+
}, ExtArgs["result"]["entityAlias"]>;
|
|
539
|
+
export type EntityAliasSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
540
|
+
id?: boolean;
|
|
541
|
+
entityType?: boolean;
|
|
542
|
+
aliasNorm?: boolean;
|
|
543
|
+
rawAlias?: boolean;
|
|
544
|
+
canonicalEntityType?: boolean;
|
|
545
|
+
canonicalEntityId?: boolean;
|
|
546
|
+
source?: boolean;
|
|
547
|
+
confidence?: boolean;
|
|
548
|
+
createdAt?: boolean;
|
|
549
|
+
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>;
|
|
550
|
+
}, ExtArgs["result"]["entityAlias"]>;
|
|
551
|
+
export type EntityAliasSelectScalar = {
|
|
552
|
+
id?: boolean;
|
|
553
|
+
entityType?: boolean;
|
|
554
|
+
aliasNorm?: boolean;
|
|
555
|
+
rawAlias?: boolean;
|
|
556
|
+
canonicalEntityType?: boolean;
|
|
557
|
+
canonicalEntityId?: boolean;
|
|
558
|
+
source?: boolean;
|
|
559
|
+
confidence?: boolean;
|
|
560
|
+
createdAt?: boolean;
|
|
561
|
+
};
|
|
562
|
+
export type EntityAliasOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "entityType" | "aliasNorm" | "rawAlias" | "canonicalEntityType" | "canonicalEntityId" | "source" | "confidence" | "createdAt", ExtArgs["result"]["entityAlias"]>;
|
|
563
|
+
export type EntityAliasInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
564
|
+
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>;
|
|
565
|
+
};
|
|
566
|
+
export type EntityAliasIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
567
|
+
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>;
|
|
568
|
+
};
|
|
569
|
+
export type EntityAliasIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
570
|
+
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>;
|
|
571
|
+
};
|
|
572
|
+
export type $EntityAliasPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
573
|
+
name: "EntityAlias";
|
|
574
|
+
objects: {
|
|
575
|
+
entity: Prisma.$EntityPayload<ExtArgs>;
|
|
576
|
+
};
|
|
577
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
578
|
+
id: number;
|
|
579
|
+
entityType: string;
|
|
580
|
+
aliasNorm: string;
|
|
581
|
+
rawAlias: string;
|
|
582
|
+
canonicalEntityType: string;
|
|
583
|
+
canonicalEntityId: string;
|
|
584
|
+
source: string;
|
|
585
|
+
confidence: number;
|
|
586
|
+
createdAt: Date;
|
|
587
|
+
}, ExtArgs["result"]["entityAlias"]>;
|
|
588
|
+
composites: {};
|
|
589
|
+
};
|
|
590
|
+
export type EntityAliasGetPayload<S extends boolean | null | undefined | EntityAliasDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EntityAliasPayload, S>;
|
|
591
|
+
export type EntityAliasCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<EntityAliasFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
592
|
+
select?: EntityAliasCountAggregateInputType | true;
|
|
593
|
+
};
|
|
594
|
+
export interface EntityAliasDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
595
|
+
[K: symbol]: {
|
|
596
|
+
types: Prisma.TypeMap<ExtArgs>['model']['EntityAlias'];
|
|
597
|
+
meta: {
|
|
598
|
+
name: 'EntityAlias';
|
|
599
|
+
};
|
|
600
|
+
};
|
|
601
|
+
/**
|
|
602
|
+
* Find zero or one EntityAlias that matches the filter.
|
|
603
|
+
* @param {EntityAliasFindUniqueArgs} args - Arguments to find a EntityAlias
|
|
604
|
+
* @example
|
|
605
|
+
* // Get one EntityAlias
|
|
606
|
+
* const entityAlias = await prisma.entityAlias.findUnique({
|
|
607
|
+
* where: {
|
|
608
|
+
* // ... provide filter here
|
|
609
|
+
* }
|
|
610
|
+
* })
|
|
611
|
+
*/
|
|
612
|
+
findUnique<T extends EntityAliasFindUniqueArgs>(args: Prisma.SelectSubset<T, EntityAliasFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EntityAliasClient<runtime.Types.Result.GetResult<Prisma.$EntityAliasPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
613
|
+
/**
|
|
614
|
+
* Find one EntityAlias that matches the filter or throw an error with `error.code='P2025'`
|
|
615
|
+
* if no matches were found.
|
|
616
|
+
* @param {EntityAliasFindUniqueOrThrowArgs} args - Arguments to find a EntityAlias
|
|
617
|
+
* @example
|
|
618
|
+
* // Get one EntityAlias
|
|
619
|
+
* const entityAlias = await prisma.entityAlias.findUniqueOrThrow({
|
|
620
|
+
* where: {
|
|
621
|
+
* // ... provide filter here
|
|
622
|
+
* }
|
|
623
|
+
* })
|
|
624
|
+
*/
|
|
625
|
+
findUniqueOrThrow<T extends EntityAliasFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EntityAliasFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EntityAliasClient<runtime.Types.Result.GetResult<Prisma.$EntityAliasPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
626
|
+
/**
|
|
627
|
+
* Find the first EntityAlias that matches the filter.
|
|
628
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
629
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
630
|
+
* @param {EntityAliasFindFirstArgs} args - Arguments to find a EntityAlias
|
|
631
|
+
* @example
|
|
632
|
+
* // Get one EntityAlias
|
|
633
|
+
* const entityAlias = await prisma.entityAlias.findFirst({
|
|
634
|
+
* where: {
|
|
635
|
+
* // ... provide filter here
|
|
636
|
+
* }
|
|
637
|
+
* })
|
|
638
|
+
*/
|
|
639
|
+
findFirst<T extends EntityAliasFindFirstArgs>(args?: Prisma.SelectSubset<T, EntityAliasFindFirstArgs<ExtArgs>>): Prisma.Prisma__EntityAliasClient<runtime.Types.Result.GetResult<Prisma.$EntityAliasPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
640
|
+
/**
|
|
641
|
+
* Find the first EntityAlias that matches the filter or
|
|
642
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
643
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
644
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
645
|
+
* @param {EntityAliasFindFirstOrThrowArgs} args - Arguments to find a EntityAlias
|
|
646
|
+
* @example
|
|
647
|
+
* // Get one EntityAlias
|
|
648
|
+
* const entityAlias = await prisma.entityAlias.findFirstOrThrow({
|
|
649
|
+
* where: {
|
|
650
|
+
* // ... provide filter here
|
|
651
|
+
* }
|
|
652
|
+
* })
|
|
653
|
+
*/
|
|
654
|
+
findFirstOrThrow<T extends EntityAliasFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EntityAliasFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EntityAliasClient<runtime.Types.Result.GetResult<Prisma.$EntityAliasPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
655
|
+
/**
|
|
656
|
+
* Find zero or more EntityAliases that matches the filter.
|
|
657
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
658
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
659
|
+
* @param {EntityAliasFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
660
|
+
* @example
|
|
661
|
+
* // Get all EntityAliases
|
|
662
|
+
* const entityAliases = await prisma.entityAlias.findMany()
|
|
663
|
+
*
|
|
664
|
+
* // Get first 10 EntityAliases
|
|
665
|
+
* const entityAliases = await prisma.entityAlias.findMany({ take: 10 })
|
|
666
|
+
*
|
|
667
|
+
* // Only select the `id`
|
|
668
|
+
* const entityAliasWithIdOnly = await prisma.entityAlias.findMany({ select: { id: true } })
|
|
669
|
+
*
|
|
670
|
+
*/
|
|
671
|
+
findMany<T extends EntityAliasFindManyArgs>(args?: Prisma.SelectSubset<T, EntityAliasFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityAliasPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
672
|
+
/**
|
|
673
|
+
* Create a EntityAlias.
|
|
674
|
+
* @param {EntityAliasCreateArgs} args - Arguments to create a EntityAlias.
|
|
675
|
+
* @example
|
|
676
|
+
* // Create one EntityAlias
|
|
677
|
+
* const EntityAlias = await prisma.entityAlias.create({
|
|
678
|
+
* data: {
|
|
679
|
+
* // ... data to create a EntityAlias
|
|
680
|
+
* }
|
|
681
|
+
* })
|
|
682
|
+
*
|
|
683
|
+
*/
|
|
684
|
+
create<T extends EntityAliasCreateArgs>(args: Prisma.SelectSubset<T, EntityAliasCreateArgs<ExtArgs>>): Prisma.Prisma__EntityAliasClient<runtime.Types.Result.GetResult<Prisma.$EntityAliasPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
685
|
+
/**
|
|
686
|
+
* Create many EntityAliases.
|
|
687
|
+
* @param {EntityAliasCreateManyArgs} args - Arguments to create many EntityAliases.
|
|
688
|
+
* @example
|
|
689
|
+
* // Create many EntityAliases
|
|
690
|
+
* const entityAlias = await prisma.entityAlias.createMany({
|
|
691
|
+
* data: [
|
|
692
|
+
* // ... provide data here
|
|
693
|
+
* ]
|
|
694
|
+
* })
|
|
695
|
+
*
|
|
696
|
+
*/
|
|
697
|
+
createMany<T extends EntityAliasCreateManyArgs>(args?: Prisma.SelectSubset<T, EntityAliasCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
698
|
+
/**
|
|
699
|
+
* Create many EntityAliases and returns the data saved in the database.
|
|
700
|
+
* @param {EntityAliasCreateManyAndReturnArgs} args - Arguments to create many EntityAliases.
|
|
701
|
+
* @example
|
|
702
|
+
* // Create many EntityAliases
|
|
703
|
+
* const entityAlias = await prisma.entityAlias.createManyAndReturn({
|
|
704
|
+
* data: [
|
|
705
|
+
* // ... provide data here
|
|
706
|
+
* ]
|
|
707
|
+
* })
|
|
708
|
+
*
|
|
709
|
+
* // Create many EntityAliases and only return the `id`
|
|
710
|
+
* const entityAliasWithIdOnly = await prisma.entityAlias.createManyAndReturn({
|
|
711
|
+
* select: { id: true },
|
|
712
|
+
* data: [
|
|
713
|
+
* // ... provide data here
|
|
714
|
+
* ]
|
|
715
|
+
* })
|
|
716
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
717
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
718
|
+
*
|
|
719
|
+
*/
|
|
720
|
+
createManyAndReturn<T extends EntityAliasCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EntityAliasCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityAliasPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
721
|
+
/**
|
|
722
|
+
* Delete a EntityAlias.
|
|
723
|
+
* @param {EntityAliasDeleteArgs} args - Arguments to delete one EntityAlias.
|
|
724
|
+
* @example
|
|
725
|
+
* // Delete one EntityAlias
|
|
726
|
+
* const EntityAlias = await prisma.entityAlias.delete({
|
|
727
|
+
* where: {
|
|
728
|
+
* // ... filter to delete one EntityAlias
|
|
729
|
+
* }
|
|
730
|
+
* })
|
|
731
|
+
*
|
|
732
|
+
*/
|
|
733
|
+
delete<T extends EntityAliasDeleteArgs>(args: Prisma.SelectSubset<T, EntityAliasDeleteArgs<ExtArgs>>): Prisma.Prisma__EntityAliasClient<runtime.Types.Result.GetResult<Prisma.$EntityAliasPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
734
|
+
/**
|
|
735
|
+
* Update one EntityAlias.
|
|
736
|
+
* @param {EntityAliasUpdateArgs} args - Arguments to update one EntityAlias.
|
|
737
|
+
* @example
|
|
738
|
+
* // Update one EntityAlias
|
|
739
|
+
* const entityAlias = await prisma.entityAlias.update({
|
|
740
|
+
* where: {
|
|
741
|
+
* // ... provide filter here
|
|
742
|
+
* },
|
|
743
|
+
* data: {
|
|
744
|
+
* // ... provide data here
|
|
745
|
+
* }
|
|
746
|
+
* })
|
|
747
|
+
*
|
|
748
|
+
*/
|
|
749
|
+
update<T extends EntityAliasUpdateArgs>(args: Prisma.SelectSubset<T, EntityAliasUpdateArgs<ExtArgs>>): Prisma.Prisma__EntityAliasClient<runtime.Types.Result.GetResult<Prisma.$EntityAliasPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
750
|
+
/**
|
|
751
|
+
* Delete zero or more EntityAliases.
|
|
752
|
+
* @param {EntityAliasDeleteManyArgs} args - Arguments to filter EntityAliases to delete.
|
|
753
|
+
* @example
|
|
754
|
+
* // Delete a few EntityAliases
|
|
755
|
+
* const { count } = await prisma.entityAlias.deleteMany({
|
|
756
|
+
* where: {
|
|
757
|
+
* // ... provide filter here
|
|
758
|
+
* }
|
|
759
|
+
* })
|
|
760
|
+
*
|
|
761
|
+
*/
|
|
762
|
+
deleteMany<T extends EntityAliasDeleteManyArgs>(args?: Prisma.SelectSubset<T, EntityAliasDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
763
|
+
/**
|
|
764
|
+
* Update zero or more EntityAliases.
|
|
765
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
766
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
767
|
+
* @param {EntityAliasUpdateManyArgs} args - Arguments to update one or more rows.
|
|
768
|
+
* @example
|
|
769
|
+
* // Update many EntityAliases
|
|
770
|
+
* const entityAlias = await prisma.entityAlias.updateMany({
|
|
771
|
+
* where: {
|
|
772
|
+
* // ... provide filter here
|
|
773
|
+
* },
|
|
774
|
+
* data: {
|
|
775
|
+
* // ... provide data here
|
|
776
|
+
* }
|
|
777
|
+
* })
|
|
778
|
+
*
|
|
779
|
+
*/
|
|
780
|
+
updateMany<T extends EntityAliasUpdateManyArgs>(args: Prisma.SelectSubset<T, EntityAliasUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
781
|
+
/**
|
|
782
|
+
* Update zero or more EntityAliases and returns the data updated in the database.
|
|
783
|
+
* @param {EntityAliasUpdateManyAndReturnArgs} args - Arguments to update many EntityAliases.
|
|
784
|
+
* @example
|
|
785
|
+
* // Update many EntityAliases
|
|
786
|
+
* const entityAlias = await prisma.entityAlias.updateManyAndReturn({
|
|
787
|
+
* where: {
|
|
788
|
+
* // ... provide filter here
|
|
789
|
+
* },
|
|
790
|
+
* data: [
|
|
791
|
+
* // ... provide data here
|
|
792
|
+
* ]
|
|
793
|
+
* })
|
|
794
|
+
*
|
|
795
|
+
* // Update zero or more EntityAliases and only return the `id`
|
|
796
|
+
* const entityAliasWithIdOnly = await prisma.entityAlias.updateManyAndReturn({
|
|
797
|
+
* select: { id: true },
|
|
798
|
+
* where: {
|
|
799
|
+
* // ... provide filter here
|
|
800
|
+
* },
|
|
801
|
+
* data: [
|
|
802
|
+
* // ... provide data here
|
|
803
|
+
* ]
|
|
804
|
+
* })
|
|
805
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
806
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
807
|
+
*
|
|
808
|
+
*/
|
|
809
|
+
updateManyAndReturn<T extends EntityAliasUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EntityAliasUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityAliasPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
810
|
+
/**
|
|
811
|
+
* Create or update one EntityAlias.
|
|
812
|
+
* @param {EntityAliasUpsertArgs} args - Arguments to update or create a EntityAlias.
|
|
813
|
+
* @example
|
|
814
|
+
* // Update or create a EntityAlias
|
|
815
|
+
* const entityAlias = await prisma.entityAlias.upsert({
|
|
816
|
+
* create: {
|
|
817
|
+
* // ... data to create a EntityAlias
|
|
818
|
+
* },
|
|
819
|
+
* update: {
|
|
820
|
+
* // ... in case it already exists, update
|
|
821
|
+
* },
|
|
822
|
+
* where: {
|
|
823
|
+
* // ... the filter for the EntityAlias we want to update
|
|
824
|
+
* }
|
|
825
|
+
* })
|
|
826
|
+
*/
|
|
827
|
+
upsert<T extends EntityAliasUpsertArgs>(args: Prisma.SelectSubset<T, EntityAliasUpsertArgs<ExtArgs>>): Prisma.Prisma__EntityAliasClient<runtime.Types.Result.GetResult<Prisma.$EntityAliasPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
828
|
+
/**
|
|
829
|
+
* Count the number of EntityAliases.
|
|
830
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
831
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
832
|
+
* @param {EntityAliasCountArgs} args - Arguments to filter EntityAliases to count.
|
|
833
|
+
* @example
|
|
834
|
+
* // Count the number of EntityAliases
|
|
835
|
+
* const count = await prisma.entityAlias.count({
|
|
836
|
+
* where: {
|
|
837
|
+
* // ... the filter for the EntityAliases we want to count
|
|
838
|
+
* }
|
|
839
|
+
* })
|
|
840
|
+
**/
|
|
841
|
+
count<T extends EntityAliasCountArgs>(args?: Prisma.Subset<T, EntityAliasCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], EntityAliasCountAggregateOutputType> : number>;
|
|
842
|
+
/**
|
|
843
|
+
* Allows you to perform aggregations operations on a EntityAlias.
|
|
844
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
845
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
846
|
+
* @param {EntityAliasAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
847
|
+
* @example
|
|
848
|
+
* // Ordered by age ascending
|
|
849
|
+
* // Where email contains prisma.io
|
|
850
|
+
* // Limited to the 10 users
|
|
851
|
+
* const aggregations = await prisma.user.aggregate({
|
|
852
|
+
* _avg: {
|
|
853
|
+
* age: true,
|
|
854
|
+
* },
|
|
855
|
+
* where: {
|
|
856
|
+
* email: {
|
|
857
|
+
* contains: "prisma.io",
|
|
858
|
+
* },
|
|
859
|
+
* },
|
|
860
|
+
* orderBy: {
|
|
861
|
+
* age: "asc",
|
|
862
|
+
* },
|
|
863
|
+
* take: 10,
|
|
864
|
+
* })
|
|
865
|
+
**/
|
|
866
|
+
aggregate<T extends EntityAliasAggregateArgs>(args: Prisma.Subset<T, EntityAliasAggregateArgs>): Prisma.PrismaPromise<GetEntityAliasAggregateType<T>>;
|
|
867
|
+
/**
|
|
868
|
+
* Group by EntityAlias.
|
|
869
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
870
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
871
|
+
* @param {EntityAliasGroupByArgs} args - Group by arguments.
|
|
872
|
+
* @example
|
|
873
|
+
* // Group by city, order by createdAt, get count
|
|
874
|
+
* const result = await prisma.user.groupBy({
|
|
875
|
+
* by: ['city', 'createdAt'],
|
|
876
|
+
* orderBy: {
|
|
877
|
+
* createdAt: true
|
|
878
|
+
* },
|
|
879
|
+
* _count: {
|
|
880
|
+
* _all: true
|
|
881
|
+
* },
|
|
882
|
+
* })
|
|
883
|
+
*
|
|
884
|
+
**/
|
|
885
|
+
groupBy<T extends EntityAliasGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
886
|
+
orderBy: EntityAliasGroupByArgs['orderBy'];
|
|
887
|
+
} : {
|
|
888
|
+
orderBy?: EntityAliasGroupByArgs['orderBy'];
|
|
889
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
890
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
891
|
+
Error,
|
|
892
|
+
'Field ',
|
|
893
|
+
P,
|
|
894
|
+
` in "having" needs to be provided in "by"`
|
|
895
|
+
];
|
|
896
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
897
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
898
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
899
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
900
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
901
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
902
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, EntityAliasGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEntityAliasGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
903
|
+
/**
|
|
904
|
+
* Fields of the EntityAlias model
|
|
905
|
+
*/
|
|
906
|
+
readonly fields: EntityAliasFieldRefs;
|
|
907
|
+
}
|
|
908
|
+
/**
|
|
909
|
+
* The delegate class that acts as a "Promise-like" for EntityAlias.
|
|
910
|
+
* Why is this prefixed with `Prisma__`?
|
|
911
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
912
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
913
|
+
*/
|
|
914
|
+
export interface Prisma__EntityAliasClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
915
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
916
|
+
entity<T extends Prisma.EntityDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntityDefaultArgs<ExtArgs>>): Prisma.Prisma__EntityClient<runtime.Types.Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
917
|
+
/**
|
|
918
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
919
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
920
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
921
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
922
|
+
*/
|
|
923
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
|
|
924
|
+
/**
|
|
925
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
926
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
927
|
+
* @returns A Promise for the completion of the callback.
|
|
928
|
+
*/
|
|
929
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
930
|
+
/**
|
|
931
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
932
|
+
* resolved value cannot be modified from the callback.
|
|
933
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
934
|
+
* @returns A Promise for the completion of the callback.
|
|
935
|
+
*/
|
|
936
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
937
|
+
}
|
|
938
|
+
/**
|
|
939
|
+
* Fields of the EntityAlias model
|
|
940
|
+
*/
|
|
941
|
+
export interface EntityAliasFieldRefs {
|
|
942
|
+
readonly id: Prisma.FieldRef<"EntityAlias", 'Int'>;
|
|
943
|
+
readonly entityType: Prisma.FieldRef<"EntityAlias", 'String'>;
|
|
944
|
+
readonly aliasNorm: Prisma.FieldRef<"EntityAlias", 'String'>;
|
|
945
|
+
readonly rawAlias: Prisma.FieldRef<"EntityAlias", 'String'>;
|
|
946
|
+
readonly canonicalEntityType: Prisma.FieldRef<"EntityAlias", 'String'>;
|
|
947
|
+
readonly canonicalEntityId: Prisma.FieldRef<"EntityAlias", 'String'>;
|
|
948
|
+
readonly source: Prisma.FieldRef<"EntityAlias", 'String'>;
|
|
949
|
+
readonly confidence: Prisma.FieldRef<"EntityAlias", 'Int'>;
|
|
950
|
+
readonly createdAt: Prisma.FieldRef<"EntityAlias", 'DateTime'>;
|
|
951
|
+
}
|
|
952
|
+
/**
|
|
953
|
+
* EntityAlias findUnique
|
|
954
|
+
*/
|
|
955
|
+
export type EntityAliasFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
956
|
+
/**
|
|
957
|
+
* Select specific fields to fetch from the EntityAlias
|
|
958
|
+
*/
|
|
959
|
+
select?: Prisma.EntityAliasSelect<ExtArgs> | null;
|
|
960
|
+
/**
|
|
961
|
+
* Omit specific fields from the EntityAlias
|
|
962
|
+
*/
|
|
963
|
+
omit?: Prisma.EntityAliasOmit<ExtArgs> | null;
|
|
964
|
+
/**
|
|
965
|
+
* Choose, which related nodes to fetch as well
|
|
966
|
+
*/
|
|
967
|
+
include?: Prisma.EntityAliasInclude<ExtArgs> | null;
|
|
968
|
+
/**
|
|
969
|
+
* Filter, which EntityAlias to fetch.
|
|
970
|
+
*/
|
|
971
|
+
where: Prisma.EntityAliasWhereUniqueInput;
|
|
972
|
+
};
|
|
973
|
+
/**
|
|
974
|
+
* EntityAlias findUniqueOrThrow
|
|
975
|
+
*/
|
|
976
|
+
export type EntityAliasFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
977
|
+
/**
|
|
978
|
+
* Select specific fields to fetch from the EntityAlias
|
|
979
|
+
*/
|
|
980
|
+
select?: Prisma.EntityAliasSelect<ExtArgs> | null;
|
|
981
|
+
/**
|
|
982
|
+
* Omit specific fields from the EntityAlias
|
|
983
|
+
*/
|
|
984
|
+
omit?: Prisma.EntityAliasOmit<ExtArgs> | null;
|
|
985
|
+
/**
|
|
986
|
+
* Choose, which related nodes to fetch as well
|
|
987
|
+
*/
|
|
988
|
+
include?: Prisma.EntityAliasInclude<ExtArgs> | null;
|
|
989
|
+
/**
|
|
990
|
+
* Filter, which EntityAlias to fetch.
|
|
991
|
+
*/
|
|
992
|
+
where: Prisma.EntityAliasWhereUniqueInput;
|
|
993
|
+
};
|
|
994
|
+
/**
|
|
995
|
+
* EntityAlias findFirst
|
|
996
|
+
*/
|
|
997
|
+
export type EntityAliasFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
998
|
+
/**
|
|
999
|
+
* Select specific fields to fetch from the EntityAlias
|
|
1000
|
+
*/
|
|
1001
|
+
select?: Prisma.EntityAliasSelect<ExtArgs> | null;
|
|
1002
|
+
/**
|
|
1003
|
+
* Omit specific fields from the EntityAlias
|
|
1004
|
+
*/
|
|
1005
|
+
omit?: Prisma.EntityAliasOmit<ExtArgs> | null;
|
|
1006
|
+
/**
|
|
1007
|
+
* Choose, which related nodes to fetch as well
|
|
1008
|
+
*/
|
|
1009
|
+
include?: Prisma.EntityAliasInclude<ExtArgs> | null;
|
|
1010
|
+
/**
|
|
1011
|
+
* Filter, which EntityAlias to fetch.
|
|
1012
|
+
*/
|
|
1013
|
+
where?: Prisma.EntityAliasWhereInput;
|
|
1014
|
+
/**
|
|
1015
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1016
|
+
*
|
|
1017
|
+
* Determine the order of EntityAliases to fetch.
|
|
1018
|
+
*/
|
|
1019
|
+
orderBy?: Prisma.EntityAliasOrderByWithRelationInput | Prisma.EntityAliasOrderByWithRelationInput[];
|
|
1020
|
+
/**
|
|
1021
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1022
|
+
*
|
|
1023
|
+
* Sets the position for searching for EntityAliases.
|
|
1024
|
+
*/
|
|
1025
|
+
cursor?: Prisma.EntityAliasWhereUniqueInput;
|
|
1026
|
+
/**
|
|
1027
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1028
|
+
*
|
|
1029
|
+
* Take `±n` EntityAliases from the position of the cursor.
|
|
1030
|
+
*/
|
|
1031
|
+
take?: number;
|
|
1032
|
+
/**
|
|
1033
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1034
|
+
*
|
|
1035
|
+
* Skip the first `n` EntityAliases.
|
|
1036
|
+
*/
|
|
1037
|
+
skip?: number;
|
|
1038
|
+
/**
|
|
1039
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1040
|
+
*
|
|
1041
|
+
* Filter by unique combinations of EntityAliases.
|
|
1042
|
+
*/
|
|
1043
|
+
distinct?: Prisma.EntityAliasScalarFieldEnum | Prisma.EntityAliasScalarFieldEnum[];
|
|
1044
|
+
};
|
|
1045
|
+
/**
|
|
1046
|
+
* EntityAlias findFirstOrThrow
|
|
1047
|
+
*/
|
|
1048
|
+
export type EntityAliasFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1049
|
+
/**
|
|
1050
|
+
* Select specific fields to fetch from the EntityAlias
|
|
1051
|
+
*/
|
|
1052
|
+
select?: Prisma.EntityAliasSelect<ExtArgs> | null;
|
|
1053
|
+
/**
|
|
1054
|
+
* Omit specific fields from the EntityAlias
|
|
1055
|
+
*/
|
|
1056
|
+
omit?: Prisma.EntityAliasOmit<ExtArgs> | null;
|
|
1057
|
+
/**
|
|
1058
|
+
* Choose, which related nodes to fetch as well
|
|
1059
|
+
*/
|
|
1060
|
+
include?: Prisma.EntityAliasInclude<ExtArgs> | null;
|
|
1061
|
+
/**
|
|
1062
|
+
* Filter, which EntityAlias to fetch.
|
|
1063
|
+
*/
|
|
1064
|
+
where?: Prisma.EntityAliasWhereInput;
|
|
1065
|
+
/**
|
|
1066
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1067
|
+
*
|
|
1068
|
+
* Determine the order of EntityAliases to fetch.
|
|
1069
|
+
*/
|
|
1070
|
+
orderBy?: Prisma.EntityAliasOrderByWithRelationInput | Prisma.EntityAliasOrderByWithRelationInput[];
|
|
1071
|
+
/**
|
|
1072
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1073
|
+
*
|
|
1074
|
+
* Sets the position for searching for EntityAliases.
|
|
1075
|
+
*/
|
|
1076
|
+
cursor?: Prisma.EntityAliasWhereUniqueInput;
|
|
1077
|
+
/**
|
|
1078
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1079
|
+
*
|
|
1080
|
+
* Take `±n` EntityAliases from the position of the cursor.
|
|
1081
|
+
*/
|
|
1082
|
+
take?: number;
|
|
1083
|
+
/**
|
|
1084
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1085
|
+
*
|
|
1086
|
+
* Skip the first `n` EntityAliases.
|
|
1087
|
+
*/
|
|
1088
|
+
skip?: number;
|
|
1089
|
+
/**
|
|
1090
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1091
|
+
*
|
|
1092
|
+
* Filter by unique combinations of EntityAliases.
|
|
1093
|
+
*/
|
|
1094
|
+
distinct?: Prisma.EntityAliasScalarFieldEnum | Prisma.EntityAliasScalarFieldEnum[];
|
|
1095
|
+
};
|
|
1096
|
+
/**
|
|
1097
|
+
* EntityAlias findMany
|
|
1098
|
+
*/
|
|
1099
|
+
export type EntityAliasFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1100
|
+
/**
|
|
1101
|
+
* Select specific fields to fetch from the EntityAlias
|
|
1102
|
+
*/
|
|
1103
|
+
select?: Prisma.EntityAliasSelect<ExtArgs> | null;
|
|
1104
|
+
/**
|
|
1105
|
+
* Omit specific fields from the EntityAlias
|
|
1106
|
+
*/
|
|
1107
|
+
omit?: Prisma.EntityAliasOmit<ExtArgs> | null;
|
|
1108
|
+
/**
|
|
1109
|
+
* Choose, which related nodes to fetch as well
|
|
1110
|
+
*/
|
|
1111
|
+
include?: Prisma.EntityAliasInclude<ExtArgs> | null;
|
|
1112
|
+
/**
|
|
1113
|
+
* Filter, which EntityAliases to fetch.
|
|
1114
|
+
*/
|
|
1115
|
+
where?: Prisma.EntityAliasWhereInput;
|
|
1116
|
+
/**
|
|
1117
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1118
|
+
*
|
|
1119
|
+
* Determine the order of EntityAliases to fetch.
|
|
1120
|
+
*/
|
|
1121
|
+
orderBy?: Prisma.EntityAliasOrderByWithRelationInput | Prisma.EntityAliasOrderByWithRelationInput[];
|
|
1122
|
+
/**
|
|
1123
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1124
|
+
*
|
|
1125
|
+
* Sets the position for listing EntityAliases.
|
|
1126
|
+
*/
|
|
1127
|
+
cursor?: Prisma.EntityAliasWhereUniqueInput;
|
|
1128
|
+
/**
|
|
1129
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1130
|
+
*
|
|
1131
|
+
* Take `±n` EntityAliases from the position of the cursor.
|
|
1132
|
+
*/
|
|
1133
|
+
take?: number;
|
|
1134
|
+
/**
|
|
1135
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1136
|
+
*
|
|
1137
|
+
* Skip the first `n` EntityAliases.
|
|
1138
|
+
*/
|
|
1139
|
+
skip?: number;
|
|
1140
|
+
distinct?: Prisma.EntityAliasScalarFieldEnum | Prisma.EntityAliasScalarFieldEnum[];
|
|
1141
|
+
};
|
|
1142
|
+
/**
|
|
1143
|
+
* EntityAlias create
|
|
1144
|
+
*/
|
|
1145
|
+
export type EntityAliasCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1146
|
+
/**
|
|
1147
|
+
* Select specific fields to fetch from the EntityAlias
|
|
1148
|
+
*/
|
|
1149
|
+
select?: Prisma.EntityAliasSelect<ExtArgs> | null;
|
|
1150
|
+
/**
|
|
1151
|
+
* Omit specific fields from the EntityAlias
|
|
1152
|
+
*/
|
|
1153
|
+
omit?: Prisma.EntityAliasOmit<ExtArgs> | null;
|
|
1154
|
+
/**
|
|
1155
|
+
* Choose, which related nodes to fetch as well
|
|
1156
|
+
*/
|
|
1157
|
+
include?: Prisma.EntityAliasInclude<ExtArgs> | null;
|
|
1158
|
+
/**
|
|
1159
|
+
* The data needed to create a EntityAlias.
|
|
1160
|
+
*/
|
|
1161
|
+
data: Prisma.XOR<Prisma.EntityAliasCreateInput, Prisma.EntityAliasUncheckedCreateInput>;
|
|
1162
|
+
};
|
|
1163
|
+
/**
|
|
1164
|
+
* EntityAlias createMany
|
|
1165
|
+
*/
|
|
1166
|
+
export type EntityAliasCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1167
|
+
/**
|
|
1168
|
+
* The data used to create many EntityAliases.
|
|
1169
|
+
*/
|
|
1170
|
+
data: Prisma.EntityAliasCreateManyInput | Prisma.EntityAliasCreateManyInput[];
|
|
1171
|
+
skipDuplicates?: boolean;
|
|
1172
|
+
};
|
|
1173
|
+
/**
|
|
1174
|
+
* EntityAlias createManyAndReturn
|
|
1175
|
+
*/
|
|
1176
|
+
export type EntityAliasCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1177
|
+
/**
|
|
1178
|
+
* Select specific fields to fetch from the EntityAlias
|
|
1179
|
+
*/
|
|
1180
|
+
select?: Prisma.EntityAliasSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1181
|
+
/**
|
|
1182
|
+
* Omit specific fields from the EntityAlias
|
|
1183
|
+
*/
|
|
1184
|
+
omit?: Prisma.EntityAliasOmit<ExtArgs> | null;
|
|
1185
|
+
/**
|
|
1186
|
+
* The data used to create many EntityAliases.
|
|
1187
|
+
*/
|
|
1188
|
+
data: Prisma.EntityAliasCreateManyInput | Prisma.EntityAliasCreateManyInput[];
|
|
1189
|
+
skipDuplicates?: boolean;
|
|
1190
|
+
/**
|
|
1191
|
+
* Choose, which related nodes to fetch as well
|
|
1192
|
+
*/
|
|
1193
|
+
include?: Prisma.EntityAliasIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1194
|
+
};
|
|
1195
|
+
/**
|
|
1196
|
+
* EntityAlias update
|
|
1197
|
+
*/
|
|
1198
|
+
export type EntityAliasUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1199
|
+
/**
|
|
1200
|
+
* Select specific fields to fetch from the EntityAlias
|
|
1201
|
+
*/
|
|
1202
|
+
select?: Prisma.EntityAliasSelect<ExtArgs> | null;
|
|
1203
|
+
/**
|
|
1204
|
+
* Omit specific fields from the EntityAlias
|
|
1205
|
+
*/
|
|
1206
|
+
omit?: Prisma.EntityAliasOmit<ExtArgs> | null;
|
|
1207
|
+
/**
|
|
1208
|
+
* Choose, which related nodes to fetch as well
|
|
1209
|
+
*/
|
|
1210
|
+
include?: Prisma.EntityAliasInclude<ExtArgs> | null;
|
|
1211
|
+
/**
|
|
1212
|
+
* The data needed to update a EntityAlias.
|
|
1213
|
+
*/
|
|
1214
|
+
data: Prisma.XOR<Prisma.EntityAliasUpdateInput, Prisma.EntityAliasUncheckedUpdateInput>;
|
|
1215
|
+
/**
|
|
1216
|
+
* Choose, which EntityAlias to update.
|
|
1217
|
+
*/
|
|
1218
|
+
where: Prisma.EntityAliasWhereUniqueInput;
|
|
1219
|
+
};
|
|
1220
|
+
/**
|
|
1221
|
+
* EntityAlias updateMany
|
|
1222
|
+
*/
|
|
1223
|
+
export type EntityAliasUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1224
|
+
/**
|
|
1225
|
+
* The data used to update EntityAliases.
|
|
1226
|
+
*/
|
|
1227
|
+
data: Prisma.XOR<Prisma.EntityAliasUpdateManyMutationInput, Prisma.EntityAliasUncheckedUpdateManyInput>;
|
|
1228
|
+
/**
|
|
1229
|
+
* Filter which EntityAliases to update
|
|
1230
|
+
*/
|
|
1231
|
+
where?: Prisma.EntityAliasWhereInput;
|
|
1232
|
+
/**
|
|
1233
|
+
* Limit how many EntityAliases to update.
|
|
1234
|
+
*/
|
|
1235
|
+
limit?: number;
|
|
1236
|
+
};
|
|
1237
|
+
/**
|
|
1238
|
+
* EntityAlias updateManyAndReturn
|
|
1239
|
+
*/
|
|
1240
|
+
export type EntityAliasUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1241
|
+
/**
|
|
1242
|
+
* Select specific fields to fetch from the EntityAlias
|
|
1243
|
+
*/
|
|
1244
|
+
select?: Prisma.EntityAliasSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1245
|
+
/**
|
|
1246
|
+
* Omit specific fields from the EntityAlias
|
|
1247
|
+
*/
|
|
1248
|
+
omit?: Prisma.EntityAliasOmit<ExtArgs> | null;
|
|
1249
|
+
/**
|
|
1250
|
+
* The data used to update EntityAliases.
|
|
1251
|
+
*/
|
|
1252
|
+
data: Prisma.XOR<Prisma.EntityAliasUpdateManyMutationInput, Prisma.EntityAliasUncheckedUpdateManyInput>;
|
|
1253
|
+
/**
|
|
1254
|
+
* Filter which EntityAliases to update
|
|
1255
|
+
*/
|
|
1256
|
+
where?: Prisma.EntityAliasWhereInput;
|
|
1257
|
+
/**
|
|
1258
|
+
* Limit how many EntityAliases to update.
|
|
1259
|
+
*/
|
|
1260
|
+
limit?: number;
|
|
1261
|
+
/**
|
|
1262
|
+
* Choose, which related nodes to fetch as well
|
|
1263
|
+
*/
|
|
1264
|
+
include?: Prisma.EntityAliasIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1265
|
+
};
|
|
1266
|
+
/**
|
|
1267
|
+
* EntityAlias upsert
|
|
1268
|
+
*/
|
|
1269
|
+
export type EntityAliasUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1270
|
+
/**
|
|
1271
|
+
* Select specific fields to fetch from the EntityAlias
|
|
1272
|
+
*/
|
|
1273
|
+
select?: Prisma.EntityAliasSelect<ExtArgs> | null;
|
|
1274
|
+
/**
|
|
1275
|
+
* Omit specific fields from the EntityAlias
|
|
1276
|
+
*/
|
|
1277
|
+
omit?: Prisma.EntityAliasOmit<ExtArgs> | null;
|
|
1278
|
+
/**
|
|
1279
|
+
* Choose, which related nodes to fetch as well
|
|
1280
|
+
*/
|
|
1281
|
+
include?: Prisma.EntityAliasInclude<ExtArgs> | null;
|
|
1282
|
+
/**
|
|
1283
|
+
* The filter to search for the EntityAlias to update in case it exists.
|
|
1284
|
+
*/
|
|
1285
|
+
where: Prisma.EntityAliasWhereUniqueInput;
|
|
1286
|
+
/**
|
|
1287
|
+
* In case the EntityAlias found by the `where` argument doesn't exist, create a new EntityAlias with this data.
|
|
1288
|
+
*/
|
|
1289
|
+
create: Prisma.XOR<Prisma.EntityAliasCreateInput, Prisma.EntityAliasUncheckedCreateInput>;
|
|
1290
|
+
/**
|
|
1291
|
+
* In case the EntityAlias was found with the provided `where` argument, update it with this data.
|
|
1292
|
+
*/
|
|
1293
|
+
update: Prisma.XOR<Prisma.EntityAliasUpdateInput, Prisma.EntityAliasUncheckedUpdateInput>;
|
|
1294
|
+
};
|
|
1295
|
+
/**
|
|
1296
|
+
* EntityAlias delete
|
|
1297
|
+
*/
|
|
1298
|
+
export type EntityAliasDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1299
|
+
/**
|
|
1300
|
+
* Select specific fields to fetch from the EntityAlias
|
|
1301
|
+
*/
|
|
1302
|
+
select?: Prisma.EntityAliasSelect<ExtArgs> | null;
|
|
1303
|
+
/**
|
|
1304
|
+
* Omit specific fields from the EntityAlias
|
|
1305
|
+
*/
|
|
1306
|
+
omit?: Prisma.EntityAliasOmit<ExtArgs> | null;
|
|
1307
|
+
/**
|
|
1308
|
+
* Choose, which related nodes to fetch as well
|
|
1309
|
+
*/
|
|
1310
|
+
include?: Prisma.EntityAliasInclude<ExtArgs> | null;
|
|
1311
|
+
/**
|
|
1312
|
+
* Filter which EntityAlias to delete.
|
|
1313
|
+
*/
|
|
1314
|
+
where: Prisma.EntityAliasWhereUniqueInput;
|
|
1315
|
+
};
|
|
1316
|
+
/**
|
|
1317
|
+
* EntityAlias deleteMany
|
|
1318
|
+
*/
|
|
1319
|
+
export type EntityAliasDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1320
|
+
/**
|
|
1321
|
+
* Filter which EntityAliases to delete
|
|
1322
|
+
*/
|
|
1323
|
+
where?: Prisma.EntityAliasWhereInput;
|
|
1324
|
+
/**
|
|
1325
|
+
* Limit how many EntityAliases to delete.
|
|
1326
|
+
*/
|
|
1327
|
+
limit?: number;
|
|
1328
|
+
};
|
|
1329
|
+
/**
|
|
1330
|
+
* EntityAlias without action
|
|
1331
|
+
*/
|
|
1332
|
+
export type EntityAliasDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1333
|
+
/**
|
|
1334
|
+
* Select specific fields to fetch from the EntityAlias
|
|
1335
|
+
*/
|
|
1336
|
+
select?: Prisma.EntityAliasSelect<ExtArgs> | null;
|
|
1337
|
+
/**
|
|
1338
|
+
* Omit specific fields from the EntityAlias
|
|
1339
|
+
*/
|
|
1340
|
+
omit?: Prisma.EntityAliasOmit<ExtArgs> | null;
|
|
1341
|
+
/**
|
|
1342
|
+
* Choose, which related nodes to fetch as well
|
|
1343
|
+
*/
|
|
1344
|
+
include?: Prisma.EntityAliasInclude<ExtArgs> | null;
|
|
1345
|
+
};
|
|
1346
|
+
export {};
|
|
1347
|
+
//# sourceMappingURL=EntityAlias.d.ts.map
|