Add map import and export with durable refresh progress
This commit is contained in:
@@ -236,6 +236,8 @@ export type Database = {
|
||||
};
|
||||
datasets: {
|
||||
Row: MapModerationFields & {
|
||||
imported_from_id: string | null;
|
||||
imported_owner_name: string | null;
|
||||
allow_contributions: boolean;
|
||||
bounds: Json;
|
||||
contribution_count: number;
|
||||
@@ -627,6 +629,26 @@ export type Database = {
|
||||
[_ in never]: never;
|
||||
};
|
||||
Functions: {
|
||||
create_map_import: {
|
||||
Args: {
|
||||
p_owner: string;
|
||||
p_manifest: Json;
|
||||
p_original_map: string;
|
||||
p_original_owner: string;
|
||||
};
|
||||
Returns: string;
|
||||
};
|
||||
create_map_room: {
|
||||
Args: {
|
||||
p_owner: string | null;
|
||||
p_dataset: string;
|
||||
p_difficulty: string;
|
||||
p_name: string;
|
||||
p_limit: number;
|
||||
p_access_hash: string;
|
||||
};
|
||||
Returns: string;
|
||||
};
|
||||
create_multiplayer_room: {
|
||||
Args: {
|
||||
p_dataset: string;
|
||||
|
||||
Reference in New Issue
Block a user