@devpad/api 2.0.2 → 2.0.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.
@@ -1,32 +1,5 @@
1
- import * as drizzle_orm from 'drizzle-orm';
2
1
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
3
2
 
4
- declare const timestamps: () => {
5
- created_at: drizzle_orm.HasDefault<drizzle_orm.NotNull<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"created_at", [string, ...string[]], number | undefined>>>;
6
- updated_at: drizzle_orm.HasDefault<drizzle_orm.NotNull<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"updated_at", [string, ...string[]], number | undefined>>>;
7
- };
8
- declare const deleted: () => {
9
- deleted: drizzle_orm.HasDefault<drizzle_orm.NotNull<drizzle_orm_sqlite_core.SQLiteBooleanBuilderInitial<"deleted">>>;
10
- };
11
- declare const owner_id: () => {
12
- owner_id: drizzle_orm.NotNull<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"owner_id", [string, ...string[]], number | undefined>>;
13
- };
14
- declare const id: (prefix: string) => {
15
- id: drizzle_orm.HasRuntimeDefault<drizzle_orm.HasDefault<drizzle_orm.IsPrimaryKey<drizzle_orm.NotNull<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>>>;
16
- };
17
- declare const entity: (prefix: string) => {
18
- deleted: drizzle_orm.HasDefault<drizzle_orm.NotNull<drizzle_orm_sqlite_core.SQLiteBooleanBuilderInitial<"deleted">>>;
19
- created_at: drizzle_orm.HasDefault<drizzle_orm.NotNull<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"created_at", [string, ...string[]], number | undefined>>>;
20
- updated_at: drizzle_orm.HasDefault<drizzle_orm.NotNull<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"updated_at", [string, ...string[]], number | undefined>>>;
21
- id: drizzle_orm.HasRuntimeDefault<drizzle_orm.HasDefault<drizzle_orm.IsPrimaryKey<drizzle_orm.NotNull<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>>>;
22
- };
23
- declare const owned_entity: (prefix: string) => {
24
- owner_id: drizzle_orm.NotNull<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"owner_id", [string, ...string[]], number | undefined>>;
25
- deleted: drizzle_orm.HasDefault<drizzle_orm.NotNull<drizzle_orm_sqlite_core.SQLiteBooleanBuilderInitial<"deleted">>>;
26
- created_at: drizzle_orm.HasDefault<drizzle_orm.NotNull<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"created_at", [string, ...string[]], number | undefined>>>;
27
- updated_at: drizzle_orm.HasDefault<drizzle_orm.NotNull<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"updated_at", [string, ...string[]], number | undefined>>>;
28
- id: drizzle_orm.HasRuntimeDefault<drizzle_orm.HasDefault<drizzle_orm.IsPrimaryKey<drizzle_orm.NotNull<drizzle_orm_sqlite_core.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>>>;
29
- };
30
3
  declare const user: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
31
4
  name: "user";
32
5
  schema: undefined;
@@ -1264,10 +1237,6 @@ declare const todo_updates: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1264
1237
  };
1265
1238
  dialect: "sqlite";
1266
1239
  }>;
1267
- declare const update_tracker_relations: drizzle_orm.Relations<"todo_updates", {
1268
- old: drizzle_orm.One<"tracker_result", false>;
1269
- new: drizzle_orm.One<"tracker_result", true>;
1270
- }>;
1271
1240
  declare const milestone: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1272
1241
  name: "milestone";
1273
1242
  schema: undefined;
@@ -1967,280 +1936,6 @@ declare const task: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1967
1936
  };
1968
1937
  dialect: "sqlite";
1969
1938
  }>;
