/** * #common.ts * * Code generated by ts-proto. DO NOT EDIT. * @packageDocumentation */ /** * Dimensions describe the layout characteristics of a custom post within * Devvit. They are used to allow Devvitors to create responsive experiences * within their post. For example, they can use this API to conditionally render * an element on small viewports only. */ export type UIDimensions = { /** Unitless pixels describing the content box height for the custom post. */ height: number; /** Unitless pixels describing the content box width for the custom post. */ width: number; /** Describes the device pixel ratio for a device. */ scale: number; /** Web only: describes the font scaling pixel ratio for a browser window. */ fontScale?: number | undefined; }; //# sourceMappingURL=common.d.ts.map