Function createContextConfig

  • Creates a configuration object for a context.

    Type Parameters

    • T extends string

    Parameters

    • __namedParameters: {
          subjects: Record<string, Record<string, unknown>>[];
          type: T;
      }
      • subjects: Record<string, Record<string, unknown>>[]
      • type: T

    Returns {
        subject: Record<string, Record<string, unknown>>;
        vc: {};
    }

    An object representing the context configuration.

    • subject: Record<string, Record<string, unknown>>
    • vc: {}