1970
- declare const checklist: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1971
- name: "checklist";
1972
- schema: undefined;
1973
- columns: {
1974
- task_id: drizzle_orm_sqlite_core.SQLiteColumn<{
1975
- name: "task_id";
1976
- tableName: "checklist";
1977
- dataType: "string";
1978
- columnType: "SQLiteText";
1979
- data: string;
1980
- driverParam: string;
1981
- notNull: true;
1982
- hasDefault: false;
1983
- isPrimaryKey: false;
1984
- isAutoincrement: false;
1985
- hasRuntimeDefault: false;
1986
- enumValues: [string, ...string[]];
1987
- baseColumn: never;
1988
- identity: undefined;
1989
- generated: undefined;
1990
- }, {}, {
1991
- length: number | undefined;
1992
- }>;
1993
- name: drizzle_orm_sqlite_core.SQLiteColumn<{
1994
- name: "name";
1995
- tableName: "checklist";
1996
- dataType: "string";
1997
- columnType: "SQLiteText";
1998
- data: string;
1999
- driverParam: string;
2000
- notNull: true;
2001
- hasDefault: false;
2002
- isPrimaryKey: false;
2003
- isAutoincrement: false;
2004
- hasRuntimeDefault: false;
2005
- enumValues: [string, ...string[]];
2006
- baseColumn: never;
2007
- identity: undefined;
2008
- generated: undefined;
2009
- }, {}, {
2010
- length: number | undefined;
2011
- }>;
2012
- deleted: drizzle_orm_sqlite_core.SQLiteColumn<{
2013
- name: "deleted";
2014
- tableName: "checklist";
2015
- dataType: "boolean";
2016
- columnType: "SQLiteBoolean";
2017
- data: boolean;
2018
- driverParam: number;
2019
- notNull: true;
2020
- hasDefault: true;
2021
- isPrimaryKey: false;
2022
- isAutoincrement: false;
2023
- hasRuntimeDefault: false;
2024
- enumValues: undefined;
2025
- baseColumn: never;
2026
- identity: undefined;
2027
- generated: undefined;
2028
- }, {}, {}>;
2029
- created_at: drizzle_orm_sqlite_core.SQLiteColumn<{
2030
- name: "created_at";
2031
- tableName: "checklist";
2032
- dataType: "string";
2033
- columnType: "SQLiteText";
2034
- data: string;
2035
- driverParam: string;
2036
- notNull: true;
2037
- hasDefault: true;
2038
- isPrimaryKey: false;
2039
- isAutoincrement: false;
2040
- hasRuntimeDefault: false;
2041
- enumValues: [string, ...string[]];
2042
- baseColumn: never;
2043
- identity: undefined;
2044
- generated: undefined;
2045
- }, {}, {
2046
- length: number | undefined;
2047
- }>;
2048
- updated_at: drizzle_orm_sqlite_core.SQLiteColumn<{
2049
- name: "updated_at";
2050
- tableName: "checklist";
2051
- dataType: "string";
2052
- columnType: "SQLiteText";
2053
- data: string;
2054
- driverParam: string;
2055
- notNull: true;
2056
- hasDefault: true;
2057
- isPrimaryKey: false;
2058
- isAutoincrement: false;
2059
- hasRuntimeDefault: false;
2060
- enumValues: [string, ...string[]];
2061
- baseColumn: never;
2062
- identity: undefined;
2063
- generated: undefined;
2064
- }, {}, {
2065
- length: number | undefined;
2066
- }>;
2067
- id: drizzle_orm_sqlite_core.SQLiteColumn<{
2068
- name: "id";
2069
- tableName: "checklist";
2070
- dataType: "string";
2071
- columnType: "SQLiteText";
2072
- data: string;
2073
- driverParam: string;
2074
- notNull: true;
2075
- hasDefault: true;
2076
- isPrimaryKey: true;
2077
- isAutoincrement: false;
2078
- hasRuntimeDefault: true;
2079
- enumValues: [string, ...string[]];
2080
- baseColumn: never;
2081
- identity: undefined;
2082
- generated: undefined;
2083
- }, {}, {
2084
- length: number | undefined;
2085
- }>;
2086
- };
2087
- dialect: "sqlite";
2088
- }>;
2089
- declare const checklist_item: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2090
- name: "checklist_item";
2091
- schema: undefined;
2092
- columns: {
2093
- checklist_id: drizzle_orm_sqlite_core.SQLiteColumn<{
2094
- name: "checklist_id";
2095
- tableName: "checklist_item";
2096
- dataType: "string";
2097
- columnType: "SQLiteText";
2098
- data: string;
2099
- driverParam: string;
2100
- notNull: true;
2101
- hasDefault: false;
2102
- isPrimaryKey: false;
2103
- isAutoincrement: false;
2104
- hasRuntimeDefault: false;
2105
- enumValues: [string, ...string[]];
2106
- baseColumn: never;
2107
- identity: undefined;
2108
- generated: undefined;
2109
- }, {}, {
2110
- length: number | undefined;
2111
- }>;
2112
- parent_id: drizzle_orm_sqlite_core.SQLiteColumn<{
2113
- name: "parent_id";
2114
- tableName: "checklist_item";
2115
- dataType: "string";
2116
- columnType: "SQLiteText";
2117
- data: string;
2118
- driverParam: string;
2119
- notNull: false;
2120
- hasDefault: false;
2121
- isPrimaryKey: false;
2122
- isAutoincrement: false;
2123
- hasRuntimeDefault: false;
2124
- enumValues: [string, ...string[]];
2125
- baseColumn: never;
2126
- identity: undefined;
2127
- generated: undefined;
2128
- }, {}, {
2129
- length: number | undefined;
2130
- }>;
2131
- name: drizzle_orm_sqlite_core.SQLiteColumn<{
2132
- name: "name";
2133
- tableName: "checklist_item";
2134
- dataType: "string";
2135
- columnType: "SQLiteText";
2136
- data: string;
2137
- driverParam: string;
2138
- notNull: true;
2139
- hasDefault: false;
2140
- isPrimaryKey: false;
2141
- isAutoincrement: false;
2142
- hasRuntimeDefault: false;
2143
- enumValues: [string, ...string[]];
2144
- baseColumn: never;
2145
- identity: undefined;
2146
- generated: undefined;
2147
- }, {}, {
2148
- length: number | undefined;
2149
- }>;
2150
- checked: drizzle_orm_sqlite_core.SQLiteColumn<{
2151
- name: "checked";
2152
- tableName: "checklist_item";
2153
- dataType: "boolean";
2154
- columnType: "SQLiteBoolean";
2155
- data: boolean;
2156
- driverParam: number;
2157
- notNull: true;
2158
- hasDefault: true;
2159
- isPrimaryKey: false;
2160
- isAutoincrement: false;
2161
- hasRuntimeDefault: false;
2162
- enumValues: undefined;
2163
- baseColumn: never;
2164
- identity: undefined;
2165
- generated: undefined;
2166
- }, {}, {}>;
2167
- deleted: drizzle_orm_sqlite_core.SQLiteColumn<{
2168
- name: "deleted";
2169
- tableName: "checklist_item";
2170
- dataType: "boolean";
2171
- columnType: "SQLiteBoolean";
2172
- data: boolean;
2173
- driverParam: number;
2174
- notNull: true;
2175
- hasDefault: true;
2176
- isPrimaryKey: false;
2177
- isAutoincrement: false;
2178
- hasRuntimeDefault: false;
2179
- enumValues: undefined;
2180
- baseColumn: never;
2181
- identity: undefined;
2182
- generated: undefined;
2183
- }, {}, {}>;
2184
- created_at: drizzle_orm_sqlite_core.SQLiteColumn<{
2185
- name: "created_at";
2186
- tableName: "checklist_item";
2187
- dataType: "string";
2188
- columnType: "SQLiteText";
2189
- data: string;
2190
- driverParam: string;
2191
- notNull: true;
2192
- hasDefault: true;
2193
- isPrimaryKey: false;
2194
- isAutoincrement: false;
2195
- hasRuntimeDefault: false;
2196
- enumValues: [string, ...string[]];
2197
- baseColumn: never;
2198
- identity: undefined;
2199
- generated: undefined;
2200
- }, {}, {
2201
- length: number | undefined;
2202
- }>;
2203
- updated_at: drizzle_orm_sqlite_core.SQLiteColumn<{
2204
- name: "updated_at";
2205
- tableName: "checklist_item";
2206
- dataType: "string";
2207
- columnType: "SQLiteText";
2208
- data: string;
2209
- driverParam: string;
2210
- notNull: true;
2211
- hasDefault: true;
2212
- isPrimaryKey: false;
2213
- isAutoincrement: false;
2214
- hasRuntimeDefault: false;
2215
- enumValues: [string, ...string[]];
2216
- baseColumn: never;
2217
- identity: undefined;
2218
- generated: undefined;
2219
- }, {}, {
2220
- length: number | undefined;
2221
- }>;
2222
- id: drizzle_orm_sqlite_core.SQLiteColumn<{
2223
- name: "id";
2224
- tableName: "checklist_item";
2225
- dataType: "string";
2226
- columnType: "SQLiteText";
2227
- data: string;
2228
- driverParam: string;
2229
- notNull: true;
2230
- hasDefault: true;
2231
- isPrimaryKey: true;
2232
- isAutoincrement: false;
2233
- hasRuntimeDefault: true;
2234
- enumValues: [string, ...string[]];
2235
- baseColumn: never;
2236
- identity: undefined;
2237
- generated: undefined;
2238
- }, {}, {
2239
- length: number | undefined;
2240
- }>;
2241
- };
2242
- dialect: "sqlite";
2243
- }>;
2244
1939
  declare const codebase_tasks: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2245
