Variable defaultConst

    default: {
        add: ((userModel: {
            model: IModel;
            template: string;
        }) => Promise<IFrontNewUserModel>);
        del: ((userModel: {
            id: string;
        }) => Promise<void>);
        update: ((userModel: {
            id: string;
        }, data: any[]) => Promise<void>);
    } = ...

    Type declaration

    • add: ((userModel: {
          model: IModel;
          template: string;
      }) => Promise<IFrontNewUserModel>)
    • del: ((userModel: {
          id: string;
      }) => Promise<void>)
        • (userModel): Promise<void>
        • Delete

          Parameters

          • userModel: {
                id: string;
            }

            User model

            • id: string

          Returns Promise<void>

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

          • userModel: {
                id: string;
            }
            • id: string
          • data: any[]

          Returns Promise<void>

    Generated using TypeDoc and TypeDoc Airthium Plugin