@devpad/api 2.3.4 → 2.3.6

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.
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { InferSelectModel, InferInsertModel } from 'drizzle-orm';
3
3
  import { a as media_accounts, d as media_profiles, c as media_profile_filters, m as media_account_settings, b as media_platform_credentials, e as media_rate_limits } from './media.d-R87HGuRp.js';
4
- import { j as api_keys } from './schema.d-DfzLWuRW.js';
4
+ import { q as api_keys } from './schema.d-7jUA2Hd2.js';
5
5
 
6
6
  declare const GitHubSettingsSchema: z.ZodObject<{
7
7
  hidden_repos: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
@@ -201,16 +201,16 @@ declare const AccessKeyRowSchema: z.ZodObject<{
201
201
  user_id: string;
202
202
  key_hash: string;
203
203
  note: string | null;
204
- enabled: boolean;
205
204
  created_at: Date;
205
+ enabled: boolean;
206
206
  }, {
207
207
  id: number;
208
208
  name: string;
209
209
  user_id: string;
210
210
  key_hash: string;
211
211
  note: string | null;
212
- enabled: boolean;
213
212
  created_at: Date;
213
+ enabled: boolean;
214
214
  }>;
215
215
  type AccessKeyRow = z.infer<typeof AccessKeyRowSchema>;
216
216
  declare const AccessKeySchema: z.ZodObject<Omit<{
@@ -226,15 +226,15 @@ declare const AccessKeySchema: z.ZodObject<Omit<{
226
226
  name: string;
227
227
  user_id: string;
228
228
  note: string | null;
229
- enabled: boolean;
230
229
  created_at: Date;
230
+ enabled: boolean;
231
231
  }, {
232
232
  id: number;
233
233
  name: string;
234
234
  user_id: string;
235
235
  note: string | null;
236
- enabled: boolean;
237
236
  created_at: Date;
237
+ enabled: boolean;
238
238
  }>;
239
239
  type AccessKey = z.infer<typeof AccessKeySchema>;
240
240
  declare const AccessKeyInsertSchema: z.ZodObject<{
@@ -251,16 +251,16 @@ declare const AccessKeyInsertSchema: z.ZodObject<{
251
251
  key_hash: string;
252
252
  id?: number | undefined;
253
253
  note?: string | null | undefined;
254
- enabled?: boolean | undefined;
255
254
  created_at?: Date | undefined;
255
+ enabled?: boolean | undefined;
256
256
  }, {
257
257
  name: string;
258
258
  user_id: string;
259
259
  key_hash: string;
260
260
  id?: number | undefined;
261
261
  note?: string | null | undefined;
262
- enabled?: boolean | undefined;
263
262
  created_at?: Date | undefined;
263
+ enabled?: boolean | undefined;
264
264
  }>;
265
265
  type AccessKeyInsert = z.infer<typeof AccessKeyInsertSchema>;
266
266
  declare const IntegrationSchema: z.ZodObject<{
@@ -485,7 +485,7 @@ declare const PostListParamsSchema: z.ZodObject<{
485
485
  offset: z.ZodDefault<z.ZodNumber>;
486
486
  sort: z.ZodDefault<z.ZodEnum<["created", "updated", "published"]>>;
487
487
  }, "strip", z.ZodTypeAny, {
488
- status: "all" | "published" | "scheduled" | "draft";
488
+ status: "all" | "draft" | "published" | "scheduled";
489
489
  sort: "published" | "created" | "updated";
490
490
  archived: boolean;
491
491
  limit: number;
@@ -494,7 +494,7 @@ declare const PostListParamsSchema: z.ZodObject<{
494
494
  tag?: string | undefined;
495
495
  category?: string | undefined;
496
496
  }, {
497
- status?: "all" | "published" | "scheduled" | "draft" | undefined;
497
+ status?: "all" | "draft" | "published" | "scheduled" | undefined;
498
498
  sort?: "published" | "created" | "updated" | undefined;
499
499
  project?: string | undefined;
500
500
  tag?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devpad/api",
3
- "version": "2.3.4",
3
+ "version": "2.3.6",
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.3.4",
71
+ "@devpad/schema": "^2.3.6",
72
72
  "@types/node": "^20.11.24",
73
73
  "bun-types": "latest",
74
74
  "tsup": "^8.0.0",