1940
  name: "codebase_tasks";
2246
1941
  schema: undefined;
@@ -2744,165 +2439,6 @@ declare const task_tag: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2744
2439
  };
2745
2440
  dialect: "sqlite";
2746
2441
  }>;
2747
- declare const commit_detail: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2748
- name: "commit_detail";
2749
- schema: undefined;
2750
- columns: {
2751
- sha: drizzle_orm_sqlite_core.SQLiteColumn<{
2752
- name: "sha";
2753
- tableName: "commit_detail";
2754
- dataType: "string";
2755
- columnType: "SQLiteText";
2756
- data: string;
2757
- driverParam: string;
2758
- notNull: true;
2759
- hasDefault: false;
2760
- isPrimaryKey: true;
2761
- isAutoincrement: false;
2762
- hasRuntimeDefault: false;
2763
- enumValues: [string, ...string[]];
2764
- baseColumn: never;
2765
- identity: undefined;
2766
- generated: undefined;
2767
- }, {}, {
2768
- length: number | undefined;
2769
- }>;
2770
- message: drizzle_orm_sqlite_core.SQLiteColumn<{
2771
- name: "message";
2772
- tableName: "commit_detail";
2773
- dataType: "string";
2774
- columnType: "SQLiteText";
2775
- data: string;
2776
- driverParam: string;
2777
- notNull: true;
2778
- hasDefault: false;
2779
- isPrimaryKey: false;
2780
- isAutoincrement: false;
2781
- hasRuntimeDefault: false;
2782
- enumValues: [string, ...string[]];
2783
- baseColumn: never;
2784
- identity: undefined;
2785
- generated: undefined;
2786
- }, {}, {
2787
- length: number | undefined;
2788
- }>;
2789
- url: drizzle_orm_sqlite_core.SQLiteColumn<{
2790
- name: "url";
2791
- tableName: "commit_detail";
2792
- dataType: "string";
2793
- columnType: "SQLiteText";
2794
- data: string;
2795
- driverParam: string;
2796
- notNull: true;
2797
- hasDefault: false;
2798
- isPrimaryKey: false;
2799
- isAutoincrement: false;
2800
- hasRuntimeDefault: false;
2801
- enumValues: [string, ...string[]];
2802
- baseColumn: never;
2803
- identity: undefined;
2804
- generated: undefined;
2805
- }, {}, {
2806
- length: number | undefined;
2807
- }>;
2808
- avatar_url: drizzle_orm_sqlite_core.SQLiteColumn<{
2809
- name: "avatar_url";
2810
- tableName: "commit_detail";
2811
- dataType: "string";
2812
- columnType: "SQLiteText";
2813
- data: string;
2814
- driverParam: string;
2815
- notNull: false;
2816
- hasDefault: false;
2817
- isPrimaryKey: false;
2818
- isAutoincrement: false;
2819
- hasRuntimeDefault: false;
2820
- enumValues: [string, ...string[]];
2821
- baseColumn: never;
2822
- identity: undefined;
2823
- generated: undefined;
2824
- }, {}, {
2825
- length: number | undefined;
2826
- }>;
2827
- author_user: drizzle_orm_sqlite_core.SQLiteColumn<{
2828
- name: "author_user";
2829
- tableName: "commit_detail";
2830
- dataType: "string";
2831
- columnType: "SQLiteText";
2832
- data: string;
2833
- driverParam: string;
2834
- notNull: true;
2835
- hasDefault: false;
2836
- isPrimaryKey: false;
2837
- isAutoincrement: false;
2838
- hasRuntimeDefault: false;
2839
- enumValues: [string, ...string[]];
2840
- baseColumn: never;
2841
- identity: undefined;
2842
- generated: undefined;
2843
- }, {}, {
2844
- length: number | undefined;
2845
- }>;
2846
- author_name: drizzle_orm_sqlite_core.SQLiteColumn<{
2847
- name: "author_name";
2848
- tableName: "commit_detail";
2849
- dataType: "string";
2850
- columnType: "SQLiteText";
2851
- data: string;
2852
- driverParam: string;
2853
- notNull: false;
2854
- hasDefault: false;
2855
- isPrimaryKey: false;
2856
- isAutoincrement: false;
2857
- hasRuntimeDefault: false;
2858
- enumValues: [string, ...string[]];
2859
- baseColumn: never;
2860
- identity: undefined;
2861
- generated: undefined;
2862
- }, {}, {
2863
- length: number | undefined;
2864
- }>;
2865
- author_email: drizzle_orm_sqlite_core.SQLiteColumn<{
2866
- name: "author_email";
2867
- tableName: "commit_detail";
2868
- dataType: "string";
2869
- columnType: "SQLiteText";
2870
- data: string;
2871
- driverParam: string;
2872
- notNull: true;
2873
- hasDefault: false;
2874
- isPrimaryKey: false;
2875
- isAutoincrement: false;
2876
- hasRuntimeDefault: false;
2877
- enumValues: [string, ...string[]];
2878
- baseColumn: never;
2879
- identity: undefined;
2880
- generated: undefined;
2881
- }, {}, {
2882
- length: number | undefined;
2883
- }>;
2884
- date: drizzle_orm_sqlite_core.SQLiteColumn<{
2885
- name: "date";
2886
- tableName: "commit_detail";
2887
- dataType: "string";
2888
- columnType: "SQLiteText";
2889
- data: string;
2890
- driverParam: string;
2891
- notNull: true;
2892
- hasDefault: false;
2893
- isPrimaryKey: false;
2894
- isAutoincrement: false;
2895
- hasRuntimeDefault: false;
2896
- enumValues: [string, ...string[]];
2897
- baseColumn: never;
2898
- identity: undefined;
2899
- generated: undefined;
2900
- }, {}, {
2901
- length: number | undefined;
2902
- }>;
2903
- };
2904
- dialect: "sqlite";
2905
- }>;
2906
2442
  declare const tag_config: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2907
