Hierarchy

  • MyMiniFactoryClient

Constructors

Properties

_apiKey: string = ""
_fetch: (<T>(this: MyMiniFactoryClient, method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH", url: string, params?: undefined | {
    [k: string]: any;
}) => Promise<HttpResponse<T>>) = fetchIt

Type declaration

    • <T>(this: MyMiniFactoryClient, method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH", url: string, params?: undefined | {
          [k: string]: any;
      }): Promise<HttpResponse<T>>
    • Type Parameters

      • T

      Parameters

      • this: MyMiniFactoryClient
      • method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH"
      • url: string
      • params: undefined | {
            [k: string]: any;
        } = undefined

      Returns Promise<HttpResponse<T>>

_url: string = "https://www.myminifactory.com/api/v2"
categories: ((this: MyMiniFactoryClient, page?: number, perPage?: number) => Promise<HttpResponse<Paginated<Category>>>) = Categories.categories

Type declaration

category: ((this: MyMiniFactoryClient, id: string) => Promise<HttpResponse<Category>>) = Categories.category

Type declaration

collection: ((this: MyMiniFactoryClient, id: string) => Promise<HttpResponse<Collection>>) = Collections.collection

Type declaration

collections: ((this: MyMiniFactoryClient, page?: number, perPage?: number) => Promise<HttpResponse<Paginated<Collection>>>) = Collections.collections

Type declaration

file: ((this: MyMiniFactoryClient, id: string) => Promise<HttpResponse<File>>) = Files.file

Type declaration

me: ((this: MyMiniFactoryClient) => Promise<HttpResponse<User>>) = User.me

Type declaration

object: ((this: MyMiniFactoryClient, id: string) => Promise<HttpResponse<Object>>) = Objects.object

Type declaration

objectFiles: ((this: MyMiniFactoryClient, id: string, page?: number, perPage?: number) => Promise<HttpResponse<Paginated<File>>>) = Objects.objectFiles

Type declaration

objectPrints: ((this: MyMiniFactoryClient, id: string, page?: number, perPage?: number) => Promise<HttpResponse<Paginated<Image>>>) = Objects.objectPrints

Type declaration

objectUploadStatus: ((this: MyMiniFactoryClient, id: string) => Promise<HttpResponse<unknown>>) = Objects.objectUploadStatus

Type declaration

patchObjectMetadata: ((this: MyMiniFactoryClient, params: Partial<MetadataParams>) => Promise<HttpResponse<unknown>>) = Objects.patchObjectMetadata

Type declaration

search: ((this: MyMiniFactoryClient, searchParams: SearchParams) => Promise<HttpResponse<Paginated<Object>>>) = Search.search

Type declaration

uploadFile: ((this: MyMiniFactoryClient) => Promise<string>) = Files.uploadFile

Type declaration

uploadImage: ((this: MyMiniFactoryClient) => Promise<string>) = Files.uploadImage

Type declaration

uploadObjectMetadata: ((this: MyMiniFactoryClient, params: MetadataParams) => Promise<HttpResponse<unknown>>) = Objects.uploadObjectMetadata

Type declaration

user: ((this: MyMiniFactoryClient, username: string) => Promise<HttpResponse<User>>) = User.user

Type declaration

userCollection: ((this: MyMiniFactoryClient, username: string, collectionSlug: string, page?: number, perPage?: number) => Promise<HttpResponse<Collection>>) = User.userCollection

Type declaration

userCollections: ((this: MyMiniFactoryClient, username: string, page?: number, perPage?: number) => Promise<HttpResponse<Paginated<Collection>>>) = User.userCollections

Type declaration

userFollowers: ((this: MyMiniFactoryClient, username: string, page?: number, perPage?: number) => Promise<HttpResponse<Paginated<User>>>) = User.userFollowers

Type declaration

userFollowing: ((this: MyMiniFactoryClient, username: string, page?: number, perPage?: number) => Promise<HttpResponse<Paginated<User>>>) = User.userFollowing

Type declaration

userLikedObjects: ((this: MyMiniFactoryClient, username: string, page?: number, perPage?: number) => Promise<HttpResponse<Paginated<Object>>>) = User.userLikedObjects

Type declaration

userObjects: ((this: MyMiniFactoryClient, username: string, page?: number, perPage?: number) => Promise<HttpResponse<Paginated<Object>>>) = User.userObjects

Type declaration

Methods

Generated using TypeDoc