• Preparing search index...
  • The search index is not available
@squonk/data-manager-client
  • @squonk/data-manager-client
  • file-and-path/file-and-path
  • useAttachFile

Function useAttachFile

  • useAttachFile<TError = ErrorType<void | DmError>, TContext = unknown>(
        options?: {
            mutation?: UseMutationOptions<
                FilePostResponse,
                TError,
                { data: FilePostBodyBody },
                TContext,
            >;
            request?: AxiosRequestConfig;
        },
    ): UseMutationResult<
        FilePostResponse,
        TError,
        { data: FilePostBodyBody },
        TContext,
    >
  • Type Parameters

    • TError = ErrorType<void | DmError>
    • TContext = unknown

    Parameters

    • Optionaloptions: {
          mutation?: UseMutationOptions<
              FilePostResponse,
              TError,
              { data: FilePostBodyBody },
              TContext,
          >;
          request?: AxiosRequestConfig;
      }

    Returns UseMutationResult<
        FilePostResponse,
        TError,
        { data: FilePostBodyBody },
        TContext,
    >

    • Defined in src/file-and-path/file-and-path.ts:442

Settings

Member Visibility
@squonk/data-manager-client
  • Loading...

Generated using TypeDoc