From 5e83b09403866dfeda2e49d78494b67fd5c9c538 Mon Sep 17 00:00:00 2001 From: moonlitgrace Date: Wed, 11 Dec 2024 11:43:03 +0530 Subject: [PATCH 1/2] chore: changee prettier tab-width --- frontend/.prettierrc | 26 +- frontend/e2e/demo.test.ts | 4 +- frontend/eslint.config.js | 48 +- frontend/package.json | 100 +- frontend/playwright.config.ts | 10 +- frontend/postcss.config.js | 8 +- frontend/scripts/generate_schema.js | 14 +- frontend/src/app.css | 118 +- frontend/src/app.d.ts | 18 +- frontend/src/app.html | 18 +- frontend/src/demo.spec.ts | 6 +- frontend/src/hooks.server.ts | 46 +- frontend/src/lib/clients/client.ts | 4 +- frontend/src/lib/clients/v1.ts | 5646 ++++++++--------- frontend/src/lib/components/header.svelte | 122 +- frontend/src/lib/components/icons/card.svelte | 28 +- .../lib/components/icons/chart_bars.svelte | 56 +- .../src/lib/components/icons/compact.svelte | 28 +- frontend/src/lib/components/icons/hot.svelte | 44 +- .../lib/components/icons/logos/google.svelte | 46 +- .../lib/components/icons/logos/quibble.svelte | 42 +- .../icons/logos/quibble_text.svelte | 28 +- frontend/src/lib/components/icons/new.svelte | 24 +- .../lib/components/icons/notification.svelte | 24 +- .../src/lib/components/icons/rocket.svelte | 28 +- frontend/src/lib/components/icons/top.svelte | 56 +- .../lib/components/modals/auth/forms/index.ts | 6 +- .../components/modals/auth/forms/login.svelte | 194 +- .../modals/auth/forms/profile_create.svelte | 152 +- .../modals/auth/forms/profile_select.svelte | 192 +- .../lib/components/modals/auth/index.svelte | 68 +- .../src/lib/components/modals/auth/types.ts | 6 +- .../src/lib/components/modals/index.svelte | 2 +- .../src/lib/components/pages/home/post.svelte | 118 +- .../components/pages/home/posts_header.svelte | 152 +- .../components/pages/home/recent_posts.svelte | 70 +- frontend/src/lib/components/sidebar.svelte | 178 +- frontend/src/lib/components/ui/avatar.svelte | 36 +- frontend/src/lib/data/mock/favorites.json | 20 +- frontend/src/lib/data/mock/my_profiles.json | 26 +- frontend/src/lib/data/mock/posts.json | 56 +- frontend/src/lib/data/mock/recent_posts.json | 46 +- .../src/lib/data/mock/your_communities.json | 20 +- frontend/src/lib/functions/classnames.ts | 2 +- frontend/src/lib/functions/event_modifiers.ts | 8 +- frontend/src/lib/stores/auth.svelte.ts | 14 +- frontend/src/lib/stores/modals.svelte.ts | 14 +- frontend/src/lib/utils/api.ts | 48 +- frontend/src/lib/utils/errors.ts | 18 +- .../src/routes/(actions)/auth/+page.server.ts | 60 +- frontend/src/routes/+layout.server.ts | 6 +- frontend/src/routes/+layout.svelte | 52 +- frontend/src/routes/+page.svelte | 32 +- .../routes/settings/profile/+page.server.ts | 70 +- frontend/svelte.config.js | 18 +- frontend/tailwind.config.ts | 24 +- frontend/tsconfig.json | 36 +- frontend/vite.config.ts | 8 +- 58 files changed, 4172 insertions(+), 4172 deletions(-) diff --git a/frontend/.prettierrc b/frontend/.prettierrc index 7ebb855..4cbd4de 100644 --- a/frontend/.prettierrc +++ b/frontend/.prettierrc @@ -1,15 +1,15 @@ { - "useTabs": true, - "singleQuote": true, - "trailingComma": "none", - "printWidth": 100, - "plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"], - "overrides": [ - { - "files": "*.svelte", - "options": { - "parser": "svelte" - } - } - ] + "singleQuote": true, + "trailingComma": "none", + "printWidth": 100, + "tabWidth": 2, + "plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"], + "overrides": [ + { + "files": "*.svelte", + "options": { + "parser": "svelte" + } + } + ] } diff --git a/frontend/e2e/demo.test.ts b/frontend/e2e/demo.test.ts index 9985ce1..a67e4e7 100644 --- a/frontend/e2e/demo.test.ts +++ b/frontend/e2e/demo.test.ts @@ -1,6 +1,6 @@ import { expect, test } from '@playwright/test'; test('home page has expected h1', async ({ page }) => { - await page.goto('/'); - await expect(page.locator('h1')).toBeVisible(); + await page.goto('/'); + await expect(page.locator('h1')).toBeVisible(); }); diff --git a/frontend/eslint.config.js b/frontend/eslint.config.js index a526565..841d476 100644 --- a/frontend/eslint.config.js +++ b/frontend/eslint.config.js @@ -5,29 +5,29 @@ import globals from 'globals'; import ts from 'typescript-eslint'; export default ts.config( - js.configs.recommended, - ...ts.configs.recommended, - ...svelte.configs['flat/recommended'], - prettier, - ...svelte.configs['flat/prettier'], - { - languageOptions: { - globals: { - ...globals.browser, - ...globals.node - } - } - }, - { - files: ['**/*.svelte'], + js.configs.recommended, + ...ts.configs.recommended, + ...svelte.configs['flat/recommended'], + prettier, + ...svelte.configs['flat/prettier'], + { + languageOptions: { + globals: { + ...globals.browser, + ...globals.node + } + } + }, + { + files: ['**/*.svelte'], - languageOptions: { - parserOptions: { - parser: ts.parser - } - } - }, - { - ignores: ['build/', '.svelte-kit/', 'dist/'] - } + languageOptions: { + parserOptions: { + parser: ts.parser + } + } + }, + { + ignores: ['build/', '.svelte-kit/', 'dist/'] + } ); diff --git a/frontend/package.json b/frontend/package.json index 2d6b61d..f023d88 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,52 +1,52 @@ { - "type": "module", - "scripts": { - "dev": "vite dev", - "build": "vite build", - "preview": "vite preview", - "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", - "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", - "format": "prettier --write . --log-level silent", - "lint": "prettier --check . && eslint .", - "test": "npm run test:unit -- --run && npm run test:e2e", - "test:unit": "vitest", - "test:e2e": "playwright test", - "test:ts": "tsc --noEmit", - "openapi-ts": "dotenvx run -- node ./scripts/generate_schema.js" - }, - "devDependencies": { - "@coreproject-moe/icons": "^0.0.67", - "@dotenvx/dotenvx": "^1.28.0", - "@playwright/test": "^1.45.3", - "@sveltejs/adapter-auto": "^3.0.0", - "@sveltejs/kit": "^2.8.3", - "@sveltejs/vite-plugin-svelte": "^4.0.0", - "@tailwindcss/aspect-ratio": "^0.4.2", - "@tailwindcss/forms": "^0.5.9", - "@tailwindcss/typography": "^0.5.15", - "@types/eslint": "^9.6.0", - "@types/node": "^22.10.1", - "autoprefixer": "^10.4.20", - "clsx": "^2.1.1", - "daisyui": "^4.12.14", - "eslint": "^9.7.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-svelte": "^2.36.0", - "globals": "^15.0.0", - "openapi-fetch": "^0.13.3", - "openapi-typescript": "^7.4.4", - "prettier": "^3.3.2", - "prettier-plugin-svelte": "^3.2.6", - "prettier-plugin-tailwindcss": "^0.6.5", - "readable-numbers": "^1.0.8", - "svelte": "^5.0.0", - "svelte-check": "^4.0.0", - "tailwind-merge": "^2.5.4", - "tailwind-scrollbar": "^3.1.0", - "tailwindcss": "^3.4.9", - "typescript": "^5.0.0", - "typescript-eslint": "^8.0.0", - "vite": "^5.0.3", - "vitest": "^2.0.4" - } + "type": "module", + "scripts": { + "dev": "vite dev", + "build": "vite build", + "preview": "vite preview", + "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", + "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", + "format": "prettier --write . --log-level silent", + "lint": "prettier --check . && eslint .", + "test": "npm run test:unit -- --run && npm run test:e2e", + "test:unit": "vitest", + "test:e2e": "playwright test", + "test:ts": "tsc --noEmit", + "openapi-ts": "dotenvx run -- node ./scripts/generate_schema.js" + }, + "devDependencies": { + "@coreproject-moe/icons": "^0.0.67", + "@dotenvx/dotenvx": "^1.28.0", + "@playwright/test": "^1.45.3", + "@sveltejs/adapter-auto": "^3.0.0", + "@sveltejs/kit": "^2.8.3", + "@sveltejs/vite-plugin-svelte": "^4.0.0", + "@tailwindcss/aspect-ratio": "^0.4.2", + "@tailwindcss/forms": "^0.5.9", + "@tailwindcss/typography": "^0.5.15", + "@types/eslint": "^9.6.0", + "@types/node": "^22.10.1", + "autoprefixer": "^10.4.20", + "clsx": "^2.1.1", + "daisyui": "^4.12.14", + "eslint": "^9.7.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-svelte": "^2.36.0", + "globals": "^15.0.0", + "openapi-fetch": "^0.13.3", + "openapi-typescript": "^7.4.4", + "prettier": "^3.3.2", + "prettier-plugin-svelte": "^3.2.6", + "prettier-plugin-tailwindcss": "^0.6.5", + "readable-numbers": "^1.0.8", + "svelte": "^5.0.0", + "svelte-check": "^4.0.0", + "tailwind-merge": "^2.5.4", + "tailwind-scrollbar": "^3.1.0", + "tailwindcss": "^3.4.9", + "typescript": "^5.0.0", + "typescript-eslint": "^8.0.0", + "vite": "^5.0.3", + "vitest": "^2.0.4" + } } diff --git a/frontend/playwright.config.ts b/frontend/playwright.config.ts index d76ea26..db8f8c6 100644 --- a/frontend/playwright.config.ts +++ b/frontend/playwright.config.ts @@ -1,10 +1,10 @@ import { defineConfig } from '@playwright/test'; export default defineConfig({ - webServer: { - command: 'npm run build && npm run preview', - port: 4173 - }, + webServer: { + command: 'npm run build && npm run preview', + port: 4173 + }, - testDir: 'e2e' + testDir: 'e2e' }); diff --git a/frontend/postcss.config.js b/frontend/postcss.config.js index 0f77216..ba80730 100644 --- a/frontend/postcss.config.js +++ b/frontend/postcss.config.js @@ -1,6 +1,6 @@ export default { - plugins: { - tailwindcss: {}, - autoprefixer: {} - } + plugins: { + tailwindcss: {}, + autoprefixer: {} + } }; diff --git a/frontend/scripts/generate_schema.js b/frontend/scripts/generate_schema.js index abb26bd..0ab79be 100644 --- a/frontend/scripts/generate_schema.js +++ b/frontend/scripts/generate_schema.js @@ -5,8 +5,8 @@ import { fileURLToPath } from 'url'; const api_url = process.env.PUBLIC_API_URL; if (!api_url) { - console.error('error: PUBLIC_API_URL is not defined in your .env file.'); - process.exit(0); + console.error('error: PUBLIC_API_URL is not defined in your .env file.'); + process.exit(0); } const __filename = fileURLToPath(import.meta.url); @@ -16,9 +16,9 @@ const output_path = path.resolve(__dirname, '../src/lib/clients/v1.ts'); const command = `openapi-typescript ${api_url}/api/v1/schema/ -o ${output_path}`; exec(command, (error, stdout) => { - if (error) { - console.log(`error: ${error}`); - return; - } - console.log(`stdout: ${stdout}`); + if (error) { + console.log(`error: ${error}`); + return; + } + console.log(`stdout: ${stdout}`); }); diff --git a/frontend/src/app.css b/frontend/src/app.css index 3413dc9..8638d57 100644 --- a/frontend/src/app.css +++ b/frontend/src/app.css @@ -3,82 +3,82 @@ @import 'tailwindcss/utilities'; @layer base { - @font-face { - font-family: 'DM Sans'; - src: url('/fonts/dm-sans/DMSans-Thin.ttf') format('truetype'); - font-weight: 100; - font-style: normal; - } + @font-face { + font-family: 'DM Sans'; + src: url('/fonts/dm-sans/DMSans-Thin.ttf') format('truetype'); + font-weight: 100; + font-style: normal; + } - @font-face { - font-family: 'DM Sans'; - src: url('/fonts/dm-sans/DMSans-ExtraLight.ttf') format('truetype'); - font-weight: 200; - font-style: normal; - } + @font-face { + font-family: 'DM Sans'; + src: url('/fonts/dm-sans/DMSans-ExtraLight.ttf') format('truetype'); + font-weight: 200; + font-style: normal; + } - @font-face { - font-family: 'DM Sans'; - src: url('/fonts/dm-sans/DMSans-Light.ttf') format('truetype'); - font-weight: 300; - font-style: normal; - } + @font-face { + font-family: 'DM Sans'; + src: url('/fonts/dm-sans/DMSans-Light.ttf') format('truetype'); + font-weight: 300; + font-style: normal; + } - @font-face { - font-family: 'DM Sans'; - src: url('/fonts/dm-sans/DMSans-Regular.ttf') format('truetype'); - font-weight: 400; - font-style: normal; - } + @font-face { + font-family: 'DM Sans'; + src: url('/fonts/dm-sans/DMSans-Regular.ttf') format('truetype'); + font-weight: 400; + font-style: normal; + } - @font-face { - font-family: 'DM Sans'; - src: url('/fonts/dm-sans/DMSans-Medium.ttf') format('truetype'); - font-weight: 500; - font-style: normal; - } + @font-face { + font-family: 'DM Sans'; + src: url('/fonts/dm-sans/DMSans-Medium.ttf') format('truetype'); + font-weight: 500; + font-style: normal; + } - @font-face { - font-family: 'DM Sans'; - src: url('/fonts/dm-sans/DMSans-SemiBold.ttf') format('truetype'); - font-weight: 600; - font-style: normal; - } + @font-face { + font-family: 'DM Sans'; + src: url('/fonts/dm-sans/DMSans-SemiBold.ttf') format('truetype'); + font-weight: 600; + font-style: normal; + } - @font-face { - font-family: 'DM Sans'; - src: url('/fonts/dm-sans/DMSans-Bold.ttf') format('truetype'); - font-weight: 700; - font-style: normal; - } + @font-face { + font-family: 'DM Sans'; + src: url('/fonts/dm-sans/DMSans-Bold.ttf') format('truetype'); + font-weight: 700; + font-style: normal; + } - @font-face { - font-family: 'DM Sans'; - src: url('/fonts/dm-sans/DMSans-ExtraBold.ttf') format('truetype'); - font-weight: 800; - font-style: normal; - } + @font-face { + font-family: 'DM Sans'; + src: url('/fonts/dm-sans/DMSans-ExtraBold.ttf') format('truetype'); + font-weight: 800; + font-style: normal; + } - @font-face { - font-family: 'DM Sans'; - src: url('/fonts/dm-sans/DMSans-Black.ttf') format('truetype'); - font-weight: 900; - font-style: normal; - } + @font-face { + font-family: 'DM Sans'; + src: url('/fonts/dm-sans/DMSans-Black.ttf') format('truetype'); + font-weight: 900; + font-style: normal; + } } @layer base { - :root { - @apply bg-base-300 text-base-content; - } + :root { + @apply bg-base-300 text-base-content; + } } html { - @apply scrollbar-thin; + @apply scrollbar-thin; } /* daisyui */ .btn { - @apply min-h-max; + @apply min-h-max; } diff --git a/frontend/src/app.d.ts b/frontend/src/app.d.ts index 5a3c4d9..b79026a 100644 --- a/frontend/src/app.d.ts +++ b/frontend/src/app.d.ts @@ -6,15 +6,15 @@ type Profile = components['schemas']['Profile']; // for information about these interfaces declare global { - namespace App { - // interface Error {} - interface Locals { - profile: Profile | null; - } - // interface PageData {} - // interface PageState {} - // interface Platform {} - } + namespace App { + // interface Error {} + interface Locals { + profile: Profile | null; + } + // interface PageData {} + // interface PageState {} + // interface Platform {} + } } export {}; diff --git a/frontend/src/app.html b/frontend/src/app.html index 1391f88..40b3466 100644 --- a/frontend/src/app.html +++ b/frontend/src/app.html @@ -1,12 +1,12 @@ - - - - - %sveltekit.head% - - -
%sveltekit.body%
- + + + + + %sveltekit.head% + + +
%sveltekit.body%
+ diff --git a/frontend/src/demo.spec.ts b/frontend/src/demo.spec.ts index e07cbbd..964d287 100644 --- a/frontend/src/demo.spec.ts +++ b/frontend/src/demo.spec.ts @@ -1,7 +1,7 @@ import { describe, it, expect } from 'vitest'; describe('sum test', () => { - it('adds 1 + 2 to equal 3', () => { - expect(1 + 2).toBe(3); - }); + it('adds 1 + 2 to equal 3', () => { + expect(1 + 2).toBe(3); + }); }); diff --git a/frontend/src/hooks.server.ts b/frontend/src/hooks.server.ts index 922cdd0..f672ee0 100644 --- a/frontend/src/hooks.server.ts +++ b/frontend/src/hooks.server.ts @@ -5,34 +5,34 @@ import type { Handle, HandleFetch } from '@sveltejs/kit'; type Profile = components['schemas']['Profile']; export const handle: Handle = async ({ event, resolve }) => { - const auth_token = event.cookies.get('auth_token'); - const auth_user_profile_id = event.cookies.get('auth_user_profile_id'); - // init local - let profile: Profile | null = null; + const auth_token = event.cookies.get('auth_token'); + const auth_user_profile_id = event.cookies.get('auth_user_profile_id'); + // init local + let profile: Profile | null = null; - if (auth_token && auth_user_profile_id) { - try { - const { data } = await client.GET('/api/v1/users/me/', { - headers: { - Authorization: `Bearer ${auth_token}`, - 'Profile-Id': auth_user_profile_id.toString() - } - }); + if (auth_token && auth_user_profile_id) { + try { + const { data } = await client.GET('/api/v1/users/me/', { + headers: { + Authorization: `Bearer ${auth_token}`, + 'Profile-Id': auth_user_profile_id.toString() + } + }); - if (data) profile = data; - } catch (err) { - console.error(err); - } - } + if (data) profile = data; + } catch (err) { + console.error(err); + } + } - event.locals.profile = profile; - const response = await resolve(event); - return response; + event.locals.profile = profile; + const response = await resolve(event); + return response; }; export const handleFetch: HandleFetch = async ({ event, request, fetch }) => { - const auth_token = event.cookies.get('auth_token'); - console.log('AUTH_TOKEN', auth_token); + const auth_token = event.cookies.get('auth_token'); + console.log('AUTH_TOKEN', auth_token); - return fetch(request); + return fetch(request); }; diff --git a/frontend/src/lib/clients/client.ts b/frontend/src/lib/clients/client.ts index 4c1858b..2b47872 100644 --- a/frontend/src/lib/clients/client.ts +++ b/frontend/src/lib/clients/client.ts @@ -13,8 +13,8 @@ import { PUBLIC_API_URL } from '$env/static/public'; * ``` */ const client = createClient({ - baseUrl: PUBLIC_API_URL, - headers: {} + baseUrl: PUBLIC_API_URL, + headers: {} }); export default client; diff --git a/frontend/src/lib/clients/v1.ts b/frontend/src/lib/clients/v1.ts index 080a1b4..3280171 100644 --- a/frontend/src/lib/clients/v1.ts +++ b/frontend/src/lib/clients/v1.ts @@ -4,2833 +4,2833 @@ */ export interface paths { - '/api/v1/quiblets/': { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations['quiblets_list']; - put?: never; - post: operations['quiblets_create']; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - '/api/v1/quiblets/{id}/': { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations['quiblets_retrieve']; - put: operations['quiblets_update']; - post?: never; - delete: operations['quiblets_destroy']; - options?: never; - head?: never; - patch: operations['quiblets_partial_update']; - trace?: never; - }; - '/api/v1/quibs/': { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations['quibs_list']; - put?: never; - post: operations['quibs_create']; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - '/api/v1/quibs/{id}/': { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations['quibs_retrieve']; - put: operations['quibs_update']; - post?: never; - delete: operations['quibs_destroy']; - options?: never; - head?: never; - patch: operations['quibs_partial_update']; - trace?: never; - }; - '/api/v1/users/auth/login/': { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** @description Customized drf basic token authentication. - * - * This view authenticates the user using email and password credentials - * and issues a token upon successful login. */ - post: operations['users_auth_login_create']; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - '/api/v1/users/auth/logout/': { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** @description View to handle user logout by deleting the authentication token. */ - post: operations['users_auth_logout_create']; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - '/api/v1/users/auth/register/': { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** @description View to handle registering of new users. */ - post: operations['users_auth_register_create']; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - '/api/v1/users/me/': { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** @description View to retrieve information for the currently authenticated user. - * - * - `get`: Returns the details of the authenticated user based on their token. - * - * Permission: - * - Requires user authentication. */ - get: operations['users_me_retrieve']; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - '/api/v1/users/me/profiles/': { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** @description ViewSet to manage profiles associated with the authenticated user. - * - * Permissions: - * - Requires user authentication to access and modify profiles. */ - get: operations['users_me_profiles_list']; - put?: never; - /** @description ViewSet to manage profiles associated with the authenticated user. - * - * Permissions: - * - Requires user authentication to access and modify profiles. */ - post: operations['users_me_profiles_create']; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - '/api/v1/users/me/profiles/{id}/': { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** @description ViewSet to manage profiles associated with the authenticated user. - * - * Permissions: - * - Requires user authentication to access and modify profiles. */ - get: operations['users_me_profiles_retrieve']; - /** @description ViewSet to manage profiles associated with the authenticated user. - * - * Permissions: - * - Requires user authentication to access and modify profiles. */ - put: operations['users_me_profiles_update']; - post?: never; - /** @description ViewSet to manage profiles associated with the authenticated user. - * - * Permissions: - * - Requires user authentication to access and modify profiles. */ - delete: operations['users_me_profiles_destroy']; - options?: never; - head?: never; - /** @description ViewSet to manage profiles associated with the authenticated user. - * - * Permissions: - * - Requires user authentication to access and modify profiles. */ - patch: operations['users_me_profiles_partial_update']; - trace?: never; - }; - '/api/v1/users/profiles/': { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** @description ViewSet for performing read-only operations on the Profile model. - * - * Filtering: - * - Allows searching profiles by username. */ - get: operations['users_profiles_list']; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - '/api/v1/users/profiles/{id}/': { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** @description ViewSet for performing read-only operations on the Profile model. - * - * Filtering: - * - Allows searching profiles by username. */ - get: operations['users_profiles_retrieve']; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; + '/api/v1/quiblets/': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations['quiblets_list']; + put?: never; + post: operations['quiblets_create']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/api/v1/quiblets/{id}/': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations['quiblets_retrieve']; + put: operations['quiblets_update']; + post?: never; + delete: operations['quiblets_destroy']; + options?: never; + head?: never; + patch: operations['quiblets_partial_update']; + trace?: never; + }; + '/api/v1/quibs/': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations['quibs_list']; + put?: never; + post: operations['quibs_create']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/api/v1/quibs/{id}/': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get: operations['quibs_retrieve']; + put: operations['quibs_update']; + post?: never; + delete: operations['quibs_destroy']; + options?: never; + head?: never; + patch: operations['quibs_partial_update']; + trace?: never; + }; + '/api/v1/users/auth/login/': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** @description Customized drf basic token authentication. + * + * This view authenticates the user using email and password credentials + * and issues a token upon successful login. */ + post: operations['users_auth_login_create']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/api/v1/users/auth/logout/': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** @description View to handle user logout by deleting the authentication token. */ + post: operations['users_auth_logout_create']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/api/v1/users/auth/register/': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** @description View to handle registering of new users. */ + post: operations['users_auth_register_create']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/api/v1/users/me/': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** @description View to retrieve information for the currently authenticated user. + * + * - `get`: Returns the details of the authenticated user based on their token. + * + * Permission: + * - Requires user authentication. */ + get: operations['users_me_retrieve']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/api/v1/users/me/profiles/': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** @description ViewSet to manage profiles associated with the authenticated user. + * + * Permissions: + * - Requires user authentication to access and modify profiles. */ + get: operations['users_me_profiles_list']; + put?: never; + /** @description ViewSet to manage profiles associated with the authenticated user. + * + * Permissions: + * - Requires user authentication to access and modify profiles. */ + post: operations['users_me_profiles_create']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/api/v1/users/me/profiles/{id}/': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** @description ViewSet to manage profiles associated with the authenticated user. + * + * Permissions: + * - Requires user authentication to access and modify profiles. */ + get: operations['users_me_profiles_retrieve']; + /** @description ViewSet to manage profiles associated with the authenticated user. + * + * Permissions: + * - Requires user authentication to access and modify profiles. */ + put: operations['users_me_profiles_update']; + post?: never; + /** @description ViewSet to manage profiles associated with the authenticated user. + * + * Permissions: + * - Requires user authentication to access and modify profiles. */ + delete: operations['users_me_profiles_destroy']; + options?: never; + head?: never; + /** @description ViewSet to manage profiles associated with the authenticated user. + * + * Permissions: + * - Requires user authentication to access and modify profiles. */ + patch: operations['users_me_profiles_partial_update']; + trace?: never; + }; + '/api/v1/users/profiles/': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** @description ViewSet for performing read-only operations on the Profile model. + * + * Filtering: + * - Allows searching profiles by username. */ + get: operations['users_profiles_list']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/api/v1/users/profiles/{id}/': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** @description ViewSet for performing read-only operations on the Profile model. + * + * Filtering: + * - Allows searching profiles by username. */ + get: operations['users_profiles_retrieve']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; } export type webhooks = Record; export interface components { - schemas: { - Auth: { - /** - * Email Address - * Format: email - */ - email: string; - password: string; - }; - AuthTokenResponse: { - token: string; - }; - /** - * @description * `client_error` - Client Error - * @enum {string} - */ - ClientErrorEnum: 'client_error'; - /** - * @description * `primary` - primary - * * `secondary` - secondary - * * `accent` - accent - * * `neutral` - neutral - * * `info` - info - * * `success` - success - * * `warning` - warning - * * `error` - error - * @enum {string} - */ - ColorEnum: - | 'primary' - | 'secondary' - | 'accent' - | 'neutral' - | 'info' - | 'success' - | 'warning' - | 'error'; - /** @description Serializer for views returning just a response with detail key */ - DetailResponse: { - detail: string; - }; - Error404: { - code: components['schemas']['ErrorCode404Enum']; - detail: string; - attr: string | null; - }; - Error500: { - code: components['schemas']['ErrorCode500Enum']; - detail: string; - attr: string | null; - }; - /** - * @description * `not_found` - Not Found - * @enum {string} - */ - ErrorCode404Enum: 'not_found'; - /** - * @description * `error` - Error - * @enum {string} - */ - ErrorCode500Enum: 'error'; - ErrorResponse404: { - type: components['schemas']['ClientErrorEnum']; - errors: components['schemas']['Error404'][]; - }; - ErrorResponse500: { - type: components['schemas']['ServerErrorEnum']; - errors: components['schemas']['Error500'][]; - }; - PatchedProfile: { - readonly id?: number; - readonly user?: components['schemas']['User']; - /** Format: date-time */ - readonly created_at?: string; - color?: components['schemas']['ColorEnum']; - /** Format: uri */ - avatar?: string | null; - username?: string; - first_name?: string | null; - last_name?: string | null; - }; - PatchedQuib: { - readonly id?: string; - /** Format: date-time */ - readonly created_at?: string; - is_public?: boolean; - title?: string; - readonly slug?: string; - content?: string; - quiblet?: string; - /** Quibbler */ - quibber?: number; - likes?: number[]; - dislikes?: number[]; - }; - PatchedQuiblet: { - readonly id?: string; - /** Format: date-time */ - readonly created_at?: string; - /** Format: uri */ - avatar?: string | null; - is_public?: boolean; - name?: string; - description?: string; - /** Format: uri */ - cover?: string | null; - members?: number[]; - rangers?: number[]; - }; - Profile: { - readonly id: number; - readonly user: components['schemas']['User']; - /** Format: date-time */ - readonly created_at: string; - color?: components['schemas']['ColorEnum']; - /** Format: uri */ - avatar?: string | null; - username: string; - first_name?: string | null; - last_name?: string | null; - }; - Quib: { - readonly id: string; - /** Format: date-time */ - readonly created_at: string; - is_public?: boolean; - title: string; - readonly slug: string; - content: string; - quiblet: string; - /** Quibbler */ - quibber: number; - likes?: number[]; - dislikes?: number[]; - }; - Quiblet: { - readonly id: string; - /** Format: date-time */ - readonly created_at: string; - /** Format: uri */ - avatar?: string | null; - is_public?: boolean; - name: string; - description: string; - /** Format: uri */ - cover?: string | null; - members?: number[]; - rangers?: number[]; - }; - QuibletsCreateAvatarErrorComponent: { - /** - * @description * `avatar` - avatar (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'avatar'; - /** - * @description * `empty` - empty - * * `invalid` - invalid - * * `invalid_image` - invalid_image - * * `max_length` - max_length - * * `no_name` - no_name - * @enum {string} - */ - code: 'empty' | 'invalid' | 'invalid_image' | 'max_length' | 'no_name'; - detail: string; - }; - QuibletsCreateCoverErrorComponent: { - /** - * @description * `cover` - cover (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'cover'; - /** - * @description * `empty` - empty - * * `invalid` - invalid - * * `invalid_image` - invalid_image - * * `max_length` - max_length - * * `no_name` - no_name - * @enum {string} - */ - code: 'empty' | 'invalid' | 'invalid_image' | 'max_length' | 'no_name'; - detail: string; - }; - QuibletsCreateDescriptionErrorComponent: { - /** - * @description * `description` - description (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'description'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed'; - detail: string; - }; - QuibletsCreateError: - | components['schemas']['QuibletsCreateNonFieldErrorsErrorComponent'] - | components['schemas']['QuibletsCreateAvatarErrorComponent'] - | components['schemas']['QuibletsCreateIsPublicErrorComponent'] - | components['schemas']['QuibletsCreateNameErrorComponent'] - | components['schemas']['QuibletsCreateDescriptionErrorComponent'] - | components['schemas']['QuibletsCreateCoverErrorComponent'] - | components['schemas']['QuibletsCreateMembersErrorComponent'] - | components['schemas']['QuibletsCreateRangersErrorComponent']; - QuibletsCreateIsPublicErrorComponent: { - /** - * @description * `is_public` - is_public (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'is_public'; - /** - * @description * `invalid` - invalid - * * `null` - null - * @enum {string} - */ - code: 'invalid' | 'null'; - detail: string; - }; - QuibletsCreateMembersErrorComponent: { - /** - * @description * `members` - members (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'members'; - /** - * @description * `does_not_exist` - does_not_exist - * * `incorrect_type` - incorrect_type - * * `not_a_list` - not_a_list - * * `null` - null - * @enum {string} - */ - code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; - detail: string; - }; - QuibletsCreateNameErrorComponent: { - /** - * @description * `name` - name (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'name'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `max_length` - max_length - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * * `unique` - unique - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'max_length' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed' - | 'unique'; - detail: string; - }; - QuibletsCreateNonFieldErrorsErrorComponent: { - /** - * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'non_field_errors'; - /** - * @description * `invalid` - invalid - * * `null` - null - * @enum {string} - */ - code: 'invalid' | 'null'; - detail: string; - }; - QuibletsCreateRangersErrorComponent: { - /** - * @description * `rangers` - rangers (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'rangers'; - /** - * @description * `does_not_exist` - does_not_exist - * * `incorrect_type` - incorrect_type - * * `not_a_list` - not_a_list - * * `null` - null - * @enum {string} - */ - code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; - detail: string; - }; - QuibletsCreateValidationError: { - type: components['schemas']['ValidationErrorEnum']; - errors: components['schemas']['QuibletsCreateError'][]; - }; - QuibletsPartialUpdateAvatarErrorComponent: { - /** - * @description * `avatar` - avatar (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'avatar'; - /** - * @description * `empty` - empty - * * `invalid` - invalid - * * `invalid_image` - invalid_image - * * `max_length` - max_length - * * `no_name` - no_name - * @enum {string} - */ - code: 'empty' | 'invalid' | 'invalid_image' | 'max_length' | 'no_name'; - detail: string; - }; - QuibletsPartialUpdateCoverErrorComponent: { - /** - * @description * `cover` - cover (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'cover'; - /** - * @description * `empty` - empty - * * `invalid` - invalid - * * `invalid_image` - invalid_image - * * `max_length` - max_length - * * `no_name` - no_name - * @enum {string} - */ - code: 'empty' | 'invalid' | 'invalid_image' | 'max_length' | 'no_name'; - detail: string; - }; - QuibletsPartialUpdateDescriptionErrorComponent: { - /** - * @description * `description` - description (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'description'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed'; - detail: string; - }; - QuibletsPartialUpdateError: - | components['schemas']['QuibletsPartialUpdateNonFieldErrorsErrorComponent'] - | components['schemas']['QuibletsPartialUpdateAvatarErrorComponent'] - | components['schemas']['QuibletsPartialUpdateIsPublicErrorComponent'] - | components['schemas']['QuibletsPartialUpdateNameErrorComponent'] - | components['schemas']['QuibletsPartialUpdateDescriptionErrorComponent'] - | components['schemas']['QuibletsPartialUpdateCoverErrorComponent'] - | components['schemas']['QuibletsPartialUpdateMembersErrorComponent'] - | components['schemas']['QuibletsPartialUpdateRangersErrorComponent']; - QuibletsPartialUpdateIsPublicErrorComponent: { - /** - * @description * `is_public` - is_public (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'is_public'; - /** - * @description * `invalid` - invalid - * * `null` - null - * @enum {string} - */ - code: 'invalid' | 'null'; - detail: string; - }; - QuibletsPartialUpdateMembersErrorComponent: { - /** - * @description * `members` - members (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'members'; - /** - * @description * `does_not_exist` - does_not_exist - * * `incorrect_type` - incorrect_type - * * `not_a_list` - not_a_list - * * `null` - null - * @enum {string} - */ - code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; - detail: string; - }; - QuibletsPartialUpdateNameErrorComponent: { - /** - * @description * `name` - name (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'name'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `max_length` - max_length - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * * `unique` - unique - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'max_length' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed' - | 'unique'; - detail: string; - }; - QuibletsPartialUpdateNonFieldErrorsErrorComponent: { - /** - * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'non_field_errors'; - /** - * @description * `invalid` - invalid - * * `null` - null - * @enum {string} - */ - code: 'invalid' | 'null'; - detail: string; - }; - QuibletsPartialUpdateRangersErrorComponent: { - /** - * @description * `rangers` - rangers (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'rangers'; - /** - * @description * `does_not_exist` - does_not_exist - * * `incorrect_type` - incorrect_type - * * `not_a_list` - not_a_list - * * `null` - null - * @enum {string} - */ - code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; - detail: string; - }; - QuibletsPartialUpdateValidationError: { - type: components['schemas']['ValidationErrorEnum']; - errors: components['schemas']['QuibletsPartialUpdateError'][]; - }; - QuibletsUpdateAvatarErrorComponent: { - /** - * @description * `avatar` - avatar (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'avatar'; - /** - * @description * `empty` - empty - * * `invalid` - invalid - * * `invalid_image` - invalid_image - * * `max_length` - max_length - * * `no_name` - no_name - * @enum {string} - */ - code: 'empty' | 'invalid' | 'invalid_image' | 'max_length' | 'no_name'; - detail: string; - }; - QuibletsUpdateCoverErrorComponent: { - /** - * @description * `cover` - cover (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'cover'; - /** - * @description * `empty` - empty - * * `invalid` - invalid - * * `invalid_image` - invalid_image - * * `max_length` - max_length - * * `no_name` - no_name - * @enum {string} - */ - code: 'empty' | 'invalid' | 'invalid_image' | 'max_length' | 'no_name'; - detail: string; - }; - QuibletsUpdateDescriptionErrorComponent: { - /** - * @description * `description` - description (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'description'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed'; - detail: string; - }; - QuibletsUpdateError: - | components['schemas']['QuibletsUpdateNonFieldErrorsErrorComponent'] - | components['schemas']['QuibletsUpdateAvatarErrorComponent'] - | components['schemas']['QuibletsUpdateIsPublicErrorComponent'] - | components['schemas']['QuibletsUpdateNameErrorComponent'] - | components['schemas']['QuibletsUpdateDescriptionErrorComponent'] - | components['schemas']['QuibletsUpdateCoverErrorComponent'] - | components['schemas']['QuibletsUpdateMembersErrorComponent'] - | components['schemas']['QuibletsUpdateRangersErrorComponent']; - QuibletsUpdateIsPublicErrorComponent: { - /** - * @description * `is_public` - is_public (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'is_public'; - /** - * @description * `invalid` - invalid - * * `null` - null - * @enum {string} - */ - code: 'invalid' | 'null'; - detail: string; - }; - QuibletsUpdateMembersErrorComponent: { - /** - * @description * `members` - members (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'members'; - /** - * @description * `does_not_exist` - does_not_exist - * * `incorrect_type` - incorrect_type - * * `not_a_list` - not_a_list - * * `null` - null - * @enum {string} - */ - code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; - detail: string; - }; - QuibletsUpdateNameErrorComponent: { - /** - * @description * `name` - name (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'name'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `max_length` - max_length - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * * `unique` - unique - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'max_length' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed' - | 'unique'; - detail: string; - }; - QuibletsUpdateNonFieldErrorsErrorComponent: { - /** - * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'non_field_errors'; - /** - * @description * `invalid` - invalid - * * `null` - null - * @enum {string} - */ - code: 'invalid' | 'null'; - detail: string; - }; - QuibletsUpdateRangersErrorComponent: { - /** - * @description * `rangers` - rangers (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'rangers'; - /** - * @description * `does_not_exist` - does_not_exist - * * `incorrect_type` - incorrect_type - * * `not_a_list` - not_a_list - * * `null` - null - * @enum {string} - */ - code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; - detail: string; - }; - QuibletsUpdateValidationError: { - type: components['schemas']['ValidationErrorEnum']; - errors: components['schemas']['QuibletsUpdateError'][]; - }; - QuibsCreateContentErrorComponent: { - /** - * @description * `content` - content (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'content'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed'; - detail: string; - }; - QuibsCreateDislikesErrorComponent: { - /** - * @description * `dislikes` - dislikes (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'dislikes'; - /** - * @description * `does_not_exist` - does_not_exist - * * `incorrect_type` - incorrect_type - * * `not_a_list` - not_a_list - * * `null` - null - * @enum {string} - */ - code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; - detail: string; - }; - QuibsCreateError: - | components['schemas']['QuibsCreateNonFieldErrorsErrorComponent'] - | components['schemas']['QuibsCreateIsPublicErrorComponent'] - | components['schemas']['QuibsCreateTitleErrorComponent'] - | components['schemas']['QuibsCreateContentErrorComponent'] - | components['schemas']['QuibsCreateQuibletErrorComponent'] - | components['schemas']['QuibsCreateQuibberErrorComponent'] - | components['schemas']['QuibsCreateLikesErrorComponent'] - | components['schemas']['QuibsCreateDislikesErrorComponent']; - QuibsCreateIsPublicErrorComponent: { - /** - * @description * `is_public` - is_public (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'is_public'; - /** - * @description * `invalid` - invalid - * * `null` - null - * @enum {string} - */ - code: 'invalid' | 'null'; - detail: string; - }; - QuibsCreateLikesErrorComponent: { - /** - * @description * `likes` - likes (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'likes'; - /** - * @description * `does_not_exist` - does_not_exist - * * `incorrect_type` - incorrect_type - * * `not_a_list` - not_a_list - * * `null` - null - * @enum {string} - */ - code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; - detail: string; - }; - QuibsCreateNonFieldErrorsErrorComponent: { - /** - * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'non_field_errors'; - /** - * @description * `invalid` - invalid - * * `null` - null - * @enum {string} - */ - code: 'invalid' | 'null'; - detail: string; - }; - QuibsCreateQuibberErrorComponent: { - /** - * @description * `quibber` - quibber (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'quibber'; - /** - * @description * `does_not_exist` - does_not_exist - * * `incorrect_type` - incorrect_type - * * `null` - null - * * `required` - required - * @enum {string} - */ - code: 'does_not_exist' | 'incorrect_type' | 'null' | 'required'; - detail: string; - }; - QuibsCreateQuibletErrorComponent: { - /** - * @description * `quiblet` - quiblet (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'quiblet'; - /** - * @description * `does_not_exist` - does_not_exist - * * `incorrect_type` - incorrect_type - * * `null` - null - * * `required` - required - * @enum {string} - */ - code: 'does_not_exist' | 'incorrect_type' | 'null' | 'required'; - detail: string; - }; - QuibsCreateTitleErrorComponent: { - /** - * @description * `title` - title (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'title'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `max_length` - max_length - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'max_length' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed'; - detail: string; - }; - QuibsCreateValidationError: { - type: components['schemas']['ValidationErrorEnum']; - errors: components['schemas']['QuibsCreateError'][]; - }; - QuibsPartialUpdateContentErrorComponent: { - /** - * @description * `content` - content (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'content'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed'; - detail: string; - }; - QuibsPartialUpdateDislikesErrorComponent: { - /** - * @description * `dislikes` - dislikes (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'dislikes'; - /** - * @description * `does_not_exist` - does_not_exist - * * `incorrect_type` - incorrect_type - * * `not_a_list` - not_a_list - * * `null` - null - * @enum {string} - */ - code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; - detail: string; - }; - QuibsPartialUpdateError: - | components['schemas']['QuibsPartialUpdateNonFieldErrorsErrorComponent'] - | components['schemas']['QuibsPartialUpdateIsPublicErrorComponent'] - | components['schemas']['QuibsPartialUpdateTitleErrorComponent'] - | components['schemas']['QuibsPartialUpdateContentErrorComponent'] - | components['schemas']['QuibsPartialUpdateQuibletErrorComponent'] - | components['schemas']['QuibsPartialUpdateQuibberErrorComponent'] - | components['schemas']['QuibsPartialUpdateLikesErrorComponent'] - | components['schemas']['QuibsPartialUpdateDislikesErrorComponent']; - QuibsPartialUpdateIsPublicErrorComponent: { - /** - * @description * `is_public` - is_public (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'is_public'; - /** - * @description * `invalid` - invalid - * * `null` - null - * @enum {string} - */ - code: 'invalid' | 'null'; - detail: string; - }; - QuibsPartialUpdateLikesErrorComponent: { - /** - * @description * `likes` - likes (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'likes'; - /** - * @description * `does_not_exist` - does_not_exist - * * `incorrect_type` - incorrect_type - * * `not_a_list` - not_a_list - * * `null` - null - * @enum {string} - */ - code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; - detail: string; - }; - QuibsPartialUpdateNonFieldErrorsErrorComponent: { - /** - * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'non_field_errors'; - /** - * @description * `invalid` - invalid - * * `null` - null - * @enum {string} - */ - code: 'invalid' | 'null'; - detail: string; - }; - QuibsPartialUpdateQuibberErrorComponent: { - /** - * @description * `quibber` - quibber (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'quibber'; - /** - * @description * `does_not_exist` - does_not_exist - * * `incorrect_type` - incorrect_type - * * `null` - null - * * `required` - required - * @enum {string} - */ - code: 'does_not_exist' | 'incorrect_type' | 'null' | 'required'; - detail: string; - }; - QuibsPartialUpdateQuibletErrorComponent: { - /** - * @description * `quiblet` - quiblet (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'quiblet'; - /** - * @description * `does_not_exist` - does_not_exist - * * `incorrect_type` - incorrect_type - * * `null` - null - * * `required` - required - * @enum {string} - */ - code: 'does_not_exist' | 'incorrect_type' | 'null' | 'required'; - detail: string; - }; - QuibsPartialUpdateTitleErrorComponent: { - /** - * @description * `title` - title (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'title'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `max_length` - max_length - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'max_length' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed'; - detail: string; - }; - QuibsPartialUpdateValidationError: { - type: components['schemas']['ValidationErrorEnum']; - errors: components['schemas']['QuibsPartialUpdateError'][]; - }; - QuibsUpdateContentErrorComponent: { - /** - * @description * `content` - content (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'content'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed'; - detail: string; - }; - QuibsUpdateDislikesErrorComponent: { - /** - * @description * `dislikes` - dislikes (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'dislikes'; - /** - * @description * `does_not_exist` - does_not_exist - * * `incorrect_type` - incorrect_type - * * `not_a_list` - not_a_list - * * `null` - null - * @enum {string} - */ - code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; - detail: string; - }; - QuibsUpdateError: - | components['schemas']['QuibsUpdateNonFieldErrorsErrorComponent'] - | components['schemas']['QuibsUpdateIsPublicErrorComponent'] - | components['schemas']['QuibsUpdateTitleErrorComponent'] - | components['schemas']['QuibsUpdateContentErrorComponent'] - | components['schemas']['QuibsUpdateQuibletErrorComponent'] - | components['schemas']['QuibsUpdateQuibberErrorComponent'] - | components['schemas']['QuibsUpdateLikesErrorComponent'] - | components['schemas']['QuibsUpdateDislikesErrorComponent']; - QuibsUpdateIsPublicErrorComponent: { - /** - * @description * `is_public` - is_public (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'is_public'; - /** - * @description * `invalid` - invalid - * * `null` - null - * @enum {string} - */ - code: 'invalid' | 'null'; - detail: string; - }; - QuibsUpdateLikesErrorComponent: { - /** - * @description * `likes` - likes (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'likes'; - /** - * @description * `does_not_exist` - does_not_exist - * * `incorrect_type` - incorrect_type - * * `not_a_list` - not_a_list - * * `null` - null - * @enum {string} - */ - code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; - detail: string; - }; - QuibsUpdateNonFieldErrorsErrorComponent: { - /** - * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'non_field_errors'; - /** - * @description * `invalid` - invalid - * * `null` - null - * @enum {string} - */ - code: 'invalid' | 'null'; - detail: string; - }; - QuibsUpdateQuibberErrorComponent: { - /** - * @description * `quibber` - quibber (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'quibber'; - /** - * @description * `does_not_exist` - does_not_exist - * * `incorrect_type` - incorrect_type - * * `null` - null - * * `required` - required - * @enum {string} - */ - code: 'does_not_exist' | 'incorrect_type' | 'null' | 'required'; - detail: string; - }; - QuibsUpdateQuibletErrorComponent: { - /** - * @description * `quiblet` - quiblet (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'quiblet'; - /** - * @description * `does_not_exist` - does_not_exist - * * `incorrect_type` - incorrect_type - * * `null` - null - * * `required` - required - * @enum {string} - */ - code: 'does_not_exist' | 'incorrect_type' | 'null' | 'required'; - detail: string; - }; - QuibsUpdateTitleErrorComponent: { - /** - * @description * `title` - title (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'title'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `max_length` - max_length - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'max_length' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed'; - detail: string; - }; - QuibsUpdateValidationError: { - type: components['schemas']['ValidationErrorEnum']; - errors: components['schemas']['QuibsUpdateError'][]; - }; - /** - * @description * `server_error` - Server Error - * @enum {string} - */ - ServerErrorEnum: 'server_error'; - User: { - readonly id: number; - /** - * Email Address - * Format: email - */ - email: string; - password: string; - /** Format: date-time */ - readonly date_joined: string; - }; - UsersAuthLoginCreateEmailErrorComponent: { - /** - * @description * `email` - email (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'email'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `max_length` - max_length - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * * `unique` - unique - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'max_length' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed' - | 'unique'; - detail: string; - }; - UsersAuthLoginCreateError: - | components['schemas']['UsersAuthLoginCreateNonFieldErrorsErrorComponent'] - | components['schemas']['UsersAuthLoginCreateEmailErrorComponent'] - | components['schemas']['UsersAuthLoginCreatePasswordErrorComponent']; - UsersAuthLoginCreateNonFieldErrorsErrorComponent: { - /** - * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'non_field_errors'; - /** - * @description * `invalid` - invalid - * * `null` - null - * @enum {string} - */ - code: 'invalid' | 'null'; - detail: string; - }; - UsersAuthLoginCreatePasswordErrorComponent: { - /** - * @description * `password` - password (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'password'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `max_length` - max_length - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'max_length' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed'; - detail: string; - }; - UsersAuthLoginCreateValidationError: { - type: components['schemas']['ValidationErrorEnum']; - errors: components['schemas']['UsersAuthLoginCreateError'][]; - }; - UsersAuthRegisterCreateEmailErrorComponent: { - /** - * @description * `email` - email (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'email'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `max_length` - max_length - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * * `unique` - unique - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'max_length' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed' - | 'unique'; - detail: string; - }; - UsersAuthRegisterCreateError: - | components['schemas']['UsersAuthRegisterCreateNonFieldErrorsErrorComponent'] - | components['schemas']['UsersAuthRegisterCreateEmailErrorComponent'] - | components['schemas']['UsersAuthRegisterCreatePasswordErrorComponent']; - UsersAuthRegisterCreateNonFieldErrorsErrorComponent: { - /** - * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'non_field_errors'; - /** - * @description * `invalid` - invalid - * * `null` - null - * @enum {string} - */ - code: 'invalid' | 'null'; - detail: string; - }; - UsersAuthRegisterCreatePasswordErrorComponent: { - /** - * @description * `password` - password (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'password'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `max_length` - max_length - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'max_length' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed'; - detail: string; - }; - UsersAuthRegisterCreateValidationError: { - type: components['schemas']['ValidationErrorEnum']; - errors: components['schemas']['UsersAuthRegisterCreateError'][]; - }; - UsersMeProfilesCreateAvatarErrorComponent: { - /** - * @description * `avatar` - avatar (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'avatar'; - /** - * @description * `empty` - empty - * * `invalid` - invalid - * * `invalid_image` - invalid_image - * * `max_length` - max_length - * * `no_name` - no_name - * @enum {string} - */ - code: 'empty' | 'invalid' | 'invalid_image' | 'max_length' | 'no_name'; - detail: string; - }; - UsersMeProfilesCreateColorErrorComponent: { - /** - * @description * `color` - color (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'color'; - /** - * @description * `invalid_choice` - invalid_choice - * * `null` - null - * @enum {string} - */ - code: 'invalid_choice' | 'null'; - detail: string; - }; - UsersMeProfilesCreateError: - | components['schemas']['UsersMeProfilesCreateNonFieldErrorsErrorComponent'] - | components['schemas']['UsersMeProfilesCreateColorErrorComponent'] - | components['schemas']['UsersMeProfilesCreateAvatarErrorComponent'] - | components['schemas']['UsersMeProfilesCreateUsernameErrorComponent'] - | components['schemas']['UsersMeProfilesCreateFirstNameErrorComponent'] - | components['schemas']['UsersMeProfilesCreateLastNameErrorComponent']; - UsersMeProfilesCreateFirstNameErrorComponent: { - /** - * @description * `first_name` - first_name (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'first_name'; - /** - * @description * `invalid` - invalid - * * `max_length` - max_length - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * @enum {string} - */ - code: - | 'invalid' - | 'max_length' - | 'null_characters_not_allowed' - | 'surrogate_characters_not_allowed'; - detail: string; - }; - UsersMeProfilesCreateLastNameErrorComponent: { - /** - * @description * `last_name` - last_name (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'last_name'; - /** - * @description * `invalid` - invalid - * * `max_length` - max_length - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * @enum {string} - */ - code: - | 'invalid' - | 'max_length' - | 'null_characters_not_allowed' - | 'surrogate_characters_not_allowed'; - detail: string; - }; - UsersMeProfilesCreateNonFieldErrorsErrorComponent: { - /** - * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'non_field_errors'; - /** - * @description * `invalid` - invalid - * * `null` - null - * @enum {string} - */ - code: 'invalid' | 'null'; - detail: string; - }; - UsersMeProfilesCreateUsernameErrorComponent: { - /** - * @description * `username` - username (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'username'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `max_length` - max_length - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * * `unique` - unique - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'max_length' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed' - | 'unique'; - detail: string; - }; - UsersMeProfilesCreateValidationError: { - type: components['schemas']['ValidationErrorEnum']; - errors: components['schemas']['UsersMeProfilesCreateError'][]; - }; - UsersMeProfilesPartialUpdateAvatarErrorComponent: { - /** - * @description * `avatar` - avatar (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'avatar'; - /** - * @description * `empty` - empty - * * `invalid` - invalid - * * `invalid_image` - invalid_image - * * `max_length` - max_length - * * `no_name` - no_name - * @enum {string} - */ - code: 'empty' | 'invalid' | 'invalid_image' | 'max_length' | 'no_name'; - detail: string; - }; - UsersMeProfilesPartialUpdateColorErrorComponent: { - /** - * @description * `color` - color (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'color'; - /** - * @description * `invalid_choice` - invalid_choice - * * `null` - null - * @enum {string} - */ - code: 'invalid_choice' | 'null'; - detail: string; - }; - UsersMeProfilesPartialUpdateError: - | components['schemas']['UsersMeProfilesPartialUpdateNonFieldErrorsErrorComponent'] - | components['schemas']['UsersMeProfilesPartialUpdateColorErrorComponent'] - | components['schemas']['UsersMeProfilesPartialUpdateAvatarErrorComponent'] - | components['schemas']['UsersMeProfilesPartialUpdateUsernameErrorComponent'] - | components['schemas']['UsersMeProfilesPartialUpdateFirstNameErrorComponent'] - | components['schemas']['UsersMeProfilesPartialUpdateLastNameErrorComponent']; - UsersMeProfilesPartialUpdateFirstNameErrorComponent: { - /** - * @description * `first_name` - first_name (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'first_name'; - /** - * @description * `invalid` - invalid - * * `max_length` - max_length - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * @enum {string} - */ - code: - | 'invalid' - | 'max_length' - | 'null_characters_not_allowed' - | 'surrogate_characters_not_allowed'; - detail: string; - }; - UsersMeProfilesPartialUpdateLastNameErrorComponent: { - /** - * @description * `last_name` - last_name (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'last_name'; - /** - * @description * `invalid` - invalid - * * `max_length` - max_length - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * @enum {string} - */ - code: - | 'invalid' - | 'max_length' - | 'null_characters_not_allowed' - | 'surrogate_characters_not_allowed'; - detail: string; - }; - UsersMeProfilesPartialUpdateNonFieldErrorsErrorComponent: { - /** - * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'non_field_errors'; - /** - * @description * `invalid` - invalid - * * `null` - null - * @enum {string} - */ - code: 'invalid' | 'null'; - detail: string; - }; - UsersMeProfilesPartialUpdateUsernameErrorComponent: { - /** - * @description * `username` - username (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'username'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `max_length` - max_length - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * * `unique` - unique - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'max_length' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed' - | 'unique'; - detail: string; - }; - UsersMeProfilesPartialUpdateValidationError: { - type: components['schemas']['ValidationErrorEnum']; - errors: components['schemas']['UsersMeProfilesPartialUpdateError'][]; - }; - UsersMeProfilesUpdateAvatarErrorComponent: { - /** - * @description * `avatar` - avatar (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'avatar'; - /** - * @description * `empty` - empty - * * `invalid` - invalid - * * `invalid_image` - invalid_image - * * `max_length` - max_length - * * `no_name` - no_name - * @enum {string} - */ - code: 'empty' | 'invalid' | 'invalid_image' | 'max_length' | 'no_name'; - detail: string; - }; - UsersMeProfilesUpdateColorErrorComponent: { - /** - * @description * `color` - color (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'color'; - /** - * @description * `invalid_choice` - invalid_choice - * * `null` - null - * @enum {string} - */ - code: 'invalid_choice' | 'null'; - detail: string; - }; - UsersMeProfilesUpdateError: - | components['schemas']['UsersMeProfilesUpdateNonFieldErrorsErrorComponent'] - | components['schemas']['UsersMeProfilesUpdateColorErrorComponent'] - | components['schemas']['UsersMeProfilesUpdateAvatarErrorComponent'] - | components['schemas']['UsersMeProfilesUpdateUsernameErrorComponent'] - | components['schemas']['UsersMeProfilesUpdateFirstNameErrorComponent'] - | components['schemas']['UsersMeProfilesUpdateLastNameErrorComponent']; - UsersMeProfilesUpdateFirstNameErrorComponent: { - /** - * @description * `first_name` - first_name (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'first_name'; - /** - * @description * `invalid` - invalid - * * `max_length` - max_length - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * @enum {string} - */ - code: - | 'invalid' - | 'max_length' - | 'null_characters_not_allowed' - | 'surrogate_characters_not_allowed'; - detail: string; - }; - UsersMeProfilesUpdateLastNameErrorComponent: { - /** - * @description * `last_name` - last_name (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'last_name'; - /** - * @description * `invalid` - invalid - * * `max_length` - max_length - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * @enum {string} - */ - code: - | 'invalid' - | 'max_length' - | 'null_characters_not_allowed' - | 'surrogate_characters_not_allowed'; - detail: string; - }; - UsersMeProfilesUpdateNonFieldErrorsErrorComponent: { - /** - * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'non_field_errors'; - /** - * @description * `invalid` - invalid - * * `null` - null - * @enum {string} - */ - code: 'invalid' | 'null'; - detail: string; - }; - UsersMeProfilesUpdateUsernameErrorComponent: { - /** - * @description * `username` - username (enum property replaced by openapi-typescript) - * @enum {string} - */ - attr: 'username'; - /** - * @description * `blank` - blank - * * `invalid` - invalid - * * `max_length` - max_length - * * `null` - null - * * `null_characters_not_allowed` - null_characters_not_allowed - * * `required` - required - * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed - * * `unique` - unique - * @enum {string} - */ - code: - | 'blank' - | 'invalid' - | 'max_length' - | 'null' - | 'null_characters_not_allowed' - | 'required' - | 'surrogate_characters_not_allowed' - | 'unique'; - detail: string; - }; - UsersMeProfilesUpdateValidationError: { - type: components['schemas']['ValidationErrorEnum']; - errors: components['schemas']['UsersMeProfilesUpdateError'][]; - }; - /** - * @description * `validation_error` - Validation Error - * @enum {string} - */ - ValidationErrorEnum: 'validation_error'; - }; - responses: never; - parameters: never; - requestBodies: never; - headers: never; - pathItems: never; + schemas: { + Auth: { + /** + * Email Address + * Format: email + */ + email: string; + password: string; + }; + AuthTokenResponse: { + token: string; + }; + /** + * @description * `client_error` - Client Error + * @enum {string} + */ + ClientErrorEnum: 'client_error'; + /** + * @description * `primary` - primary + * * `secondary` - secondary + * * `accent` - accent + * * `neutral` - neutral + * * `info` - info + * * `success` - success + * * `warning` - warning + * * `error` - error + * @enum {string} + */ + ColorEnum: + | 'primary' + | 'secondary' + | 'accent' + | 'neutral' + | 'info' + | 'success' + | 'warning' + | 'error'; + /** @description Serializer for views returning just a response with detail key */ + DetailResponse: { + detail: string; + }; + Error404: { + code: components['schemas']['ErrorCode404Enum']; + detail: string; + attr: string | null; + }; + Error500: { + code: components['schemas']['ErrorCode500Enum']; + detail: string; + attr: string | null; + }; + /** + * @description * `not_found` - Not Found + * @enum {string} + */ + ErrorCode404Enum: 'not_found'; + /** + * @description * `error` - Error + * @enum {string} + */ + ErrorCode500Enum: 'error'; + ErrorResponse404: { + type: components['schemas']['ClientErrorEnum']; + errors: components['schemas']['Error404'][]; + }; + ErrorResponse500: { + type: components['schemas']['ServerErrorEnum']; + errors: components['schemas']['Error500'][]; + }; + PatchedProfile: { + readonly id?: number; + readonly user?: components['schemas']['User']; + /** Format: date-time */ + readonly created_at?: string; + color?: components['schemas']['ColorEnum']; + /** Format: uri */ + avatar?: string | null; + username?: string; + first_name?: string | null; + last_name?: string | null; + }; + PatchedQuib: { + readonly id?: string; + /** Format: date-time */ + readonly created_at?: string; + is_public?: boolean; + title?: string; + readonly slug?: string; + content?: string; + quiblet?: string; + /** Quibbler */ + quibber?: number; + likes?: number[]; + dislikes?: number[]; + }; + PatchedQuiblet: { + readonly id?: string; + /** Format: date-time */ + readonly created_at?: string; + /** Format: uri */ + avatar?: string | null; + is_public?: boolean; + name?: string; + description?: string; + /** Format: uri */ + cover?: string | null; + members?: number[]; + rangers?: number[]; + }; + Profile: { + readonly id: number; + readonly user: components['schemas']['User']; + /** Format: date-time */ + readonly created_at: string; + color?: components['schemas']['ColorEnum']; + /** Format: uri */ + avatar?: string | null; + username: string; + first_name?: string | null; + last_name?: string | null; + }; + Quib: { + readonly id: string; + /** Format: date-time */ + readonly created_at: string; + is_public?: boolean; + title: string; + readonly slug: string; + content: string; + quiblet: string; + /** Quibbler */ + quibber: number; + likes?: number[]; + dislikes?: number[]; + }; + Quiblet: { + readonly id: string; + /** Format: date-time */ + readonly created_at: string; + /** Format: uri */ + avatar?: string | null; + is_public?: boolean; + name: string; + description: string; + /** Format: uri */ + cover?: string | null; + members?: number[]; + rangers?: number[]; + }; + QuibletsCreateAvatarErrorComponent: { + /** + * @description * `avatar` - avatar (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'avatar'; + /** + * @description * `empty` - empty + * * `invalid` - invalid + * * `invalid_image` - invalid_image + * * `max_length` - max_length + * * `no_name` - no_name + * @enum {string} + */ + code: 'empty' | 'invalid' | 'invalid_image' | 'max_length' | 'no_name'; + detail: string; + }; + QuibletsCreateCoverErrorComponent: { + /** + * @description * `cover` - cover (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'cover'; + /** + * @description * `empty` - empty + * * `invalid` - invalid + * * `invalid_image` - invalid_image + * * `max_length` - max_length + * * `no_name` - no_name + * @enum {string} + */ + code: 'empty' | 'invalid' | 'invalid_image' | 'max_length' | 'no_name'; + detail: string; + }; + QuibletsCreateDescriptionErrorComponent: { + /** + * @description * `description` - description (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'description'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed'; + detail: string; + }; + QuibletsCreateError: + | components['schemas']['QuibletsCreateNonFieldErrorsErrorComponent'] + | components['schemas']['QuibletsCreateAvatarErrorComponent'] + | components['schemas']['QuibletsCreateIsPublicErrorComponent'] + | components['schemas']['QuibletsCreateNameErrorComponent'] + | components['schemas']['QuibletsCreateDescriptionErrorComponent'] + | components['schemas']['QuibletsCreateCoverErrorComponent'] + | components['schemas']['QuibletsCreateMembersErrorComponent'] + | components['schemas']['QuibletsCreateRangersErrorComponent']; + QuibletsCreateIsPublicErrorComponent: { + /** + * @description * `is_public` - is_public (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'is_public'; + /** + * @description * `invalid` - invalid + * * `null` - null + * @enum {string} + */ + code: 'invalid' | 'null'; + detail: string; + }; + QuibletsCreateMembersErrorComponent: { + /** + * @description * `members` - members (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'members'; + /** + * @description * `does_not_exist` - does_not_exist + * * `incorrect_type` - incorrect_type + * * `not_a_list` - not_a_list + * * `null` - null + * @enum {string} + */ + code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; + detail: string; + }; + QuibletsCreateNameErrorComponent: { + /** + * @description * `name` - name (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'name'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `max_length` - max_length + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * * `unique` - unique + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'max_length' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed' + | 'unique'; + detail: string; + }; + QuibletsCreateNonFieldErrorsErrorComponent: { + /** + * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'non_field_errors'; + /** + * @description * `invalid` - invalid + * * `null` - null + * @enum {string} + */ + code: 'invalid' | 'null'; + detail: string; + }; + QuibletsCreateRangersErrorComponent: { + /** + * @description * `rangers` - rangers (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'rangers'; + /** + * @description * `does_not_exist` - does_not_exist + * * `incorrect_type` - incorrect_type + * * `not_a_list` - not_a_list + * * `null` - null + * @enum {string} + */ + code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; + detail: string; + }; + QuibletsCreateValidationError: { + type: components['schemas']['ValidationErrorEnum']; + errors: components['schemas']['QuibletsCreateError'][]; + }; + QuibletsPartialUpdateAvatarErrorComponent: { + /** + * @description * `avatar` - avatar (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'avatar'; + /** + * @description * `empty` - empty + * * `invalid` - invalid + * * `invalid_image` - invalid_image + * * `max_length` - max_length + * * `no_name` - no_name + * @enum {string} + */ + code: 'empty' | 'invalid' | 'invalid_image' | 'max_length' | 'no_name'; + detail: string; + }; + QuibletsPartialUpdateCoverErrorComponent: { + /** + * @description * `cover` - cover (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'cover'; + /** + * @description * `empty` - empty + * * `invalid` - invalid + * * `invalid_image` - invalid_image + * * `max_length` - max_length + * * `no_name` - no_name + * @enum {string} + */ + code: 'empty' | 'invalid' | 'invalid_image' | 'max_length' | 'no_name'; + detail: string; + }; + QuibletsPartialUpdateDescriptionErrorComponent: { + /** + * @description * `description` - description (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'description'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed'; + detail: string; + }; + QuibletsPartialUpdateError: + | components['schemas']['QuibletsPartialUpdateNonFieldErrorsErrorComponent'] + | components['schemas']['QuibletsPartialUpdateAvatarErrorComponent'] + | components['schemas']['QuibletsPartialUpdateIsPublicErrorComponent'] + | components['schemas']['QuibletsPartialUpdateNameErrorComponent'] + | components['schemas']['QuibletsPartialUpdateDescriptionErrorComponent'] + | components['schemas']['QuibletsPartialUpdateCoverErrorComponent'] + | components['schemas']['QuibletsPartialUpdateMembersErrorComponent'] + | components['schemas']['QuibletsPartialUpdateRangersErrorComponent']; + QuibletsPartialUpdateIsPublicErrorComponent: { + /** + * @description * `is_public` - is_public (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'is_public'; + /** + * @description * `invalid` - invalid + * * `null` - null + * @enum {string} + */ + code: 'invalid' | 'null'; + detail: string; + }; + QuibletsPartialUpdateMembersErrorComponent: { + /** + * @description * `members` - members (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'members'; + /** + * @description * `does_not_exist` - does_not_exist + * * `incorrect_type` - incorrect_type + * * `not_a_list` - not_a_list + * * `null` - null + * @enum {string} + */ + code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; + detail: string; + }; + QuibletsPartialUpdateNameErrorComponent: { + /** + * @description * `name` - name (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'name'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `max_length` - max_length + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * * `unique` - unique + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'max_length' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed' + | 'unique'; + detail: string; + }; + QuibletsPartialUpdateNonFieldErrorsErrorComponent: { + /** + * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'non_field_errors'; + /** + * @description * `invalid` - invalid + * * `null` - null + * @enum {string} + */ + code: 'invalid' | 'null'; + detail: string; + }; + QuibletsPartialUpdateRangersErrorComponent: { + /** + * @description * `rangers` - rangers (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'rangers'; + /** + * @description * `does_not_exist` - does_not_exist + * * `incorrect_type` - incorrect_type + * * `not_a_list` - not_a_list + * * `null` - null + * @enum {string} + */ + code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; + detail: string; + }; + QuibletsPartialUpdateValidationError: { + type: components['schemas']['ValidationErrorEnum']; + errors: components['schemas']['QuibletsPartialUpdateError'][]; + }; + QuibletsUpdateAvatarErrorComponent: { + /** + * @description * `avatar` - avatar (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'avatar'; + /** + * @description * `empty` - empty + * * `invalid` - invalid + * * `invalid_image` - invalid_image + * * `max_length` - max_length + * * `no_name` - no_name + * @enum {string} + */ + code: 'empty' | 'invalid' | 'invalid_image' | 'max_length' | 'no_name'; + detail: string; + }; + QuibletsUpdateCoverErrorComponent: { + /** + * @description * `cover` - cover (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'cover'; + /** + * @description * `empty` - empty + * * `invalid` - invalid + * * `invalid_image` - invalid_image + * * `max_length` - max_length + * * `no_name` - no_name + * @enum {string} + */ + code: 'empty' | 'invalid' | 'invalid_image' | 'max_length' | 'no_name'; + detail: string; + }; + QuibletsUpdateDescriptionErrorComponent: { + /** + * @description * `description` - description (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'description'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed'; + detail: string; + }; + QuibletsUpdateError: + | components['schemas']['QuibletsUpdateNonFieldErrorsErrorComponent'] + | components['schemas']['QuibletsUpdateAvatarErrorComponent'] + | components['schemas']['QuibletsUpdateIsPublicErrorComponent'] + | components['schemas']['QuibletsUpdateNameErrorComponent'] + | components['schemas']['QuibletsUpdateDescriptionErrorComponent'] + | components['schemas']['QuibletsUpdateCoverErrorComponent'] + | components['schemas']['QuibletsUpdateMembersErrorComponent'] + | components['schemas']['QuibletsUpdateRangersErrorComponent']; + QuibletsUpdateIsPublicErrorComponent: { + /** + * @description * `is_public` - is_public (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'is_public'; + /** + * @description * `invalid` - invalid + * * `null` - null + * @enum {string} + */ + code: 'invalid' | 'null'; + detail: string; + }; + QuibletsUpdateMembersErrorComponent: { + /** + * @description * `members` - members (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'members'; + /** + * @description * `does_not_exist` - does_not_exist + * * `incorrect_type` - incorrect_type + * * `not_a_list` - not_a_list + * * `null` - null + * @enum {string} + */ + code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; + detail: string; + }; + QuibletsUpdateNameErrorComponent: { + /** + * @description * `name` - name (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'name'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `max_length` - max_length + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * * `unique` - unique + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'max_length' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed' + | 'unique'; + detail: string; + }; + QuibletsUpdateNonFieldErrorsErrorComponent: { + /** + * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'non_field_errors'; + /** + * @description * `invalid` - invalid + * * `null` - null + * @enum {string} + */ + code: 'invalid' | 'null'; + detail: string; + }; + QuibletsUpdateRangersErrorComponent: { + /** + * @description * `rangers` - rangers (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'rangers'; + /** + * @description * `does_not_exist` - does_not_exist + * * `incorrect_type` - incorrect_type + * * `not_a_list` - not_a_list + * * `null` - null + * @enum {string} + */ + code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; + detail: string; + }; + QuibletsUpdateValidationError: { + type: components['schemas']['ValidationErrorEnum']; + errors: components['schemas']['QuibletsUpdateError'][]; + }; + QuibsCreateContentErrorComponent: { + /** + * @description * `content` - content (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'content'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed'; + detail: string; + }; + QuibsCreateDislikesErrorComponent: { + /** + * @description * `dislikes` - dislikes (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'dislikes'; + /** + * @description * `does_not_exist` - does_not_exist + * * `incorrect_type` - incorrect_type + * * `not_a_list` - not_a_list + * * `null` - null + * @enum {string} + */ + code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; + detail: string; + }; + QuibsCreateError: + | components['schemas']['QuibsCreateNonFieldErrorsErrorComponent'] + | components['schemas']['QuibsCreateIsPublicErrorComponent'] + | components['schemas']['QuibsCreateTitleErrorComponent'] + | components['schemas']['QuibsCreateContentErrorComponent'] + | components['schemas']['QuibsCreateQuibletErrorComponent'] + | components['schemas']['QuibsCreateQuibberErrorComponent'] + | components['schemas']['QuibsCreateLikesErrorComponent'] + | components['schemas']['QuibsCreateDislikesErrorComponent']; + QuibsCreateIsPublicErrorComponent: { + /** + * @description * `is_public` - is_public (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'is_public'; + /** + * @description * `invalid` - invalid + * * `null` - null + * @enum {string} + */ + code: 'invalid' | 'null'; + detail: string; + }; + QuibsCreateLikesErrorComponent: { + /** + * @description * `likes` - likes (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'likes'; + /** + * @description * `does_not_exist` - does_not_exist + * * `incorrect_type` - incorrect_type + * * `not_a_list` - not_a_list + * * `null` - null + * @enum {string} + */ + code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; + detail: string; + }; + QuibsCreateNonFieldErrorsErrorComponent: { + /** + * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'non_field_errors'; + /** + * @description * `invalid` - invalid + * * `null` - null + * @enum {string} + */ + code: 'invalid' | 'null'; + detail: string; + }; + QuibsCreateQuibberErrorComponent: { + /** + * @description * `quibber` - quibber (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'quibber'; + /** + * @description * `does_not_exist` - does_not_exist + * * `incorrect_type` - incorrect_type + * * `null` - null + * * `required` - required + * @enum {string} + */ + code: 'does_not_exist' | 'incorrect_type' | 'null' | 'required'; + detail: string; + }; + QuibsCreateQuibletErrorComponent: { + /** + * @description * `quiblet` - quiblet (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'quiblet'; + /** + * @description * `does_not_exist` - does_not_exist + * * `incorrect_type` - incorrect_type + * * `null` - null + * * `required` - required + * @enum {string} + */ + code: 'does_not_exist' | 'incorrect_type' | 'null' | 'required'; + detail: string; + }; + QuibsCreateTitleErrorComponent: { + /** + * @description * `title` - title (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'title'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `max_length` - max_length + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'max_length' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed'; + detail: string; + }; + QuibsCreateValidationError: { + type: components['schemas']['ValidationErrorEnum']; + errors: components['schemas']['QuibsCreateError'][]; + }; + QuibsPartialUpdateContentErrorComponent: { + /** + * @description * `content` - content (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'content'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed'; + detail: string; + }; + QuibsPartialUpdateDislikesErrorComponent: { + /** + * @description * `dislikes` - dislikes (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'dislikes'; + /** + * @description * `does_not_exist` - does_not_exist + * * `incorrect_type` - incorrect_type + * * `not_a_list` - not_a_list + * * `null` - null + * @enum {string} + */ + code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; + detail: string; + }; + QuibsPartialUpdateError: + | components['schemas']['QuibsPartialUpdateNonFieldErrorsErrorComponent'] + | components['schemas']['QuibsPartialUpdateIsPublicErrorComponent'] + | components['schemas']['QuibsPartialUpdateTitleErrorComponent'] + | components['schemas']['QuibsPartialUpdateContentErrorComponent'] + | components['schemas']['QuibsPartialUpdateQuibletErrorComponent'] + | components['schemas']['QuibsPartialUpdateQuibberErrorComponent'] + | components['schemas']['QuibsPartialUpdateLikesErrorComponent'] + | components['schemas']['QuibsPartialUpdateDislikesErrorComponent']; + QuibsPartialUpdateIsPublicErrorComponent: { + /** + * @description * `is_public` - is_public (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'is_public'; + /** + * @description * `invalid` - invalid + * * `null` - null + * @enum {string} + */ + code: 'invalid' | 'null'; + detail: string; + }; + QuibsPartialUpdateLikesErrorComponent: { + /** + * @description * `likes` - likes (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'likes'; + /** + * @description * `does_not_exist` - does_not_exist + * * `incorrect_type` - incorrect_type + * * `not_a_list` - not_a_list + * * `null` - null + * @enum {string} + */ + code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; + detail: string; + }; + QuibsPartialUpdateNonFieldErrorsErrorComponent: { + /** + * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'non_field_errors'; + /** + * @description * `invalid` - invalid + * * `null` - null + * @enum {string} + */ + code: 'invalid' | 'null'; + detail: string; + }; + QuibsPartialUpdateQuibberErrorComponent: { + /** + * @description * `quibber` - quibber (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'quibber'; + /** + * @description * `does_not_exist` - does_not_exist + * * `incorrect_type` - incorrect_type + * * `null` - null + * * `required` - required + * @enum {string} + */ + code: 'does_not_exist' | 'incorrect_type' | 'null' | 'required'; + detail: string; + }; + QuibsPartialUpdateQuibletErrorComponent: { + /** + * @description * `quiblet` - quiblet (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'quiblet'; + /** + * @description * `does_not_exist` - does_not_exist + * * `incorrect_type` - incorrect_type + * * `null` - null + * * `required` - required + * @enum {string} + */ + code: 'does_not_exist' | 'incorrect_type' | 'null' | 'required'; + detail: string; + }; + QuibsPartialUpdateTitleErrorComponent: { + /** + * @description * `title` - title (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'title'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `max_length` - max_length + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'max_length' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed'; + detail: string; + }; + QuibsPartialUpdateValidationError: { + type: components['schemas']['ValidationErrorEnum']; + errors: components['schemas']['QuibsPartialUpdateError'][]; + }; + QuibsUpdateContentErrorComponent: { + /** + * @description * `content` - content (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'content'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed'; + detail: string; + }; + QuibsUpdateDislikesErrorComponent: { + /** + * @description * `dislikes` - dislikes (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'dislikes'; + /** + * @description * `does_not_exist` - does_not_exist + * * `incorrect_type` - incorrect_type + * * `not_a_list` - not_a_list + * * `null` - null + * @enum {string} + */ + code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; + detail: string; + }; + QuibsUpdateError: + | components['schemas']['QuibsUpdateNonFieldErrorsErrorComponent'] + | components['schemas']['QuibsUpdateIsPublicErrorComponent'] + | components['schemas']['QuibsUpdateTitleErrorComponent'] + | components['schemas']['QuibsUpdateContentErrorComponent'] + | components['schemas']['QuibsUpdateQuibletErrorComponent'] + | components['schemas']['QuibsUpdateQuibberErrorComponent'] + | components['schemas']['QuibsUpdateLikesErrorComponent'] + | components['schemas']['QuibsUpdateDislikesErrorComponent']; + QuibsUpdateIsPublicErrorComponent: { + /** + * @description * `is_public` - is_public (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'is_public'; + /** + * @description * `invalid` - invalid + * * `null` - null + * @enum {string} + */ + code: 'invalid' | 'null'; + detail: string; + }; + QuibsUpdateLikesErrorComponent: { + /** + * @description * `likes` - likes (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'likes'; + /** + * @description * `does_not_exist` - does_not_exist + * * `incorrect_type` - incorrect_type + * * `not_a_list` - not_a_list + * * `null` - null + * @enum {string} + */ + code: 'does_not_exist' | 'incorrect_type' | 'not_a_list' | 'null'; + detail: string; + }; + QuibsUpdateNonFieldErrorsErrorComponent: { + /** + * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'non_field_errors'; + /** + * @description * `invalid` - invalid + * * `null` - null + * @enum {string} + */ + code: 'invalid' | 'null'; + detail: string; + }; + QuibsUpdateQuibberErrorComponent: { + /** + * @description * `quibber` - quibber (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'quibber'; + /** + * @description * `does_not_exist` - does_not_exist + * * `incorrect_type` - incorrect_type + * * `null` - null + * * `required` - required + * @enum {string} + */ + code: 'does_not_exist' | 'incorrect_type' | 'null' | 'required'; + detail: string; + }; + QuibsUpdateQuibletErrorComponent: { + /** + * @description * `quiblet` - quiblet (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'quiblet'; + /** + * @description * `does_not_exist` - does_not_exist + * * `incorrect_type` - incorrect_type + * * `null` - null + * * `required` - required + * @enum {string} + */ + code: 'does_not_exist' | 'incorrect_type' | 'null' | 'required'; + detail: string; + }; + QuibsUpdateTitleErrorComponent: { + /** + * @description * `title` - title (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'title'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `max_length` - max_length + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'max_length' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed'; + detail: string; + }; + QuibsUpdateValidationError: { + type: components['schemas']['ValidationErrorEnum']; + errors: components['schemas']['QuibsUpdateError'][]; + }; + /** + * @description * `server_error` - Server Error + * @enum {string} + */ + ServerErrorEnum: 'server_error'; + User: { + readonly id: number; + /** + * Email Address + * Format: email + */ + email: string; + password: string; + /** Format: date-time */ + readonly date_joined: string; + }; + UsersAuthLoginCreateEmailErrorComponent: { + /** + * @description * `email` - email (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'email'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `max_length` - max_length + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * * `unique` - unique + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'max_length' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed' + | 'unique'; + detail: string; + }; + UsersAuthLoginCreateError: + | components['schemas']['UsersAuthLoginCreateNonFieldErrorsErrorComponent'] + | components['schemas']['UsersAuthLoginCreateEmailErrorComponent'] + | components['schemas']['UsersAuthLoginCreatePasswordErrorComponent']; + UsersAuthLoginCreateNonFieldErrorsErrorComponent: { + /** + * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'non_field_errors'; + /** + * @description * `invalid` - invalid + * * `null` - null + * @enum {string} + */ + code: 'invalid' | 'null'; + detail: string; + }; + UsersAuthLoginCreatePasswordErrorComponent: { + /** + * @description * `password` - password (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'password'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `max_length` - max_length + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'max_length' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed'; + detail: string; + }; + UsersAuthLoginCreateValidationError: { + type: components['schemas']['ValidationErrorEnum']; + errors: components['schemas']['UsersAuthLoginCreateError'][]; + }; + UsersAuthRegisterCreateEmailErrorComponent: { + /** + * @description * `email` - email (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'email'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `max_length` - max_length + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * * `unique` - unique + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'max_length' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed' + | 'unique'; + detail: string; + }; + UsersAuthRegisterCreateError: + | components['schemas']['UsersAuthRegisterCreateNonFieldErrorsErrorComponent'] + | components['schemas']['UsersAuthRegisterCreateEmailErrorComponent'] + | components['schemas']['UsersAuthRegisterCreatePasswordErrorComponent']; + UsersAuthRegisterCreateNonFieldErrorsErrorComponent: { + /** + * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'non_field_errors'; + /** + * @description * `invalid` - invalid + * * `null` - null + * @enum {string} + */ + code: 'invalid' | 'null'; + detail: string; + }; + UsersAuthRegisterCreatePasswordErrorComponent: { + /** + * @description * `password` - password (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'password'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `max_length` - max_length + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'max_length' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed'; + detail: string; + }; + UsersAuthRegisterCreateValidationError: { + type: components['schemas']['ValidationErrorEnum']; + errors: components['schemas']['UsersAuthRegisterCreateError'][]; + }; + UsersMeProfilesCreateAvatarErrorComponent: { + /** + * @description * `avatar` - avatar (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'avatar'; + /** + * @description * `empty` - empty + * * `invalid` - invalid + * * `invalid_image` - invalid_image + * * `max_length` - max_length + * * `no_name` - no_name + * @enum {string} + */ + code: 'empty' | 'invalid' | 'invalid_image' | 'max_length' | 'no_name'; + detail: string; + }; + UsersMeProfilesCreateColorErrorComponent: { + /** + * @description * `color` - color (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'color'; + /** + * @description * `invalid_choice` - invalid_choice + * * `null` - null + * @enum {string} + */ + code: 'invalid_choice' | 'null'; + detail: string; + }; + UsersMeProfilesCreateError: + | components['schemas']['UsersMeProfilesCreateNonFieldErrorsErrorComponent'] + | components['schemas']['UsersMeProfilesCreateColorErrorComponent'] + | components['schemas']['UsersMeProfilesCreateAvatarErrorComponent'] + | components['schemas']['UsersMeProfilesCreateUsernameErrorComponent'] + | components['schemas']['UsersMeProfilesCreateFirstNameErrorComponent'] + | components['schemas']['UsersMeProfilesCreateLastNameErrorComponent']; + UsersMeProfilesCreateFirstNameErrorComponent: { + /** + * @description * `first_name` - first_name (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'first_name'; + /** + * @description * `invalid` - invalid + * * `max_length` - max_length + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * @enum {string} + */ + code: + | 'invalid' + | 'max_length' + | 'null_characters_not_allowed' + | 'surrogate_characters_not_allowed'; + detail: string; + }; + UsersMeProfilesCreateLastNameErrorComponent: { + /** + * @description * `last_name` - last_name (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'last_name'; + /** + * @description * `invalid` - invalid + * * `max_length` - max_length + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * @enum {string} + */ + code: + | 'invalid' + | 'max_length' + | 'null_characters_not_allowed' + | 'surrogate_characters_not_allowed'; + detail: string; + }; + UsersMeProfilesCreateNonFieldErrorsErrorComponent: { + /** + * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'non_field_errors'; + /** + * @description * `invalid` - invalid + * * `null` - null + * @enum {string} + */ + code: 'invalid' | 'null'; + detail: string; + }; + UsersMeProfilesCreateUsernameErrorComponent: { + /** + * @description * `username` - username (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'username'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `max_length` - max_length + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * * `unique` - unique + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'max_length' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed' + | 'unique'; + detail: string; + }; + UsersMeProfilesCreateValidationError: { + type: components['schemas']['ValidationErrorEnum']; + errors: components['schemas']['UsersMeProfilesCreateError'][]; + }; + UsersMeProfilesPartialUpdateAvatarErrorComponent: { + /** + * @description * `avatar` - avatar (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'avatar'; + /** + * @description * `empty` - empty + * * `invalid` - invalid + * * `invalid_image` - invalid_image + * * `max_length` - max_length + * * `no_name` - no_name + * @enum {string} + */ + code: 'empty' | 'invalid' | 'invalid_image' | 'max_length' | 'no_name'; + detail: string; + }; + UsersMeProfilesPartialUpdateColorErrorComponent: { + /** + * @description * `color` - color (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'color'; + /** + * @description * `invalid_choice` - invalid_choice + * * `null` - null + * @enum {string} + */ + code: 'invalid_choice' | 'null'; + detail: string; + }; + UsersMeProfilesPartialUpdateError: + | components['schemas']['UsersMeProfilesPartialUpdateNonFieldErrorsErrorComponent'] + | components['schemas']['UsersMeProfilesPartialUpdateColorErrorComponent'] + | components['schemas']['UsersMeProfilesPartialUpdateAvatarErrorComponent'] + | components['schemas']['UsersMeProfilesPartialUpdateUsernameErrorComponent'] + | components['schemas']['UsersMeProfilesPartialUpdateFirstNameErrorComponent'] + | components['schemas']['UsersMeProfilesPartialUpdateLastNameErrorComponent']; + UsersMeProfilesPartialUpdateFirstNameErrorComponent: { + /** + * @description * `first_name` - first_name (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'first_name'; + /** + * @description * `invalid` - invalid + * * `max_length` - max_length + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * @enum {string} + */ + code: + | 'invalid' + | 'max_length' + | 'null_characters_not_allowed' + | 'surrogate_characters_not_allowed'; + detail: string; + }; + UsersMeProfilesPartialUpdateLastNameErrorComponent: { + /** + * @description * `last_name` - last_name (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'last_name'; + /** + * @description * `invalid` - invalid + * * `max_length` - max_length + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * @enum {string} + */ + code: + | 'invalid' + | 'max_length' + | 'null_characters_not_allowed' + | 'surrogate_characters_not_allowed'; + detail: string; + }; + UsersMeProfilesPartialUpdateNonFieldErrorsErrorComponent: { + /** + * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'non_field_errors'; + /** + * @description * `invalid` - invalid + * * `null` - null + * @enum {string} + */ + code: 'invalid' | 'null'; + detail: string; + }; + UsersMeProfilesPartialUpdateUsernameErrorComponent: { + /** + * @description * `username` - username (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'username'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `max_length` - max_length + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * * `unique` - unique + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'max_length' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed' + | 'unique'; + detail: string; + }; + UsersMeProfilesPartialUpdateValidationError: { + type: components['schemas']['ValidationErrorEnum']; + errors: components['schemas']['UsersMeProfilesPartialUpdateError'][]; + }; + UsersMeProfilesUpdateAvatarErrorComponent: { + /** + * @description * `avatar` - avatar (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'avatar'; + /** + * @description * `empty` - empty + * * `invalid` - invalid + * * `invalid_image` - invalid_image + * * `max_length` - max_length + * * `no_name` - no_name + * @enum {string} + */ + code: 'empty' | 'invalid' | 'invalid_image' | 'max_length' | 'no_name'; + detail: string; + }; + UsersMeProfilesUpdateColorErrorComponent: { + /** + * @description * `color` - color (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'color'; + /** + * @description * `invalid_choice` - invalid_choice + * * `null` - null + * @enum {string} + */ + code: 'invalid_choice' | 'null'; + detail: string; + }; + UsersMeProfilesUpdateError: + | components['schemas']['UsersMeProfilesUpdateNonFieldErrorsErrorComponent'] + | components['schemas']['UsersMeProfilesUpdateColorErrorComponent'] + | components['schemas']['UsersMeProfilesUpdateAvatarErrorComponent'] + | components['schemas']['UsersMeProfilesUpdateUsernameErrorComponent'] + | components['schemas']['UsersMeProfilesUpdateFirstNameErrorComponent'] + | components['schemas']['UsersMeProfilesUpdateLastNameErrorComponent']; + UsersMeProfilesUpdateFirstNameErrorComponent: { + /** + * @description * `first_name` - first_name (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'first_name'; + /** + * @description * `invalid` - invalid + * * `max_length` - max_length + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * @enum {string} + */ + code: + | 'invalid' + | 'max_length' + | 'null_characters_not_allowed' + | 'surrogate_characters_not_allowed'; + detail: string; + }; + UsersMeProfilesUpdateLastNameErrorComponent: { + /** + * @description * `last_name` - last_name (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'last_name'; + /** + * @description * `invalid` - invalid + * * `max_length` - max_length + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * @enum {string} + */ + code: + | 'invalid' + | 'max_length' + | 'null_characters_not_allowed' + | 'surrogate_characters_not_allowed'; + detail: string; + }; + UsersMeProfilesUpdateNonFieldErrorsErrorComponent: { + /** + * @description * `non_field_errors` - non_field_errors (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'non_field_errors'; + /** + * @description * `invalid` - invalid + * * `null` - null + * @enum {string} + */ + code: 'invalid' | 'null'; + detail: string; + }; + UsersMeProfilesUpdateUsernameErrorComponent: { + /** + * @description * `username` - username (enum property replaced by openapi-typescript) + * @enum {string} + */ + attr: 'username'; + /** + * @description * `blank` - blank + * * `invalid` - invalid + * * `max_length` - max_length + * * `null` - null + * * `null_characters_not_allowed` - null_characters_not_allowed + * * `required` - required + * * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed + * * `unique` - unique + * @enum {string} + */ + code: + | 'blank' + | 'invalid' + | 'max_length' + | 'null' + | 'null_characters_not_allowed' + | 'required' + | 'surrogate_characters_not_allowed' + | 'unique'; + detail: string; + }; + UsersMeProfilesUpdateValidationError: { + type: components['schemas']['ValidationErrorEnum']; + errors: components['schemas']['UsersMeProfilesUpdateError'][]; + }; + /** + * @description * `validation_error` - Validation Error + * @enum {string} + */ + ValidationErrorEnum: 'validation_error'; + }; + responses: never; + parameters: never; + requestBodies: never; + headers: never; + pathItems: never; } export type $defs = Record; export interface operations { - quiblets_list: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Quiblet'][]; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - quiblets_create: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - 'application/json': components['schemas']['Quiblet']; - 'application/x-www-form-urlencoded': components['schemas']['Quiblet']; - 'multipart/form-data': components['schemas']['Quiblet']; - }; - }; - responses: { - 201: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Quiblet']; - }; - }; - 400: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['QuibletsCreateValidationError']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - quiblets_retrieve: { - parameters: { - query?: never; - header?: never; - path: { - /** @description A unique value identifying this Quiblet. */ - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Quiblet']; - }; - }; - 404: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse404']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - quiblets_update: { - parameters: { - query?: never; - header?: never; - path: { - /** @description A unique value identifying this Quiblet. */ - id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - 'application/json': components['schemas']['Quiblet']; - 'application/x-www-form-urlencoded': components['schemas']['Quiblet']; - 'multipart/form-data': components['schemas']['Quiblet']; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Quiblet']; - }; - }; - 400: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['QuibletsUpdateValidationError']; - }; - }; - 404: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse404']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - quiblets_destroy: { - parameters: { - query?: never; - header?: never; - path: { - /** @description A unique value identifying this Quiblet. */ - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description No response body */ - 204: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - 404: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse404']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - quiblets_partial_update: { - parameters: { - query?: never; - header?: never; - path: { - /** @description A unique value identifying this Quiblet. */ - id: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - 'application/json': components['schemas']['PatchedQuiblet']; - 'application/x-www-form-urlencoded': components['schemas']['PatchedQuiblet']; - 'multipart/form-data': components['schemas']['PatchedQuiblet']; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Quiblet']; - }; - }; - 400: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['QuibletsPartialUpdateValidationError']; - }; - }; - 404: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse404']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - quibs_list: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Quib'][]; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - quibs_create: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - 'application/json': components['schemas']['Quib']; - 'application/x-www-form-urlencoded': components['schemas']['Quib']; - 'multipart/form-data': components['schemas']['Quib']; - }; - }; - responses: { - 201: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Quib']; - }; - }; - 400: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['QuibsCreateValidationError']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - quibs_retrieve: { - parameters: { - query?: never; - header?: never; - path: { - /** @description A unique value identifying this Quib. */ - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Quib']; - }; - }; - 404: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse404']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - quibs_update: { - parameters: { - query?: never; - header?: never; - path: { - /** @description A unique value identifying this Quib. */ - id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - 'application/json': components['schemas']['Quib']; - 'application/x-www-form-urlencoded': components['schemas']['Quib']; - 'multipart/form-data': components['schemas']['Quib']; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Quib']; - }; - }; - 400: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['QuibsUpdateValidationError']; - }; - }; - 404: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse404']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - quibs_destroy: { - parameters: { - query?: never; - header?: never; - path: { - /** @description A unique value identifying this Quib. */ - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description No response body */ - 204: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - 404: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse404']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - quibs_partial_update: { - parameters: { - query?: never; - header?: never; - path: { - /** @description A unique value identifying this Quib. */ - id: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - 'application/json': components['schemas']['PatchedQuib']; - 'application/x-www-form-urlencoded': components['schemas']['PatchedQuib']; - 'multipart/form-data': components['schemas']['PatchedQuib']; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Quib']; - }; - }; - 400: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['QuibsPartialUpdateValidationError']; - }; - }; - 404: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse404']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - users_auth_login_create: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - 'application/json': components['schemas']['Auth']; - 'application/x-www-form-urlencoded': components['schemas']['Auth']; - 'multipart/form-data': components['schemas']['Auth']; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['AuthTokenResponse']; - }; - }; - 400: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['UsersAuthLoginCreateValidationError']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - users_auth_logout_create: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['DetailResponse']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - users_auth_register_create: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - 'application/json': components['schemas']['Auth']; - 'application/x-www-form-urlencoded': components['schemas']['Auth']; - 'multipart/form-data': components['schemas']['Auth']; - }; - }; - responses: { - 201: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Auth']; - }; - }; - 400: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['UsersAuthRegisterCreateValidationError']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - users_me_retrieve: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Profile']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - users_me_profiles_list: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Profile'][]; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - users_me_profiles_create: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - 'application/json': components['schemas']['Profile']; - 'application/x-www-form-urlencoded': components['schemas']['Profile']; - 'multipart/form-data': components['schemas']['Profile']; - }; - }; - responses: { - 201: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Profile']; - }; - }; - 400: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['UsersMeProfilesCreateValidationError']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - users_me_profiles_retrieve: { - parameters: { - query?: never; - header?: never; - path: { - /** @description A unique integer value identifying this Profile. */ - id: number; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Profile']; - }; - }; - 404: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse404']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - users_me_profiles_update: { - parameters: { - query?: never; - header?: never; - path: { - /** @description A unique integer value identifying this Profile. */ - id: number; - }; - cookie?: never; - }; - requestBody: { - content: { - 'application/json': components['schemas']['Profile']; - 'application/x-www-form-urlencoded': components['schemas']['Profile']; - 'multipart/form-data': components['schemas']['Profile']; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Profile']; - }; - }; - 400: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['UsersMeProfilesUpdateValidationError']; - }; - }; - 404: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse404']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - users_me_profiles_destroy: { - parameters: { - query?: never; - header?: never; - path: { - /** @description A unique integer value identifying this Profile. */ - id: number; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description No response body */ - 204: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - 404: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse404']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - users_me_profiles_partial_update: { - parameters: { - query?: never; - header?: never; - path: { - /** @description A unique integer value identifying this Profile. */ - id: number; - }; - cookie?: never; - }; - requestBody?: { - content: { - 'application/json': components['schemas']['PatchedProfile']; - 'application/x-www-form-urlencoded': components['schemas']['PatchedProfile']; - 'multipart/form-data': components['schemas']['PatchedProfile']; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Profile']; - }; - }; - 400: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['UsersMeProfilesPartialUpdateValidationError']; - }; - }; - 404: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse404']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - users_profiles_list: { - parameters: { - query?: { - /** @description A search term. */ - search?: string; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Profile'][]; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; - users_profiles_retrieve: { - parameters: { - query?: never; - header?: never; - path: { - /** @description A unique integer value identifying this Profile. */ - id: number; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['Profile']; - }; - }; - 404: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse404']; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - 'application/json': components['schemas']['ErrorResponse500']; - }; - }; - }; - }; + quiblets_list: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Quiblet'][]; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + quiblets_create: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Quiblet']; + 'application/x-www-form-urlencoded': components['schemas']['Quiblet']; + 'multipart/form-data': components['schemas']['Quiblet']; + }; + }; + responses: { + 201: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Quiblet']; + }; + }; + 400: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['QuibletsCreateValidationError']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + quiblets_retrieve: { + parameters: { + query?: never; + header?: never; + path: { + /** @description A unique value identifying this Quiblet. */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Quiblet']; + }; + }; + 404: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse404']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + quiblets_update: { + parameters: { + query?: never; + header?: never; + path: { + /** @description A unique value identifying this Quiblet. */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Quiblet']; + 'application/x-www-form-urlencoded': components['schemas']['Quiblet']; + 'multipart/form-data': components['schemas']['Quiblet']; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Quiblet']; + }; + }; + 400: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['QuibletsUpdateValidationError']; + }; + }; + 404: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse404']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + quiblets_destroy: { + parameters: { + query?: never; + header?: never; + path: { + /** @description A unique value identifying this Quiblet. */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description No response body */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + 404: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse404']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + quiblets_partial_update: { + parameters: { + query?: never; + header?: never; + path: { + /** @description A unique value identifying this Quiblet. */ + id: string; + }; + cookie?: never; + }; + requestBody?: { + content: { + 'application/json': components['schemas']['PatchedQuiblet']; + 'application/x-www-form-urlencoded': components['schemas']['PatchedQuiblet']; + 'multipart/form-data': components['schemas']['PatchedQuiblet']; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Quiblet']; + }; + }; + 400: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['QuibletsPartialUpdateValidationError']; + }; + }; + 404: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse404']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + quibs_list: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Quib'][]; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + quibs_create: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Quib']; + 'application/x-www-form-urlencoded': components['schemas']['Quib']; + 'multipart/form-data': components['schemas']['Quib']; + }; + }; + responses: { + 201: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Quib']; + }; + }; + 400: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['QuibsCreateValidationError']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + quibs_retrieve: { + parameters: { + query?: never; + header?: never; + path: { + /** @description A unique value identifying this Quib. */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Quib']; + }; + }; + 404: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse404']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + quibs_update: { + parameters: { + query?: never; + header?: never; + path: { + /** @description A unique value identifying this Quib. */ + id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Quib']; + 'application/x-www-form-urlencoded': components['schemas']['Quib']; + 'multipart/form-data': components['schemas']['Quib']; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Quib']; + }; + }; + 400: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['QuibsUpdateValidationError']; + }; + }; + 404: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse404']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + quibs_destroy: { + parameters: { + query?: never; + header?: never; + path: { + /** @description A unique value identifying this Quib. */ + id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description No response body */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + 404: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse404']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + quibs_partial_update: { + parameters: { + query?: never; + header?: never; + path: { + /** @description A unique value identifying this Quib. */ + id: string; + }; + cookie?: never; + }; + requestBody?: { + content: { + 'application/json': components['schemas']['PatchedQuib']; + 'application/x-www-form-urlencoded': components['schemas']['PatchedQuib']; + 'multipart/form-data': components['schemas']['PatchedQuib']; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Quib']; + }; + }; + 400: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['QuibsPartialUpdateValidationError']; + }; + }; + 404: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse404']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + users_auth_login_create: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Auth']; + 'application/x-www-form-urlencoded': components['schemas']['Auth']; + 'multipart/form-data': components['schemas']['Auth']; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['AuthTokenResponse']; + }; + }; + 400: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['UsersAuthLoginCreateValidationError']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + users_auth_logout_create: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['DetailResponse']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + users_auth_register_create: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Auth']; + 'application/x-www-form-urlencoded': components['schemas']['Auth']; + 'multipart/form-data': components['schemas']['Auth']; + }; + }; + responses: { + 201: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Auth']; + }; + }; + 400: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['UsersAuthRegisterCreateValidationError']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + users_me_retrieve: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Profile']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + users_me_profiles_list: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Profile'][]; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + users_me_profiles_create: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Profile']; + 'application/x-www-form-urlencoded': components['schemas']['Profile']; + 'multipart/form-data': components['schemas']['Profile']; + }; + }; + responses: { + 201: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Profile']; + }; + }; + 400: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['UsersMeProfilesCreateValidationError']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + users_me_profiles_retrieve: { + parameters: { + query?: never; + header?: never; + path: { + /** @description A unique integer value identifying this Profile. */ + id: number; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Profile']; + }; + }; + 404: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse404']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + users_me_profiles_update: { + parameters: { + query?: never; + header?: never; + path: { + /** @description A unique integer value identifying this Profile. */ + id: number; + }; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Profile']; + 'application/x-www-form-urlencoded': components['schemas']['Profile']; + 'multipart/form-data': components['schemas']['Profile']; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Profile']; + }; + }; + 400: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['UsersMeProfilesUpdateValidationError']; + }; + }; + 404: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse404']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + users_me_profiles_destroy: { + parameters: { + query?: never; + header?: never; + path: { + /** @description A unique integer value identifying this Profile. */ + id: number; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description No response body */ + 204: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + 404: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse404']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + users_me_profiles_partial_update: { + parameters: { + query?: never; + header?: never; + path: { + /** @description A unique integer value identifying this Profile. */ + id: number; + }; + cookie?: never; + }; + requestBody?: { + content: { + 'application/json': components['schemas']['PatchedProfile']; + 'application/x-www-form-urlencoded': components['schemas']['PatchedProfile']; + 'multipart/form-data': components['schemas']['PatchedProfile']; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Profile']; + }; + }; + 400: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['UsersMeProfilesPartialUpdateValidationError']; + }; + }; + 404: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse404']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + users_profiles_list: { + parameters: { + query?: { + /** @description A search term. */ + search?: string; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Profile'][]; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; + users_profiles_retrieve: { + parameters: { + query?: never; + header?: never; + path: { + /** @description A unique integer value identifying this Profile. */ + id: number; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['Profile']; + }; + }; + 404: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse404']; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ErrorResponse500']; + }; + }; + }; + }; } diff --git a/frontend/src/lib/components/header.svelte b/frontend/src/lib/components/header.svelte index 980d6ae..968ef4d 100644 --- a/frontend/src/lib/components/header.svelte +++ b/frontend/src/lib/components/header.svelte @@ -1,67 +1,67 @@
- - - - - -
- {#if get_auth_state().is_authenticated} - - - - {:else} - - {/if} -
+ + + + + +
+ {#if get_auth_state().is_authenticated} + + + + {:else} + + {/if} +
diff --git a/frontend/src/lib/components/icons/card.svelte b/frontend/src/lib/components/icons/card.svelte index 938fb1d..cf1b4fa 100644 --- a/frontend/src/lib/components/icons/card.svelte +++ b/frontend/src/lib/components/icons/card.svelte @@ -1,21 +1,21 @@ - + diff --git a/frontend/src/lib/components/icons/chart_bars.svelte b/frontend/src/lib/components/icons/chart_bars.svelte index 8ac720c..7b8b6d4 100644 --- a/frontend/src/lib/components/icons/chart_bars.svelte +++ b/frontend/src/lib/components/icons/chart_bars.svelte @@ -1,36 +1,36 @@ {#if variant === 'all'} - - - + + + {:else if variant === 'popular'} - - - + + + {/if} diff --git a/frontend/src/lib/components/icons/compact.svelte b/frontend/src/lib/components/icons/compact.svelte index 16f757e..56c5971 100644 --- a/frontend/src/lib/components/icons/compact.svelte +++ b/frontend/src/lib/components/icons/compact.svelte @@ -1,21 +1,21 @@ - + diff --git a/frontend/src/lib/components/icons/hot.svelte b/frontend/src/lib/components/icons/hot.svelte index 82ee18e..49cd044 100644 --- a/frontend/src/lib/components/icons/hot.svelte +++ b/frontend/src/lib/components/icons/hot.svelte @@ -1,29 +1,29 @@ - - + + diff --git a/frontend/src/lib/components/icons/logos/google.svelte b/frontend/src/lib/components/icons/logos/google.svelte index b1bb703..f428eaf 100644 --- a/frontend/src/lib/components/icons/logos/google.svelte +++ b/frontend/src/lib/components/icons/logos/google.svelte @@ -1,29 +1,29 @@ - - - - + + + + diff --git a/frontend/src/lib/components/icons/logos/quibble.svelte b/frontend/src/lib/components/icons/logos/quibble.svelte index 203d8f4..a84c1b6 100644 --- a/frontend/src/lib/components/icons/logos/quibble.svelte +++ b/frontend/src/lib/components/icons/logos/quibble.svelte @@ -1,27 +1,27 @@ - - - - + + + + diff --git a/frontend/src/lib/components/icons/logos/quibble_text.svelte b/frontend/src/lib/components/icons/logos/quibble_text.svelte index ea9ff70..59730f8 100644 --- a/frontend/src/lib/components/icons/logos/quibble_text.svelte +++ b/frontend/src/lib/components/icons/logos/quibble_text.svelte @@ -1,20 +1,20 @@ - + diff --git a/frontend/src/lib/components/icons/new.svelte b/frontend/src/lib/components/icons/new.svelte index 4643e16..8fbb233 100644 --- a/frontend/src/lib/components/icons/new.svelte +++ b/frontend/src/lib/components/icons/new.svelte @@ -1,19 +1,19 @@ - + diff --git a/frontend/src/lib/components/icons/notification.svelte b/frontend/src/lib/components/icons/notification.svelte index 7b0db0f..bddda5a 100644 --- a/frontend/src/lib/components/icons/notification.svelte +++ b/frontend/src/lib/components/icons/notification.svelte @@ -1,19 +1,19 @@ - + diff --git a/frontend/src/lib/components/icons/rocket.svelte b/frontend/src/lib/components/icons/rocket.svelte index 39d4b28..83dba5c 100644 --- a/frontend/src/lib/components/icons/rocket.svelte +++ b/frontend/src/lib/components/icons/rocket.svelte @@ -1,21 +1,21 @@ - + diff --git a/frontend/src/lib/components/icons/top.svelte b/frontend/src/lib/components/icons/top.svelte index cf7b6aa..33bb6bd 100644 --- a/frontend/src/lib/components/icons/top.svelte +++ b/frontend/src/lib/components/icons/top.svelte @@ -1,35 +1,35 @@ - - - - - - - - - + + + + + + + + + diff --git a/frontend/src/lib/components/modals/auth/forms/index.ts b/frontend/src/lib/components/modals/auth/forms/index.ts index 16f780e..3df2930 100644 --- a/frontend/src/lib/components/modals/auth/forms/index.ts +++ b/frontend/src/lib/components/modals/auth/forms/index.ts @@ -1,7 +1,7 @@ const forms = { - login: import('./login.svelte'), - profile_select: import('./profile_select.svelte'), - profile_create: import('./profile_create.svelte') + login: import('./login.svelte'), + profile_select: import('./profile_select.svelte'), + profile_create: import('./profile_create.svelte') }; export default forms; diff --git a/frontend/src/lib/components/modals/auth/forms/login.svelte b/frontend/src/lib/components/modals/auth/forms/login.svelte index 22b91ca..d1d8ccf 100644 --- a/frontend/src/lib/components/modals/auth/forms/login.svelte +++ b/frontend/src/lib/components/modals/auth/forms/login.svelte @@ -1,108 +1,108 @@
-
-
- - -
-

- Join in, share your take, and
make some waves! -

-
- -
OR
-
- - - {#if errors?.detail} -
- - {errors.detail} -
- {/if} - -
-

- By continuing, you agree to the Terms of use, - Privacy - and Policy Preplaced. -

+
+
+ + +
+

+ Join in, share your take, and
make some waves! +

+
+ +
OR
+
+ + + {#if errors?.detail} +
+ + {errors.detail} +
+ {/if} + +
+

+ By continuing, you agree to the Terms of use, + Privacy + and Policy Preplaced. +

diff --git a/frontend/src/lib/components/modals/auth/forms/profile_create.svelte b/frontend/src/lib/components/modals/auth/forms/profile_create.svelte index 93100d5..2e72963 100644 --- a/frontend/src/lib/components/modals/auth/forms/profile_create.svelte +++ b/frontend/src/lib/components/modals/auth/forms/profile_create.svelte @@ -1,88 +1,88 @@
-
-
- - -
-

Let's create new one!

-
-
- - {#if errors?.detail} -
- - {errors.detail} -
- {/if} - -
-

You can do more things from settings page later.

+
+
+ + +
+

Let's create new one!

+
+
+ + {#if errors?.detail} +
+ + {errors.detail} +
+ {/if} + +
+

You can do more things from settings page later.

diff --git a/frontend/src/lib/components/modals/auth/forms/profile_select.svelte b/frontend/src/lib/components/modals/auth/forms/profile_select.svelte index 91ec350..52311d3 100644 --- a/frontend/src/lib/components/modals/auth/forms/profile_select.svelte +++ b/frontend/src/lib/components/modals/auth/forms/profile_select.svelte @@ -1,110 +1,110 @@ {#if pending} - + {/if}
-
-
- - -
-

- {status_text ?? "Who's quibbling?"} -

-
-
- {#each profiles as profile} - {@const profile_color_var = daisyuiColorNames[profile.color]} +
+
+ + +
+

+ {status_text ?? "Who's quibbling?"} +

+
+
+ {#each profiles as profile} + {@const profile_color_var = daisyuiColorNames[profile.color]} -
- - -
- {/each} - {#if !(profiles.length >= 3)} - - {/if} -
+
+ + +
+ {/each} + {#if !(profiles.length >= 3)} + + {/if} +
diff --git a/frontend/src/lib/components/modals/auth/index.svelte b/frontend/src/lib/components/modals/auth/index.svelte index 3bbf5bf..2879bf5 100644 --- a/frontend/src/lib/components/modals/auth/index.svelte +++ b/frontend/src/lib/components/modals/auth/index.svelte @@ -1,48 +1,48 @@ close_modal('auth')} + class="modal modal-bottom sm:modal-middle" + bind:this={dialog_element} + onclose={() => close_modal('auth')} > - - + + diff --git a/frontend/src/lib/components/modals/auth/types.ts b/frontend/src/lib/components/modals/auth/types.ts index 6cc78a2..4539a13 100644 --- a/frontend/src/lib/components/modals/auth/types.ts +++ b/frontend/src/lib/components/modals/auth/types.ts @@ -7,7 +7,7 @@ export type Forms = keyof typeof forms; export type FormsState = { [K in Forms]: object }; export type FormProps = { - forms_state: FormsState; - on_submit: (data: FormSubmitData) => void; - goto_form: (form: Forms) => void; + forms_state: FormsState; + on_submit: (data: FormSubmitData) => void; + goto_form: (form: Forms) => void; }; diff --git a/frontend/src/lib/components/modals/index.svelte b/frontend/src/lib/components/modals/index.svelte index a384dd9..8984399 100644 --- a/frontend/src/lib/components/modals/index.svelte +++ b/frontend/src/lib/components/modals/index.svelte @@ -1,5 +1,5 @@ diff --git a/frontend/src/lib/components/pages/home/post.svelte b/frontend/src/lib/components/pages/home/post.svelte index 29d5e6e..4ade6bb 100644 --- a/frontend/src/lib/components/pages/home/post.svelte +++ b/frontend/src/lib/components/pages/home/post.svelte @@ -1,71 +1,71 @@
- -
- - -

q/{props.community.name}

-
- - {props.created_at} -
+ +
+ + +

q/{props.community.name}

+
+ + {props.created_at} +
-

{props.title}

+

{props.title}

-

- {props.content} -

+

+ {props.content} +

- + -
- - - - - -
+
+ + + + + +
diff --git a/frontend/src/lib/components/pages/home/posts_header.svelte b/frontend/src/lib/components/pages/home/posts_header.svelte index 4ff3768..8919318 100644 --- a/frontend/src/lib/components/pages/home/posts_header.svelte +++ b/frontend/src/lib/components/pages/home/posts_header.svelte @@ -1,85 +1,85 @@
-
- {#each Object.entries(mapping.filters) as [key, item]} - {@const is_active = active_mapping.filter === key} +
+ {#each Object.entries(mapping.filters) as [key, item]} + {@const is_active = active_mapping.filter === key} -
- - - {key} - - {#if is_active} -
- {/if} -
- {/each} -
-
- -
+
+ + + {key} + + {#if is_active} +
+ {/if} +
+ {/each} +
+
+ +
diff --git a/frontend/src/lib/components/pages/home/recent_posts.svelte b/frontend/src/lib/components/pages/home/recent_posts.svelte index 0537039..e8592e9 100644 --- a/frontend/src/lib/components/pages/home/recent_posts.svelte +++ b/frontend/src/lib/components/pages/home/recent_posts.svelte @@ -1,41 +1,41 @@
-

Recent Posts

-
- {#each recent_posts as post} -
-
- - - {post.title} - -
-

{readable(post.likes)} likes

- -

{readable(post.comments)} quibble(s)

-
-
- {#if post.cover} - - {/if} -
- {/each} -
+

Recent Posts

+
+ {#each recent_posts as post} +
+
+ + + {post.title} + +
+

{readable(post.likes)} likes

+ +

{readable(post.comments)} quibble(s)

+
+
+ {#if post.cover} + + {/if} +
+ {/each} +
diff --git a/frontend/src/lib/components/sidebar.svelte b/frontend/src/lib/components/sidebar.svelte index daf9efe..a93ba39 100644 --- a/frontend/src/lib/components/sidebar.svelte +++ b/frontend/src/lib/components/sidebar.svelte @@ -1,95 +1,95 @@
-
-

Communities

- - -
-
- -
- Favourites - -
-
- {#each favorite_communities as community} - - {/each} -
-
-
- -
- Your Communities - -
-
- {#each your_communities as community} - - {/each} -
-
-
- -
- Resources - -
- -
-

Quibble © {new Date().getFullYear()}. All rights reserved.

+
+

Communities

+ + +
+
+ +
+ Favourites + +
+
+ {#each favorite_communities as community} + + {/each} +
+
+
+ +
+ Your Communities + +
+
+ {#each your_communities as community} + + {/each} +
+
+
+ +
+ Resources + +
+ +
+

Quibble © {new Date().getFullYear()}. All rights reserved.

diff --git a/frontend/src/lib/components/ui/avatar.svelte b/frontend/src/lib/components/ui/avatar.svelte index 71c7e7b..c13f6e6 100644 --- a/frontend/src/lib/components/ui/avatar.svelte +++ b/frontend/src/lib/components/ui/avatar.svelte @@ -1,25 +1,25 @@
-
- {#if src} - - {:else} - {alt.charAt(0)} - {/if} -
+
+ {#if src} + + {:else} + {alt.charAt(0)} + {/if} +
diff --git a/frontend/src/lib/data/mock/favorites.json b/frontend/src/lib/data/mock/favorites.json index d81924b..635580d 100644 --- a/frontend/src/lib/data/mock/favorites.json +++ b/frontend/src/lib/data/mock/favorites.json @@ -1,12 +1,12 @@ [ - { - "name": "AskQuibble", - "avatar": "https://img.daisyui.com/images/stock/photo-1534528741775-53994a69daeb.webp", - "starred": true - }, - { - "name": "sveltejs", - "avatar": null, - "starred": false - } + { + "name": "AskQuibble", + "avatar": "https://img.daisyui.com/images/stock/photo-1534528741775-53994a69daeb.webp", + "starred": true + }, + { + "name": "sveltejs", + "avatar": null, + "starred": false + } ] diff --git a/frontend/src/lib/data/mock/my_profiles.json b/frontend/src/lib/data/mock/my_profiles.json index af6c45c..81947c6 100644 --- a/frontend/src/lib/data/mock/my_profiles.json +++ b/frontend/src/lib/data/mock/my_profiles.json @@ -1,15 +1,15 @@ [ - { - "id": 0, - "user": { - "id": 0, - "email": "user@example.com", - "date_joined": "2024-11-24T10:34:20.019Z" - }, - "username": "daisy", - "avatar": "https://img.daisyui.com/images/stock/photo-1534528741775-53994a69daeb.webp", - "first_name": "moonlitgrace", - "last_name": "", - "date_created": "2024-11-24T10:34:20.019Z" - } + { + "id": 0, + "user": { + "id": 0, + "email": "user@example.com", + "date_joined": "2024-11-24T10:34:20.019Z" + }, + "username": "daisy", + "avatar": "https://img.daisyui.com/images/stock/photo-1534528741775-53994a69daeb.webp", + "first_name": "moonlitgrace", + "last_name": "", + "date_created": "2024-11-24T10:34:20.019Z" + } ] diff --git a/frontend/src/lib/data/mock/posts.json b/frontend/src/lib/data/mock/posts.json index 47ff705..d8e3a3c 100644 --- a/frontend/src/lib/data/mock/posts.json +++ b/frontend/src/lib/data/mock/posts.json @@ -1,30 +1,30 @@ [ - { - "id": 1, - "community": { - "avatar": "https://img.daisyui.com/images/stock/photo-1534528741775-53994a69daeb.webp", - "name": "Anime" - }, - "title": "One of Shinkai's first major work, day11", - "slug": "one-of-shinkai", - "content": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.", - "cover": "https://i.pinimg.com/736x/f1/a5/64/f1a5640fe39cb3e00ec09929ad9a8ac5.jpg", - "created_at": "3hr ago", - "likes": 12386, - "dislikes": 38, - "comments": 271 - }, - { - "id": 1, - "community": { - "name": "neovim" - }, - "title": "Lorem Ipsum here!", - "slug": "lorem-ipsum-here", - "content": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.", - "created_at": "2hr ago", - "likes": 231, - "dislikes": 12, - "comments": 89 - } + { + "id": 1, + "community": { + "avatar": "https://img.daisyui.com/images/stock/photo-1534528741775-53994a69daeb.webp", + "name": "Anime" + }, + "title": "One of Shinkai's first major work, day11", + "slug": "one-of-shinkai", + "content": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.", + "cover": "https://i.pinimg.com/736x/f1/a5/64/f1a5640fe39cb3e00ec09929ad9a8ac5.jpg", + "created_at": "3hr ago", + "likes": 12386, + "dislikes": 38, + "comments": 271 + }, + { + "id": 1, + "community": { + "name": "neovim" + }, + "title": "Lorem Ipsum here!", + "slug": "lorem-ipsum-here", + "content": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.", + "created_at": "2hr ago", + "likes": 231, + "dislikes": 12, + "comments": 89 + } ] diff --git a/frontend/src/lib/data/mock/recent_posts.json b/frontend/src/lib/data/mock/recent_posts.json index ac93581..5d31d5d 100644 --- a/frontend/src/lib/data/mock/recent_posts.json +++ b/frontend/src/lib/data/mock/recent_posts.json @@ -1,25 +1,25 @@ [ - { - "id": 1, - "community": { - "avatar": "https://img.daisyui.com/images/stock/photo-1534528741775-53994a69daeb.webp", - "name": "Anime" - }, - "title": "One of Shinkai's first major work, day11", - "slug": "one-of-shinkai", - "cover": "https://i.pinimg.com/736x/f1/a5/64/f1a5640fe39cb3e00ec09929ad9a8ac5.jpg", - "likes": 12386, - "comments": 271 - }, - { - "id": 1, - "community": { - "avatar": null, - "name": "neovim" - }, - "title": "Lorem Ipsum here!", - "slug": "lorem-ipsum-here", - "likes": 231, - "comments": 89 - } + { + "id": 1, + "community": { + "avatar": "https://img.daisyui.com/images/stock/photo-1534528741775-53994a69daeb.webp", + "name": "Anime" + }, + "title": "One of Shinkai's first major work, day11", + "slug": "one-of-shinkai", + "cover": "https://i.pinimg.com/736x/f1/a5/64/f1a5640fe39cb3e00ec09929ad9a8ac5.jpg", + "likes": 12386, + "comments": 271 + }, + { + "id": 1, + "community": { + "avatar": null, + "name": "neovim" + }, + "title": "Lorem Ipsum here!", + "slug": "lorem-ipsum-here", + "likes": 231, + "comments": 89 + } ] diff --git a/frontend/src/lib/data/mock/your_communities.json b/frontend/src/lib/data/mock/your_communities.json index 1ad2b3c..942981f 100644 --- a/frontend/src/lib/data/mock/your_communities.json +++ b/frontend/src/lib/data/mock/your_communities.json @@ -1,12 +1,12 @@ [ - { - "name": "developers", - "avatar": "https://img.daisyui.com/images/stock/photo-1534528741775-53994a69daeb.webp", - "starred": true - }, - { - "name": "anime", - "avatar": null, - "starred": false - } + { + "name": "developers", + "avatar": "https://img.daisyui.com/images/stock/photo-1534528741775-53994a69daeb.webp", + "starred": true + }, + { + "name": "anime", + "avatar": null, + "starred": false + } ] diff --git a/frontend/src/lib/functions/classnames.ts b/frontend/src/lib/functions/classnames.ts index 256f86f..9ad0df4 100644 --- a/frontend/src/lib/functions/classnames.ts +++ b/frontend/src/lib/functions/classnames.ts @@ -2,5 +2,5 @@ import { type ClassValue, clsx } from 'clsx'; import { twMerge } from 'tailwind-merge'; export function cn(...inputs: ClassValue[]) { - return twMerge(clsx(inputs)); + return twMerge(clsx(inputs)); } diff --git a/frontend/src/lib/functions/event_modifiers.ts b/frontend/src/lib/functions/event_modifiers.ts index ed6f1f8..3be0230 100644 --- a/frontend/src/lib/functions/event_modifiers.ts +++ b/frontend/src/lib/functions/event_modifiers.ts @@ -1,6 +1,6 @@ export function stopPropagation(func: (this: T, e: Event) => void) { - return function (this: T, e: Event) { - e.stopPropagation(); - func.call(this, e); - }; + return function (this: T, e: Event) { + e.stopPropagation(); + func.call(this, e); + }; } diff --git a/frontend/src/lib/stores/auth.svelte.ts b/frontend/src/lib/stores/auth.svelte.ts index b04dcfe..b233566 100644 --- a/frontend/src/lib/stores/auth.svelte.ts +++ b/frontend/src/lib/stores/auth.svelte.ts @@ -4,18 +4,18 @@ import type { Nullable } from '$lib/types/shared'; type Profile = components['schemas']['Profile']; const auth_state = $state<{ - is_authenticated: boolean; - profile: Nullable; + is_authenticated: boolean; + profile: Nullable; }>({ - is_authenticated: false, - profile: null + is_authenticated: false, + profile: null }); export function get_auth_state() { - return auth_state; + return auth_state; } export function set_auth_state(new_state: Partial) { - // auth_state = { ...auth_state, ...new_state } - Object.assign(auth_state, new_state); + // auth_state = { ...auth_state, ...new_state } + Object.assign(auth_state, new_state); } diff --git a/frontend/src/lib/stores/modals.svelte.ts b/frontend/src/lib/stores/modals.svelte.ts index 2db2afc..a88111c 100644 --- a/frontend/src/lib/stores/modals.svelte.ts +++ b/frontend/src/lib/stores/modals.svelte.ts @@ -6,17 +6,17 @@ type IModals = (typeof modals)[number]; const modals_state = $state(new SvelteMap(modals.map((item) => [item, false]))); export function get_modals_state() { - return modals_state; + return modals_state; } export function open_modal(modal: IModals) { - // close all modals first - modals_state.keys().forEach((key) => { - modals_state.set(key, false); - }); - modals_state.set(modal, true); + // close all modals first + modals_state.keys().forEach((key) => { + modals_state.set(key, false); + }); + modals_state.set(modal, true); } export function close_modal(modal: IModals) { - modals_state.set(modal, false); + modals_state.set(modal, false); } diff --git a/frontend/src/lib/utils/api.ts b/frontend/src/lib/utils/api.ts index 2b8d68f..530c6cd 100644 --- a/frontend/src/lib/utils/api.ts +++ b/frontend/src/lib/utils/api.ts @@ -21,33 +21,33 @@ import { AuthError } from '$lib/utils/errors'; * ``` */ export async function apiFetch( - endpoint: string, - { body, ...init_options }: RequestInit = {} + endpoint: string, + { body, ...init_options }: RequestInit = {} ): Promise { - const config: RequestInit = { - method: body ? 'POST' : 'GET', - ...init_options, - headers: { - 'Content-Type': 'application/json', - ...init_options?.headers - }, - // attach body if body is provided (for POST) - ...(body && { body }) - }; + const config: RequestInit = { + method: body ? 'POST' : 'GET', + ...init_options, + headers: { + 'Content-Type': 'application/json', + ...init_options?.headers + }, + // attach body if body is provided (for POST) + ...(body && { body }) + }; - const response = await fetch(`${PUBLIC_API_URL}${endpoint}`, config); + const response = await fetch(`${PUBLIC_API_URL}${endpoint}`, config); - if (!response.ok) { - const data = await response.json(); - const error = data.errors[0].detail ?? 'Oops! something went wrong.'; + if (!response.ok) { + const data = await response.json(); + const error = data.errors[0].detail ?? 'Oops! something went wrong.'; - switch (response.status) { - case 401: - throw new AuthError(error); - default: - throw new Error(error); - } - } + switch (response.status) { + case 401: + throw new AuthError(error); + default: + throw new Error(error); + } + } - return response.json() as Promise; + return response.json() as Promise; } diff --git a/frontend/src/lib/utils/errors.ts b/frontend/src/lib/utils/errors.ts index 6b7c792..b075bd5 100644 --- a/frontend/src/lib/utils/errors.ts +++ b/frontend/src/lib/utils/errors.ts @@ -1,15 +1,15 @@ export class AuthError extends Error { - public readonly code: number; + public readonly code: number; - constructor(message: string, code: number = 401) { - super(message); - this.name = 'AuthError'; - this.code = code; - // for proper prototype chain - Object.setPrototypeOf(this, AuthError.prototype); - } + constructor(message: string, code: number = 401) { + super(message); + this.name = 'AuthError'; + this.code = code; + // for proper prototype chain + Object.setPrototypeOf(this, AuthError.prototype); + } } export function isAuthError(error: unknown): error is AuthError { - return (error as Error).name === 'AuthError'; + return (error as Error).name === 'AuthError'; } diff --git a/frontend/src/routes/(actions)/auth/+page.server.ts b/frontend/src/routes/(actions)/auth/+page.server.ts index 117bda8..553c40a 100644 --- a/frontend/src/routes/(actions)/auth/+page.server.ts +++ b/frontend/src/routes/(actions)/auth/+page.server.ts @@ -5,38 +5,38 @@ import { isAuthError } from '$lib/utils/errors'; import client from '$lib/clients/client'; export const actions = { - login: async ({ request, cookies }) => { - const form_data = await request.formData(); + login: async ({ request, cookies }) => { + const form_data = await request.formData(); - try { - const { data } = await client.POST('/api/v1/users/auth/login/', { - body: { - email: form_data.get('email') as string, - password: form_data.get('password') as string - } - }); + try { + const { data } = await client.POST('/api/v1/users/auth/login/', { + body: { + email: form_data.get('email') as string, + password: form_data.get('password') as string + } + }); - if (data !== undefined) { - cookies.set('auth_token', data.token, { - httpOnly: true, - secure: !dev, - path: '/', - sameSite: 'lax' - }); - } + if (data !== undefined) { + cookies.set('auth_token', data.token, { + httpOnly: true, + secure: !dev, + path: '/', + sameSite: 'lax' + }); + } - return { token: data?.token }; - } catch (err) { - let message = 'Oops! something went wrong.'; - let code = 500; + return { token: data?.token }; + } catch (err) { + let message = 'Oops! something went wrong.'; + let code = 500; - if (isAuthError(err)) { - message = err.message; - code = err.code; - } else { - console.error(err); - } - return fail(code, { detail: message }); - } - } + if (isAuthError(err)) { + message = err.message; + code = err.code; + } else { + console.error(err); + } + return fail(code, { detail: message }); + } + } } satisfies Actions; diff --git a/frontend/src/routes/+layout.server.ts b/frontend/src/routes/+layout.server.ts index 97be693..85f05d6 100644 --- a/frontend/src/routes/+layout.server.ts +++ b/frontend/src/routes/+layout.server.ts @@ -1,7 +1,7 @@ import type { LayoutServerLoad } from './$types'; export const load: LayoutServerLoad = async ({ locals }) => { - return { - profile: locals.profile - }; + return { + profile: locals.profile + }; }; diff --git a/frontend/src/routes/+layout.svelte b/frontend/src/routes/+layout.svelte index 5e4360e..313f2f7 100644 --- a/frontend/src/routes/+layout.svelte +++ b/frontend/src/routes/+layout.svelte @@ -1,36 +1,36 @@
-
-
-
- -
- {@render children()} -
+
+
+
+ +
+ {@render children()} +
diff --git a/frontend/src/routes/+page.svelte b/frontend/src/routes/+page.svelte index 11f5929..b1230a3 100644 --- a/frontend/src/routes/+page.svelte +++ b/frontend/src/routes/+page.svelte @@ -1,24 +1,24 @@ - Quibble - Delve into real conversations. + Quibble - Delve into real conversations.
-
- -
- {#each posts as post} - - {/each} -
-
-
- -
+
+ +
+ {#each posts as post} + + {/each} +
+
+
+ +
diff --git a/frontend/src/routes/settings/profile/+page.server.ts b/frontend/src/routes/settings/profile/+page.server.ts index e62fc1e..4ef1137 100644 --- a/frontend/src/routes/settings/profile/+page.server.ts +++ b/frontend/src/routes/settings/profile/+page.server.ts @@ -5,44 +5,44 @@ import type { Actions } from './$types'; import { dev } from '$app/environment'; export const actions = { - create: async ({ request, cookies }) => { - const form_data = await request.formData(); + create: async ({ request, cookies }) => { + const form_data = await request.formData(); - try { - await apiFetch('v1/user/me/profiles/', { - headers: { - Authorization: `Bearer ${cookies.get('auth_token')}` - }, - body: JSON.stringify({ - username: form_data.get('username') - }) - }); + try { + await apiFetch('v1/user/me/profiles/', { + headers: { + Authorization: `Bearer ${cookies.get('auth_token')}` + }, + body: JSON.stringify({ + username: form_data.get('username') + }) + }); - return { success: true }; - } catch (err) { - let message = 'Oops! something went wrong.'; - let code = 500; + return { success: true }; + } catch (err) { + let message = 'Oops! something went wrong.'; + let code = 500; - if (isAuthError(err)) { - message = err.message; - code = err.code; - } else if (err instanceof Error) { - message = err.message; - code = 400; - } - return fail(code, { detail: message }); - } - }, - select: async ({ request, cookies }) => { - const form_data = await request.formData(); + if (isAuthError(err)) { + message = err.message; + code = err.code; + } else if (err instanceof Error) { + message = err.message; + code = 400; + } + return fail(code, { detail: message }); + } + }, + select: async ({ request, cookies }) => { + const form_data = await request.formData(); - cookies.set('auth_user_profile_id', form_data.get('profile_id') as string, { - httpOnly: true, - secure: !dev, - path: '/', - sameSite: 'lax' - }); + cookies.set('auth_user_profile_id', form_data.get('profile_id') as string, { + httpOnly: true, + secure: !dev, + path: '/', + sameSite: 'lax' + }); - return { success: true }; - } + return { success: true }; + } } satisfies Actions; diff --git a/frontend/svelte.config.js b/frontend/svelte.config.js index 1295460..ad84f99 100644 --- a/frontend/svelte.config.js +++ b/frontend/svelte.config.js @@ -3,16 +3,16 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; /** @type {import('@sveltejs/kit').Config} */ const config = { - // Consult https://svelte.dev/docs/kit/integrations - // for more information about preprocessors - preprocess: vitePreprocess(), + // Consult https://svelte.dev/docs/kit/integrations + // for more information about preprocessors + preprocess: vitePreprocess(), - kit: { - // adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list. - // If your environment is not supported, or you settled on a specific environment, switch out the adapter. - // See https://svelte.dev/docs/kit/adapters for more information about adapters. - adapter: adapter() - } + kit: { + // adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list. + // If your environment is not supported, or you settled on a specific environment, switch out the adapter. + // See https://svelte.dev/docs/kit/adapters for more information about adapters. + adapter: adapter() + } }; export default config; diff --git a/frontend/tailwind.config.ts b/frontend/tailwind.config.ts index 3e47c8a..1d99821 100644 --- a/frontend/tailwind.config.ts +++ b/frontend/tailwind.config.ts @@ -6,19 +6,19 @@ import tailwindScroll from 'tailwind-scrollbar'; import type { Config } from 'tailwindcss'; export default { - content: ['./src/**/*.{html,js,svelte,ts}'], + content: ['./src/**/*.{html,js,svelte,ts}'], - theme: { - extend: { - fontFamily: { - sans: 'DM Sans, sans-serif' - } - } - }, + theme: { + extend: { + fontFamily: { + sans: 'DM Sans, sans-serif' + } + } + }, - daisyui: { - themes: ['sunset'] - }, + daisyui: { + themes: ['sunset'] + }, - plugins: [typography, forms, aspectRatio, daisyui, tailwindScroll] + plugins: [typography, forms, aspectRatio, daisyui, tailwindScroll] } satisfies Config; diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 036b5a2..0bab2b2 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -1,20 +1,20 @@ { - "extends": "./.svelte-kit/tsconfig.json", - "compilerOptions": { - "allowJs": true, - "checkJs": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "resolveJsonModule": true, - "skipLibCheck": true, - "sourceMap": true, - "strict": true, - "moduleResolution": "bundler", - "noUncheckedIndexedAccess": true - } - // Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias - // except $lib which is handled by https://svelte.dev/docs/kit/configuration#files - // - // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes - // from the referenced tsconfig.json - TypeScript does not merge them in + "extends": "./.svelte-kit/tsconfig.json", + "compilerOptions": { + "allowJs": true, + "checkJs": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "resolveJsonModule": true, + "skipLibCheck": true, + "sourceMap": true, + "strict": true, + "moduleResolution": "bundler", + "noUncheckedIndexedAccess": true + } + // Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias + // except $lib which is handled by https://svelte.dev/docs/kit/configuration#files + // + // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes + // from the referenced tsconfig.json - TypeScript does not merge them in } diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 8213048..ddb11a9 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -2,8 +2,8 @@ import { defineConfig } from 'vitest/config'; import { sveltekit } from '@sveltejs/kit/vite'; export default defineConfig({ - plugins: [sveltekit()], - test: { - include: ['src/**/*.{test,spec}.{js,ts}'] - } + plugins: [sveltekit()], + test: { + include: ['src/**/*.{test,spec}.{js,ts}'] + } }); From cf7768a86eeb52e71697121097f0d7e04589ca15 Mon Sep 17 00:00:00 2001 From: moonlitgrace Date: Wed, 11 Dec 2024 11:49:39 +0530 Subject: [PATCH 2/2] chore: syncup max line length --- .editorconfig | 1 + frontend/.prettierrc | 2 +- frontend/src/lib/components/icons/chart_bars.svelte | 7 ++++++- .../src/lib/components/modals/auth/forms/login.svelte | 10 ++++++++-- .../components/modals/auth/forms/profile_create.svelte | 3 ++- .../src/lib/components/pages/home/posts_header.svelte | 10 ++++++++-- .../src/lib/components/pages/home/recent_posts.svelte | 7 +++++-- frontend/src/lib/components/sidebar.svelte | 4 +++- frontend/src/lib/stores/modals.svelte.ts | 4 +++- 9 files changed, 37 insertions(+), 11 deletions(-) diff --git a/.editorconfig b/.editorconfig index 335b206..d23736a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,6 +7,7 @@ end_of_line = lf indent_style = space insert_final_newline = true trim_trailing_whitespace = true +max_line_length = 92 [*.py] indent_size = 4 diff --git a/frontend/.prettierrc b/frontend/.prettierrc index 4cbd4de..34fff99 100644 --- a/frontend/.prettierrc +++ b/frontend/.prettierrc @@ -1,7 +1,7 @@ { "singleQuote": true, "trailingComma": "none", - "printWidth": 100, + "printWidth": 92, "tabWidth": 2, "plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"], "overrides": [ diff --git a/frontend/src/lib/components/icons/chart_bars.svelte b/frontend/src/lib/components/icons/chart_bars.svelte index 7b8b6d4..e71cadf 100644 --- a/frontend/src/lib/components/icons/chart_bars.svelte +++ b/frontend/src/lib/components/icons/chart_bars.svelte @@ -31,6 +31,11 @@ fill="none" xmlns="http://www.w3.org/2000/svg" > - + {/if} diff --git a/frontend/src/lib/components/modals/auth/forms/login.svelte b/frontend/src/lib/components/modals/auth/forms/login.svelte index d1d8ccf..9b62bb7 100644 --- a/frontend/src/lib/components/modals/auth/forms/login.svelte +++ b/frontend/src/lib/components/modals/auth/forms/login.svelte @@ -56,7 +56,12 @@ Continue with Google
OR
-
+ {#if errors?.detail}
- + {errors.detail}
{/if} diff --git a/frontend/src/lib/components/pages/home/posts_header.svelte b/frontend/src/lib/components/pages/home/posts_header.svelte index 8919318..93c3c1b 100644 --- a/frontend/src/lib/components/pages/home/posts_header.svelte +++ b/frontend/src/lib/components/pages/home/posts_header.svelte @@ -61,7 +61,10 @@ -