const a = `query ListBrands {
            brands {
              id
              name
              rgbaColor {
                red
                green
                blue
                alpha
              }
              avatar
              libraries(page: 1, limit: 25) {
                total
                items {
                  id
                  type: __typename
                  name
                  assetCount
                  currentUserPermissions {
                    canCreateAssets
                 }
                }
              }
              workspaceProjects(page: 1, limit:25) {
                total
                  items {
                  id
                  type: __typename
                  name
                  assetCount
                  currentUserPermissions {
                    canCreateAssets
                  }
                }
              }
            }
          }`, r = (e) => `
query FolderItems($ID: ID! = "${e}", $limit: Int = 100) {
  node(id: $ID) {
    __typename
    id
    ... on Brand {
      name
      __typename
      libraries {
        __typename
        items {
          id
          name
          __typename
        }
      }
      workspaceProjects {
        __typename
        items {
          id
          name
          __typename
        }
      }
    }
    ... on SubFolder {
      name
      folders(limit: $limit, page: 1) {
        ...SubFolderData
        __typename
      }
      __typename
    }
    ... on DocumentLibrary {
      name
      browseLibrary: browse {
        ...LibrarySubFolders
        __typename
      }
      __typename
    }
    ... on IconLibrary {
      name
      browseLibrary: browse {
        ...LibrarySubFolders
        __typename
      }
      __typename
    }
    ... on LogoLibrary {
      name
      browseLibrary: browse {
        ...LibrarySubFolders
        __typename
      }
      __typename
    }
    ... on MediaLibrary {
      name
      browseLibrary: browse {
        ...LibrarySubFolders
        __typename
      }
      __typename
    }
    ... on Workspace {
      name
      browseWorkspace: browse {
        folders(limit: $limit, page: 1) {
          ...SubFolderData
          __typename
        }
        __typename
      }
      __typename
    }
  }
}

fragment LibrarySubFolders on LibraryRootFolder {
  folders(limit: $limit, page: 1) {
    ...SubFolderData
    __typename
  }
  __typename
}

fragment SubFolderData on FolderItems {
  total
  page
  limit
  hasNextPage
  items {
    __typename
    id
    name
    modifiedAt
    createdAt
  }
  __typename
}
`;
export {
  a as getAllBrands,
  r as getFoldersOfLibrary
};
//# sourceMappingURL=query.es.js.map
