Variable defaultConst

    default: {
        accept: ((organization: {
            id: string;
        }) => Promise<void>);
        add: ((organization: {
            name: string;
        }) => Promise<IFrontNewOrganization>);
        decline: ((organization: {
            id: string;
        }) => Promise<void>);
        del: ((organization: {
            id: string;
        }) => Promise<void>);
        quit: ((organization: {
            id: string;
        }) => Promise<void>);
        update: ((organization: {
            id: string;
        }, data: any[]) => Promise<void>);
        useOrganizations: (() => [IFrontOrganizations, {
            addOneOrganization: ((organization: IFrontNewOrganization) => Promise<void>);
            delOneOrganization: ((organization: IFrontMutateOrganizationsItem) => Promise<void>);
            errorOrganizations: Error;
            loadingOrganizations: boolean;
            mutateOneOrganization: ((organization: IFrontMutateOrganizationsItem) => Promise<void>);
        }]);
    } = ...

    Type declaration

    • accept: ((organization: {
          id: string;
      }) => Promise<void>)
        • (organization): Promise<void>
        • Update

          Parameters

          • organization: {
                id: string;
            }

            Organization

            • id: string

          Returns Promise<void>

    • add: ((organization: {
          name: string;
      }) => Promise<IFrontNewOrganization>)
    • decline: ((organization: {
          id: string;
      }) => Promise<void>)
        • (organization): Promise<void>
        • Update

          Parameters

          • organization: {
                id: string;
            }

            Organization

            • id: string

          Returns Promise<void>

    • del: ((organization: {
          id: string;
      }) => Promise<void>)
        • (organization): Promise<void>
        • Delete

          Parameters

          • organization: {
                id: string;
            }

            Organization

            • id: string

          Returns Promise<void>

    • quit: ((organization: {
          id: string;
      }) => Promise<void>)
        • (organization): Promise<void>
        • Update

          Parameters

          • organization: {
                id: string;
            }

            Organization

            • id: string

          Returns Promise<void>

    • update: ((organization: {
          id: string;
      }, data: any[]) => Promise<void>)
        • (organization, data): Promise<void>
        • Update

          Parameters

          • organization: {
                id: string;
            }

            Organization

            • id: string
          • data: any[]

            Data

          Returns Promise<void>

    • useOrganizations: (() => [IFrontOrganizations, {
          addOneOrganization: ((organization: IFrontNewOrganization) => Promise<void>);
          delOneOrganization: ((organization: IFrontMutateOrganizationsItem) => Promise<void>);
          errorOrganizations: Error;
          loadingOrganizations: boolean;
          mutateOneOrganization: ((organization: IFrontMutateOrganizationsItem) => Promise<void>);
      }])

    Generated using TypeDoc and TypeDoc Airthium Plugin