mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-24 15:34:10 +03:00
31 lines
635 B
TypeScript
31 lines
635 B
TypeScript
import { joinError, joinProgress, joinResult } from ".";
|
|
import {Patp} from "../lib";
|
|
|
|
export type JoinError = typeof joinError[number];
|
|
|
|
export type JoinResult = typeof joinResult[number];
|
|
|
|
|
|
export type JoinProgress = typeof joinProgress[number];
|
|
|
|
export interface JoinRequest {
|
|
/**
|
|
* Whether to display the join request or not
|
|
*/
|
|
hidden: boolean;
|
|
/**
|
|
* Timestamp of when the request started
|
|
*/
|
|
started: number;
|
|
ship: Patp;
|
|
progress: JoinProgress;
|
|
shareContact: boolean;
|
|
autojoin: boolean;
|
|
app: 'graph' | 'groups';
|
|
invite: string[];
|
|
}
|
|
|
|
export interface JoinRequests {
|
|
[rid: string]: JoinRequest;
|
|
}
|