novx
    Preparing search index...

    Interface ManifestProcessorOptions

    options for the ManifestProcessor

    interface ManifestProcessorOptions {
        hasFeature?: (feature: string) => boolean;
        hasPermission?: (permission: string) => boolean;
    }
    Index

    Properties

    hasFeature?: (feature: string) => boolean

    a function that returns true, if a given feature flag is assigend to the current session

    Type Declaration

      • (feature: string): boolean
      • Parameters

        • feature: string

          the feature flag name

        Returns boolean

    hasPermission?: (permission: string) => boolean

    a function that returns true, if a given permission is assigend to the current session

    Type Declaration

      • (permission: string): boolean
      • Parameters

        • permission: string

          the permission name

        Returns boolean