• Register the provided model initializers with the given DAL instance.

    Parameters

    • dal: DataAccessLayer

      Connected data access layer that owns the registration.

    • initializers: ModelInitializer[] = DEFAULT_MODEL_INITIALIZERS

      Collection of initializer descriptors to invoke.

    Returns Promise<
        Map<
            string,
            ModelConstructor<
                JsonObject,
                JsonObject,
                ModelInstance<JsonObject, JsonObject>,
                string,
            >,
        >,
    >

    Map of registry keys to the constructors they registered.