spookvooper-api/src/modules/types/Types.ts

27 lines
878 B
TypeScript
Raw Normal View History

2020-12-08 20:50:31 +00:00
// SpookVooper API - modules/types/Types.ts
// Written by Quinn Lane - https://quinnlane.dev/
2020-12-08 20:50:31 +00:00
import { ConfigAuth, EntityUser } from '../interfaces/Interfaces'
2020-12-08 20:50:31 +00:00
2020-12-15 05:41:13 +00:00
type CreditAmount = string | number
type PaymentEntity = string | EntityUser
type SvidType = 'user' | 'group' | 'item'
2020-12-15 05:41:13 +00:00
type GroupMember = string | EntityUser
2020-12-16 05:42:08 +00:00
type AuthConfig = ConfigAuth
2020-12-15 05:41:13 +00:00
type District = 'Voopmont' | 'New Yam' | 'San Vooperisco' | 'Medievala' | 'Landing Cove' | 'New Spudland' | 'Vooperia City' | 'Corgi' | 'Old Yam' | 'New Vooperis' | 'The Netherlands' | 'Queensland' | 'Servers Past' | 'Los Vooperis' | 'Old King Peninsula'
type DistrictWealthType = 'ALL' | 'USER' | 'GROUP'
type SenatorDistrict = District | 'ALL'
type QueueType = 'BUY' | 'SELL'
2020-12-15 05:41:13 +00:00
export {
CreditAmount,
PaymentEntity,
SvidType,
2020-12-15 05:41:13 +00:00
GroupMember,
AuthConfig,
District,
DistrictWealthType,
SenatorDistrict,
QueueType
2020-12-15 05:41:13 +00:00
}