Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProjectsQuery should include tokensCount and releaseCount #14

Open
six7 opened this issue Nov 19, 2023 · 0 comments
Open

ProjectsQuery should include tokensCount and releaseCount #14

six7 opened this issue Nov 19, 2023 · 0 comments

Comments

@six7
Copy link

six7 commented Nov 19, 2023

We currently are able to fetch a project and get the count of all tokens as well as all releases, however the types part of sdk do not reflect that

projects(organization: "${urn}", limit: 1000) {
                name
                icon
                urn
                description
                tokenCount
                releaseCount
            }
export type ProjectsQuery = {
    projects?: Array<{
        __typename: "Project";
        createdAt: string;
        createdBy: ({
            __typename: "APIKeyIdentity";
            name?: string | null;
            urn?: string | null;
        } | {
            __typename: "User";
            description?: string | null;
            givenName?: string | null;
            icon?: string | null;
            name?: string | null;
            urn?: string | null;
            visibility?: Visibility | null;
        }) | null;
        description?: string | null;
        generators?: Array<{
            __typename: "Generator";
            createdAt?: string | null;
            description?: string | null;
            graph?: string | null;
            name?: string | null;
            updatedAt?: string | null;
            urn?: string | null;
        } | null> | null;
        icon?: string | null;
        name: string;
        orgUrn?: string | null;
        resolvers?: Array<{
            __typename: "Resolver";
            description?: string | null;
            name?: string | null;
            urn?: string | null;
        } | null> | null;
        sets?: Array<{
            __typename: "TokenSet";
            name?: string | null;
            projectUrn?: string | null;
            urn?: string | null;
        } | null> | null;
        urn: string;
        visibility?: Visibility | null;
    } | null> | null;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant