@devpad/api 2.3.1 → 2.3.3
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-DIX4XVUQ.js → chunk-ZPDYJASJ.js} +108 -7
- package/dist/index.d.ts +54 -5
- package/dist/index.js +92 -2
- package/dist/schema/blog.d.ts +570 -0
- package/dist/schema/index.d.ts +2 -2
- package/dist/schema/index.js +17 -1
- package/dist/schema/media.d.ts +2 -2
- package/dist/{schema.d-BeVFWenc.d.ts → schema.d-D3xGKqB8.d.ts} +565 -1
- package/dist/types.d-8FWQKyCL.d.ts +2293 -0
- package/dist/{types.d-ELBwaLBA.d.ts → types.d-BZOIiHoO.d.ts} +31 -31
- package/package.json +2 -2
- package/dist/types.d-DUtDEHYM.d.ts +0 -1045
|
@@ -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 {
|
|
4
|
+
import { g as api_keys } from './schema.d-D3xGKqB8.js';
|
|
5
5
|
|
|
6
6
|
declare const GitHubSettingsSchema: z.ZodObject<{
|
|
7
7
|
hidden_repos: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -737,7 +737,7 @@ declare const TimelineItemSchema: z.ZodObject<{
|
|
|
737
737
|
}>]>;
|
|
738
738
|
}, "strip", z.ZodTypeAny, {
|
|
739
739
|
id: string;
|
|
740
|
-
type: "task" | "
|
|
740
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
741
741
|
timestamp: string;
|
|
742
742
|
title: string;
|
|
743
743
|
url: string;
|
|
@@ -812,7 +812,7 @@ declare const TimelineItemSchema: z.ZodObject<{
|
|
|
812
812
|
platform: "devpad" | "github" | "bluesky" | "youtube" | "reddit" | "twitter";
|
|
813
813
|
}, {
|
|
814
814
|
id: string;
|
|
815
|
-
type: "task" | "
|
|
815
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
816
816
|
timestamp: string;
|
|
817
817
|
title: string;
|
|
818
818
|
url: string;
|
|
@@ -1110,7 +1110,7 @@ declare const CommitGroupSchema: z.ZodObject<{
|
|
|
1110
1110
|
}>]>;
|
|
1111
1111
|
}, "strip", z.ZodTypeAny, {
|
|
1112
1112
|
id: string;
|
|
1113
|
-
type: "task" | "
|
|
1113
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
1114
1114
|
timestamp: string;
|
|
1115
1115
|
title: string;
|
|
1116
1116
|
url: string;
|
|
@@ -1185,7 +1185,7 @@ declare const CommitGroupSchema: z.ZodObject<{
|
|
|
1185
1185
|
platform: "devpad" | "github" | "bluesky" | "youtube" | "reddit" | "twitter";
|
|
1186
1186
|
}, {
|
|
1187
1187
|
id: string;
|
|
1188
|
-
type: "task" | "
|
|
1188
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
1189
1189
|
timestamp: string;
|
|
1190
1190
|
title: string;
|
|
1191
1191
|
url: string;
|
|
@@ -1269,7 +1269,7 @@ declare const CommitGroupSchema: z.ZodObject<{
|
|
|
1269
1269
|
repo: string;
|
|
1270
1270
|
commits: {
|
|
1271
1271
|
id: string;
|
|
1272
|
-
type: "task" | "
|
|
1272
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
1273
1273
|
timestamp: string;
|
|
1274
1274
|
title: string;
|
|
1275
1275
|
url: string;
|
|
@@ -1353,7 +1353,7 @@ declare const CommitGroupSchema: z.ZodObject<{
|
|
|
1353
1353
|
repo: string;
|
|
1354
1354
|
commits: {
|
|
1355
1355
|
id: string;
|
|
1356
|
-
type: "task" | "
|
|
1356
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
1357
1357
|
timestamp: string;
|
|
1358
1358
|
title: string;
|
|
1359
1359
|
url: string;
|
|
@@ -1652,7 +1652,7 @@ declare const DateGroupSchema: z.ZodObject<{
|
|
|
1652
1652
|
}>]>;
|
|
1653
1653
|
}, "strip", z.ZodTypeAny, {
|
|
1654
1654
|
id: string;
|
|
1655
|
-
type: "task" | "
|
|
1655
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
1656
1656
|
timestamp: string;
|
|
1657
1657
|
title: string;
|
|
1658
1658
|
url: string;
|
|
@@ -1727,7 +1727,7 @@ declare const DateGroupSchema: z.ZodObject<{
|
|
|
1727
1727
|
platform: "devpad" | "github" | "bluesky" | "youtube" | "reddit" | "twitter";
|
|
1728
1728
|
}, {
|
|
1729
1729
|
id: string;
|
|
1730
|
-
type: "task" | "
|
|
1730
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
1731
1731
|
timestamp: string;
|
|
1732
1732
|
title: string;
|
|
1733
1733
|
url: string;
|
|
@@ -2024,7 +2024,7 @@ declare const DateGroupSchema: z.ZodObject<{
|
|
|
2024
2024
|
}>]>;
|
|
2025
2025
|
}, "strip", z.ZodTypeAny, {
|
|
2026
2026
|
id: string;
|
|
2027
|
-
type: "task" | "
|
|
2027
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
2028
2028
|
timestamp: string;
|
|
2029
2029
|
title: string;
|
|
2030
2030
|
url: string;
|
|
@@ -2099,7 +2099,7 @@ declare const DateGroupSchema: z.ZodObject<{
|
|
|
2099
2099
|
platform: "devpad" | "github" | "bluesky" | "youtube" | "reddit" | "twitter";
|
|
2100
2100
|
}, {
|
|
2101
2101
|
id: string;
|
|
2102
|
-
type: "task" | "
|
|
2102
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
2103
2103
|
timestamp: string;
|
|
2104
2104
|
title: string;
|
|
2105
2105
|
url: string;
|
|
@@ -2183,7 +2183,7 @@ declare const DateGroupSchema: z.ZodObject<{
|
|
|
2183
2183
|
repo: string;
|
|
2184
2184
|
commits: {
|
|
2185
2185
|
id: string;
|
|
2186
|
-
type: "task" | "
|
|
2186
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
2187
2187
|
timestamp: string;
|
|
2188
2188
|
title: string;
|
|
2189
2189
|
url: string;
|
|
@@ -2267,7 +2267,7 @@ declare const DateGroupSchema: z.ZodObject<{
|
|
|
2267
2267
|
repo: string;
|
|
2268
2268
|
commits: {
|
|
2269
2269
|
id: string;
|
|
2270
|
-
type: "task" | "
|
|
2270
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
2271
2271
|
timestamp: string;
|
|
2272
2272
|
title: string;
|
|
2273
2273
|
url: string;
|
|
@@ -2349,7 +2349,7 @@ declare const DateGroupSchema: z.ZodObject<{
|
|
|
2349
2349
|
date: string;
|
|
2350
2350
|
items: ({
|
|
2351
2351
|
id: string;
|
|
2352
|
-
type: "task" | "
|
|
2352
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
2353
2353
|
timestamp: string;
|
|
2354
2354
|
title: string;
|
|
2355
2355
|
url: string;
|
|
@@ -2429,7 +2429,7 @@ declare const DateGroupSchema: z.ZodObject<{
|
|
|
2429
2429
|
repo: string;
|
|
2430
2430
|
commits: {
|
|
2431
2431
|
id: string;
|
|
2432
|
-
type: "task" | "
|
|
2432
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
2433
2433
|
timestamp: string;
|
|
2434
2434
|
title: string;
|
|
2435
2435
|
url: string;
|
|
@@ -2511,7 +2511,7 @@ declare const DateGroupSchema: z.ZodObject<{
|
|
|
2511
2511
|
date: string;
|
|
2512
2512
|
items: ({
|
|
2513
2513
|
id: string;
|
|
2514
|
-
type: "task" | "
|
|
2514
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
2515
2515
|
timestamp: string;
|
|
2516
2516
|
title: string;
|
|
2517
2517
|
url: string;
|
|
@@ -2591,7 +2591,7 @@ declare const DateGroupSchema: z.ZodObject<{
|
|
|
2591
2591
|
repo: string;
|
|
2592
2592
|
commits: {
|
|
2593
2593
|
id: string;
|
|
2594
|
-
type: "task" | "
|
|
2594
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
2595
2595
|
timestamp: string;
|
|
2596
2596
|
title: string;
|
|
2597
2597
|
url: string;
|
|
@@ -2894,7 +2894,7 @@ declare const TimelineSchema: z.ZodObject<{
|
|
|
2894
2894
|
}>]>;
|
|
2895
2895
|
}, "strip", z.ZodTypeAny, {
|
|
2896
2896
|
id: string;
|
|
2897
|
-
type: "task" | "
|
|
2897
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
2898
2898
|
timestamp: string;
|
|
2899
2899
|
title: string;
|
|
2900
2900
|
url: string;
|
|
@@ -2969,7 +2969,7 @@ declare const TimelineSchema: z.ZodObject<{
|
|
|
2969
2969
|
platform: "devpad" | "github" | "bluesky" | "youtube" | "reddit" | "twitter";
|
|
2970
2970
|
}, {
|
|
2971
2971
|
id: string;
|
|
2972
|
-
type: "task" | "
|
|
2972
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
2973
2973
|
timestamp: string;
|
|
2974
2974
|
title: string;
|
|
2975
2975
|
url: string;
|
|
@@ -3266,7 +3266,7 @@ declare const TimelineSchema: z.ZodObject<{
|
|
|
3266
3266
|
}>]>;
|
|
3267
3267
|
}, "strip", z.ZodTypeAny, {
|
|
3268
3268
|
id: string;
|
|
3269
|
-
type: "task" | "
|
|
3269
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
3270
3270
|
timestamp: string;
|
|
3271
3271
|
title: string;
|
|
3272
3272
|
url: string;
|
|
@@ -3341,7 +3341,7 @@ declare const TimelineSchema: z.ZodObject<{
|
|
|
3341
3341
|
platform: "devpad" | "github" | "bluesky" | "youtube" | "reddit" | "twitter";
|
|
3342
3342
|
}, {
|
|
3343
3343
|
id: string;
|
|
3344
|
-
type: "task" | "
|
|
3344
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
3345
3345
|
timestamp: string;
|
|
3346
3346
|
title: string;
|
|
3347
3347
|
url: string;
|
|
@@ -3425,7 +3425,7 @@ declare const TimelineSchema: z.ZodObject<{
|
|
|
3425
3425
|
repo: string;
|
|
3426
3426
|
commits: {
|
|
3427
3427
|
id: string;
|
|
3428
|
-
type: "task" | "
|
|
3428
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
3429
3429
|
timestamp: string;
|
|
3430
3430
|
title: string;
|
|
3431
3431
|
url: string;
|
|
@@ -3509,7 +3509,7 @@ declare const TimelineSchema: z.ZodObject<{
|
|
|
3509
3509
|
repo: string;
|
|
3510
3510
|
commits: {
|
|
3511
3511
|
id: string;
|
|
3512
|
-
type: "task" | "
|
|
3512
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
3513
3513
|
timestamp: string;
|
|
3514
3514
|
title: string;
|
|
3515
3515
|
url: string;
|
|
@@ -3591,7 +3591,7 @@ declare const TimelineSchema: z.ZodObject<{
|
|
|
3591
3591
|
date: string;
|
|
3592
3592
|
items: ({
|
|
3593
3593
|
id: string;
|
|
3594
|
-
type: "task" | "
|
|
3594
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
3595
3595
|
timestamp: string;
|
|
3596
3596
|
title: string;
|
|
3597
3597
|
url: string;
|
|
@@ -3671,7 +3671,7 @@ declare const TimelineSchema: z.ZodObject<{
|
|
|
3671
3671
|
repo: string;
|
|
3672
3672
|
commits: {
|
|
3673
3673
|
id: string;
|
|
3674
|
-
type: "task" | "
|
|
3674
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
3675
3675
|
timestamp: string;
|
|
3676
3676
|
title: string;
|
|
3677
3677
|
url: string;
|
|
@@ -3753,7 +3753,7 @@ declare const TimelineSchema: z.ZodObject<{
|
|
|
3753
3753
|
date: string;
|
|
3754
3754
|
items: ({
|
|
3755
3755
|
id: string;
|
|
3756
|
-
type: "task" | "
|
|
3756
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
3757
3757
|
timestamp: string;
|
|
3758
3758
|
title: string;
|
|
3759
3759
|
url: string;
|
|
@@ -3833,7 +3833,7 @@ declare const TimelineSchema: z.ZodObject<{
|
|
|
3833
3833
|
repo: string;
|
|
3834
3834
|
commits: {
|
|
3835
3835
|
id: string;
|
|
3836
|
-
type: "task" | "
|
|
3836
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
3837
3837
|
timestamp: string;
|
|
3838
3838
|
title: string;
|
|
3839
3839
|
url: string;
|
|
@@ -3919,7 +3919,7 @@ declare const TimelineSchema: z.ZodObject<{
|
|
|
3919
3919
|
date: string;
|
|
3920
3920
|
items: ({
|
|
3921
3921
|
id: string;
|
|
3922
|
-
type: "task" | "
|
|
3922
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
3923
3923
|
timestamp: string;
|
|
3924
3924
|
title: string;
|
|
3925
3925
|
url: string;
|
|
@@ -3999,7 +3999,7 @@ declare const TimelineSchema: z.ZodObject<{
|
|
|
3999
3999
|
repo: string;
|
|
4000
4000
|
commits: {
|
|
4001
4001
|
id: string;
|
|
4002
|
-
type: "task" | "
|
|
4002
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
4003
4003
|
timestamp: string;
|
|
4004
4004
|
title: string;
|
|
4005
4005
|
url: string;
|
|
@@ -4085,7 +4085,7 @@ declare const TimelineSchema: z.ZodObject<{
|
|
|
4085
4085
|
date: string;
|
|
4086
4086
|
items: ({
|
|
4087
4087
|
id: string;
|
|
4088
|
-
type: "task" | "
|
|
4088
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
4089
4089
|
timestamp: string;
|
|
4090
4090
|
title: string;
|
|
4091
4091
|
url: string;
|
|
@@ -4165,7 +4165,7 @@ declare const TimelineSchema: z.ZodObject<{
|
|
|
4165
4165
|
repo: string;
|
|
4166
4166
|
commits: {
|
|
4167
4167
|
id: string;
|
|
4168
|
-
type: "task" | "
|
|
4168
|
+
type: "task" | "commit" | "video" | "post" | "pull_request" | "comment";
|
|
4169
4169
|
timestamp: string;
|
|
4170
4170
|
title: string;
|
|
4171
4171
|
url: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devpad/api",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.3",
|
|
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.
|
|
71
|
+
"@devpad/schema": "^2.3.3",
|
|
72
72
|
"@types/node": "^20.11.24",
|
|
73
73
|
"bun-types": "latest",
|
|
74
74
|
"tsup": "^8.0.0",
|