精简后的项目:仅保留 api/ui 源码、文档、构建依赖
This commit is contained in:
Generated
+20
@@ -0,0 +1,20 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
// ====================================================
|
||||
// GraphQL query operation: adminQuery
|
||||
// ====================================================
|
||||
|
||||
export interface adminQuery_myUser {
|
||||
__typename: 'User'
|
||||
admin: boolean
|
||||
}
|
||||
|
||||
export interface adminQuery {
|
||||
/**
|
||||
* Information about the currently logged in user
|
||||
*/
|
||||
myUser: adminQuery_myUser
|
||||
}
|
||||
Generated
+58
@@ -0,0 +1,58 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
//==============================================================
|
||||
// START Enums and Input Objects
|
||||
//==============================================================
|
||||
|
||||
/**
|
||||
* Supported language translations of the user interface
|
||||
*/
|
||||
export enum LanguageTranslation {
|
||||
Basque = "Basque",
|
||||
Danish = "Danish",
|
||||
Dutch = "Dutch",
|
||||
English = "English",
|
||||
French = "French",
|
||||
German = "German",
|
||||
Italian = "Italian",
|
||||
Japanese = "Japanese",
|
||||
Polish = "Polish",
|
||||
Portuguese = "Portuguese",
|
||||
Russian = "Russian",
|
||||
SimplifiedChinese = "SimplifiedChinese",
|
||||
Spanish = "Spanish",
|
||||
Swedish = "Swedish",
|
||||
TraditionalChineseHK = "TraditionalChineseHK",
|
||||
TraditionalChineseTW = "TraditionalChineseTW",
|
||||
Turkish = "Turkish",
|
||||
Ukrainian = "Ukrainian",
|
||||
}
|
||||
|
||||
export enum MediaType {
|
||||
Photo = "Photo",
|
||||
Video = "Video",
|
||||
}
|
||||
|
||||
/**
|
||||
* Specified the type a particular notification is of
|
||||
*/
|
||||
export enum NotificationType {
|
||||
Close = "Close",
|
||||
Message = "Message",
|
||||
Progress = "Progress",
|
||||
}
|
||||
|
||||
/**
|
||||
* Used to specify which order to sort items in
|
||||
*/
|
||||
export enum OrderDirection {
|
||||
ASC = "ASC",
|
||||
DESC = "DESC",
|
||||
}
|
||||
|
||||
//==============================================================
|
||||
// END Enums and Input Objects
|
||||
//==============================================================
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
// ====================================================
|
||||
// GraphQL query operation: mapboxEnabledQuery
|
||||
// ====================================================
|
||||
|
||||
export interface mapboxEnabledQuery {
|
||||
/**
|
||||
* Get the mapbox api token, returns null if mapbox is not enabled
|
||||
*/
|
||||
mapboxToken: string | null
|
||||
}
|
||||
Generated
+23
@@ -0,0 +1,23 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
// @generated
|
||||
// This file was automatically generated and should not be edited.
|
||||
|
||||
import { LanguageTranslation } from "./globalTypes";
|
||||
|
||||
// ====================================================
|
||||
// GraphQL query operation: siteTranslation
|
||||
// ====================================================
|
||||
|
||||
export interface siteTranslation_myUserPreferences {
|
||||
__typename: "UserPreferences";
|
||||
id: string;
|
||||
language: LanguageTranslation | null;
|
||||
}
|
||||
|
||||
export interface siteTranslation {
|
||||
/**
|
||||
* User preferences for the logged in user
|
||||
*/
|
||||
myUserPreferences: siteTranslation_myUserPreferences;
|
||||
}
|
||||
Reference in New Issue
Block a user