@inkeep/agents-core 0.0.0-dev-20260206001412 → 0.0.0-dev-20260206015755
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/dist/auth/auth-schema.d.ts +82 -82
- package/dist/auth/auth-validation-schemas.d.ts +146 -146
- package/dist/auth/auth.d.ts +18 -18
- package/dist/auth/authz/permissions.js +1 -0
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/client-exports.d.ts +5 -5
- package/dist/data-access/manage/agents.d.ts +46 -46
- package/dist/data-access/manage/artifactComponents.d.ts +14 -14
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- package/dist/data-access/manage/dataComponents.d.ts +6 -6
- package/dist/data-access/manage/functionTools.d.ts +18 -18
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +30 -30
- package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgents.d.ts +18 -18
- package/dist/data-access/manage/tools.d.ts +33 -33
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +24 -24
- package/dist/data-access/runtime/conversations.d.ts +31 -31
- package/dist/data-access/runtime/messages.d.ts +24 -24
- package/dist/data-access/runtime/tasks.d.ts +7 -7
- package/dist/db/manage/manage-schema.d.ts +4 -4
- package/dist/db/runtime/runtime-schema.d.ts +8 -8
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +1801 -1801
- package/package.json +1 -1
|
@@ -7,49 +7,49 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
7
7
|
scopes: ProjectScopeConfig;
|
|
8
8
|
id: string;
|
|
9
9
|
}) => Promise<{
|
|
10
|
-
name: string | null;
|
|
11
|
-
tenantId: string;
|
|
12
|
-
projectId: string;
|
|
13
10
|
id: string;
|
|
11
|
+
createdAt: string;
|
|
12
|
+
updatedAt: string;
|
|
13
|
+
name: string | null;
|
|
14
|
+
expiresAt: string | null;
|
|
14
15
|
agentId: string;
|
|
16
|
+
projectId: string;
|
|
17
|
+
tenantId: string;
|
|
15
18
|
publicId: string;
|
|
16
19
|
keyHash: string;
|
|
17
20
|
keyPrefix: string;
|
|
18
21
|
lastUsedAt: string | null;
|
|
19
|
-
expiresAt: string | null;
|
|
20
|
-
createdAt: string;
|
|
21
|
-
updatedAt: string;
|
|
22
22
|
} | undefined>;
|
|
23
23
|
declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
|
|
24
|
-
name: string | null;
|
|
25
|
-
tenantId: string;
|
|
26
|
-
projectId: string;
|
|
27
24
|
id: string;
|
|
25
|
+
createdAt: string;
|
|
26
|
+
updatedAt: string;
|
|
27
|
+
name: string | null;
|
|
28
|
+
expiresAt: string | null;
|
|
28
29
|
agentId: string;
|
|
30
|
+
projectId: string;
|
|
31
|
+
tenantId: string;
|
|
29
32
|
publicId: string;
|
|
30
33
|
keyHash: string;
|
|
31
34
|
keyPrefix: string;
|
|
32
35
|
lastUsedAt: string | null;
|
|
33
|
-
expiresAt: string | null;
|
|
34
|
-
createdAt: string;
|
|
35
|
-
updatedAt: string;
|
|
36
36
|
} | undefined>;
|
|
37
37
|
declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
|
|
38
38
|
scopes: ProjectScopeConfig;
|
|
39
39
|
agentId?: string;
|
|
40
40
|
}) => Promise<{
|
|
41
|
-
name: string | null;
|
|
42
|
-
tenantId: string;
|
|
43
|
-
projectId: string;
|
|
44
41
|
id: string;
|
|
42
|
+
createdAt: string;
|
|
43
|
+
updatedAt: string;
|
|
44
|
+
name: string | null;
|
|
45
|
+
expiresAt: string | null;
|
|
45
46
|
agentId: string;
|
|
47
|
+
projectId: string;
|
|
48
|
+
tenantId: string;
|
|
46
49
|
publicId: string;
|
|
47
50
|
keyHash: string;
|
|
48
51
|
keyPrefix: string;
|
|
49
52
|
lastUsedAt: string | null;
|
|
50
|
-
expiresAt: string | null;
|
|
51
|
-
createdAt: string;
|
|
52
|
-
updatedAt: string;
|
|
53
53
|
}[]>;
|
|
54
54
|
declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
55
55
|
scopes: ProjectScopeConfig;
|
|
@@ -65,18 +65,18 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
65
65
|
};
|
|
66
66
|
}>;
|
|
67
67
|
declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
|
|
68
|
-
name: string | null;
|
|
69
|
-
tenantId: string;
|
|
70
|
-
projectId: string;
|
|
71
68
|
id: string;
|
|
69
|
+
createdAt: string;
|
|
70
|
+
updatedAt: string;
|
|
71
|
+
name: string | null;
|
|
72
|
+
expiresAt: string | null;
|
|
72
73
|
agentId: string;
|
|
74
|
+
projectId: string;
|
|
75
|
+
tenantId: string;
|
|
73
76
|
publicId: string;
|
|
74
77
|
keyHash: string;
|
|
75
78
|
keyPrefix: string;
|
|
76
79
|
lastUsedAt: string | null;
|
|
77
|
-
expiresAt: string | null;
|
|
78
|
-
createdAt: string;
|
|
79
|
-
updatedAt: string;
|
|
80
80
|
}>;
|
|
81
81
|
declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
|
|
82
82
|
scopes: ProjectScopeConfig;
|
|
@@ -15,20 +15,20 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
15
15
|
total: number;
|
|
16
16
|
}>;
|
|
17
17
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
18
|
-
|
|
19
|
-
tenantId: string;
|
|
20
|
-
projectId: string;
|
|
18
|
+
metadata: ConversationMetadata | null;
|
|
21
19
|
id: string;
|
|
22
|
-
|
|
20
|
+
userId: string | null;
|
|
23
21
|
createdAt: string;
|
|
24
22
|
updatedAt: string;
|
|
25
|
-
userId: string | null;
|
|
26
|
-
metadata: ConversationMetadata | null;
|
|
27
23
|
ref: {
|
|
28
|
-
type: "
|
|
24
|
+
type: "tag" | "commit" | "branch";
|
|
29
25
|
name: string;
|
|
30
26
|
hash: string;
|
|
31
27
|
} | null;
|
|
28
|
+
agentId: string | null;
|
|
29
|
+
projectId: string;
|
|
30
|
+
tenantId: string;
|
|
31
|
+
title: string | null;
|
|
32
32
|
activeSubAgentId: string;
|
|
33
33
|
lastContextResolution: string | null;
|
|
34
34
|
}>;
|
|
@@ -43,7 +43,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
43
43
|
agentId: string | null;
|
|
44
44
|
activeSubAgentId: string;
|
|
45
45
|
ref: {
|
|
46
|
-
type: "
|
|
46
|
+
type: "tag" | "commit" | "branch";
|
|
47
47
|
name: string;
|
|
48
48
|
hash: string;
|
|
49
49
|
} | null;
|
|
@@ -69,7 +69,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
|
|
|
69
69
|
agentId: string | null;
|
|
70
70
|
activeSubAgentId: string;
|
|
71
71
|
ref: {
|
|
72
|
-
type: "
|
|
72
|
+
type: "tag" | "commit" | "branch";
|
|
73
73
|
name: string;
|
|
74
74
|
hash: string;
|
|
75
75
|
} | null;
|
|
@@ -84,20 +84,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
84
84
|
scopes: ProjectScopeConfig;
|
|
85
85
|
conversationId: string;
|
|
86
86
|
}) => Promise<{
|
|
87
|
-
|
|
88
|
-
tenantId: string;
|
|
89
|
-
projectId: string;
|
|
87
|
+
metadata: ConversationMetadata | null;
|
|
90
88
|
id: string;
|
|
91
|
-
|
|
89
|
+
userId: string | null;
|
|
92
90
|
createdAt: string;
|
|
93
91
|
updatedAt: string;
|
|
94
|
-
userId: string | null;
|
|
95
|
-
metadata: ConversationMetadata | null;
|
|
96
92
|
ref: {
|
|
97
|
-
type: "
|
|
93
|
+
type: "tag" | "commit" | "branch";
|
|
98
94
|
name: string;
|
|
99
95
|
hash: string;
|
|
100
96
|
} | null;
|
|
97
|
+
agentId: string | null;
|
|
98
|
+
projectId: string;
|
|
99
|
+
tenantId: string;
|
|
100
|
+
title: string | null;
|
|
101
101
|
activeSubAgentId: string;
|
|
102
102
|
lastContextResolution: string | null;
|
|
103
103
|
} | undefined>;
|
|
@@ -107,7 +107,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
107
107
|
tenantId: string;
|
|
108
108
|
id: string;
|
|
109
109
|
ref: {
|
|
110
|
-
type: "
|
|
110
|
+
type: "tag" | "commit" | "branch";
|
|
111
111
|
name: string;
|
|
112
112
|
hash: string;
|
|
113
113
|
};
|
|
@@ -120,20 +120,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
120
120
|
metadata?: ConversationMetadata | null | undefined;
|
|
121
121
|
contextConfigId?: string | undefined;
|
|
122
122
|
} | {
|
|
123
|
-
|
|
124
|
-
tenantId: string;
|
|
125
|
-
projectId: string;
|
|
123
|
+
metadata: ConversationMetadata | null;
|
|
126
124
|
id: string;
|
|
127
|
-
|
|
125
|
+
userId: string | null;
|
|
128
126
|
createdAt: string;
|
|
129
127
|
updatedAt: string;
|
|
130
|
-
userId: string | null;
|
|
131
|
-
metadata: ConversationMetadata | null;
|
|
132
128
|
ref: {
|
|
133
|
-
type: "
|
|
129
|
+
type: "tag" | "commit" | "branch";
|
|
134
130
|
name: string;
|
|
135
131
|
hash: string;
|
|
136
132
|
} | null;
|
|
133
|
+
agentId: string | null;
|
|
134
|
+
projectId: string;
|
|
135
|
+
tenantId: string;
|
|
136
|
+
title: string | null;
|
|
137
137
|
activeSubAgentId: string;
|
|
138
138
|
lastContextResolution: string | null;
|
|
139
139
|
}>;
|
|
@@ -152,20 +152,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
152
152
|
scopes: ProjectScopeConfig;
|
|
153
153
|
conversationId: string;
|
|
154
154
|
}) => Promise<{
|
|
155
|
-
|
|
156
|
-
tenantId: string;
|
|
157
|
-
projectId: string;
|
|
155
|
+
metadata: ConversationMetadata | null;
|
|
158
156
|
id: string;
|
|
159
|
-
|
|
157
|
+
userId: string | null;
|
|
160
158
|
createdAt: string;
|
|
161
159
|
updatedAt: string;
|
|
162
|
-
userId: string | null;
|
|
163
|
-
metadata: ConversationMetadata | null;
|
|
164
160
|
ref: {
|
|
165
|
-
type: "
|
|
161
|
+
type: "tag" | "commit" | "branch";
|
|
166
162
|
name: string;
|
|
167
163
|
hash: string;
|
|
168
164
|
} | null;
|
|
165
|
+
agentId: string | null;
|
|
166
|
+
projectId: string;
|
|
167
|
+
tenantId: string;
|
|
168
|
+
title: string | null;
|
|
169
169
|
activeSubAgentId: string;
|
|
170
170
|
lastContextResolution: string | null;
|
|
171
171
|
} | undefined>;
|
|
@@ -9,26 +9,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
9
9
|
scopes: ProjectScopeConfig;
|
|
10
10
|
messageId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
|
|
13
|
-
tenantId: string;
|
|
14
|
-
projectId: string;
|
|
12
|
+
metadata: MessageMetadata | null;
|
|
15
13
|
id: string;
|
|
14
|
+
role: string;
|
|
16
15
|
createdAt: string;
|
|
17
16
|
updatedAt: string;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
projectId: string;
|
|
18
|
+
tenantId: string;
|
|
19
|
+
content: MessageContent;
|
|
21
20
|
fromSubAgentId: string | null;
|
|
22
21
|
toSubAgentId: string | null;
|
|
23
22
|
fromExternalAgentId: string | null;
|
|
24
23
|
toExternalAgentId: string | null;
|
|
24
|
+
taskId: string | null;
|
|
25
|
+
a2aTaskId: string | null;
|
|
26
|
+
conversationId: string;
|
|
25
27
|
fromTeamAgentId: string | null;
|
|
26
28
|
toTeamAgentId: string | null;
|
|
27
29
|
visibility: string;
|
|
28
30
|
messageType: string;
|
|
29
|
-
taskId: string | null;
|
|
30
31
|
parentMessageId: string | null;
|
|
31
|
-
a2aTaskId: string | null;
|
|
32
32
|
a2aSessionId: string | null;
|
|
33
33
|
} | undefined>;
|
|
34
34
|
declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -140,26 +140,26 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
140
140
|
id: string;
|
|
141
141
|
}[]>;
|
|
142
142
|
declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
|
|
143
|
-
|
|
144
|
-
tenantId: string;
|
|
145
|
-
projectId: string;
|
|
143
|
+
metadata: MessageMetadata | null;
|
|
146
144
|
id: string;
|
|
145
|
+
role: string;
|
|
147
146
|
createdAt: string;
|
|
148
147
|
updatedAt: string;
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
148
|
+
projectId: string;
|
|
149
|
+
tenantId: string;
|
|
150
|
+
content: MessageContent;
|
|
152
151
|
fromSubAgentId: string | null;
|
|
153
152
|
toSubAgentId: string | null;
|
|
154
153
|
fromExternalAgentId: string | null;
|
|
155
154
|
toExternalAgentId: string | null;
|
|
155
|
+
taskId: string | null;
|
|
156
|
+
a2aTaskId: string | null;
|
|
157
|
+
conversationId: string;
|
|
156
158
|
fromTeamAgentId: string | null;
|
|
157
159
|
toTeamAgentId: string | null;
|
|
158
160
|
visibility: string;
|
|
159
161
|
messageType: string;
|
|
160
|
-
taskId: string | null;
|
|
161
162
|
parentMessageId: string | null;
|
|
162
|
-
a2aTaskId: string | null;
|
|
163
163
|
a2aSessionId: string | null;
|
|
164
164
|
}>;
|
|
165
165
|
declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -193,26 +193,26 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
193
193
|
scopes: ProjectScopeConfig;
|
|
194
194
|
messageId: string;
|
|
195
195
|
}) => Promise<{
|
|
196
|
-
|
|
197
|
-
tenantId: string;
|
|
198
|
-
projectId: string;
|
|
196
|
+
metadata: MessageMetadata | null;
|
|
199
197
|
id: string;
|
|
198
|
+
role: string;
|
|
200
199
|
createdAt: string;
|
|
201
200
|
updatedAt: string;
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
201
|
+
projectId: string;
|
|
202
|
+
tenantId: string;
|
|
203
|
+
content: MessageContent;
|
|
205
204
|
fromSubAgentId: string | null;
|
|
206
205
|
toSubAgentId: string | null;
|
|
207
206
|
fromExternalAgentId: string | null;
|
|
208
207
|
toExternalAgentId: string | null;
|
|
208
|
+
taskId: string | null;
|
|
209
|
+
a2aTaskId: string | null;
|
|
210
|
+
conversationId: string;
|
|
209
211
|
fromTeamAgentId: string | null;
|
|
210
212
|
toTeamAgentId: string | null;
|
|
211
213
|
visibility: string;
|
|
212
214
|
messageType: string;
|
|
213
|
-
taskId: string | null;
|
|
214
215
|
parentMessageId: string | null;
|
|
215
|
-
a2aTaskId: string | null;
|
|
216
216
|
a2aSessionId: string | null;
|
|
217
217
|
}>;
|
|
218
218
|
declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -6,21 +6,21 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
|
|
|
6
6
|
|
|
7
7
|
//#region src/data-access/runtime/tasks.d.ts
|
|
8
8
|
declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
|
|
9
|
-
|
|
10
|
-
projectId: string;
|
|
9
|
+
metadata: TaskMetadataConfig | null;
|
|
11
10
|
id: string;
|
|
12
|
-
agentId: string;
|
|
13
11
|
createdAt: string;
|
|
14
12
|
updatedAt: string;
|
|
15
|
-
metadata: TaskMetadataConfig | null;
|
|
16
13
|
status: string;
|
|
17
|
-
contextId: string;
|
|
18
14
|
ref: {
|
|
19
|
-
type: "
|
|
15
|
+
type: "tag" | "commit" | "branch";
|
|
20
16
|
name: string;
|
|
21
17
|
hash: string;
|
|
22
18
|
} | null;
|
|
19
|
+
agentId: string;
|
|
20
|
+
projectId: string;
|
|
21
|
+
tenantId: string;
|
|
23
22
|
subAgentId: string;
|
|
23
|
+
contextId: string;
|
|
24
24
|
}>;
|
|
25
25
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
26
26
|
id: string;
|
|
@@ -36,7 +36,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
36
36
|
updatedAt: string;
|
|
37
37
|
contextId: string;
|
|
38
38
|
ref: {
|
|
39
|
-
type: "
|
|
39
|
+
type: "tag" | "commit" | "branch";
|
|
40
40
|
name: string;
|
|
41
41
|
hash: string;
|
|
42
42
|
} | null;
|
|
@@ -813,13 +813,13 @@ declare const triggers: drizzle_orm_pg_core1370.PgTableWithColumns<{
|
|
|
813
813
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
814
814
|
encoding: "hex" | "base64";
|
|
815
815
|
signature: {
|
|
816
|
-
source: "
|
|
816
|
+
source: "body" | "query" | "header";
|
|
817
817
|
key: string;
|
|
818
818
|
prefix?: string | undefined;
|
|
819
819
|
regex?: string | undefined;
|
|
820
820
|
};
|
|
821
821
|
signedComponents: {
|
|
822
|
-
source: "
|
|
822
|
+
source: "body" | "header" | "literal";
|
|
823
823
|
required: boolean;
|
|
824
824
|
key?: string | undefined;
|
|
825
825
|
value?: string | undefined;
|
|
@@ -850,13 +850,13 @@ declare const triggers: drizzle_orm_pg_core1370.PgTableWithColumns<{
|
|
|
850
850
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
851
851
|
encoding: "hex" | "base64";
|
|
852
852
|
signature: {
|
|
853
|
-
source: "
|
|
853
|
+
source: "body" | "query" | "header";
|
|
854
854
|
key: string;
|
|
855
855
|
prefix?: string | undefined;
|
|
856
856
|
regex?: string | undefined;
|
|
857
857
|
};
|
|
858
858
|
signedComponents: {
|
|
859
|
-
source: "
|
|
859
|
+
source: "body" | "header" | "literal";
|
|
860
860
|
required: boolean;
|
|
861
861
|
key?: string | undefined;
|
|
862
862
|
value?: string | undefined;
|
|
@@ -216,7 +216,7 @@ declare const conversations: drizzle_orm_pg_core1671.PgTableWithColumns<{
|
|
|
216
216
|
dataType: "json";
|
|
217
217
|
columnType: "PgJsonb";
|
|
218
218
|
data: {
|
|
219
|
-
type: "
|
|
219
|
+
type: "tag" | "commit" | "branch";
|
|
220
220
|
name: string;
|
|
221
221
|
hash: string;
|
|
222
222
|
};
|
|
@@ -232,7 +232,7 @@ declare const conversations: drizzle_orm_pg_core1671.PgTableWithColumns<{
|
|
|
232
232
|
generated: undefined;
|
|
233
233
|
}, {}, {
|
|
234
234
|
$type: {
|
|
235
|
-
type: "
|
|
235
|
+
type: "tag" | "commit" | "branch";
|
|
236
236
|
name: string;
|
|
237
237
|
hash: string;
|
|
238
238
|
};
|
|
@@ -413,7 +413,7 @@ declare const tasks: drizzle_orm_pg_core1671.PgTableWithColumns<{
|
|
|
413
413
|
dataType: "json";
|
|
414
414
|
columnType: "PgJsonb";
|
|
415
415
|
data: {
|
|
416
|
-
type: "
|
|
416
|
+
type: "tag" | "commit" | "branch";
|
|
417
417
|
name: string;
|
|
418
418
|
hash: string;
|
|
419
419
|
};
|
|
@@ -429,7 +429,7 @@ declare const tasks: drizzle_orm_pg_core1671.PgTableWithColumns<{
|
|
|
429
429
|
generated: undefined;
|
|
430
430
|
}, {}, {
|
|
431
431
|
$type: {
|
|
432
|
-
type: "
|
|
432
|
+
type: "tag" | "commit" | "branch";
|
|
433
433
|
name: string;
|
|
434
434
|
hash: string;
|
|
435
435
|
};
|
|
@@ -2011,7 +2011,7 @@ declare const contextCache: drizzle_orm_pg_core1671.PgTableWithColumns<{
|
|
|
2011
2011
|
dataType: "json";
|
|
2012
2012
|
columnType: "PgJsonb";
|
|
2013
2013
|
data: {
|
|
2014
|
-
type: "
|
|
2014
|
+
type: "tag" | "commit" | "branch";
|
|
2015
2015
|
name: string;
|
|
2016
2016
|
hash: string;
|
|
2017
2017
|
};
|
|
@@ -2027,7 +2027,7 @@ declare const contextCache: drizzle_orm_pg_core1671.PgTableWithColumns<{
|
|
|
2027
2027
|
generated: undefined;
|
|
2028
2028
|
}, {}, {
|
|
2029
2029
|
$type: {
|
|
2030
|
-
type: "
|
|
2030
|
+
type: "tag" | "commit" | "branch";
|
|
2031
2031
|
name: string;
|
|
2032
2032
|
hash: string;
|
|
2033
2033
|
};
|
|
@@ -2931,7 +2931,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1671.PgTableWithCol
|
|
|
2931
2931
|
tableName: "work_app_github_installations";
|
|
2932
2932
|
dataType: "string";
|
|
2933
2933
|
columnType: "PgVarchar";
|
|
2934
|
-
data: "
|
|
2934
|
+
data: "User" | "Organization";
|
|
2935
2935
|
driverParam: string;
|
|
2936
2936
|
notNull: true;
|
|
2937
2937
|
hasDefault: false;
|
|
@@ -2944,7 +2944,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1671.PgTableWithCol
|
|
|
2944
2944
|
generated: undefined;
|
|
2945
2945
|
}, {}, {
|
|
2946
2946
|
length: 20;
|
|
2947
|
-
$type: "
|
|
2947
|
+
$type: "User" | "Organization";
|
|
2948
2948
|
}>;
|
|
2949
2949
|
status: drizzle_orm_pg_core1671.PgColumn<{
|
|
2950
2950
|
name: "status";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as drizzle_zod15 from "drizzle-zod";
|
|
3
3
|
import { AnySQLiteTable } from "drizzle-orm/sqlite-core";
|
|
4
4
|
|
|
5
5
|
//#region src/validation/drizzle-schema-helpers.d.ts
|
|
6
|
-
declare function createSelectSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>):
|
|
7
|
-
declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>):
|
|
6
|
+
declare function createSelectSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod15.BuildSchema<"select", T["_"]["columns"], drizzle_zod15.BuildRefine<T["_"]["columns"], undefined>, undefined>;
|
|
7
|
+
declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod15.BuildSchema<"insert", T["_"]["columns"], drizzle_zod15.BuildRefine<Pick<T["_"]["columns"], keyof T["$inferInsert"]>, undefined>, undefined>;
|
|
8
8
|
declare const createSelectSchema: typeof createSelectSchemaWithModifiers;
|
|
9
9
|
declare const createInsertSchema: typeof createInsertSchemaWithModifiers;
|
|
10
10
|
/**
|