import type { Resource } from "./Resource.js"; import type { ResourceText } from "./ResourceText.js"; export type ResourceMetadata = { /** * Map of language code to display name. Could be a string, mapped to `en`. */ displayName: ResourceText; /** * Map of language code to description. Could be a string, mapped to `en`. */ description: ResourceText; /** * Portrait image with aspect ratio of 1/1 */ portrait: string | null; /** * Banner image with aspect ratio of 21/9, this is used when promoting the resource. */ banner: string | null; /** * Screenshots should use aspect ratio of 16/9 */ screenshots: Array; /** * tags are keywords to be used for searching and indexing */ tags: Array; /** * App target version that this resource is compatible with.\ * Developers are responsible to update the resource so when resource does not * match the current app version, the resource will be shown with a warning message */ appTargetVersion: [number, number, number] | null; /** * Extra metadata for the resource */ extras: { [key in string]: string; }; path: string; filename: string; bundled: boolean; /** * Last date when the metadata file was written */ writtenAt: string; /** * only present for remote/downloaded resources */ remote: Resource | null; }; //# sourceMappingURL=ResourceMetadata.d.ts.map