Improve MineGeo exploration and mapping features
This commit is contained in:
@@ -90,7 +90,11 @@ export type Database = {
|
||||
};
|
||||
datasets: {
|
||||
Row: {
|
||||
allow_contributions: boolean;
|
||||
bounds: Json;
|
||||
contribution_count: number;
|
||||
contribution_server_address: string | null;
|
||||
contribution_status: string | null;
|
||||
cover_path: string | null;
|
||||
created_at: string;
|
||||
description: string;
|
||||
@@ -99,15 +103,21 @@ export type Database = {
|
||||
name: string;
|
||||
owner_id: string;
|
||||
panorama_count: number;
|
||||
parent_dataset_id: string | null;
|
||||
rejection_reason: string | null;
|
||||
revision_id: string | null;
|
||||
server_id: string | null;
|
||||
source: string;
|
||||
state: string;
|
||||
update_state: string | null;
|
||||
updated_at: string;
|
||||
};
|
||||
Insert: {
|
||||
allow_contributions?: boolean;
|
||||
bounds: Json;
|
||||
contribution_count?: number;
|
||||
contribution_server_address?: string | null;
|
||||
contribution_status?: string | null;
|
||||
cover_path?: string | null;
|
||||
created_at?: string;
|
||||
description?: string;
|
||||
@@ -116,15 +126,21 @@ export type Database = {
|
||||
name: string;
|
||||
owner_id: string;
|
||||
panorama_count?: number;
|
||||
parent_dataset_id?: string | null;
|
||||
rejection_reason?: string | null;
|
||||
revision_id?: string | null;
|
||||
server_id?: string | null;
|
||||
source: string;
|
||||
state?: string;
|
||||
update_state?: string | null;
|
||||
updated_at?: string;
|
||||
};
|
||||
Update: {
|
||||
allow_contributions?: boolean;
|
||||
bounds?: Json;
|
||||
contribution_count?: number;
|
||||
contribution_server_address?: string | null;
|
||||
contribution_status?: string | null;
|
||||
cover_path?: string | null;
|
||||
created_at?: string;
|
||||
description?: string;
|
||||
@@ -133,14 +149,23 @@ export type Database = {
|
||||
name?: string;
|
||||
owner_id?: string;
|
||||
panorama_count?: number;
|
||||
parent_dataset_id?: string | null;
|
||||
rejection_reason?: string | null;
|
||||
revision_id?: string | null;
|
||||
server_id?: string | null;
|
||||
source?: string;
|
||||
state?: string;
|
||||
update_state?: string | null;
|
||||
updated_at?: string;
|
||||
};
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "datasets_parent_dataset_id_fkey";
|
||||
columns: ["parent_dataset_id"];
|
||||
isOneToOne: false;
|
||||
referencedRelation: "datasets";
|
||||
referencedColumns: ["id"];
|
||||
},
|
||||
{
|
||||
foreignKeyName: "datasets_revision_fk";
|
||||
columns: ["revision_id"];
|
||||
@@ -450,31 +475,26 @@ export type Database = {
|
||||
[_ in never]: never;
|
||||
};
|
||||
Functions: {
|
||||
finalize_upload: {
|
||||
Args: { p_dataset: string; p_owner: string };
|
||||
activate_round: {
|
||||
Args: { p_access_hash: string; p_round: number; p_session: string };
|
||||
Returns: string;
|
||||
};
|
||||
complete_job: {
|
||||
Args: {
|
||||
p_job: string;
|
||||
p_worker: string;
|
||||
p_count: number;
|
||||
p_cover: string;
|
||||
};
|
||||
Returns: undefined;
|
||||
};
|
||||
approve_pairing: {
|
||||
Args: {
|
||||
p_code: string;
|
||||
p_hash: string;
|
||||
p_owner: string;
|
||||
p_token: string;
|
||||
p_hash: string;
|
||||
};
|
||||
Returns: undefined;
|
||||
};
|
||||
activate_round: {
|
||||
Args: { p_access_hash: string; p_round: number; p_session: string };
|
||||
Returns: string;
|
||||
assert_capture_server: {
|
||||
Args: { p_actual: string; p_expected: string };
|
||||
Returns: undefined;
|
||||
};
|
||||
check_contribution_server: {
|
||||
Args: { p_dataset: string; p_owner: string };
|
||||
Returns: undefined;
|
||||
};
|
||||
check_rate: {
|
||||
Args: { p_key: string; p_limit: number; p_seconds: number };
|
||||
@@ -501,6 +521,23 @@ export type Database = {
|
||||
isSetofReturn: true;
|
||||
};
|
||||
};
|
||||
complete_job: {
|
||||
Args: {
|
||||
p_count: number;
|
||||
p_cover: string;
|
||||
p_job: string;
|
||||
p_worker: string;
|
||||
};
|
||||
Returns: undefined;
|
||||
};
|
||||
contribution_capacity: {
|
||||
Args: { p_dataset: string; p_owner: string };
|
||||
Returns: Json;
|
||||
};
|
||||
contribution_server: {
|
||||
Args: { p_dataset: string; p_owner: string };
|
||||
Returns: Json;
|
||||
};
|
||||
create_game: {
|
||||
Args: {
|
||||
p_access_hash: string;
|
||||
@@ -510,6 +547,18 @@ export type Database = {
|
||||
};
|
||||
Returns: string;
|
||||
};
|
||||
create_upload: {
|
||||
Args: { p_manifest: Json; p_owner: string };
|
||||
Returns: string;
|
||||
};
|
||||
finalize_upload: {
|
||||
Args: { p_dataset: string; p_owner: string };
|
||||
Returns: string;
|
||||
};
|
||||
normalize_server_address: {
|
||||
Args: { p_address: string };
|
||||
Returns: string;
|
||||
};
|
||||
publish_dataset: {
|
||||
Args: {
|
||||
p_dataset: string;
|
||||
@@ -519,6 +568,38 @@ export type Database = {
|
||||
};
|
||||
Returns: undefined;
|
||||
};
|
||||
review_contribution: {
|
||||
Args: {
|
||||
p_contribution: string;
|
||||
p_dataset: string;
|
||||
p_decision: string;
|
||||
p_owner: string;
|
||||
p_reason?: string | null;
|
||||
};
|
||||
Returns: undefined;
|
||||
};
|
||||
save_draft: {
|
||||
Args: {
|
||||
p_dataset: string;
|
||||
p_description: string;
|
||||
p_ids: Json;
|
||||
p_name: string;
|
||||
p_owner: string;
|
||||
};
|
||||
Returns: undefined;
|
||||
};
|
||||
set_contribution_server: {
|
||||
Args: { p_address: string | null; p_dataset: string; p_owner: string };
|
||||
Returns: undefined;
|
||||
};
|
||||
set_contributions: {
|
||||
Args: { p_allowed: boolean; p_dataset: string; p_owner: string };
|
||||
Returns: undefined;
|
||||
};
|
||||
submit_draft: {
|
||||
Args: { p_dataset: string; p_owner: string };
|
||||
Returns: undefined;
|
||||
};
|
||||
submit_guess: {
|
||||
Args: {
|
||||
p_access_hash: string;
|
||||
@@ -529,6 +610,10 @@ export type Database = {
|
||||
};
|
||||
Returns: Json;
|
||||
};
|
||||
withdraw_contribution: {
|
||||
Args: { p_dataset: string; p_owner: string };
|
||||
Returns: undefined;
|
||||
};
|
||||
};
|
||||
Enums: {
|
||||
[_ in never]: never;
|
||||
|
||||
Reference in New Issue
Block a user