import { gql } from "@apollo/client";
export const appManifestFragment = gql`
fragment AppManifest on Manifest {
identifier
version
about
name
appUrl
configurationUrl
tokenTargetUrl
dataPrivacy
dataPrivacyUrl
homepageUrl
supportUrl
permissions {
code
}
brand {
logo {
default(format: WEBP, size: 64)
`;
export const appFragment = gql`
fragment App on App {
id
created
isActive
type
manifestUrl
accessToken
default(format: WEBP, size: 24)
privateMetadata {
key
value
metadata {
tokens {
authToken
webhooks {
...Webhook
export const appInstallationFragment = gql`
fragment AppInstallation on AppInstallation {
status
message
appName
default(format: WEBP, size: 32)
export const appListItemFragment = gql`
fragment AppListItem on App {
...AppPermission
export const appPermissionFragment = gql`
fragment AppPermission on Permission {
export const appAvatarFragment = gql`
fragment AppAvatar on App {
# TODO: Add app image