瀏覽代碼

chore: update client side types

Nicolas Meienberger 2 年之前
父節點
當前提交
583a0c4631
共有 1 個文件被更改,包括 14 次插入36 次删除
  1. 14 36
      packages/dashboard/src/generated/graphql.tsx

+ 14 - 36
packages/dashboard/src/generated/graphql.tsx

@@ -42,6 +42,7 @@ export enum AppCategoriesEnum {
   Development = 'DEVELOPMENT',
   Development = 'DEVELOPMENT',
   Featured = 'FEATURED',
   Featured = 'FEATURED',
   Finance = 'FINANCE',
   Finance = 'FINANCE',
+  Gaming = 'GAMING',
   Media = 'MEDIA',
   Media = 'MEDIA',
   Music = 'MUSIC',
   Music = 'MUSIC',
   Network = 'NETWORK',
   Network = 'NETWORK',
@@ -292,6 +293,8 @@ export type GetAppQuery = {
     status: AppStatusEnum;
     status: AppStatusEnum;
     config: any;
     config: any;
     version?: number | null;
     version?: number | null;
+    exposed: boolean;
+    domain: string;
     updateInfo?: { __typename?: 'UpdateInfo'; current: number; latest: number; dockerVersion?: string | null } | null;
     updateInfo?: { __typename?: 'UpdateInfo'; current: number; latest: number; dockerVersion?: string | null } | null;
     info?: {
     info?: {
       __typename?: 'AppInfo';
       __typename?: 'AppInfo';
@@ -308,6 +311,7 @@ export type GetAppQuery = {
       categories: Array<AppCategoriesEnum>;
       categories: Array<AppCategoriesEnum>;
       url_suffix?: string | null;
       url_suffix?: string | null;
       https?: boolean | null;
       https?: boolean | null;
+      exposable?: boolean | null;
       form_fields: Array<{
       form_fields: Array<{
         __typename?: 'FormField';
         __typename?: 'FormField';
         type: FieldTypesEnum;
         type: FieldTypesEnum;
@@ -322,42 +326,7 @@ export type GetAppQuery = {
   };
   };
 };
 };
 
 
-export type GetAppQuery = {
-  __typename?: 'Query';
-  getApp: {
-    __typename?: 'App';
-    id: string;
-    status: AppStatusEnum;
-    config: any;
-    version?: number | null;
-    updateInfo?: { __typename?: 'UpdateInfo'; current: number; latest: number; dockerVersion?: string | null } | null;
-    info?: {
-      __typename?: 'AppInfo';
-      id: string;
-      port: number;
-      name: string;
-      description: string;
-      available: boolean;
-      version?: string | null;
-      tipi_version: number;
-      short_desc: string;
-      author: string;
-      source: string;
-      categories: Array<AppCategoriesEnum>;
-      url_suffix?: string | null;
-      form_fields: Array<{
-        __typename?: 'FormField';
-        type: FieldTypesEnum;
-        label: string;
-        max?: number | null;
-        min?: number | null;
-        hint?: string | null;
-        required?: boolean | null;
-        env_variable: string;
-      }>;
-    } | null;
-  };
-};
+export type InstalledAppsQueryVariables = Exact<{ [key: string]: never }>;
 
 
 export type InstalledAppsQuery = {
 export type InstalledAppsQuery = {
   __typename?: 'Query';
   __typename?: 'Query';
@@ -399,6 +368,12 @@ export type ListAppsQuery = {
   };
   };
 };
 };
 
 
+export type MeQueryVariables = Exact<{ [key: string]: never }>;
+
+export type MeQuery = { __typename?: 'Query'; me?: { __typename?: 'User'; id: string } | null };
+
+export type SystemInfoQueryVariables = Exact<{ [key: string]: never }>;
+
 export type SystemInfoQuery = {
 export type SystemInfoQuery = {
   __typename?: 'Query';
   __typename?: 'Query';
   systemInfo?: {
   systemInfo?: {
@@ -730,6 +705,8 @@ export const GetAppDocument = gql`
       status
       status
       config
       config
       version
       version
+      exposed
+      domain
       updateInfo {
       updateInfo {
         current
         current
         latest
         latest
@@ -749,6 +726,7 @@ export const GetAppDocument = gql`
         categories
         categories
         url_suffix
         url_suffix
         https
         https
+        exposable
         form_fields {
         form_fields {
           type
           type
           label
           label