Skip to main content

Type Alias: MiniappPermissions

MiniappPermissions = object

Defined in: src/types/permissions.ts:16

Complete permission map controlling which host capabilities a miniapp can access. Passed via ILoadOptions.permissions to restrict or grant access on a per-load basis.

Properties​

analytics​

analytics: IPermission

Defined in: src/types/permissions.ts:34

Access to the analytics service


authentication​

authentication: IPermission

Defined in: src/types/permissions.ts:30

Access to authentication tokens and user identity


credits​

credits: IPermission

Defined in: src/types/permissions.ts:22

Access to user credits balance


headers​

headers: IPermission

Defined in: src/types/permissions.ts:26

Access to custom HTTP headers


language​

language: IPermission

Defined in: src/types/permissions.ts:28

Access to the user's language preference


location​

location: IPermission

Defined in: src/types/permissions.ts:24

Access to geographic location data


scene​

scene: IPermission

Defined in: src/types/permissions.ts:18

Access to the rendering scene (layers, replay state)


sharedStorage​

sharedStorage: IPermission

Defined in: src/types/permissions.ts:32

Access to the cross-miniapp shared storage


theme​

theme: IPermission

Defined in: src/types/permissions.ts:20

Access to the host theme (colors, typography)