2443
  name: "tag_config";
2908
2444
  schema: undefined;
@@ -3126,62 +2662,5 @@ declare const ignore_path: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3126
2662
  };
3127
2663
  dialect: "sqlite";
3128
2664
  }>;
3129
- declare const user_relations: drizzle_orm.Relations<"user", {
3130
- sessions: drizzle_orm.Many<"session">;
3131
- api_keys: drizzle_orm.Many<"api_keys">;
3132
- actions: drizzle_orm.Many<"action">;
3133
- tasks: drizzle_orm.Many<"task">;
3134
- tags: drizzle_orm.Many<"tag">;
3135
- }>;
3136
- declare const session_relations: drizzle_orm.Relations<"session", {
3137
- user: drizzle_orm.One<"user", true>;
3138
- }>;
3139
- declare const api_keys_relations: drizzle_orm.Relations<"api_keys", {
3140
- owner: drizzle_orm.One<"user", true>;
3141
- }>;
3142
- declare const project_relations: drizzle_orm.Relations<"project", {
3143
- owner: drizzle_orm.One<"user", true>;
3144
- tracker_results: drizzle_orm.Many<"tracker_result">;
3145
- milestones: drizzle_orm.Many<"milestone">;
3146
- todo_updates: drizzle_orm.Many<"todo_updates">;
3147
- }>;
3148
- declare const action_relations: drizzle_orm.Relations<"action", {
3149
- owner: drizzle_orm.One<"user", true>;
3150
- }>;
3151
- declare const tracker_result_relations: drizzle_orm.Relations<"tracker_result", {
3152
- project: drizzle_orm.One<"project", true>;
3153
- }>;
3154
- declare const todoUpdatesRelations: drizzle_orm.Relations<"todo_updates", {
3155
- project: drizzle_orm.One<"project", true>;
3156
- oldTrackerResult: drizzle_orm.One<"tracker_result", false>;
3157
- newTrackerResult: drizzle_orm.One<"tracker_result", true>;
3158
- }>;
3159
- declare const milestone_relations: drizzle_orm.Relations<"milestone", {
3160
- project: drizzle_orm.One<"project", true>;
3161
- goals: drizzle_orm.Many<"goal">;
3162
- }>;
3163
- declare const goal_relations: drizzle_orm.Relations<"goal", {
3164
- milestone: drizzle_orm.One<"milestone", true>;
3165
- }>;
3166
- declare const task_relations: drizzle_orm.Relations<"task", {
3167
- owner: drizzle_orm.One<"user", true>;
3168
- goal: drizzle_orm.One<"goal", false>;
3169
- codebase_task: drizzle_orm.One<"codebase_tasks", false>;
3170
- checklists: drizzle_orm.Many<"checklist">;
3171
- }>;
3172
- declare const checklist_relations: drizzle_orm.Relations<"checklist", {
3173
- task: drizzle_orm.One<"task", true>;
3174
- items: drizzle_orm.Many<"checklist_item">;
3175
- }>;
3176
- declare const checklist_item_relations: drizzle_orm.Relations<"checklist_item", {
3177
- checklist: drizzle_orm.One<"checklist", true>;
3178
- }>;
3179
- declare const tag_relations: drizzle_orm.Relations<"tag", {
3180
- owner: drizzle_orm.One<"user", true>;
3181
- }>;
3182
- declare const task_tag_relations: drizzle_orm.Relations<"task_tag", {
3183
- task: drizzle_orm.One<"task", true>;
3184
- tag: drizzle_orm.One<"tag", true>;
3185
- }>;
3186
2665
 
