/** * #playtest.ts * * Code generated by ts-proto. DO NOT EDIT. * @packageDocumentation */ import type { LogMessage } from "../plugin/logger/logger.js"; /** A message from a client (usually embedded in shreddit) to a server. */ export type PlaytestProviderMessage = { callState?: PlaytestCallState | undefined; connect?: PlaytestConnect | undefined; }; /** A message from a server (usually the Devvit CLI) to a client. */ export type PlaytestSubscriberMessage = { appInstalled?: PlaytestAppInstalled | undefined; }; /** Playtest app install notification. */ export type PlaytestAppInstalled = {}; /** Runtime.getCallState() reported by BrowserLiteClient. */ export type PlaytestCallState = { logs: LogMessage[]; }; /** * Connection details from BrowserLiteClient sent immediately after opening * socket. */ export type PlaytestConnect = { /** * The full web address of the client. Eg, * https://www.reddit.com/r/pixelary?playtest=pixelary-game and * https://www.reddit.com/r/Pixelary/comments/1agoaja/what_is_this/?playtest&foo=bar. */ url: string; }; //# sourceMappingURL=playtest.d.ts.map