@koloseum/types 0.3.3 → 0.3.4

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.
@@ -4087,6 +4087,10 @@ export type Database = {
4087
4087
  };
4088
4088
  Returns: string;
4089
4089
  };
4090
+ current_player_id: {
4091
+ Args: never;
4092
+ Returns: string;
4093
+ };
4090
4094
  custom_access_token_hook: {
4091
4095
  Args: {
4092
4096
  event: Json;
@@ -5372,6 +5376,13 @@ export type Database = {
5372
5376
  user_id?: string | null;
5373
5377
  };
5374
5378
  Relationships: [
5379
+ {
5380
+ foreignKeyName: "player_sessions_lounge_branch_id_station_id_fkey";
5381
+ columns: ["lounge_branch_id", "station_id"];
5382
+ isOneToOne: false;
5383
+ referencedRelation: "lounge_branch_stations";
5384
+ referencedColumns: ["lounge_branch_id", "id"];
5385
+ },
5375
5386
  {
5376
5387
  foreignKeyName: "player_sessions_luggage_slot_id_fkey";
5377
5388
  columns: ["luggage_slot_id"];
@@ -5400,7 +5411,18 @@ export type Database = {
5400
5411
  [_ in never]: never;
5401
5412
  };
5402
5413
  Functions: {
5403
- [_ in never]: never;
5414
+ is_active_session_member: {
5415
+ Args: {
5416
+ p_session_id: string;
5417
+ };
5418
+ Returns: boolean;
5419
+ };
5420
+ is_session_owner: {
5421
+ Args: {
5422
+ p_session_id: string;
5423
+ };
5424
+ Returns: boolean;
5425
+ };
5404
5426
  };
5405
5427
  Enums: {
5406
5428
  lounge_branch_station_status: "available" | "occupied";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koloseum/types",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "author": "Koloseum Technologies Limited",
5
5
  "type": "module",
6
6
  "description": "Type definitions for use across web apps (TypeScript)",