3187
- export { type ActionType as A, session_relations as B, api_keys_relations as C, project_relations as D, action_relations as E, tracker_result_relations as F, todoUpdatesRelations as G, milestone_relations as H, goal_relations as I, task_relations as J, checklist_relations as K, checklist_item_relations as L, tag_relations as M, task_tag_relations as N, owned_entity as a, api_keys as b, action as c, deleted as d, entity as e, tracker_result as f, todo_updates as g, update_tracker_relations as h, id as i, goal as j, task as k, checklist as l, milestone as m, checklist_item as n, owner_id as o, project as p, codebase_tasks as q, tag as r, session as s, timestamps as t, user as u, task_tag as v, commit_detail as w, tag_config as x, ignore_path as y, user_relations as z };
2666
+ export { type ActionType as A, api_keys as a, action as b, codebase_tasks as c, tag as d, task_tag as e, todo_updates as f, goal as g, tracker_result as h, tag_config as i, ignore_path as j, milestone as m, project as p, session as s, task as t, user as u };
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { InferSelectModel, InferInsertModel } from 'drizzle-orm';
3
- import { d as media_profiles, c as media_profile_filters, a as media_accounts, m as media_account_settings, b as media_platform_credentials, e as media_rate_limits } from './media.d-R87HGuRp.js';
4
- import { b as api_keys } from './schema.d-BceDyQED.js';
3
+ import { m as media_profiles, a as media_profile_filters, b as media_accounts, c as media_account_settings, d as media_platform_credentials, e as media_rate_limits } from './media.d-CQ56ckoR.js';
4
+ import { a as api_keys } from './schema.d-DALWdx-o.js';
5
5
 
