@dxos/app-framework - v0.10.0
    Preparing search index...

    Variable makeConst

    make: <T extends string>(
        nsid: [Name<T>] extends [never]
            ? `Invalid NSID "${T}": final segment must be camelCase (no hyphens)`
            : T,
        specifier?: string,
    ) => ActivationEvent.ActivationEvent = ...

    Helper to define an activation event from an NSID. Static NSID strings are validated at compile time via DXN.Name.

    Type declaration

      • <T extends string>(
            nsid: [Name<T>] extends [never]
                ? `Invalid NSID "${T}": final segment must be camelCase (no hyphens)`
                : T,
            specifier?: string,
        ): ActivationEvent.ActivationEvent
      • Type Parameters

        • T extends string

        Parameters

        • nsid: [Name<T>] extends [never]
              ? `Invalid NSID "${T}": final segment must be camelCase (no hyphens)`
              : T
        • Optionalspecifier: string

        Returns ActivationEvent.ActivationEvent