updated graphql types
This commit is contained in:
parent
318343e731
commit
21ae838025
@ -11,4 +11,6 @@ generates:
|
||||
- "typescript-operations"
|
||||
- "typescript-react-apollo"
|
||||
config:
|
||||
withHooks: true
|
||||
withHooks: true
|
||||
scalars:
|
||||
DateTime: string
|
@ -12,8 +12,11 @@ export type Scalars = {
|
||||
Boolean: boolean;
|
||||
Int: number;
|
||||
Float: number;
|
||||
/** DateTime is a DateTime in ISO 8601 format */
|
||||
DateTime: string;
|
||||
};
|
||||
|
||||
|
||||
/** Represents a directory */
|
||||
export type Directory = {
|
||||
__typename?: "Directory";
|
||||
@ -31,6 +34,7 @@ export type File = {
|
||||
etag?: Maybe<Scalars["String"]>;
|
||||
/** The uniqe ID of the file. Represents the path and the s3 key. */
|
||||
id: Scalars["ID"];
|
||||
lastModified?: Maybe<Scalars["DateTime"]>;
|
||||
name?: Maybe<Scalars["String"]>;
|
||||
parent?: Maybe<Directory>;
|
||||
size: Scalars["Int"];
|
||||
@ -80,7 +84,7 @@ export type OpenDirQuery = (
|
||||
{ __typename?: "RootQuery" }
|
||||
& { files: Array<Maybe<(
|
||||
{ __typename?: "File" }
|
||||
& Pick<File, "id" | "name" | "size">
|
||||
& Pick<File, "id" | "name" | "size" | "lastModified">
|
||||
)>>, directorys: Array<Maybe<(
|
||||
{ __typename?: "Directory" }
|
||||
& Pick<Directory, "id" | "name">
|
||||
@ -133,6 +137,7 @@ export const OpenDirDocument = gql`
|
||||
id
|
||||
name
|
||||
size
|
||||
lastModified
|
||||
}
|
||||
directorys(path: $path) {
|
||||
id
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user