6
6
  declare const PLATFORMS: readonly ["github", "bluesky", "youtube", "devpad", "reddit", "twitter"];
7
7
  type Platform = (typeof PLATFORMS)[number];
@@ -6143,4 +6143,4 @@ type AccountSetting = InferSelectModel<typeof media_account_settings>;
6143
6143
  type NewAccountSetting = InferInsertModel<typeof media_account_settings>;
6144
6144
  type CorpusPath = `media/raw/github/${string}` | `media/raw/bluesky/${string}` | `media/raw/youtube/${string}` | `media/raw/devpad/${string}` | `media/timeline/${string}`;
6145
6145
 
6146
- export { type TimelineType as $, type AddFilterInput as A, BlueskyAuthorSchema as B, type CreateProfileInput as C, DevpadRawSchema as D, GitHubSettingsSchema as E, type FilterKey as F, GitHubBaseEventSchema as G, type PlatformSettings as H, PlatformSettingsSchemaMap as I, type YouTubeSettings as J, YouTubeSettingsSchema as K, type CommentPayload as L, type MultiStorePlatform as M, type CommitGroup as N, type CommitPayload as O, type Platform as P, type DateGroup as Q, type Payload as R, SlugSchema as S, type PostPayload as T, type UpdateProfileInput as U, type PRCommit as V, type PullRequestPayload as W, type TaskPayload as X, YouTubeRawSchema as Y, type Timeline as Z, type TimelineItem as _, BlueskyFeedItemSchema as a, type VideoPayload as a0, CommentPayloadSchema as a1, CommitGroupSchema as a2, CommitPayloadSchema as a3, DateGroupSchema as a4, PayloadSchema as a5, PostPayloadSchema as a6, PullRequestPayloadSchema as a7, TaskPayloadSchema as a8, TimelineItemSchema as a9, type NewRateLimit as aA, type PlatformCredential as aB, type Profile as aC, type ProfileFilter as aD, type RateLimit as aE, type YouTubeRaw as aF, type YouTubeThumbnail as aG, type YouTubeVideo as aH, TimelineSchema as aa, TimelineTypeSchema as ab, VideoPayloadSchema as ac, type Account as ad, type AccountSetting as ae, type AccountWithUser as af, type ApiKey as ag, type BlueskyAuthor as ah, type BlueskyFeedItem as ai, type BlueskyPost as aj, type BlueskyRaw as ak, type CorpusPath as al, type DevpadRaw as am, type DevpadTask as an, type GitHubBaseEvent as ao, type GitHubEvent as ap, type GitHubExtendedCommit as aq, type GitHubPullRequest as ar, type GitHubRaw as as, type GitHubRepo as at, type NewAccount as au, type NewAccountSetting as av, type NewApiKey as aw, type NewPlatformCredential as ax, type NewProfile as ay, type NewProfileFilter as az, BlueskyPostSchema as b, BlueskyRawSchema as c, DevpadTaskSchema as d, GitHubEventSchema as e, GitHubExtendedCommitSchema as f, GitHubPullRequestSchema as g, GitHubRawSchema as h, GitHubRepoSchema as i, isMultiStorePlatform as j, MULTI_STORE_PLATFORMS as k, PLATFORMS as l, PlatformSchema as m, YouTubeThumbnailSchema as n, YouTubeVideoSchema as o, AddFilterSchema as p, CreateProfileSchema as q, FilterKeySchema as r, type FilterType as s, FilterTypeSchema as t, UpdateProfileSchema as u, type BlueskySettings as v, BlueskySettingsSchema as w, type DevpadSettings as x, DevpadSettingsSchema as y, type GitHubSettings as z };
6146
+ export { CreateProfileSchema as $, type Account as A, BlueskyAuthorSchema as B, type CorpusPath as C, DevpadRawSchema as D, type GitHubExtendedCommit as E, type GitHubPullRequest as F, GitHubBaseEventSchema as G, type GitHubRaw as H, type GitHubRepo as I, type NewAccountSetting as J, type NewApiKey as K, type NewPlatformCredential as L, type MultiStorePlatform as M, type NewAccount as N, type NewProfile as O, type Platform as P, type NewProfileFilter as Q, type NewRateLimit as R, type PlatformCredential as S, type Profile as T, type ProfileFilter as U, type RateLimit as V, type YouTubeRaw as W, type YouTubeThumbnail as X, YouTubeRawSchema as Y, type YouTubeVideo as Z, SlugSchema as _, BlueskyFeedItemSchema as a, UpdateProfileSchema as a0, FilterTypeSchema as a1, FilterKeySchema as a2, AddFilterSchema as a3, type CreateProfileInput as a4, type UpdateProfileInput as a5, type AddFilterInput as a6, type FilterType as a7, type FilterKey as a8, GitHubSettingsSchema as a9, type TaskPayload as aA, type PRCommit as aB, type PullRequestPayload as aC, type CommentPayload as aD, type Payload as aE, type TimelineItem as aF, type CommitGroup as aG, type DateGroup as aH, type Timeline as aI, BlueskySettingsSchema as aa, YouTubeSettingsSchema as ab, DevpadSettingsSchema as ac, PlatformSettingsSchemaMap as ad, type GitHubSettings as ae, type BlueskySettings as af, type YouTubeSettings as ag, type DevpadSettings as ah, type PlatformSettings as ai, TimelineTypeSchema as aj, CommitPayloadSchema as ak, PostPayloadSchema as al, VideoPayloadSchema as am, TaskPayloadSchema as an, PRCommitSchema as ao, PullRequestPayloadSchema as ap, CommentPayloadSchema as aq, PayloadSchema as ar, TimelineItemSchema as as, CommitGroupSchema as at, DateGroupSchema as au, TimelineSchema as av, type TimelineType as aw, type CommitPayload as ax, type PostPayload as ay, type VideoPayload as az, BlueskyPostSchema as b, BlueskyRawSchema as c, DevpadTaskSchema as d, GitHubEventSchema as e, GitHubExtendedCommitSchema as f, GitHubPullRequestSchema as g, GitHubRawSchema as h, GitHubRepoSchema as i, isMultiStorePlatform as j, MULTI_STORE_PLATFORMS as k, PLATFORMS as l, PlatformSchema as m, YouTubeThumbnailSchema as n, YouTubeVideoSchema as o, type AccountSetting as p, type AccountWithUser as q, type ApiKey as r, type BlueskyAuthor as s, type BlueskyFeedItem as t, type BlueskyPost as u, type BlueskyRaw as v, type DevpadRaw as w, type DevpadTask as x, type GitHubBaseEvent as y, type GitHubEvent as z };
@@ -1,6 +1,6 @@
1
1
  import { InferSelectModel, InferInsertModel } from 'drizzle-orm';
