diff --git a/lib/prompt.ts b/lib/prompt.ts index 1317445..0c8f8a9 100644 --- a/lib/prompt.ts +++ b/lib/prompt.ts @@ -34,15 +34,17 @@ export type Prompt = { like?: number; use?: number; tags?: string[]; + user_id?: string; // eslint-disable-line camelcase + public: boolean; }; -export type PromptInsert = Pick; +export type PromptInsert = Pick; export type PromptUpdate = Partial; async function axiosWrapper( method: "get" | "post" | "put" | "delete", url: string, - data?: Record | undefined, + data?: Record | undefined, clientOptions: InputClientOptions = {}, ): Promise { const { token, endpoint } = await defaultOptions(clientOptions); diff --git a/package.json b/package.json index acfce1d..3b31cbf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "polyfact", - "version": "0.1.75", + "version": "0.1.76", "main": "index.js", "types": "index.d.ts", "author": "Lancelot Owczarczak ",