Map admins: owners invite friends to co-manage maps
Some checks failed
Deploy MineGeo to Dokploy / deploy (push) Failing after 6m2s
Some checks failed
Deploy MineGeo to Dokploy / deploy (push) Failing after 6m2s
Owners can invite players by name from the map workshop; invitees accept from their dashboard and then manage the map (details, locations, submission, refresh, contributions, appeals) through owner-delegated checks. Adds the map_admins table, invite/admin API endpoints, dashboard invite box, workshop admin management, and Russian translations.
This commit is contained in:
@@ -367,6 +367,44 @@ export type Database = {
|
||||
Update: Partial<AppealRecord>;
|
||||
Relationships: [];
|
||||
};
|
||||
map_admins: {
|
||||
Row: {
|
||||
created_at: string;
|
||||
dataset_id: string;
|
||||
id: string;
|
||||
invited_by: string;
|
||||
responded_at: string | null;
|
||||
state: string;
|
||||
user_id: string;
|
||||
};
|
||||
Insert: {
|
||||
created_at?: string;
|
||||
dataset_id: string;
|
||||
id?: string;
|
||||
invited_by: string;
|
||||
responded_at?: string | null;
|
||||
state?: string;
|
||||
user_id: string;
|
||||
};
|
||||
Update: {
|
||||
created_at?: string;
|
||||
dataset_id?: string;
|
||||
id?: string;
|
||||
invited_by?: string;
|
||||
responded_at?: string | null;
|
||||
state?: string;
|
||||
user_id?: string;
|
||||
};
|
||||
Relationships: [
|
||||
{
|
||||
foreignKeyName: "map_admins_dataset_id_fkey";
|
||||
columns: ["dataset_id"];
|
||||
isOneToOne: false;
|
||||
referencedRelation: "datasets";
|
||||
referencedColumns: ["id"];
|
||||
},
|
||||
];
|
||||
};
|
||||
catalog_servers: {
|
||||
Row: {
|
||||
address: string | null;
|
||||
|
||||
Reference in New Issue
Block a user