2
2
  import { z } from 'zod';
3
- import { b as api_keys, p as project, m as milestone, j as goal, k as task, q as codebase_tasks, c as action, A as ActionType, r as tag, u as user, s as session, v as task_tag, g as todo_updates, f as tracker_result, x as tag_config, y as ignore_path } from './schema.d-BceDyQED.js';
3
+ import { a as api_keys, p as project, m as milestone, g as goal, t as task, c as codebase_tasks, b as action, A as ActionType, d as tag, u as user, s as session, e as task_tag, f as todo_updates, h as tracker_result, i as tag_config, j as ignore_path } from './schema.d-DALWdx-o.js';
4
4
 
5
5
  declare const upsert_project: z.ZodObject<{
6
6
  id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -681,4 +681,4 @@ type PostsCorpus = Corpus<{
681
681
  posts: Store<PostContent>;
682
682
  }>;
683
683
 
684
- export { type PostsCorpus as $, type AccessKey as A, FetchLinkSchema as B, type Category as C, type IntegrationInsert as D, IntegrationInsertSchema as E, type FetchLink as F, IntegrationSchema as G, type IntegrationUpsert as H, type Integration as I, IntegrationUpsertSchema as J, isDraft as K, isPublished as L, isScheduled as M, type PaginatedResponse as N, type Post as O, type PostContent as P, type PostCreate as Q, PostCreateSchema as R, type PostListParams as S, PostListParamsSchema as T, type PostRow as U, type VersionInfo as V, type PostRowInsert as W, PostRowInsertSchema as X, PostRowSchema as Y, PostSchema as Z, type PostStatus as _, PostContentSchema as a, type PostsResponse as a0, PostsResponseSchema as a1, type PostUpdate as a2, PostUpdateSchema as a3, postStatus as a4, type Tag as a5, type TagInsert as a6, TagInsertSchema as a7, TagSchema as a8, type PostCorpusError as b, corpusPath as c, postStoreId as d, postsStoreDefinition as e, VersionInfoSchema as f, type AccessKeyCreate as g, AccessKeyCreateSchema as h, type AccessKeyInsert as i, AccessKeyInsertSchema as j, type AccessKeyRow as k, AccessKeyRowSchema as l, mapCorpusError as m, AccessKeySchema as n, type AccessKeyUpdate as o, parsePostContent as p, AccessKeyUpdateSchema as q, type ApiError as r, serializePostContent as s, type CategoryCreate as t, CategoryCreateSchema as u, type CategoryInsert as v, CategoryInsertSchema as w, CategorySchema as x, type FetchLinkInsert as y, FetchLinkInsertSchema as z };
684
+ export { type CategoryCreate as $, AccessKeyRowSchema as A, type IntegrationInsert as B, CategorySchema as C, type FetchLink as D, FetchLinkInsertSchema as E, FetchLinkSchema as F, type FetchLinkInsert as G, PostSchema as H, IntegrationSchema as I, type Post as J, PostCreateSchema as K, type PostCreate as L, PostUpdateSchema as M, type PostUpdate as N, PostListParamsSchema as O, PostContentSchema as P, type PostListParams as Q, PostsResponseSchema as R, type PostsResponse as S, TagSchema as T, isPublished as U, VersionInfoSchema as V, isScheduled as W, isDraft as X, type PostStatus as Y, postStatus as Z, CategoryCreateSchema as _, type PostContent as a, AccessKeyCreateSchema as a0, type AccessKeyCreate as a1, AccessKeyUpdateSchema as a2, type AccessKeyUpdate as a3, IntegrationUpsertSchema as a4, type IntegrationUpsert as a5, type ApiError as a6, type PaginatedResponse as a7, type PostsCorpus as a8, postStoreId as b, corpusPath as c, type VersionInfo as d, type PostCorpusError as e, parsePostContent as f, PostRowSchema as g, type PostRow as h, PostRowInsertSchema as i, type PostRowInsert as j, type Category as k, CategoryInsertSchema as l, mapCorpusError as m, type CategoryInsert as n, type Tag as o, postsStoreDefinition as p, TagInsertSchema as q, type TagInsert as r, serializePostContent as s, type AccessKeyRow as t, AccessKeySchema as u, type AccessKey as v, AccessKeyInsertSchema as w, type AccessKeyInsert as x, type Integration as y, IntegrationInsertSchema as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devpad/api",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "author": {
5
5
  "name": "f0rbit",
6
6
  "url": "https://github.com/f0rbit"
@@ -27,7 +27,7 @@
27
27
  "zod": "^3.22.4"
28
28
  },
29
29
  "devDependencies": {
30
- "@devpad/schema": "^2.0.2",
30
+ "@devpad/schema": "^2.0.3",
31
31
  "@types/node": "^20.11.24",
32
32
  "bun-types": "latest",
33
33
  "eslint": "^8.57.0",