jimpex
    Preparing search index...

    Variable frontendServicesProviderConst

    frontendServicesProvider: {
        frontendFsProvider: Resource<
            "provider",
            "register",
            ProviderRegisterFn<Jimpex>,
        >;
    } & Record<
        string,
        Resource<"provider", "register", ProviderRegisterFn<Jimpex>>,
    > & { provider: true } & { register: ProviderRegisterFn<Jimpex> } & Record<
        string,
        unknown,
    > = ...

    Registers all the frontend services on the container.

    Type Declaration

    • frontendFsProvider: Resource<"provider", "register", ProviderRegisterFn<Jimpex>>

      The service provider that once registered on the container will set an instance of FrontendFs as the frontendFs service.

      // Register it on the container
      container.register(frontendFsProvider);
      // Getting access to the service instance
      const frontendFs = container.get<FrontendFs>('frontendFs');
    • provider: true
    • register: ProviderRegisterFn<Jimpex>
    // Register the collection on the container
    container.register(frontendServicesProvider);
    // Getting access to one the services instance
    const frontendFs = container.get<FrontendFs>('frontendFs');