condoit
Version:
[](https://securisec.github.io/condoit/) 
58 lines (57 loc) • 1.83 kB
TypeScript
import { ErrorCodes, phid } from './iGlobal';
export declare const tokens: {
'100': string;
Like: string;
Dislike: string;
Love: string;
Heartbreak: string;
'Orange Medal': string;
'Grey Medal': string;
'Yellow Medal': string;
'Manufacturing Defect?': string;
Haypence: string;
'Piece of Eight': string;
Doubloon: string;
'Mountain of Wealth': string;
Pterodactyl: string;
'Evil Spooky Haunted Tree': string;
'Baby Tequila': string;
'The World Burns': string;
'Party Time': string;
'Y So Serious': string;
'Dat Boi': string;
'Cup of Joe': string;
'Hungry Hippo': string;
Burninate: string;
'Pirate Logo': string;
};
export declare type validToken = '100' | 'Like' | 'Dislike' | 'Love' | 'Heartbreak' | 'Orange Medal' | 'Grey Medal' | 'Yellow Medal' | 'Manufacturing Defect?' | 'Haypence' | 'Piece of Eight' | 'Doubloon' | 'Mountain of Wealth' | 'Pterodactyl' | 'Evil Spooky Haunted Tree' | 'Baby Tequila' | 'The World Burns' | 'Party Time' | 'Y So Serious' | 'Dat Boi' | 'Cup of Joe' | 'Hungry Hippo' | 'Burninate' | 'Pirate Logo';
export interface TokenGive {
token: validToken;
objectPHID: phid;
}
export interface RetTokenGive extends ErrorCodes {
result: null;
}
export interface TokenGiven {
authorPHIDs?: Array<phid>;
objectPHIDs?: Array<phid>;
tokenPHIDs?: Array<validToken>;
}
export declare type retTokenGivenResult = {
authorPHID: phid;
objectPHID: phid;
tokenPHID: phid;
dateCreated: string;
};
export interface RetTokenGiven extends ErrorCodes {
result: Array<retTokenGivenResult>;
}
export declare type retTokenQueryResult = {
id: number;
name: string;
phid: phid;
};
export interface RetTokenQuery extends ErrorCodes {
result: Array<retTokenQueryResult>;
}