@vibes.diy/api-sql 4.5.5 → 5.0.1
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/package.json +3 -3
- package/tables.d.ts +475 -0
- package/tables.js +6 -0
- package/tables.js.map +1 -1
- package/vibes-diy-api-schema-pg.d.ts +429 -0
- package/vibes-diy-api-schema-pg.js +38 -0
- package/vibes-diy-api-schema-pg.js.map +1 -1
- package/vibes-diy-api-schema-sqlite.d.ts +475 -0
- package/vibes-diy-api-schema-sqlite.js +38 -0
- package/vibes-diy-api-schema-sqlite.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibes.diy/api-sql",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "core-cli tsc"
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"@cloudflare/workers-types": "~4.20260701.1",
|
|
11
11
|
"@libsql/client": "~0.17.4",
|
|
12
12
|
"@neondatabase/serverless": "~1.1.0",
|
|
13
|
-
"@vibes.diy/api-pkg": "
|
|
14
|
-
"@vibes.diy/api-types": "
|
|
13
|
+
"@vibes.diy/api-pkg": "5.0.1",
|
|
14
|
+
"@vibes.diy/api-types": "5.0.1",
|
|
15
15
|
"arktype": "~2.2.2",
|
|
16
16
|
"drizzle-orm": "~0.45.2"
|
|
17
17
|
},
|
package/tables.d.ts
CHANGED
|
@@ -1881,6 +1881,146 @@ declare function createSqliteVibesApiTables(): {
|
|
|
1881
1881
|
};
|
|
1882
1882
|
dialect: 'sqlite';
|
|
1883
1883
|
}>;
|
|
1884
|
+
vibeCuration: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
1885
|
+
name: "VibeCuration";
|
|
1886
|
+
schema: undefined;
|
|
1887
|
+
columns: {
|
|
1888
|
+
ownerHandle: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1889
|
+
name: "userSlug";
|
|
1890
|
+
tableName: "VibeCuration";
|
|
1891
|
+
dataType: "string";
|
|
1892
|
+
columnType: "SQLiteText";
|
|
1893
|
+
data: string;
|
|
1894
|
+
driverParam: string;
|
|
1895
|
+
notNull: true;
|
|
1896
|
+
hasDefault: false;
|
|
1897
|
+
isPrimaryKey: false;
|
|
1898
|
+
isAutoincrement: false;
|
|
1899
|
+
hasRuntimeDefault: false;
|
|
1900
|
+
enumValues: [string, ...string[]];
|
|
1901
|
+
baseColumn: never;
|
|
1902
|
+
identity: undefined;
|
|
1903
|
+
generated: undefined;
|
|
1904
|
+
}, {}, {
|
|
1905
|
+
length: number | undefined;
|
|
1906
|
+
}>;
|
|
1907
|
+
appSlug: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1908
|
+
name: "appSlug";
|
|
1909
|
+
tableName: "VibeCuration";
|
|
1910
|
+
dataType: "string";
|
|
1911
|
+
columnType: "SQLiteText";
|
|
1912
|
+
data: string;
|
|
1913
|
+
driverParam: string;
|
|
1914
|
+
notNull: true;
|
|
1915
|
+
hasDefault: false;
|
|
1916
|
+
isPrimaryKey: false;
|
|
1917
|
+
isAutoincrement: false;
|
|
1918
|
+
hasRuntimeDefault: false;
|
|
1919
|
+
enumValues: [string, ...string[]];
|
|
1920
|
+
baseColumn: never;
|
|
1921
|
+
identity: undefined;
|
|
1922
|
+
generated: undefined;
|
|
1923
|
+
}, {}, {
|
|
1924
|
+
length: undefined;
|
|
1925
|
+
}>;
|
|
1926
|
+
state: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1927
|
+
name: "state";
|
|
1928
|
+
tableName: "VibeCuration";
|
|
1929
|
+
dataType: "string";
|
|
1930
|
+
columnType: "SQLiteText";
|
|
1931
|
+
data: string;
|
|
1932
|
+
driverParam: string;
|
|
1933
|
+
notNull: true;
|
|
1934
|
+
hasDefault: false;
|
|
1935
|
+
isPrimaryKey: false;
|
|
1936
|
+
isAutoincrement: false;
|
|
1937
|
+
hasRuntimeDefault: false;
|
|
1938
|
+
enumValues: [string, ...string[]];
|
|
1939
|
+
baseColumn: never;
|
|
1940
|
+
identity: undefined;
|
|
1941
|
+
generated: undefined;
|
|
1942
|
+
}, {}, {
|
|
1943
|
+
length: undefined;
|
|
1944
|
+
}>;
|
|
1945
|
+
proposedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1946
|
+
name: "proposedAt";
|
|
1947
|
+
tableName: "VibeCuration";
|
|
1948
|
+
dataType: "string";
|
|
1949
|
+
columnType: "SQLiteText";
|
|
1950
|
+
data: string;
|
|
1951
|
+
driverParam: string;
|
|
1952
|
+
notNull: true;
|
|
1953
|
+
hasDefault: false;
|
|
1954
|
+
isPrimaryKey: false;
|
|
1955
|
+
isAutoincrement: false;
|
|
1956
|
+
hasRuntimeDefault: false;
|
|
1957
|
+
enumValues: [string, ...string[]];
|
|
1958
|
+
baseColumn: never;
|
|
1959
|
+
identity: undefined;
|
|
1960
|
+
generated: undefined;
|
|
1961
|
+
}, {}, {
|
|
1962
|
+
length: undefined;
|
|
1963
|
+
}>;
|
|
1964
|
+
decidedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1965
|
+
name: "decidedAt";
|
|
1966
|
+
tableName: "VibeCuration";
|
|
1967
|
+
dataType: "string";
|
|
1968
|
+
columnType: "SQLiteText";
|
|
1969
|
+
data: string;
|
|
1970
|
+
driverParam: string;
|
|
1971
|
+
notNull: true;
|
|
1972
|
+
hasDefault: true;
|
|
1973
|
+
isPrimaryKey: false;
|
|
1974
|
+
isAutoincrement: false;
|
|
1975
|
+
hasRuntimeDefault: false;
|
|
1976
|
+
enumValues: [string, ...string[]];
|
|
1977
|
+
baseColumn: never;
|
|
1978
|
+
identity: undefined;
|
|
1979
|
+
generated: undefined;
|
|
1980
|
+
}, {}, {
|
|
1981
|
+
length: undefined;
|
|
1982
|
+
}>;
|
|
1983
|
+
decidedBy: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1984
|
+
name: "decidedBy";
|
|
1985
|
+
tableName: "VibeCuration";
|
|
1986
|
+
dataType: "string";
|
|
1987
|
+
columnType: "SQLiteText";
|
|
1988
|
+
data: string;
|
|
1989
|
+
driverParam: string;
|
|
1990
|
+
notNull: true;
|
|
1991
|
+
hasDefault: true;
|
|
1992
|
+
isPrimaryKey: false;
|
|
1993
|
+
isAutoincrement: false;
|
|
1994
|
+
hasRuntimeDefault: false;
|
|
1995
|
+
enumValues: [string, ...string[]];
|
|
1996
|
+
baseColumn: never;
|
|
1997
|
+
identity: undefined;
|
|
1998
|
+
generated: undefined;
|
|
1999
|
+
}, {}, {
|
|
2000
|
+
length: undefined;
|
|
2001
|
+
}>;
|
|
2002
|
+
discordMessageId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2003
|
+
name: "discordMessageId";
|
|
2004
|
+
tableName: "VibeCuration";
|
|
2005
|
+
dataType: "string";
|
|
2006
|
+
columnType: "SQLiteText";
|
|
2007
|
+
data: string;
|
|
2008
|
+
driverParam: string;
|
|
2009
|
+
notNull: true;
|
|
2010
|
+
hasDefault: true;
|
|
2011
|
+
isPrimaryKey: false;
|
|
2012
|
+
isAutoincrement: false;
|
|
2013
|
+
hasRuntimeDefault: false;
|
|
2014
|
+
enumValues: [string, ...string[]];
|
|
2015
|
+
baseColumn: never;
|
|
2016
|
+
identity: undefined;
|
|
2017
|
+
generated: undefined;
|
|
2018
|
+
}, {}, {
|
|
2019
|
+
length: undefined;
|
|
2020
|
+
}>;
|
|
2021
|
+
};
|
|
2022
|
+
dialect: 'sqlite';
|
|
2023
|
+
}>;
|
|
1884
2024
|
directChannelIndex: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
1885
2025
|
name: "DirectChannelIndex";
|
|
1886
2026
|
schema: undefined;
|
|
@@ -2837,6 +2977,341 @@ declare function createSqliteVibesApiTables(): {
|
|
|
2837
2977
|
};
|
|
2838
2978
|
dialect: 'sqlite';
|
|
2839
2979
|
}>;
|
|
2980
|
+
notifications: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
2981
|
+
name: "Notifications";
|
|
2982
|
+
schema: undefined;
|
|
2983
|
+
columns: {
|
|
2984
|
+
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
2985
|
+
name: "id";
|
|
2986
|
+
tableName: "Notifications";
|
|
2987
|
+
dataType: "string";
|
|
2988
|
+
columnType: "SQLiteText";
|
|
2989
|
+
data: string;
|
|
2990
|
+
driverParam: string;
|
|
2991
|
+
notNull: true;
|
|
2992
|
+
hasDefault: false;
|
|
2993
|
+
isPrimaryKey: true;
|
|
2994
|
+
isAutoincrement: false;
|
|
2995
|
+
hasRuntimeDefault: false;
|
|
2996
|
+
enumValues: [string, ...string[]];
|
|
2997
|
+
baseColumn: never;
|
|
2998
|
+
identity: undefined;
|
|
2999
|
+
generated: undefined;
|
|
3000
|
+
}, {}, {
|
|
3001
|
+
length: undefined;
|
|
3002
|
+
}>;
|
|
3003
|
+
userId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3004
|
+
name: "userId";
|
|
3005
|
+
tableName: "Notifications";
|
|
3006
|
+
dataType: "string";
|
|
3007
|
+
columnType: "SQLiteText";
|
|
3008
|
+
data: string;
|
|
3009
|
+
driverParam: string;
|
|
3010
|
+
notNull: true;
|
|
3011
|
+
hasDefault: false;
|
|
3012
|
+
isPrimaryKey: false;
|
|
3013
|
+
isAutoincrement: false;
|
|
3014
|
+
hasRuntimeDefault: false;
|
|
3015
|
+
enumValues: [string, ...string[]];
|
|
3016
|
+
baseColumn: never;
|
|
3017
|
+
identity: undefined;
|
|
3018
|
+
generated: undefined;
|
|
3019
|
+
}, {}, {
|
|
3020
|
+
length: undefined;
|
|
3021
|
+
}>;
|
|
3022
|
+
notificationType: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3023
|
+
name: "notificationType";
|
|
3024
|
+
tableName: "Notifications";
|
|
3025
|
+
dataType: "string";
|
|
3026
|
+
columnType: "SQLiteText";
|
|
3027
|
+
data: string;
|
|
3028
|
+
driverParam: string;
|
|
3029
|
+
notNull: true;
|
|
3030
|
+
hasDefault: false;
|
|
3031
|
+
isPrimaryKey: false;
|
|
3032
|
+
isAutoincrement: false;
|
|
3033
|
+
hasRuntimeDefault: false;
|
|
3034
|
+
enumValues: [string, ...string[]];
|
|
3035
|
+
baseColumn: never;
|
|
3036
|
+
identity: undefined;
|
|
3037
|
+
generated: undefined;
|
|
3038
|
+
}, {}, {
|
|
3039
|
+
length: undefined;
|
|
3040
|
+
}>;
|
|
3041
|
+
ownerHandle: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3042
|
+
name: "userSlug";
|
|
3043
|
+
tableName: "Notifications";
|
|
3044
|
+
dataType: "string";
|
|
3045
|
+
columnType: "SQLiteText";
|
|
3046
|
+
data: string;
|
|
3047
|
+
driverParam: string;
|
|
3048
|
+
notNull: true;
|
|
3049
|
+
hasDefault: false;
|
|
3050
|
+
isPrimaryKey: false;
|
|
3051
|
+
isAutoincrement: false;
|
|
3052
|
+
hasRuntimeDefault: false;
|
|
3053
|
+
enumValues: [string, ...string[]];
|
|
3054
|
+
baseColumn: never;
|
|
3055
|
+
identity: undefined;
|
|
3056
|
+
generated: undefined;
|
|
3057
|
+
}, {}, {
|
|
3058
|
+
length: number | undefined;
|
|
3059
|
+
}>;
|
|
3060
|
+
appSlug: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3061
|
+
name: "appSlug";
|
|
3062
|
+
tableName: "Notifications";
|
|
3063
|
+
dataType: "string";
|
|
3064
|
+
columnType: "SQLiteText";
|
|
3065
|
+
data: string;
|
|
3066
|
+
driverParam: string;
|
|
3067
|
+
notNull: true;
|
|
3068
|
+
hasDefault: false;
|
|
3069
|
+
isPrimaryKey: false;
|
|
3070
|
+
isAutoincrement: false;
|
|
3071
|
+
hasRuntimeDefault: false;
|
|
3072
|
+
enumValues: [string, ...string[]];
|
|
3073
|
+
baseColumn: never;
|
|
3074
|
+
identity: undefined;
|
|
3075
|
+
generated: undefined;
|
|
3076
|
+
}, {}, {
|
|
3077
|
+
length: undefined;
|
|
3078
|
+
}>;
|
|
3079
|
+
body: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3080
|
+
name: "body";
|
|
3081
|
+
tableName: "Notifications";
|
|
3082
|
+
dataType: "string";
|
|
3083
|
+
columnType: "SQLiteText";
|
|
3084
|
+
data: string;
|
|
3085
|
+
driverParam: string;
|
|
3086
|
+
notNull: true;
|
|
3087
|
+
hasDefault: false;
|
|
3088
|
+
isPrimaryKey: false;
|
|
3089
|
+
isAutoincrement: false;
|
|
3090
|
+
hasRuntimeDefault: false;
|
|
3091
|
+
enumValues: [string, ...string[]];
|
|
3092
|
+
baseColumn: never;
|
|
3093
|
+
identity: undefined;
|
|
3094
|
+
generated: undefined;
|
|
3095
|
+
}, {}, {
|
|
3096
|
+
length: undefined;
|
|
3097
|
+
}>;
|
|
3098
|
+
actorHandle: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3099
|
+
name: "actorHandle";
|
|
3100
|
+
tableName: "Notifications";
|
|
3101
|
+
dataType: "string";
|
|
3102
|
+
columnType: "SQLiteText";
|
|
3103
|
+
data: string;
|
|
3104
|
+
driverParam: string;
|
|
3105
|
+
notNull: false;
|
|
3106
|
+
hasDefault: false;
|
|
3107
|
+
isPrimaryKey: false;
|
|
3108
|
+
isAutoincrement: false;
|
|
3109
|
+
hasRuntimeDefault: false;
|
|
3110
|
+
enumValues: [string, ...string[]];
|
|
3111
|
+
baseColumn: never;
|
|
3112
|
+
identity: undefined;
|
|
3113
|
+
generated: undefined;
|
|
3114
|
+
}, {}, {
|
|
3115
|
+
length: undefined;
|
|
3116
|
+
}>;
|
|
3117
|
+
actorUserId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3118
|
+
name: "actorUserId";
|
|
3119
|
+
tableName: "Notifications";
|
|
3120
|
+
dataType: "string";
|
|
3121
|
+
columnType: "SQLiteText";
|
|
3122
|
+
data: string;
|
|
3123
|
+
driverParam: string;
|
|
3124
|
+
notNull: false;
|
|
3125
|
+
hasDefault: false;
|
|
3126
|
+
isPrimaryKey: false;
|
|
3127
|
+
isAutoincrement: false;
|
|
3128
|
+
hasRuntimeDefault: false;
|
|
3129
|
+
enumValues: [string, ...string[]];
|
|
3130
|
+
baseColumn: never;
|
|
3131
|
+
identity: undefined;
|
|
3132
|
+
generated: undefined;
|
|
3133
|
+
}, {}, {
|
|
3134
|
+
length: undefined;
|
|
3135
|
+
}>;
|
|
3136
|
+
targetRef: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3137
|
+
name: "targetRef";
|
|
3138
|
+
tableName: "Notifications";
|
|
3139
|
+
dataType: "json";
|
|
3140
|
+
columnType: "SQLiteTextJson";
|
|
3141
|
+
data: unknown;
|
|
3142
|
+
driverParam: string;
|
|
3143
|
+
notNull: false;
|
|
3144
|
+
hasDefault: false;
|
|
3145
|
+
isPrimaryKey: false;
|
|
3146
|
+
isAutoincrement: false;
|
|
3147
|
+
hasRuntimeDefault: false;
|
|
3148
|
+
enumValues: undefined;
|
|
3149
|
+
baseColumn: never;
|
|
3150
|
+
identity: undefined;
|
|
3151
|
+
generated: undefined;
|
|
3152
|
+
}, {}, {}>;
|
|
3153
|
+
dedupeKey: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3154
|
+
name: "dedupeKey";
|
|
3155
|
+
tableName: "Notifications";
|
|
3156
|
+
dataType: "string";
|
|
3157
|
+
columnType: "SQLiteText";
|
|
3158
|
+
data: string;
|
|
3159
|
+
driverParam: string;
|
|
3160
|
+
notNull: true;
|
|
3161
|
+
hasDefault: false;
|
|
3162
|
+
isPrimaryKey: false;
|
|
3163
|
+
isAutoincrement: false;
|
|
3164
|
+
hasRuntimeDefault: false;
|
|
3165
|
+
enumValues: [string, ...string[]];
|
|
3166
|
+
baseColumn: never;
|
|
3167
|
+
identity: undefined;
|
|
3168
|
+
generated: undefined;
|
|
3169
|
+
}, {}, {
|
|
3170
|
+
length: undefined;
|
|
3171
|
+
}>;
|
|
3172
|
+
created: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3173
|
+
name: "created";
|
|
3174
|
+
tableName: "Notifications";
|
|
3175
|
+
dataType: "string";
|
|
3176
|
+
columnType: "SQLiteText";
|
|
3177
|
+
data: string;
|
|
3178
|
+
driverParam: string;
|
|
3179
|
+
notNull: true;
|
|
3180
|
+
hasDefault: false;
|
|
3181
|
+
isPrimaryKey: false;
|
|
3182
|
+
isAutoincrement: false;
|
|
3183
|
+
hasRuntimeDefault: false;
|
|
3184
|
+
enumValues: [string, ...string[]];
|
|
3185
|
+
baseColumn: never;
|
|
3186
|
+
identity: undefined;
|
|
3187
|
+
generated: undefined;
|
|
3188
|
+
}, {}, {
|
|
3189
|
+
length: undefined;
|
|
3190
|
+
}>;
|
|
3191
|
+
readAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3192
|
+
name: "readAt";
|
|
3193
|
+
tableName: "Notifications";
|
|
3194
|
+
dataType: "string";
|
|
3195
|
+
columnType: "SQLiteText";
|
|
3196
|
+
data: string;
|
|
3197
|
+
driverParam: string;
|
|
3198
|
+
notNull: false;
|
|
3199
|
+
hasDefault: false;
|
|
3200
|
+
isPrimaryKey: false;
|
|
3201
|
+
isAutoincrement: false;
|
|
3202
|
+
hasRuntimeDefault: false;
|
|
3203
|
+
enumValues: [string, ...string[]];
|
|
3204
|
+
baseColumn: never;
|
|
3205
|
+
identity: undefined;
|
|
3206
|
+
generated: undefined;
|
|
3207
|
+
}, {}, {
|
|
3208
|
+
length: undefined;
|
|
3209
|
+
}>;
|
|
3210
|
+
};
|
|
3211
|
+
dialect: 'sqlite';
|
|
3212
|
+
}>;
|
|
3213
|
+
notificationDigests: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
3214
|
+
name: "NotificationDigests";
|
|
3215
|
+
schema: undefined;
|
|
3216
|
+
columns: {
|
|
3217
|
+
userId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3218
|
+
name: "userId";
|
|
3219
|
+
tableName: "NotificationDigests";
|
|
3220
|
+
dataType: "string";
|
|
3221
|
+
columnType: "SQLiteText";
|
|
3222
|
+
data: string;
|
|
3223
|
+
driverParam: string;
|
|
3224
|
+
notNull: true;
|
|
3225
|
+
hasDefault: false;
|
|
3226
|
+
isPrimaryKey: true;
|
|
3227
|
+
isAutoincrement: false;
|
|
3228
|
+
hasRuntimeDefault: false;
|
|
3229
|
+
enumValues: [string, ...string[]];
|
|
3230
|
+
baseColumn: never;
|
|
3231
|
+
identity: undefined;
|
|
3232
|
+
generated: undefined;
|
|
3233
|
+
}, {}, {
|
|
3234
|
+
length: undefined;
|
|
3235
|
+
}>;
|
|
3236
|
+
lastSentAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3237
|
+
name: "lastSentAt";
|
|
3238
|
+
tableName: "NotificationDigests";
|
|
3239
|
+
dataType: "string";
|
|
3240
|
+
columnType: "SQLiteText";
|
|
3241
|
+
data: string;
|
|
3242
|
+
driverParam: string;
|
|
3243
|
+
notNull: true;
|
|
3244
|
+
hasDefault: false;
|
|
3245
|
+
isPrimaryKey: false;
|
|
3246
|
+
isAutoincrement: false;
|
|
3247
|
+
hasRuntimeDefault: false;
|
|
3248
|
+
enumValues: [string, ...string[]];
|
|
3249
|
+
baseColumn: never;
|
|
3250
|
+
identity: undefined;
|
|
3251
|
+
generated: undefined;
|
|
3252
|
+
}, {}, {
|
|
3253
|
+
length: undefined;
|
|
3254
|
+
}>;
|
|
3255
|
+
watermark: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3256
|
+
name: "watermark";
|
|
3257
|
+
tableName: "NotificationDigests";
|
|
3258
|
+
dataType: "string";
|
|
3259
|
+
columnType: "SQLiteText";
|
|
3260
|
+
data: string;
|
|
3261
|
+
driverParam: string;
|
|
3262
|
+
notNull: true;
|
|
3263
|
+
hasDefault: false;
|
|
3264
|
+
isPrimaryKey: false;
|
|
3265
|
+
isAutoincrement: false;
|
|
3266
|
+
hasRuntimeDefault: false;
|
|
3267
|
+
enumValues: [string, ...string[]];
|
|
3268
|
+
baseColumn: never;
|
|
3269
|
+
identity: undefined;
|
|
3270
|
+
generated: undefined;
|
|
3271
|
+
}, {}, {
|
|
3272
|
+
length: undefined;
|
|
3273
|
+
}>;
|
|
3274
|
+
updated: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3275
|
+
name: "updated";
|
|
3276
|
+
tableName: "NotificationDigests";
|
|
3277
|
+
dataType: "string";
|
|
3278
|
+
columnType: "SQLiteText";
|
|
3279
|
+
data: string;
|
|
3280
|
+
driverParam: string;
|
|
3281
|
+
notNull: true;
|
|
3282
|
+
hasDefault: false;
|
|
3283
|
+
isPrimaryKey: false;
|
|
3284
|
+
isAutoincrement: false;
|
|
3285
|
+
hasRuntimeDefault: false;
|
|
3286
|
+
enumValues: [string, ...string[]];
|
|
3287
|
+
baseColumn: never;
|
|
3288
|
+
identity: undefined;
|
|
3289
|
+
generated: undefined;
|
|
3290
|
+
}, {}, {
|
|
3291
|
+
length: undefined;
|
|
3292
|
+
}>;
|
|
3293
|
+
created: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
3294
|
+
name: "created";
|
|
3295
|
+
tableName: "NotificationDigests";
|
|
3296
|
+
dataType: "string";
|
|
3297
|
+
columnType: "SQLiteText";
|
|
3298
|
+
data: string;
|
|
3299
|
+
driverParam: string;
|
|
3300
|
+
notNull: true;
|
|
3301
|
+
hasDefault: false;
|
|
3302
|
+
isPrimaryKey: false;
|
|
3303
|
+
isAutoincrement: false;
|
|
3304
|
+
hasRuntimeDefault: false;
|
|
3305
|
+
enumValues: [string, ...string[]];
|
|
3306
|
+
baseColumn: never;
|
|
3307
|
+
identity: undefined;
|
|
3308
|
+
generated: undefined;
|
|
3309
|
+
}, {}, {
|
|
3310
|
+
length: undefined;
|
|
3311
|
+
}>;
|
|
3312
|
+
};
|
|
3313
|
+
dialect: 'sqlite';
|
|
3314
|
+
}>;
|
|
2840
3315
|
};
|
|
2841
3316
|
export type VibesApiTables = ReturnType<typeof createSqliteVibesApiTables>;
|
|
2842
3317
|
export declare const DBFlavour: import("arktype/internal/variants/string.ts").StringType<"pg" | "sqlite", {}>;
|
package/tables.js
CHANGED
|
@@ -17,6 +17,7 @@ function createSqliteVibesApiTables() {
|
|
|
17
17
|
requestGrants: sqlite.sqlRequestGrants,
|
|
18
18
|
inviteGrants: sqlite.sqlInviteGrants,
|
|
19
19
|
appDocuments: sqlite.sqlAppDocuments,
|
|
20
|
+
vibeCuration: sqlite.sqlVibeCuration,
|
|
20
21
|
directChannelIndex: sqlite.sqlDirectChannelIndex,
|
|
21
22
|
directChannelReads: sqlite.sqlDirectChannelReads,
|
|
22
23
|
assetUploads: sqlite.sqlAssetUploads,
|
|
@@ -25,6 +26,8 @@ function createSqliteVibesApiTables() {
|
|
|
25
26
|
landingEvents: sqlite.sqlLandingEvents,
|
|
26
27
|
accessFunctionBindings: sqlite.sqlAccessFunctionBindings,
|
|
27
28
|
accessFnOutputs: sqlite.sqlAccessFnOutputs,
|
|
29
|
+
notifications: sqlite.sqlNotifications,
|
|
30
|
+
notificationDigests: sqlite.sqlNotificationDigests,
|
|
28
31
|
};
|
|
29
32
|
}
|
|
30
33
|
export const DBFlavour = type("'sqlite' | 'pg'");
|
|
@@ -52,6 +55,7 @@ export function createVibesApiTables(flavour) {
|
|
|
52
55
|
requestGrants: pg.sqlRequestGrants,
|
|
53
56
|
inviteGrants: pg.sqlInviteGrants,
|
|
54
57
|
appDocuments: pg.sqlAppDocuments,
|
|
58
|
+
vibeCuration: pg.sqlVibeCuration,
|
|
55
59
|
directChannelIndex: pg.sqlDirectChannelIndex,
|
|
56
60
|
directChannelReads: pg.sqlDirectChannelReads,
|
|
57
61
|
assetUploads: pg.sqlAssetUploads,
|
|
@@ -60,6 +64,8 @@ export function createVibesApiTables(flavour) {
|
|
|
60
64
|
landingEvents: pg.sqlLandingEvents,
|
|
61
65
|
accessFunctionBindings: pg.sqlAccessFunctionBindings,
|
|
62
66
|
accessFnOutputs: pg.sqlAccessFnOutputs,
|
|
67
|
+
notifications: pg.sqlNotifications,
|
|
68
|
+
notificationDigests: pg.sqlNotificationDigests,
|
|
63
69
|
};
|
|
64
70
|
}
|
|
65
71
|
return createSqliteVibesApiTables();
|
package/tables.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tables.js","sourceRoot":"","sources":["../jsr/tables.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,kCAAkC,CAAC;AAC3D,OAAO,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAInD,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAI/B,SAAS,0BAA0B;IACjC,OAAO;QACL,MAAM,EAAE,MAAM,CAAC,SAAS;QACxB,aAAa,EAAE,MAAM,CAAC,gBAAgB;QACtC,cAAc,EAAE,MAAM,CAAC,iBAAiB;QACxC,IAAI,EAAE,MAAM,CAAC,OAAO;QACpB,YAAY,EAAE,MAAM,CAAC,eAAe;QACpC,YAAY,EAAE,MAAM,CAAC,eAAe;QACpC,cAAc,EAAE,MAAM,CAAC,iBAAiB;QACxC,gBAAgB,EAAE,MAAM,CAAC,mBAAmB;QAC5C,YAAY,EAAE,MAAM,CAAC,eAAe;QACpC,WAAW,EAAE,MAAM,CAAC,cAAc;QAClC,cAAc,EAAE,MAAM,CAAC,iBAAiB;QACxC,aAAa,EAAE,MAAM,CAAC,gBAAgB;QACtC,YAAY,EAAE,MAAM,CAAC,eAAe;QACpC,YAAY,EAAE,MAAM,CAAC,eAAe;QACpC,kBAAkB,EAAE,MAAM,CAAC,qBAAqB;QAChD,kBAAkB,EAAE,MAAM,CAAC,qBAAqB;QAChD,YAAY,EAAE,MAAM,CAAC,eAAe;QACpC,aAAa,EAAE,MAAM,CAAC,gBAAgB;QACtC,iBAAiB,EAAE,MAAM,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