"use strict";
/**
 * GQty AUTO-GENERATED CODE: PLEASE DO NOT MODIFY MANUALLY
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.generatedSchema = exports.scalarsEnumsHash = exports._SubgraphErrorPolicy_ = exports.Stream_orderBy = exports.Permission_orderBy = exports.OrderDirection = exports.Node_orderBy = void 0;
var Node_orderBy;
(function (Node_orderBy) {
    Node_orderBy["createdAt"] = "createdAt";
    Node_orderBy["id"] = "id";
    Node_orderBy["lastSeen"] = "lastSeen";
    Node_orderBy["metadata"] = "metadata";
    Node_orderBy["storedStreams"] = "storedStreams";
})(Node_orderBy || (exports.Node_orderBy = Node_orderBy = {}));
/** Defines the order direction, either ascending or descending */
var OrderDirection;
(function (OrderDirection) {
    OrderDirection["asc"] = "asc";
    OrderDirection["desc"] = "desc";
})(OrderDirection || (exports.OrderDirection = OrderDirection = {}));
var Permission_orderBy;
(function (Permission_orderBy) {
    Permission_orderBy["canDelete"] = "canDelete";
    Permission_orderBy["canEdit"] = "canEdit";
    Permission_orderBy["canGrant"] = "canGrant";
    Permission_orderBy["id"] = "id";
    Permission_orderBy["publishExpiration"] = "publishExpiration";
    Permission_orderBy["stream"] = "stream";
    Permission_orderBy["stream__createdAt"] = "stream__createdAt";
    Permission_orderBy["stream__id"] = "stream__id";
    Permission_orderBy["stream__metadata"] = "stream__metadata";
    Permission_orderBy["stream__updatedAt"] = "stream__updatedAt";
    Permission_orderBy["subscribeExpiration"] = "subscribeExpiration";
    Permission_orderBy["userAddress"] = "userAddress";
})(Permission_orderBy || (exports.Permission_orderBy = Permission_orderBy = {}));
var Stream_orderBy;
(function (Stream_orderBy) {
    Stream_orderBy["createdAt"] = "createdAt";
    Stream_orderBy["id"] = "id";
    Stream_orderBy["metadata"] = "metadata";
    Stream_orderBy["permissions"] = "permissions";
    Stream_orderBy["storageNodes"] = "storageNodes";
    Stream_orderBy["updatedAt"] = "updatedAt";
})(Stream_orderBy || (exports.Stream_orderBy = Stream_orderBy = {}));
var _SubgraphErrorPolicy_;
(function (_SubgraphErrorPolicy_) {
    /** Data will be returned even if the subgraph has indexing errors */
    _SubgraphErrorPolicy_["allow"] = "allow";
    /** If the subgraph has indexing errors, data will be omitted. The default. */
    _SubgraphErrorPolicy_["deny"] = "deny";
})(_SubgraphErrorPolicy_ || (exports._SubgraphErrorPolicy_ = _SubgraphErrorPolicy_ = {}));
exports.scalarsEnumsHash = {
    BigDecimal: true,
    BigInt: true,
    Boolean: true,
    Bytes: true,
    ID: true,
    Int: true,
    Node_orderBy: true,
    OrderDirection: true,
    Permission_orderBy: true,
    Stream_orderBy: true,
    String: true,
    _SubgraphErrorPolicy_: true,
};
exports.generatedSchema = {
    BlockChangedFilter: { number_gte: { __type: 'Int!' } },
    Block_height: {
        hash: { __type: 'Bytes' },
        number: { __type: 'Int' },
        number_gte: { __type: 'Int' },
    },
    Node: {
        __typename: { __type: 'String!' },
        createdAt: { __type: 'BigInt' },
        id: { __type: 'ID!' },
        lastSeen: { __type: 'BigInt!' },
        metadata: { __type: 'String!' },
        storedStreams: {
            __type: '[Stream!]',
            __args: {
                first: 'Int',
                orderBy: 'Stream_orderBy',
                orderDirection: 'OrderDirection',
                skip: 'Int',
                where: 'Stream_filter',
            },
        },
    },
    Node_filter: {
        _change_block: { __type: 'BlockChangedFilter' },
        and: { __type: '[Node_filter]' },
        createdAt: { __type: 'BigInt' },
        createdAt_gt: { __type: 'BigInt' },
        createdAt_gte: { __type: 'BigInt' },
        createdAt_in: { __type: '[BigInt!]' },
        createdAt_lt: { __type: 'BigInt' },
        createdAt_lte: { __type: 'BigInt' },
        createdAt_not: { __type: 'BigInt' },
        createdAt_not_in: { __type: '[BigInt!]' },
        id: { __type: 'ID' },
        id_gt: { __type: 'ID' },
        id_gte: { __type: 'ID' },
        id_in: { __type: '[ID!]' },
        id_lt: { __type: 'ID' },
        id_lte: { __type: 'ID' },
        id_not: { __type: 'ID' },
        id_not_in: { __type: '[ID!]' },
        lastSeen: { __type: 'BigInt' },
        lastSeen_gt: { __type: 'BigInt' },
        lastSeen_gte: { __type: 'BigInt' },
        lastSeen_in: { __type: '[BigInt!]' },
        lastSeen_lt: { __type: 'BigInt' },
        lastSeen_lte: { __type: 'BigInt' },
        lastSeen_not: { __type: 'BigInt' },
        lastSeen_not_in: { __type: '[BigInt!]' },
        metadata: { __type: 'String' },
        metadata_contains: { __type: 'String' },
        metadata_contains_nocase: { __type: 'String' },
        metadata_ends_with: { __type: 'String' },
        metadata_ends_with_nocase: { __type: 'String' },
        metadata_gt: { __type: 'String' },
        metadata_gte: { __type: 'String' },
        metadata_in: { __type: '[String!]' },
        metadata_lt: { __type: 'String' },
        metadata_lte: { __type: 'String' },
        metadata_not: { __type: 'String' },
        metadata_not_contains: { __type: 'String' },
        metadata_not_contains_nocase: { __type: 'String' },
        metadata_not_ends_with: { __type: 'String' },
        metadata_not_ends_with_nocase: { __type: 'String' },
        metadata_not_in: { __type: '[String!]' },
        metadata_not_starts_with: { __type: 'String' },
        metadata_not_starts_with_nocase: { __type: 'String' },
        metadata_starts_with: { __type: 'String' },
        metadata_starts_with_nocase: { __type: 'String' },
        or: { __type: '[Node_filter]' },
        storedStreams: { __type: '[String!]' },
        storedStreams_: { __type: 'Stream_filter' },
        storedStreams_contains: { __type: '[String!]' },
        storedStreams_contains_nocase: { __type: '[String!]' },
        storedStreams_not: { __type: '[String!]' },
        storedStreams_not_contains: { __type: '[String!]' },
        storedStreams_not_contains_nocase: { __type: '[String!]' },
    },
    Permission: {
        __typename: { __type: 'String!' },
        canDelete: { __type: 'Boolean' },
        canEdit: { __type: 'Boolean' },
        canGrant: { __type: 'Boolean' },
        id: { __type: 'ID!' },
        publishExpiration: { __type: 'BigInt' },
        stream: { __type: 'Stream' },
        subscribeExpiration: { __type: 'BigInt' },
        userAddress: { __type: 'Bytes!' },
    },
    Permission_filter: {
        _change_block: { __type: 'BlockChangedFilter' },
        and: { __type: '[Permission_filter]' },
        canDelete: { __type: 'Boolean' },
        canDelete_in: { __type: '[Boolean!]' },
        canDelete_not: { __type: 'Boolean' },
        canDelete_not_in: { __type: '[Boolean!]' },
        canEdit: { __type: 'Boolean' },
        canEdit_in: { __type: '[Boolean!]' },
        canEdit_not: { __type: 'Boolean' },
        canEdit_not_in: { __type: '[Boolean!]' },
        canGrant: { __type: 'Boolean' },
        canGrant_in: { __type: '[Boolean!]' },
        canGrant_not: { __type: 'Boolean' },
        canGrant_not_in: { __type: '[Boolean!]' },
        id: { __type: 'ID' },
        id_gt: { __type: 'ID' },
        id_gte: { __type: 'ID' },
        id_in: { __type: '[ID!]' },
        id_lt: { __type: 'ID' },
        id_lte: { __type: 'ID' },
        id_not: { __type: 'ID' },
        id_not_in: { __type: '[ID!]' },
        or: { __type: '[Permission_filter]' },
        publishExpiration: { __type: 'BigInt' },
        publishExpiration_gt: { __type: 'BigInt' },
        publishExpiration_gte: { __type: 'BigInt' },
        publishExpiration_in: { __type: '[BigInt!]' },
        publishExpiration_lt: { __type: 'BigInt' },
        publishExpiration_lte: { __type: 'BigInt' },
        publishExpiration_not: { __type: 'BigInt' },
        publishExpiration_not_in: { __type: '[BigInt!]' },
        stream: { __type: 'String' },
        stream_: { __type: 'Stream_filter' },
        stream_contains: { __type: 'String' },
        stream_contains_nocase: { __type: 'String' },
        stream_ends_with: { __type: 'String' },
        stream_ends_with_nocase: { __type: 'String' },
        stream_gt: { __type: 'String' },
        stream_gte: { __type: 'String' },
        stream_in: { __type: '[String!]' },
        stream_lt: { __type: 'String' },
        stream_lte: { __type: 'String' },
        stream_not: { __type: 'String' },
        stream_not_contains: { __type: 'String' },
        stream_not_contains_nocase: { __type: 'String' },
        stream_not_ends_with: { __type: 'String' },
        stream_not_ends_with_nocase: { __type: 'String' },
        stream_not_in: { __type: '[String!]' },
        stream_not_starts_with: { __type: 'String' },
        stream_not_starts_with_nocase: { __type: 'String' },
        stream_starts_with: { __type: 'String' },
        stream_starts_with_nocase: { __type: 'String' },
        subscribeExpiration: { __type: 'BigInt' },
        subscribeExpiration_gt: { __type: 'BigInt' },
        subscribeExpiration_gte: { __type: 'BigInt' },
        subscribeExpiration_in: { __type: '[BigInt!]' },
        subscribeExpiration_lt: { __type: 'BigInt' },
        subscribeExpiration_lte: { __type: 'BigInt' },
        subscribeExpiration_not: { __type: 'BigInt' },
        subscribeExpiration_not_in: { __type: '[BigInt!]' },
        userAddress: { __type: 'Bytes' },
        userAddress_contains: { __type: 'Bytes' },
        userAddress_gt: { __type: 'Bytes' },
        userAddress_gte: { __type: 'Bytes' },
        userAddress_in: { __type: '[Bytes!]' },
        userAddress_lt: { __type: 'Bytes' },
        userAddress_lte: { __type: 'Bytes' },
        userAddress_not: { __type: 'Bytes' },
        userAddress_not_contains: { __type: 'Bytes' },
        userAddress_not_in: { __type: '[Bytes!]' },
    },
    Stream: {
        __typename: { __type: 'String!' },
        createdAt: { __type: 'BigInt' },
        id: { __type: 'ID!' },
        metadata: { __type: 'String!' },
        permissions: {
            __type: '[Permission!]',
            __args: {
                first: 'Int',
                orderBy: 'Permission_orderBy',
                orderDirection: 'OrderDirection',
                skip: 'Int',
                where: 'Permission_filter',
            },
        },
        storageNodes: {
            __type: '[Node!]',
            __args: {
                first: 'Int',
                orderBy: 'Node_orderBy',
                orderDirection: 'OrderDirection',
                skip: 'Int',
                where: 'Node_filter',
            },
        },
        updatedAt: { __type: 'BigInt' },
    },
    Stream_filter: {
        _change_block: { __type: 'BlockChangedFilter' },
        and: { __type: '[Stream_filter]' },
        createdAt: { __type: 'BigInt' },
        createdAt_gt: { __type: 'BigInt' },
        createdAt_gte: { __type: 'BigInt' },
        createdAt_in: { __type: '[BigInt!]' },
        createdAt_lt: { __type: 'BigInt' },
        createdAt_lte: { __type: 'BigInt' },
        createdAt_not: { __type: 'BigInt' },
        createdAt_not_in: { __type: '[BigInt!]' },
        id: { __type: 'ID' },
        id_gt: { __type: 'ID' },
        id_gte: { __type: 'ID' },
        id_in: { __type: '[ID!]' },
        id_lt: { __type: 'ID' },
        id_lte: { __type: 'ID' },
        id_not: { __type: 'ID' },
        id_not_in: { __type: '[ID!]' },
        metadata: { __type: 'String' },
        metadata_contains: { __type: 'String' },
        metadata_contains_nocase: { __type: 'String' },
        metadata_ends_with: { __type: 'String' },
        metadata_ends_with_nocase: { __type: 'String' },
        metadata_gt: { __type: 'String' },
        metadata_gte: { __type: 'String' },
        metadata_in: { __type: '[String!]' },
        metadata_lt: { __type: 'String' },
        metadata_lte: { __type: 'String' },
        metadata_not: { __type: 'String' },
        metadata_not_contains: { __type: 'String' },
        metadata_not_contains_nocase: { __type: 'String' },
        metadata_not_ends_with: { __type: 'String' },
        metadata_not_ends_with_nocase: { __type: 'String' },
        metadata_not_in: { __type: '[String!]' },
        metadata_not_starts_with: { __type: 'String' },
        metadata_not_starts_with_nocase: { __type: 'String' },
        metadata_starts_with: { __type: 'String' },
        metadata_starts_with_nocase: { __type: 'String' },
        or: { __type: '[Stream_filter]' },
        permissions_: { __type: 'Permission_filter' },
        storageNodes_: { __type: 'Node_filter' },
        updatedAt: { __type: 'BigInt' },
        updatedAt_gt: { __type: 'BigInt' },
        updatedAt_gte: { __type: 'BigInt' },
        updatedAt_in: { __type: '[BigInt!]' },
        updatedAt_lt: { __type: 'BigInt' },
        updatedAt_lte: { __type: 'BigInt' },
        updatedAt_not: { __type: 'BigInt' },
        updatedAt_not_in: { __type: '[BigInt!]' },
    },
    _Block_: {
        __typename: { __type: 'String!' },
        hash: { __type: 'Bytes' },
        number: { __type: 'Int!' },
        timestamp: { __type: 'Int' },
    },
    _Meta_: {
        __typename: { __type: 'String!' },
        block: { __type: '_Block_!' },
        deployment: { __type: 'String!' },
        hasIndexingErrors: { __type: 'Boolean!' },
    },
    mutation: {},
    query: {
        __typename: { __type: 'String!' },
        _meta: { __type: '_Meta_', __args: { block: 'Block_height' } },
        node: {
            __type: 'Node',
            __args: {
                block: 'Block_height',
                id: 'ID!',
                subgraphError: '_SubgraphErrorPolicy_!',
            },
        },
        nodes: {
            __type: '[Node!]!',
            __args: {
                block: 'Block_height',
                first: 'Int',
                orderBy: 'Node_orderBy',
                orderDirection: 'OrderDirection',
                skip: 'Int',
                subgraphError: '_SubgraphErrorPolicy_!',
                where: 'Node_filter',
            },
        },
        permission: {
            __type: 'Permission',
            __args: {
                block: 'Block_height',
                id: 'ID!',
                subgraphError: '_SubgraphErrorPolicy_!',
            },
        },
        permissions: {
            __type: '[Permission!]!',
            __args: {
                block: 'Block_height',
                first: 'Int',
                orderBy: 'Permission_orderBy',
                orderDirection: 'OrderDirection',
                skip: 'Int',
                subgraphError: '_SubgraphErrorPolicy_!',
                where: 'Permission_filter',
            },
        },
        stream: {
            __type: 'Stream',
            __args: {
                block: 'Block_height',
                id: 'ID!',
                subgraphError: '_SubgraphErrorPolicy_!',
            },
        },
        streams: {
            __type: '[Stream!]!',
            __args: {
                block: 'Block_height',
                first: 'Int',
                orderBy: 'Stream_orderBy',
                orderDirection: 'OrderDirection',
                skip: 'Int',
                subgraphError: '_SubgraphErrorPolicy_!',
                where: 'Stream_filter',
            },
        },
    },
    subscription: {
        __typename: { __type: 'String!' },
        _meta: { __type: '_Meta_', __args: { block: 'Block_height' } },
        node: {
            __type: 'Node',
            __args: {
                block: 'Block_height',
                id: 'ID!',
                subgraphError: '_SubgraphErrorPolicy_!',
            },
        },
        nodes: {
            __type: '[Node!]!',
            __args: {
                block: 'Block_height',
                first: 'Int',
                orderBy: 'Node_orderBy',
                orderDirection: 'OrderDirection',
                skip: 'Int',
                subgraphError: '_SubgraphErrorPolicy_!',
                where: 'Node_filter',
            },
        },
        permission: {
            __type: 'Permission',
            __args: {
                block: 'Block_height',
                id: 'ID!',
                subgraphError: '_SubgraphErrorPolicy_!',
            },
        },
        permissions: {
            __type: '[Permission!]!',
            __args: {
                block: 'Block_height',
                first: 'Int',
                orderBy: 'Permission_orderBy',
                orderDirection: 'OrderDirection',
                skip: 'Int',
                subgraphError: '_SubgraphErrorPolicy_!',
                where: 'Permission_filter',
            },
        },
        stream: {
            __type: 'Stream',
            __args: {
                block: 'Block_height',
                id: 'ID!',
                subgraphError: '_SubgraphErrorPolicy_!',
            },
        },
        streams: {
            __type: '[Stream!]!',
            __args: {
                block: 'Block_height',
                first: 'Int',
                orderBy: 'Stream_orderBy',
                orderDirection: 'OrderDirection',
                skip: 'Int',
                subgraphError: '_SubgraphErrorPolicy_!',
                where: 'Stream_filter',
            },
        },
    },
};
//# sourceMappingURL=schema.generated.js.map