@simonarcher/fika-types 1.1.3 → 1.1.5

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.
@@ -1221,6 +1221,108 @@ export type Database = {
1221
1221
  }
1222
1222
  ];
1223
1223
  };
1224
+ menu_item_coffee_beans: {
1225
+ Row: {
1226
+ coffee_bean_id: string;
1227
+ created_at: string;
1228
+ id: string;
1229
+ menu_item_id: string;
1230
+ };
1231
+ Insert: {
1232
+ coffee_bean_id: string;
1233
+ created_at?: string;
1234
+ id?: string;
1235
+ menu_item_id: string;
1236
+ };
1237
+ Update: {
1238
+ coffee_bean_id?: string;
1239
+ created_at?: string;
1240
+ id?: string;
1241
+ menu_item_id?: string;
1242
+ };
1243
+ Relationships: [
1244
+ {
1245
+ foreignKeyName: "menu_item_coffee_beans_coffee_bean_id_fkey";
1246
+ columns: ["coffee_bean_id"];
1247
+ isOneToOne: false;
1248
+ referencedRelation: "coffee_beans";
1249
+ referencedColumns: ["id"];
1250
+ },
1251
+ {
1252
+ foreignKeyName: "menu_item_coffee_beans_menu_item_id_fkey";
1253
+ columns: ["menu_item_id"];
1254
+ isOneToOne: false;
1255
+ referencedRelation: "menu_items";
1256
+ referencedColumns: ["id"];
1257
+ }
1258
+ ];
1259
+ };
1260
+ menu_items: {
1261
+ Row: {
1262
+ available: boolean;
1263
+ category: Database["public"]["Enums"]["menu_item_category"];
1264
+ created_at: string;
1265
+ currency: string;
1266
+ description: string | null;
1267
+ drink_type: Database["public"]["Enums"]["menu_item_drink_type"] | null;
1268
+ food_type: Database["public"]["Enums"]["menu_item_food_type"] | null;
1269
+ id: string;
1270
+ image: string | null;
1271
+ name: string;
1272
+ price: number;
1273
+ product_id: string | null;
1274
+ shop_id: string;
1275
+ updated_at: string;
1276
+ };
1277
+ Insert: {
1278
+ available?: boolean;
1279
+ category?: Database["public"]["Enums"]["menu_item_category"];
1280
+ created_at?: string;
1281
+ currency?: string;
1282
+ description?: string | null;
1283
+ drink_type?: Database["public"]["Enums"]["menu_item_drink_type"] | null;
1284
+ food_type?: Database["public"]["Enums"]["menu_item_food_type"] | null;
1285
+ id?: string;
1286
+ image?: string | null;
1287
+ name: string;
1288
+ price: number;
1289
+ product_id?: string | null;
1290
+ shop_id: string;
1291
+ updated_at?: string;
1292
+ };
1293
+ Update: {
1294
+ available?: boolean;
1295
+ category?: Database["public"]["Enums"]["menu_item_category"];
1296
+ created_at?: string;
1297
+ currency?: string;
1298
+ description?: string | null;
1299
+ drink_type?: Database["public"]["Enums"]["menu_item_drink_type"] | null;
1300
+ food_type?: Database["public"]["Enums"]["menu_item_food_type"] | null;
1301
+ id?: string;
1302
+ image?: string | null;
1303
+ name?: string;
1304
+ price?: number;
1305
+ product_id?: string | null;
1306
+ shop_id?: string;
1307
+ updated_at?: string;
1308
+ };
1309
+ Relationships: [
1310
+ {
1311
+ foreignKeyName: "menu_items_shop_id_fkey";
1312
+ columns: ["shop_id"];
1313
+ isOneToOne: false;
1314
+ referencedRelation: "shop_stats";
1315
+ referencedColumns: ["id"];
1316
+ },
1317
+ {
1318
+ foreignKeyName: "menu_items_shop_id_fkey";
1319
+ columns: ["shop_id"];
1320
+ isOneToOne: false;
1321
+ referencedRelation: "shops";
1322
+ referencedColumns: ["id"];
1323
+ }
1324
+ ];
1325
+ };
1224
1326
  news: {
1225
1327
  Row: {
1226
1328
  author_id: string | null;
@@ -1234,6 +1336,7 @@ export type Database = {
1234
1336
  id: string;
1235
1337
  image: string | null;
1236
1338
  is_published: boolean | null;
1339
+ likes: string[] | null;
1237
1340
  metadata: Json | null;
1238
1341
  posted_by: string | null;
1239
1342
  published_at: string | null;
@@ -1258,6 +1361,7 @@ export type Database = {
1258
1361
  id?: string;
1259
1362
  image?: string | null;
1260
1363
  is_published?: boolean | null;
1364
+ likes?: string[] | null;
1261
1365
  metadata?: Json | null;
1262
1366
  posted_by?: string | null;
1263
1367
  published_at?: string | null;
@@ -1282,6 +1386,7 @@ export type Database = {
1282
1386
  id?: string;
1283
1387
  image?: string | null;
1284
1388
  is_published?: boolean | null;
1389
+ likes?: string[] | null;
1285
1390
  metadata?: Json | null;
1286
1391
  posted_by?: string | null;
1287
1392
  published_at?: string | null;
@@ -4289,7 +4394,9 @@ export type Database = {
4289
4394
  [_ in never]: never;
4290
4395
  };
4291
4396
  Enums: {
4292
- [_ in never]: never;
4397
+ menu_item_category: "drink" | "food";
4398
+ menu_item_drink_type: "Filter" | "ColdBrew" | "Specialty" | "Espresso" | "Milk" | "Tea" | "Iced" | "Extras" | "Other";
4399
+ menu_item_food_type: "Breakfast" | "Lunch" | "Pastry" | "Snack" | "Sweets" | "Sandwiches" | "Other";
4293
4400
  };
4294
4401
  CompositeTypes: {
4295
4402
  [_ in never]: never;
@@ -4347,7 +4454,11 @@ export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof Defaul
4347
4454
  } ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] ? DefaultSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never;
4348
4455
  export declare const Constants: {
4349
4456
  readonly public: {
4350
- readonly Enums: {};
4457
+ readonly Enums: {
4458
+ readonly menu_item_category: readonly ["drink", "food"];
4459
+ readonly menu_item_drink_type: readonly ["Filter", "ColdBrew", "Specialty", "Espresso", "Milk", "Tea", "Iced", "Extras", "Other"];
4460
+ readonly menu_item_food_type: readonly ["Breakfast", "Lunch", "Pastry", "Snack", "Sweets", "Sandwiches", "Other"];
4461
+ };
4351
4462
  };
4352
4463
  };
4353
4464
  export {};
package/dist/supabase.js CHANGED
@@ -3,6 +3,28 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Constants = void 0;
4
4
  exports.Constants = {
5
5
  public: {
6
- Enums: {},
6
+ Enums: {
7
+ menu_item_category: ["drink", "food"],
8
+ menu_item_drink_type: [
9
+ "Filter",
10
+ "ColdBrew",
11
+ "Specialty",
12
+ "Espresso",
13
+ "Milk",
14
+ "Tea",
15
+ "Iced",
16
+ "Extras",
17
+ "Other",
18
+ ],
19
+ menu_item_food_type: [
20
+ "Breakfast",
21
+ "Lunch",
22
+ "Pastry",
23
+ "Snack",
24
+ "Sweets",
25
+ "Sandwiches",
26
+ "Other",
27
+ ],
28
+ },
7
29
  },
8
30
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simonarcher/fika-types",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "Shared TypeScript types for Fika projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",