/** * #utilities.ts * * Code generated by ts-proto. DO NOT EDIT. * @packageDocumentation */ import type { GlobalListType } from "../../../dev_portal/fetch_domain_request/fetch_domain_request.js"; export declare enum CurationType { CURATION_TYPE_UNSPECIFIED = 0, CURATION_TYPE_NEW = 1, CURATION_TYPE_POPULAR = 2, UNRECOGNIZED = -1 } export type AccessKeyPurgeRequest = { /** the t2_ user id */ userId: string; /** also purge the refresh key */ includeRefresh: boolean; }; export type InstallationsPurgeRequest = { /** t5 subreddit id */ subreddit: string; }; export type InstallationPurgeRequest = { installationId: string; }; export type AppVersionPurgeRequest = { appVersionId: string; }; export type AppPurgeRequest = { appId: string; appSlug: string; }; export type AppVersionPublishStatusPurgeRequest = { appVersionId: string; }; /** Purge request for curated games cache. */ export type CuratedGamesPurgeRequest = { /** curation type to purge (example: "NEW" or "POPULAR") */ curationType: CurationType; }; export type PurgeAllRequest = { cacheType: PurgeAllRequest_CacheType; }; /** Purge all cache entries of the specified type */ export declare enum PurgeAllRequest_CacheType { UNSPECIFIED = 0, /** INSTALLATION - devvit-ecosystem cache types */ INSTALLATION = 1, SUBREDDIT_APP_INSTALLS = 2, APP = 3, APP_BY_ID = 4, APP_PUBLISH_REQUEST = 5, APP_DOMAINS = 6, GLOBAL_DOMAINS = 7, /** POST - devvit-runtime cache types */ POST = 8, POST_RENDER = 9, POSTS_BY_INSTALLATION = 10, CONTEXT_ACTIONS = 11, APP_PERMISSIONS = 12, /** DRAWER - other cache types */ DRAWER = 13, TOP_CUSTOM_POSTS = 14, APP_HEALTH = 15, APP_WITH_CATEGORIES = 16, UNRECOGNIZED = -1 } export type PurgeResult = { /** Number of items purged */ count: number; }; export type CacheContextActionsRequest = { installationId: string; }; export type RefreshGlobalDomainsRequest = { /** * The global list type to refresh (ALLOWLIST or DENYLIST). * If not specified, both allowlist and denylist will be refreshed. */ globalListType?: GlobalListType | undefined; }; export type AcceptInviteRequest = { subredditName: string; appAccountId: string; }; export type AcceptInviteResponse = {}; //# sourceMappingURL=utilities.d.ts.map