@devpad/api 2.2.11 → 2.2.13
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/chunk-5L3AUVMM.js +261 -0
- package/dist/{chunk-UIFZ5MOM.js → chunk-DIX4XVUQ.js} +2 -6
- package/dist/index.d.ts +97 -54
- package/dist/index.js +339 -279
- package/dist/schema/blog.d.ts +1 -1
- package/dist/schema/blog.js +44 -231
- package/dist/schema/index.d.ts +1 -1
- package/dist/schema/index.js +1 -1
- package/dist/schema/media.d.ts +8 -8
- package/dist/{types.d-BvfRohlZ.d.ts → types.d-DUtDEHYM.d.ts} +29 -29
- package/package.json +2 -2
- package/dist/{types.d-B3vp62jJ.d.ts → types.d-BhWQru2j.d.ts} +5 -5
- package/dist/{types.d-BcKx3ryl.d.ts → types.d-ELBwaLBA.d.ts} +218 -218
package/dist/schema/blog.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AccessKey, a as AccessKeyCreate, b as AccessKeyCreateSchema, c as AccessKeyInsert, d as AccessKeyInsertSchema, e as AccessKeyRow, f as AccessKeyRowSchema, g as AccessKeySchema, h as AccessKeyUpdate, i as AccessKeyUpdateSchema, j as ApiError, C as Category, k as CategoryCreate, l as CategoryCreateSchema, m as CategoryInsert, n as CategoryInsertSchema, o as CategorySchema, F as FetchLink, p as FetchLinkInsert, q as FetchLinkInsertSchema, r as FetchLinkSchema, I as Integration, s as IntegrationInsert, t as IntegrationInsertSchema, u as IntegrationSchema, v as IntegrationUpsert, w as IntegrationUpsertSchema, P as PaginatedResponse, x as Post, y as PostContent, z as PostContentSchema, B as PostCorpusError, D as PostCreate, E as PostCreateSchema, G as PostListParams, H as PostListParamsSchema, J as PostRow, K as PostRowInsert, L as PostRowInsertSchema, M as PostRowSchema, N as PostSchema, O as PostStatus, Q as PostUpdate, R as PostUpdateSchema, S as PostsCorpus, T as PostsResponse, U as PostsResponseSchema, V as Tag, W as TagInsert, X as TagInsertSchema, Y as TagSchema, Z as VersionInfo, _ as VersionInfoSchema, $ as corpusPath, a0 as isDraft, a1 as isPublished, a2 as isScheduled, a3 as mapCorpusError, a4 as parsePostContent, a5 as postStatus, a6 as postStoreId, a7 as postsStoreDefinition, a8 as serializePostContent } from '../types.d-
|
|
1
|
+
export { A as AccessKey, a as AccessKeyCreate, b as AccessKeyCreateSchema, c as AccessKeyInsert, d as AccessKeyInsertSchema, e as AccessKeyRow, f as AccessKeyRowSchema, g as AccessKeySchema, h as AccessKeyUpdate, i as AccessKeyUpdateSchema, j as ApiError, C as Category, k as CategoryCreate, l as CategoryCreateSchema, m as CategoryInsert, n as CategoryInsertSchema, o as CategorySchema, F as FetchLink, p as FetchLinkInsert, q as FetchLinkInsertSchema, r as FetchLinkSchema, I as Integration, s as IntegrationInsert, t as IntegrationInsertSchema, u as IntegrationSchema, v as IntegrationUpsert, w as IntegrationUpsertSchema, P as PaginatedResponse, x as Post, y as PostContent, z as PostContentSchema, B as PostCorpusError, D as PostCreate, E as PostCreateSchema, G as PostListParams, H as PostListParamsSchema, J as PostRow, K as PostRowInsert, L as PostRowInsertSchema, M as PostRowSchema, N as PostSchema, O as PostStatus, Q as PostUpdate, R as PostUpdateSchema, S as PostsCorpus, T as PostsResponse, U as PostsResponseSchema, V as Tag, W as TagInsert, X as TagInsertSchema, Y as TagSchema, Z as VersionInfo, _ as VersionInfoSchema, $ as corpusPath, a0 as isDraft, a1 as isPublished, a2 as isScheduled, a3 as mapCorpusError, a4 as parsePostContent, a5 as postStatus, a6 as postStoreId, a7 as postsStoreDefinition, a8 as serializePostContent } from '../types.d-BhWQru2j.js';
|
|
2
2
|
export { Backend, Corpus, CorpusError, FetchError, ListOpts, Pipe, PutOpts, Result, Snapshot, SnapshotMeta, Store, StoreDefinition, at, create_cloudflare_backend, create_corpus, create_memory_backend, define_store, err, fetch_result, first, format_error, json_codec, last, match, ok, pipe, to_fallback, to_nullable, try_catch, try_catch_async, unwrap_or } from '@f0rbit/corpus';
|
|
3
3
|
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
4
4
|
import { BaseSQLiteDatabase } from 'drizzle-orm/sqlite-core';
|
package/dist/schema/blog.js
CHANGED
|
@@ -1,236 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
import { at, fetch_result, first, format_error, last, match, pipe, to_fallback, to_nullable, try_catch, try_catch_async, unwrap_or } from "@f0rbit/corpus";
|
|
38
|
-
|
|
39
|
-
// ../schema/dist/blog/types.js
|
|
40
|
-
import { z as z2 } from "zod";
|
|
41
|
-
import { at as at2, err, fetch_result as fetch_result2, first as first2, format_error as format_error2, last as last2, match as match2, ok, pipe as pipe2, to_fallback as to_fallback2, to_nullable as to_nullable2, try_catch as try_catch2, try_catch_async as try_catch_async2, unwrap_or as unwrap_or2 } from "@f0rbit/corpus";
|
|
42
|
-
var PostRowSchema = z2.object({
|
|
43
|
-
id: z2.number(),
|
|
44
|
-
uuid: z2.string(),
|
|
45
|
-
author_id: z2.string(),
|
|
46
|
-
slug: z2.string(),
|
|
47
|
-
corpus_version: z2.string().nullable(),
|
|
48
|
-
category: z2.string(),
|
|
49
|
-
archived: z2.boolean(),
|
|
50
|
-
publish_at: z2.coerce.date().nullable(),
|
|
51
|
-
created_at: z2.coerce.date(),
|
|
52
|
-
updated_at: z2.coerce.date()
|
|
53
|
-
});
|
|
54
|
-
var PostRowInsertSchema = z2.object({
|
|
55
|
-
id: z2.number().optional(),
|
|
56
|
-
uuid: z2.string(),
|
|
57
|
-
author_id: z2.string(),
|
|
58
|
-
slug: z2.string(),
|
|
59
|
-
corpus_version: z2.string().nullable().optional(),
|
|
60
|
-
category: z2.string().optional(),
|
|
61
|
-
archived: z2.boolean().optional(),
|
|
62
|
-
publish_at: z2.coerce.date().nullable().optional(),
|
|
63
|
-
created_at: z2.coerce.date().optional(),
|
|
64
|
-
updated_at: z2.coerce.date().optional()
|
|
65
|
-
});
|
|
66
|
-
var CategorySchema = z2.object({
|
|
67
|
-
id: z2.number(),
|
|
68
|
-
owner_id: z2.string(),
|
|
69
|
-
name: z2.string(),
|
|
70
|
-
parent: z2.string().nullable()
|
|
71
|
-
});
|
|
72
|
-
var CategoryInsertSchema = z2.object({
|
|
73
|
-
id: z2.number().optional(),
|
|
74
|
-
owner_id: z2.string(),
|
|
75
|
-
name: z2.string(),
|
|
76
|
-
parent: z2.string().nullable().optional()
|
|
77
|
-
});
|
|
78
|
-
var TagSchema = z2.object({
|
|
79
|
-
post_id: z2.number(),
|
|
80
|
-
tag: z2.string()
|
|
81
|
-
});
|
|
82
|
-
var TagInsertSchema = z2.object({
|
|
83
|
-
post_id: z2.number(),
|
|
84
|
-
tag: z2.string()
|
|
85
|
-
});
|
|
86
|
-
var AccessKeyRowSchema = z2.object({
|
|
87
|
-
id: z2.number(),
|
|
88
|
-
user_id: z2.string(),
|
|
89
|
-
key_hash: z2.string(),
|
|
90
|
-
name: z2.string(),
|
|
91
|
-
note: z2.string().nullable(),
|
|
92
|
-
enabled: z2.boolean(),
|
|
93
|
-
created_at: z2.coerce.date()
|
|
94
|
-
});
|
|
95
|
-
var AccessKeySchema = AccessKeyRowSchema.omit({ key_hash: true });
|
|
96
|
-
var AccessKeyInsertSchema = z2.object({
|
|
97
|
-
id: z2.number().optional(),
|
|
98
|
-
user_id: z2.string(),
|
|
99
|
-
key_hash: z2.string(),
|
|
100
|
-
name: z2.string(),
|
|
101
|
-
note: z2.string().nullable().optional(),
|
|
102
|
-
enabled: z2.boolean().optional(),
|
|
103
|
-
created_at: z2.coerce.date().optional()
|
|
104
|
-
});
|
|
105
|
-
var IntegrationSchema = z2.object({
|
|
106
|
-
id: z2.number(),
|
|
107
|
-
user_id: z2.string(),
|
|
108
|
-
source: z2.string(),
|
|
109
|
-
location: z2.string(),
|
|
110
|
-
data: z2.record(z2.unknown()).nullable(),
|
|
111
|
-
last_fetch: z2.coerce.date().nullable(),
|
|
112
|
-
status: z2.string().nullable(),
|
|
113
|
-
created_at: z2.coerce.date()
|
|
114
|
-
});
|
|
115
|
-
var IntegrationInsertSchema = z2.object({
|
|
116
|
-
id: z2.number().optional(),
|
|
117
|
-
user_id: z2.string(),
|
|
118
|
-
source: z2.string(),
|
|
119
|
-
location: z2.string(),
|
|
120
|
-
data: z2.record(z2.unknown()).nullable().optional(),
|
|
121
|
-
last_fetch: z2.coerce.date().nullable().optional(),
|
|
122
|
-
status: z2.string().nullable().optional(),
|
|
123
|
-
created_at: z2.coerce.date().optional()
|
|
124
|
-
});
|
|
125
|
-
var FetchLinkSchema = z2.object({
|
|
126
|
-
id: z2.number(),
|
|
127
|
-
post_id: z2.number(),
|
|
128
|
-
integration_id: z2.number(),
|
|
129
|
-
identifier: z2.string()
|
|
130
|
-
});
|
|
131
|
-
var FetchLinkInsertSchema = z2.object({
|
|
132
|
-
id: z2.number().optional(),
|
|
133
|
-
post_id: z2.number(),
|
|
134
|
-
integration_id: z2.number(),
|
|
135
|
-
identifier: z2.string()
|
|
136
|
-
});
|
|
137
|
-
var PostSchema = z2.object({
|
|
138
|
-
id: z2.number(),
|
|
139
|
-
uuid: z2.string().uuid(),
|
|
140
|
-
author_id: z2.string(),
|
|
141
|
-
slug: z2.string(),
|
|
142
|
-
title: z2.string(),
|
|
143
|
-
content: z2.string(),
|
|
144
|
-
description: z2.string().optional(),
|
|
145
|
-
format: z2.enum(["md", "adoc"]),
|
|
146
|
-
category: z2.string(),
|
|
147
|
-
tags: z2.array(z2.string()),
|
|
148
|
-
archived: z2.boolean(),
|
|
149
|
-
publish_at: z2.coerce.date().nullable(),
|
|
150
|
-
created_at: z2.coerce.date(),
|
|
151
|
-
updated_at: z2.coerce.date(),
|
|
152
|
-
project_ids: z2.array(z2.string()),
|
|
153
|
-
corpus_version: z2.string().nullable()
|
|
154
|
-
});
|
|
155
|
-
var SlugPattern = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
|
|
156
|
-
var PostCreateSchema = z2.object({
|
|
157
|
-
slug: z2.string().regex(SlugPattern, "Slug must be lowercase alphanumeric with hyphens"),
|
|
158
|
-
title: z2.string().min(1),
|
|
159
|
-
content: z2.string(),
|
|
160
|
-
description: z2.string().optional(),
|
|
161
|
-
format: z2.enum(["md", "adoc"]).default("md"),
|
|
162
|
-
category: z2.string().default("root"),
|
|
163
|
-
tags: z2.array(z2.string()).default([]),
|
|
164
|
-
publish_at: z2.coerce.date().nullable().optional(),
|
|
165
|
-
project_ids: z2.array(z2.string()).optional()
|
|
166
|
-
});
|
|
167
|
-
var PostUpdateSchema = z2.object({
|
|
168
|
-
slug: z2.string().regex(SlugPattern, "Slug must be lowercase alphanumeric with hyphens").optional(),
|
|
169
|
-
title: z2.string().min(1).optional(),
|
|
170
|
-
content: z2.string().optional(),
|
|
171
|
-
description: z2.string().optional(),
|
|
172
|
-
format: z2.enum(["md", "adoc"]).optional(),
|
|
173
|
-
category: z2.string().optional(),
|
|
174
|
-
tags: z2.array(z2.string()).optional(),
|
|
175
|
-
archived: z2.boolean().optional(),
|
|
176
|
-
publish_at: z2.coerce.date().nullable().optional(),
|
|
177
|
-
project_ids: z2.array(z2.string()).optional()
|
|
178
|
-
});
|
|
179
|
-
var PostListParamsSchema = z2.object({
|
|
180
|
-
category: z2.string().optional(),
|
|
181
|
-
tag: z2.string().optional(),
|
|
182
|
-
project: z2.string().optional(),
|
|
183
|
-
status: z2.enum(["published", "scheduled", "draft", "all"]).default("all"),
|
|
184
|
-
archived: z2.boolean().default(false),
|
|
185
|
-
limit: z2.coerce.number().min(1).max(100).default(10),
|
|
186
|
-
offset: z2.coerce.number().min(0).default(0),
|
|
187
|
-
sort: z2.enum(["created", "updated", "published"]).default("updated")
|
|
188
|
-
});
|
|
189
|
-
var PostsResponseSchema = z2.object({
|
|
190
|
-
posts: z2.array(PostSchema),
|
|
191
|
-
total_posts: z2.number(),
|
|
192
|
-
total_pages: z2.number(),
|
|
193
|
-
per_page: z2.number(),
|
|
194
|
-
current_page: z2.number()
|
|
195
|
-
});
|
|
196
|
-
var isPublished = (post) => post.publish_at !== null && post.publish_at <= /* @__PURE__ */ new Date();
|
|
197
|
-
var isScheduled = (post) => post.publish_at !== null && post.publish_at > /* @__PURE__ */ new Date();
|
|
198
|
-
var isDraft = (post) => post.publish_at === null;
|
|
199
|
-
var postStatus = (post) => {
|
|
200
|
-
if (isDraft(post))
|
|
201
|
-
return "draft";
|
|
202
|
-
if (isScheduled(post))
|
|
203
|
-
return "scheduled";
|
|
204
|
-
return "published";
|
|
205
|
-
};
|
|
206
|
-
var CategoryCreateSchema = z2.object({
|
|
207
|
-
name: z2.string().min(1),
|
|
208
|
-
parent: z2.string().default("root")
|
|
209
|
-
});
|
|
210
|
-
var AccessKeyCreateSchema = z2.object({
|
|
211
|
-
name: z2.string().min(1),
|
|
212
|
-
note: z2.string().optional()
|
|
213
|
-
});
|
|
214
|
-
var AccessKeyUpdateSchema = z2.object({
|
|
215
|
-
name: z2.string().min(1).optional(),
|
|
216
|
-
note: z2.string().optional(),
|
|
217
|
-
enabled: z2.boolean().optional()
|
|
218
|
-
});
|
|
219
|
-
var IntegrationUpsertSchema = z2.object({
|
|
220
|
-
source: z2.string().min(1),
|
|
221
|
-
location: z2.string().min(1),
|
|
222
|
-
data: z2.record(z2.unknown()).optional()
|
|
223
|
-
});
|
|
1
|
+
import {
|
|
2
|
+
AccessKeyCreateSchema,
|
|
3
|
+
AccessKeyInsertSchema,
|
|
4
|
+
AccessKeyRowSchema,
|
|
5
|
+
AccessKeySchema,
|
|
6
|
+
AccessKeyUpdateSchema,
|
|
7
|
+
CategoryCreateSchema,
|
|
8
|
+
CategoryInsertSchema,
|
|
9
|
+
CategorySchema,
|
|
10
|
+
FetchLinkInsertSchema,
|
|
11
|
+
FetchLinkSchema,
|
|
12
|
+
IntegrationInsertSchema,
|
|
13
|
+
IntegrationSchema,
|
|
14
|
+
IntegrationUpsertSchema,
|
|
15
|
+
PostContentSchema,
|
|
16
|
+
PostCreateSchema,
|
|
17
|
+
PostListParamsSchema,
|
|
18
|
+
PostRowInsertSchema,
|
|
19
|
+
PostRowSchema,
|
|
20
|
+
PostSchema,
|
|
21
|
+
PostUpdateSchema,
|
|
22
|
+
PostsResponseSchema,
|
|
23
|
+
TagInsertSchema,
|
|
24
|
+
TagSchema,
|
|
25
|
+
VersionInfoSchema,
|
|
26
|
+
corpusPath,
|
|
27
|
+
isDraft,
|
|
28
|
+
isPublished,
|
|
29
|
+
isScheduled,
|
|
30
|
+
mapCorpusError,
|
|
31
|
+
parsePostContent,
|
|
32
|
+
postStatus,
|
|
33
|
+
postStoreId,
|
|
34
|
+
postsStoreDefinition,
|
|
35
|
+
serializePostContent
|
|
36
|
+
} from "../chunk-5L3AUVMM.js";
|
|
224
37
|
|
|
225
38
|
// src/schema/blog.ts
|
|
226
39
|
import {
|
|
227
40
|
create_cloudflare_backend,
|
|
228
41
|
create_corpus,
|
|
229
42
|
create_memory_backend,
|
|
230
|
-
define_store
|
|
231
|
-
err
|
|
232
|
-
json_codec
|
|
233
|
-
ok
|
|
43
|
+
define_store,
|
|
44
|
+
err,
|
|
45
|
+
json_codec,
|
|
46
|
+
ok
|
|
234
47
|
} from "@f0rbit/corpus";
|
|
235
48
|
export {
|
|
236
49
|
AccessKeyCreateSchema,
|
|
@@ -261,14 +74,14 @@ export {
|
|
|
261
74
|
create_cloudflare_backend,
|
|
262
75
|
create_corpus,
|
|
263
76
|
create_memory_backend,
|
|
264
|
-
|
|
265
|
-
|
|
77
|
+
define_store,
|
|
78
|
+
err,
|
|
266
79
|
isDraft,
|
|
267
80
|
isPublished,
|
|
268
81
|
isScheduled,
|
|
269
|
-
|
|
82
|
+
json_codec,
|
|
270
83
|
mapCorpusError,
|
|
271
|
-
|
|
84
|
+
ok,
|
|
272
85
|
parsePostContent,
|
|
273
86
|
postStatus,
|
|
274
87
|
postStoreId,
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { A as ApiError, a as AuthExpiredError, B as BadRequestError, b as BaseError, C as ConflictError, c as CronError, D as DatabaseError, E as EncryptionError, d as ErrorContext, e as ErrorLogEntry, F as ForbiddenError, G as GithubError, N as NetworkError, f as NotFoundError, P as ParseError, g as ProtectedError, h as ProviderError, R as RateLimitedError, S as ScanError, i as ServiceError, j as StoreError, U as UnauthorizedError, V as ValidationError, k as ValidationFieldError, l as apiError, m as authExpired, n as badRequest, o as configureErrorLogging, p as conflict, q as dbError, r as encryptionError, s as errors, t as forbidden, u as githubError, v as isApiError, w as isAuthExpiredError, x as isBadRequestError, y as isConflictError, z as isDatabaseError, H as isEncryptionError, I as isForbiddenError, J as isGithubError, K as isNetworkError, L as isNotFoundError, M as isParseError, O as isProtectedError, Q as isRateLimitedError, T as isRetryableError, W as isScanError, X as isServiceError, Y as isStoreError, Z as isUnauthorizedError, _ as isValidationError, $ as isValidationFieldError, a0 as networkError, a1 as notFound, a2 as parseError, a3 as protectedEntity, a4 as rateLimited, a5 as scanError, a6 as storeError, a7 as unauthorized, a8 as validation, a9 as validationFieldError } from '../errors.d-CNYqUDaJ.js';
|
|
2
|
-
export { A as Action, a as ApiKey, C as CodebaseTask, b as ConfigSchemaType, D as DashboardResponse, c as DashboardWindowQuery, G as GetConfigResult, d as Goal, H as HistoryAction, I as IgnorePath, e as InsertPipelineStageEvent, M as Milestone, N as Nullable, P as PipelineAnalysisTemplate, f as PipelineApproval, g as PipelineGrant, h as PipelineOidcTrust, i as PipelinePackage, j as PipelineRun, k as PipelineStageEvent, l as Project, m as ProjectConfig, n as ProjectWithTasks, R as RolloutShapeZ, o as RunKindZ, S as SaveConfigRequest, p as ScanStatus, q as Session, T as TAG_COLOURS, r as Tag, s as TagColor, t as TagConfig, u as TagWithColor, v as TagWithTypedColor, w as Task, x as TaskTag, y as TaskView, z as TaskWithDetails, B as TodoUpdate, E as TrackerResult, U as UpdateAction, F as UpdateData, J as UpdateUser, K as UpsertGoal, L as UpsertMilestone, O as UpsertPipelineAnalysisTemplate, Q as UpsertPipelineApproval, V as UpsertPipelineGrant, W as UpsertPipelineOidcTrust, X as UpsertPipelinePackage, Y as UpsertPipelineRun, Z as UpsertProject, _ as UpsertTag, $ as UpsertTodo, a0 as User, a1 as WebhookEventBody, a2 as approval_decision, a3 as config_schema, a4 as dashboard_response, a5 as dashboard_window_query, a6 as forced_atomic_reason, a7 as gate_descriptor, a8 as grant_scope, a9 as insert_pipeline_stage_event, aa as pipeline_oidc_provider, ab as project_config, ac as resolved_gates, ad as resolved_rollout, ae as rollout_shape, af as rollout_stage, ag as run_kind, ah as run_status, ai as save_config_request, aj as save_tags_request, ak as stage_event_kind, al as update_action, am as update_user, an as upsert_goal, ao as upsert_milestone, ap as upsert_pipeline_analysis_template, aq as upsert_pipeline_approval, ar as upsert_pipeline_grant, as as upsert_pipeline_oidc_trust, at as upsert_pipeline_package, au as upsert_pipeline_run, av as upsert_project, aw as upsert_tag, ax as upsert_todo, ay as webhook_event_body } from '../types.d-
|
|
2
|
+
export { A as Action, a as ApiKey, C as CodebaseTask, b as ConfigSchemaType, D as DashboardResponse, c as DashboardWindowQuery, G as GetConfigResult, d as Goal, H as HistoryAction, I as IgnorePath, e as InsertPipelineStageEvent, M as Milestone, N as Nullable, P as PipelineAnalysisTemplate, f as PipelineApproval, g as PipelineGrant, h as PipelineOidcTrust, i as PipelinePackage, j as PipelineRun, k as PipelineStageEvent, l as Project, m as ProjectConfig, n as ProjectWithTasks, R as RolloutShapeZ, o as RunKindZ, S as SaveConfigRequest, p as ScanStatus, q as Session, T as TAG_COLOURS, r as Tag, s as TagColor, t as TagConfig, u as TagWithColor, v as TagWithTypedColor, w as Task, x as TaskTag, y as TaskView, z as TaskWithDetails, B as TodoUpdate, E as TrackerResult, U as UpdateAction, F as UpdateData, J as UpdateUser, K as UpsertGoal, L as UpsertMilestone, O as UpsertPipelineAnalysisTemplate, Q as UpsertPipelineApproval, V as UpsertPipelineGrant, W as UpsertPipelineOidcTrust, X as UpsertPipelinePackage, Y as UpsertPipelineRun, Z as UpsertProject, _ as UpsertTag, $ as UpsertTodo, a0 as User, a1 as WebhookEventBody, a2 as approval_decision, a3 as config_schema, a4 as dashboard_response, a5 as dashboard_window_query, a6 as forced_atomic_reason, a7 as gate_descriptor, a8 as grant_scope, a9 as insert_pipeline_stage_event, aa as pipeline_oidc_provider, ab as project_config, ac as resolved_gates, ad as resolved_rollout, ae as rollout_shape, af as rollout_stage, ag as run_kind, ah as run_status, ai as save_config_request, aj as save_tags_request, ak as stage_event_kind, al as update_action, am as update_user, an as upsert_goal, ao as upsert_milestone, ap as upsert_pipeline_analysis_template, aq as upsert_pipeline_approval, ar as upsert_pipeline_grant, as as upsert_pipeline_oidc_trust, at as upsert_pipeline_package, au as upsert_pipeline_run, av as upsert_project, aw as upsert_tag, ax as upsert_todo, ay as webhook_event_body } from '../types.d-DUtDEHYM.js';
|
|
3
3
|
export { a as ApprovalDecision, F as ForcedAtomicReason, P as PipelineOidcProvider, R as RolloutShape, b as RunStatus, S as StageEventKind } from '../schema.d-BeVFWenc.js';
|
|
4
4
|
import '@f0rbit/corpus';
|
|
5
5
|
import 'drizzle-orm';
|
package/dist/schema/index.js
CHANGED
package/dist/schema/media.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { A as ApiError, a as AuthExpiredError, B as BadRequestError, b as BaseError, C as ConflictError, c as CronError, D as DatabaseError, E as EncryptionError, d as ErrorContext, e as ErrorLogEntry, F as ForbiddenError, G as GithubError, N as NetworkError, f as NotFoundError, P as ParseError, g as ProtectedError, h as ProviderError, R as RateLimitedError, S as ScanError, i as ServiceError, j as StoreError, U as UnauthorizedError, V as ValidationError, k as ValidationFieldError, l as apiError, m as authExpired, n as badRequest, o as configureErrorLogging, p as conflict, q as dbError, r as encryptionError, s as errors, t as forbidden, u as githubError, v as isApiError, w as isAuthExpiredError, x as isBadRequestError, y as isConflictError, z as isDatabaseError, H as isEncryptionError, I as isForbiddenError, J as isGithubError, K as isNetworkError, L as isNotFoundError, M as isParseError, O as isProtectedError, Q as isRateLimitedError, T as isRetryableError, W as isScanError, X as isServiceError, Y as isStoreError, Z as isUnauthorizedError, _ as isValidationError, $ as isValidationFieldError, a0 as networkError, a1 as notFound, a2 as parseError, a3 as protectedEntity, a4 as rateLimited, a5 as scanError, a6 as storeError, a7 as unauthorized, a8 as validation, a9 as validationFieldError } from '../errors.d-CNYqUDaJ.js';
|
|
2
|
-
export { A as Account, a as AccountSetting, b as AccountWithUser, c as AddFilterInput, d as AddFilterSchema, e as ApiKey, B as BlueskyAuthor, f as BlueskyAuthorSchema, g as BlueskyFeedItem, h as BlueskyFeedItemSchema, i as BlueskyPost, j as BlueskyPostSchema, k as BlueskyRaw, l as BlueskyRawSchema, m as BlueskySettings, n as BlueskySettingsSchema, C as CommentPayload, o as CommentPayloadSchema, p as CommitGroup, q as CommitGroupSchema, r as CommitPayload, s as CommitPayloadSchema, t as CorpusPath, u as CreateProfileInput, v as CreateProfileSchema, D as DateGroup, w as DateGroupSchema, x as DevpadRaw, y as DevpadRawSchema, z as DevpadSettings, E as DevpadSettingsSchema, F as DevpadTask, G as DevpadTaskSchema, H as FilterKey, I as FilterKeySchema, J as FilterType, K as FilterTypeSchema, L as GitHubBaseEvent, M as GitHubBaseEventSchema, N as GitHubEvent, O as GitHubEventSchema, P as GitHubExtendedCommit, Q as GitHubExtendedCommitSchema, R as GitHubPullRequest, S as GitHubPullRequestSchema, T as GitHubRaw, U as GitHubRawSchema, V as GitHubRepo, W as GitHubRepoSchema, X as GitHubSettings, Y as GitHubSettingsSchema, Z as MULTI_STORE_PLATFORMS, _ as MultiStorePlatform, $ as NewAccount, a0 as NewAccountSetting, a1 as NewApiKey, a2 as NewPlatformCredential, a3 as NewProfile, a4 as NewProfileFilter, a5 as NewRateLimit, a6 as PLATFORMS, a7 as PRCommit, a8 as PRCommitSchema, a9 as Payload, aa as PayloadSchema, ab as Platform, ac as PlatformCredential, ad as PlatformSchema, ae as PlatformSettings, af as PlatformSettingsSchemaMap, ag as PostPayload, ah as PostPayloadSchema, ai as Profile, aj as ProfileFilter, ak as PullRequestPayload, al as PullRequestPayloadSchema, am as RateLimit, an as SlugSchema, ao as TaskPayload, ap as TaskPayloadSchema, aq as Timeline, ar as TimelineItem, as as TimelineItemSchema, at as TimelineSchema, au as TimelineType, av as TimelineTypeSchema, aw as UpdateProfileInput, ax as UpdateProfileSchema, ay as VideoPayload, az as VideoPayloadSchema, aA as YouTubeRaw, aB as YouTubeRawSchema, aC as YouTubeSettings, aD as YouTubeSettingsSchema, aE as YouTubeThumbnail, aF as YouTubeThumbnailSchema, aG as YouTubeVideo, aH as YouTubeVideoSchema, aI as isMultiStorePlatform } from '../types.d-
|
|
2
|
+
export { A as Account, a as AccountSetting, b as AccountWithUser, c as AddFilterInput, d as AddFilterSchema, e as ApiKey, B as BlueskyAuthor, f as BlueskyAuthorSchema, g as BlueskyFeedItem, h as BlueskyFeedItemSchema, i as BlueskyPost, j as BlueskyPostSchema, k as BlueskyRaw, l as BlueskyRawSchema, m as BlueskySettings, n as BlueskySettingsSchema, C as CommentPayload, o as CommentPayloadSchema, p as CommitGroup, q as CommitGroupSchema, r as CommitPayload, s as CommitPayloadSchema, t as CorpusPath, u as CreateProfileInput, v as CreateProfileSchema, D as DateGroup, w as DateGroupSchema, x as DevpadRaw, y as DevpadRawSchema, z as DevpadSettings, E as DevpadSettingsSchema, F as DevpadTask, G as DevpadTaskSchema, H as FilterKey, I as FilterKeySchema, J as FilterType, K as FilterTypeSchema, L as GitHubBaseEvent, M as GitHubBaseEventSchema, N as GitHubEvent, O as GitHubEventSchema, P as GitHubExtendedCommit, Q as GitHubExtendedCommitSchema, R as GitHubPullRequest, S as GitHubPullRequestSchema, T as GitHubRaw, U as GitHubRawSchema, V as GitHubRepo, W as GitHubRepoSchema, X as GitHubSettings, Y as GitHubSettingsSchema, Z as MULTI_STORE_PLATFORMS, _ as MultiStorePlatform, $ as NewAccount, a0 as NewAccountSetting, a1 as NewApiKey, a2 as NewPlatformCredential, a3 as NewProfile, a4 as NewProfileFilter, a5 as NewRateLimit, a6 as PLATFORMS, a7 as PRCommit, a8 as PRCommitSchema, a9 as Payload, aa as PayloadSchema, ab as Platform, ac as PlatformCredential, ad as PlatformSchema, ae as PlatformSettings, af as PlatformSettingsSchemaMap, ag as PostPayload, ah as PostPayloadSchema, ai as Profile, aj as ProfileFilter, ak as PullRequestPayload, al as PullRequestPayloadSchema, am as RateLimit, an as SlugSchema, ao as TaskPayload, ap as TaskPayloadSchema, aq as Timeline, ar as TimelineItem, as as TimelineItemSchema, at as TimelineSchema, au as TimelineType, av as TimelineTypeSchema, aw as UpdateProfileInput, ax as UpdateProfileSchema, ay as VideoPayload, az as VideoPayloadSchema, aA as YouTubeRaw, aB as YouTubeRawSchema, aC as YouTubeSettings, aD as YouTubeSettingsSchema, aE as YouTubeThumbnail, aF as YouTubeThumbnailSchema, aG as YouTubeVideo, aH as YouTubeVideoSchema, aI as isMultiStorePlatform } from '../types.d-ELBwaLBA.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '@f0rbit/corpus';
|
|
5
5
|
import 'drizzle-orm';
|
|
@@ -36,9 +36,9 @@ declare const GitHubRepoCommitSchema: z.ZodObject<{
|
|
|
36
36
|
deletions: z.ZodOptional<z.ZodNumber>;
|
|
37
37
|
files_changed: z.ZodOptional<z.ZodNumber>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
message: string;
|
|
39
40
|
branch: string;
|
|
40
41
|
sha: string;
|
|
41
|
-
message: string;
|
|
42
42
|
url: string;
|
|
43
43
|
author_name: string;
|
|
44
44
|
author_email: string;
|
|
@@ -50,9 +50,9 @@ declare const GitHubRepoCommitSchema: z.ZodObject<{
|
|
|
50
50
|
deletions?: number | undefined;
|
|
51
51
|
files_changed?: number | undefined;
|
|
52
52
|
}, {
|
|
53
|
+
message: string;
|
|
53
54
|
branch: string;
|
|
54
55
|
sha: string;
|
|
55
|
-
message: string;
|
|
56
56
|
url: string;
|
|
57
57
|
author_name: string;
|
|
58
58
|
author_email: string;
|
|
@@ -83,9 +83,9 @@ declare const GitHubRepoCommitsStoreSchema: z.ZodObject<{
|
|
|
83
83
|
deletions: z.ZodOptional<z.ZodNumber>;
|
|
84
84
|
files_changed: z.ZodOptional<z.ZodNumber>;
|
|
85
85
|
}, "strip", z.ZodTypeAny, {
|
|
86
|
+
message: string;
|
|
86
87
|
branch: string;
|
|
87
88
|
sha: string;
|
|
88
|
-
message: string;
|
|
89
89
|
url: string;
|
|
90
90
|
author_name: string;
|
|
91
91
|
author_email: string;
|
|
@@ -97,9 +97,9 @@ declare const GitHubRepoCommitsStoreSchema: z.ZodObject<{
|
|
|
97
97
|
deletions?: number | undefined;
|
|
98
98
|
files_changed?: number | undefined;
|
|
99
99
|
}, {
|
|
100
|
+
message: string;
|
|
100
101
|
branch: string;
|
|
101
102
|
sha: string;
|
|
102
|
-
message: string;
|
|
103
103
|
url: string;
|
|
104
104
|
author_name: string;
|
|
105
105
|
author_email: string;
|
|
@@ -118,9 +118,9 @@ declare const GitHubRepoCommitsStoreSchema: z.ZodObject<{
|
|
|
118
118
|
repo: string;
|
|
119
119
|
branches: string[];
|
|
120
120
|
commits: {
|
|
121
|
+
message: string;
|
|
121
122
|
branch: string;
|
|
122
123
|
sha: string;
|
|
123
|
-
message: string;
|
|
124
124
|
url: string;
|
|
125
125
|
author_name: string;
|
|
126
126
|
author_email: string;
|
|
@@ -139,9 +139,9 @@ declare const GitHubRepoCommitsStoreSchema: z.ZodObject<{
|
|
|
139
139
|
repo: string;
|
|
140
140
|
branches: string[];
|
|
141
141
|
commits: {
|
|
142
|
+
message: string;
|
|
142
143
|
branch: string;
|
|
143
144
|
sha: string;
|
|
144
|
-
message: string;
|
|
145
145
|
url: string;
|
|
146
146
|
author_name: string;
|
|
147
147
|
author_email: string;
|
|
@@ -885,9 +885,9 @@ declare const TwitterMetaStoreSchema: z.ZodObject<{
|
|
|
885
885
|
pinned_tweet_id: z.ZodOptional<z.ZodString>;
|
|
886
886
|
fetched_at: z.ZodString;
|
|
887
887
|
}, "strip", z.ZodTypeAny, {
|
|
888
|
-
protected: boolean;
|
|
889
888
|
id: string;
|
|
890
889
|
name: string;
|
|
890
|
+
protected: boolean;
|
|
891
891
|
created_at: string;
|
|
892
892
|
fetched_at: string;
|
|
893
893
|
username: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InferSelectModel } from 'drizzle-orm';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { d as api_keys, o as project,
|
|
3
|
+
import { d as api_keys, o as project, v as todo_updates, c as action, A as ActionType, m as milestone, g as goal, r as task, e as codebase_tasks, t as tag, l as pipeline_run, n as pipeline_stage_event, h as pipeline_grant, k as pipeline_package, p as pipeline_analysis_template, j as pipeline_oidc_trust, i as ignore_path, f as pipeline_approval, s as session, q as tag_config, u as task_tag, w as tracker_result, x as user } from './schema.d-BeVFWenc.js';
|
|
4
4
|
|
|
5
5
|
declare const upsert_project: z.ZodObject<{
|
|
6
6
|
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -32,8 +32,8 @@ declare const upsert_project: z.ZodObject<{
|
|
|
32
32
|
link_text: string | null;
|
|
33
33
|
current_version: string | null;
|
|
34
34
|
id?: string | null | undefined;
|
|
35
|
-
owner_id?: string | undefined;
|
|
36
35
|
status?: "DEVELOPMENT" | "PAUSED" | "RELEASED" | "LIVE" | "FINISHED" | "ABANDONED" | "STOPPED" | undefined;
|
|
36
|
+
owner_id?: string | undefined;
|
|
37
37
|
visibility?: "PUBLIC" | "PRIVATE" | "HIDDEN" | "ARCHIVED" | "DRAFT" | "DELETED" | undefined;
|
|
38
38
|
force?: boolean | undefined;
|
|
39
39
|
}, {
|
|
@@ -48,9 +48,9 @@ declare const upsert_project: z.ZodObject<{
|
|
|
48
48
|
link_text: string | null;
|
|
49
49
|
current_version: string | null;
|
|
50
50
|
id?: string | null | undefined;
|
|
51
|
+
status?: "DEVELOPMENT" | "PAUSED" | "RELEASED" | "LIVE" | "FINISHED" | "ABANDONED" | "STOPPED" | undefined;
|
|
51
52
|
deleted?: boolean | undefined;
|
|
52
53
|
owner_id?: string | undefined;
|
|
53
|
-
status?: "DEVELOPMENT" | "PAUSED" | "RELEASED" | "LIVE" | "FINISHED" | "ABANDONED" | "STOPPED" | undefined;
|
|
54
54
|
visibility?: "PUBLIC" | "PRIVATE" | "HIDDEN" | "ARCHIVED" | "DRAFT" | "DELETED" | undefined;
|
|
55
55
|
force?: boolean | undefined;
|
|
56
56
|
}>;
|
|
@@ -125,23 +125,23 @@ declare const project_config: z.ZodObject<{
|
|
|
125
125
|
name: z.ZodString;
|
|
126
126
|
match: z.ZodArray<z.ZodString, "many">;
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
|
-
match: string[];
|
|
129
128
|
name: string;
|
|
130
|
-
}, {
|
|
131
129
|
match: string[];
|
|
130
|
+
}, {
|
|
132
131
|
name: string;
|
|
132
|
+
match: string[];
|
|
133
133
|
}>, "many">;
|
|
134
134
|
ignore: z.ZodArray<z.ZodString, "many">;
|
|
135
135
|
}, "strip", z.ZodTypeAny, {
|
|
136
136
|
tags: {
|
|
137
|
-
match: string[];
|
|
138
137
|
name: string;
|
|
138
|
+
match: string[];
|
|
139
139
|
}[];
|
|
140
140
|
ignore: string[];
|
|
141
141
|
}, {
|
|
142
142
|
tags: {
|
|
143
|
-
match: string[];
|
|
144
143
|
name: string;
|
|
144
|
+
match: string[];
|
|
145
145
|
}[];
|
|
146
146
|
ignore: string[];
|
|
147
147
|
}>;
|
|
@@ -152,23 +152,23 @@ declare const save_config_request: z.ZodObject<{
|
|
|
152
152
|
name: z.ZodString;
|
|
153
153
|
match: z.ZodArray<z.ZodString, "many">;
|
|
154
154
|
}, "strip", z.ZodTypeAny, {
|
|
155
|
-
match: string[];
|
|
156
155
|
name: string;
|
|
157
|
-
}, {
|
|
158
156
|
match: string[];
|
|
157
|
+
}, {
|
|
159
158
|
name: string;
|
|
159
|
+
match: string[];
|
|
160
160
|
}>, "many">;
|
|
161
161
|
ignore: z.ZodArray<z.ZodString, "many">;
|
|
162
162
|
}, "strip", z.ZodTypeAny, {
|
|
163
163
|
tags: {
|
|
164
|
-
match: string[];
|
|
165
164
|
name: string;
|
|
165
|
+
match: string[];
|
|
166
166
|
}[];
|
|
167
167
|
ignore: string[];
|
|
168
168
|
}, {
|
|
169
169
|
tags: {
|
|
170
|
-
match: string[];
|
|
171
170
|
name: string;
|
|
171
|
+
match: string[];
|
|
172
172
|
}[];
|
|
173
173
|
ignore: string[];
|
|
174
174
|
}>;
|
|
@@ -177,8 +177,8 @@ declare const save_config_request: z.ZodObject<{
|
|
|
177
177
|
id: string;
|
|
178
178
|
config: {
|
|
179
179
|
tags: {
|
|
180
|
-
match: string[];
|
|
181
180
|
name: string;
|
|
181
|
+
match: string[];
|
|
182
182
|
}[];
|
|
183
183
|
ignore: string[];
|
|
184
184
|
};
|
|
@@ -187,8 +187,8 @@ declare const save_config_request: z.ZodObject<{
|
|
|
187
187
|
id: string;
|
|
188
188
|
config: {
|
|
189
189
|
tags: {
|
|
190
|
-
match: string[];
|
|
191
190
|
name: string;
|
|
191
|
+
match: string[];
|
|
192
192
|
}[];
|
|
193
193
|
ignore: string[];
|
|
194
194
|
};
|
|
@@ -225,38 +225,38 @@ declare const update_user: z.ZodObject<{
|
|
|
225
225
|
}, "strip", z.ZodTypeAny, {
|
|
226
226
|
id: string;
|
|
227
227
|
name?: string | undefined;
|
|
228
|
+
task_view?: "list" | "grid" | undefined;
|
|
228
229
|
email_verified?: boolean | undefined;
|
|
229
230
|
image_url?: string | undefined;
|
|
230
|
-
task_view?: "list" | "grid" | undefined;
|
|
231
231
|
}, {
|
|
232
232
|
id: string;
|
|
233
233
|
name?: string | undefined;
|
|
234
|
+
task_view?: "list" | "grid" | undefined;
|
|
234
235
|
email_verified?: boolean | undefined;
|
|
235
236
|
image_url?: string | undefined;
|
|
236
|
-
task_view?: "list" | "grid" | undefined;
|
|
237
237
|
}>;
|
|
238
238
|
declare const config_schema: z.ZodObject<{
|
|
239
239
|
tags: z.ZodArray<z.ZodObject<{
|
|
240
240
|
name: z.ZodString;
|
|
241
241
|
match: z.ZodArray<z.ZodString, "many">;
|
|
242
242
|
}, "strip", z.ZodTypeAny, {
|
|
243
|
-
match: string[];
|
|
244
243
|
name: string;
|
|
245
|
-
}, {
|
|
246
244
|
match: string[];
|
|
245
|
+
}, {
|
|
247
246
|
name: string;
|
|
247
|
+
match: string[];
|
|
248
248
|
}>, "many">;
|
|
249
249
|
ignore: z.ZodArray<z.ZodString, "many">;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
251
|
tags: {
|
|
252
|
-
match: string[];
|
|
253
252
|
name: string;
|
|
253
|
+
match: string[];
|
|
254
254
|
}[];
|
|
255
255
|
ignore: string[];
|
|
256
256
|
}, {
|
|
257
257
|
tags: {
|
|
258
|
-
match: string[];
|
|
259
258
|
name: string;
|
|
259
|
+
match: string[];
|
|
260
260
|
}[];
|
|
261
261
|
ignore: string[];
|
|
262
262
|
}>;
|
|
@@ -545,8 +545,8 @@ declare const upsert_pipeline_run: z.ZodObject<{
|
|
|
545
545
|
template: string;
|
|
546
546
|
}>;
|
|
547
547
|
id?: string | null | undefined;
|
|
548
|
-
kind?: "deploy" | "rollback" | undefined;
|
|
549
548
|
status?: "queued" | "deploying" | "baking" | "awaiting_approval" | "rolling_back" | "completed" | "rolled_back" | "failed" | "cancelled" | undefined;
|
|
549
|
+
kind?: "deploy" | "rollback" | undefined;
|
|
550
550
|
finished_at?: string | null | undefined;
|
|
551
551
|
current_stage?: string | null | undefined;
|
|
552
552
|
forced_atomic_reason?: "do_migrations" | "asset_affinity_none" | null | undefined;
|
|
@@ -575,8 +575,8 @@ declare const upsert_pipeline_run: z.ZodObject<{
|
|
|
575
575
|
template: string;
|
|
576
576
|
}>;
|
|
577
577
|
id?: string | null | undefined;
|
|
578
|
-
kind?: "deploy" | "rollback" | undefined;
|
|
579
578
|
status?: "queued" | "deploying" | "baking" | "awaiting_approval" | "rolling_back" | "completed" | "rolled_back" | "failed" | "cancelled" | undefined;
|
|
579
|
+
kind?: "deploy" | "rollback" | undefined;
|
|
580
580
|
finished_at?: string | null | undefined;
|
|
581
581
|
current_stage?: string | null | undefined;
|
|
582
582
|
forced_atomic_reason?: "do_migrations" | "asset_affinity_none" | null | undefined;
|
|
@@ -930,21 +930,21 @@ type UpsertGoal = z.infer<typeof upsert_goal>;
|
|
|
930
930
|
type UpdateAction = z.infer<typeof update_action>;
|
|
931
931
|
type ProjectConfig = z.infer<typeof project_config>;
|
|
932
932
|
type SaveConfigRequest = z.infer<typeof save_config_request>;
|
|
933
|
-
|
|
933
|
+
type TaskWithDetails = {
|
|
934
934
|
task: Task;
|
|
935
935
|
codebase_tasks: CodebaseTask | null;
|
|
936
936
|
tags: string[];
|
|
937
|
-
}
|
|
938
|
-
|
|
937
|
+
};
|
|
938
|
+
type ProjectWithTasks = {
|
|
939
939
|
project: Project;
|
|
940
940
|
tasks: TaskWithDetails[];
|
|
941
|
-
}
|
|
942
|
-
|
|
941
|
+
};
|
|
942
|
+
type TagWithColor = {
|
|
943
943
|
id: string;
|
|
944
944
|
title: string;
|
|
945
945
|
color: string | null;
|
|
946
946
|
count?: number;
|
|
947
|
-
}
|
|
947
|
+
};
|
|
948
948
|
type GetConfigResult = {
|
|
949
949
|
config: ProjectConfig;
|
|
950
950
|
scan_branch: string;
|
|
@@ -1019,7 +1019,7 @@ type ScanStatus = "PENDING" | "ACCEPTED" | "REJECTED" | "IGNORED";
|
|
|
1019
1019
|
type HistoryAction = Omit<Action, "updated_at" | "owner_id" | "type"> & {
|
|
1020
1020
|
type: ActionType | "SCAN";
|
|
1021
1021
|
};
|
|
1022
|
-
|
|
1022
|
+
type UpdateData = {
|
|
1023
1023
|
id: string;
|
|
1024
1024
|
tag: string;
|
|
1025
1025
|
type: "SAME" | "UPDATE" | "DELETE" | "NEW" | "MOVE";
|
|
@@ -1038,7 +1038,7 @@ interface UpdateData {
|
|
|
1038
1038
|
};
|
|
1039
1039
|
};
|
|
1040
1040
|
task?: TaskWithDetails;
|
|
1041
|
-
}
|
|
1041
|
+
};
|
|
1042
1042
|
type UpdateUser = z.infer<typeof update_user>;
|
|
1043
1043
|
type ConfigSchemaType = z.infer<typeof config_schema>;
|
|
1044
1044
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devpad/api",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.13",
|
|
4
4
|
"description": "TypeScript client library for the devpad API - project and task management made simple",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"zod": "^3.22.4"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@devpad/schema": "^2.2.
|
|
71
|
+
"@devpad/schema": "^2.2.13",
|
|
72
72
|
"@types/node": "^20.11.24",
|
|
73
73
|
"bun-types": "latest",
|
|
74
74
|
"tsup": "^8.0.0",
|