chore(web): regenerate orval output with expanded OpenAPI coverage (v1.0.8 B)
Some checks failed
Veza CI / Backend (Go) (push) Failing after 0s
Veza CI / Frontend (Web) (push) Failing after 0s
Veza CI / Rust (Stream Server) (push) Failing after 0s
Frontend CI / test (push) Failing after 0s
Security Scan / Secret Scanning (gitleaks) (push) Failing after 0s
Veza CI / Notify on failure (push) Failing after 0s
Some checks failed
Veza CI / Backend (Go) (push) Failing after 0s
Veza CI / Frontend (Web) (push) Failing after 0s
Veza CI / Rust (Stream Server) (push) Failing after 0s
Frontend CI / test (push) Failing after 0s
Security Scan / Secret Scanning (gitleaks) (push) Failing after 0s
Veza CI / Notify on failure (push) Failing after 0s
Post-annotation regen. Runs the orval generator against the updated
veza-backend-api/openapi.yaml which now covers the full B-2 scope
(track crud + social + analytics + search + hls + waveform,
playlist collaborators/share/favoris/import/search/recommendations,
user follow/block/search/suggestions).
Scale change in generated/:
- track/track.ts +3924 LOC → 122 operation hooks
- playlist.ts +1713 LOC → 68 operation hooks
- user/user.ts +1047 LOC → 50 operation hooks
- model/ schemas minor tweaks (User, Playlist, Track fields)
No hand-written frontend code touched in this commit; the hooks are
ready to be consumed feature-by-feature. B3-B8 (actual service
migrations) happen as follow-up commits so each migration stays
reviewable.
make openapi + npm run typecheck ✅.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
9e948d5102
commit
3ca9a2afec
148 changed files with 7813 additions and 4 deletions
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { DeletePlaylistsIdCollaboratorsUserId200Data } from './deletePlaylistsIdCollaboratorsUserId200Data';
|
||||
import type { InternalHandlersAPIResponse } from './internalHandlersAPIResponse';
|
||||
|
||||
export type DeletePlaylistsIdCollaboratorsUserId200 = InternalHandlersAPIResponse & {
|
||||
data?: DeletePlaylistsIdCollaboratorsUserId200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type DeletePlaylistsIdCollaboratorsUserId200Data = {
|
||||
message?: string;
|
||||
};
|
||||
13
apps/web/src/services/generated/model/deleteTracksId200.ts
Normal file
13
apps/web/src/services/generated/model/deleteTracksId200.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { DeleteTracksId200Data } from './deleteTracksId200Data';
|
||||
import type { VezaBackendApiInternalResponseAPIResponse } from './vezaBackendApiInternalResponseAPIResponse';
|
||||
|
||||
export type DeleteTracksId200 = VezaBackendApiInternalResponseAPIResponse & {
|
||||
data?: DeleteTracksId200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type DeleteTracksId200Data = {
|
||||
message?: string;
|
||||
};
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { DeleteTracksIdLike200Data } from './deleteTracksIdLike200Data';
|
||||
import type { VezaBackendApiInternalHandlersAPIResponse } from './vezaBackendApiInternalHandlersAPIResponse';
|
||||
|
||||
export type DeleteTracksIdLike200 = VezaBackendApiInternalHandlersAPIResponse & {
|
||||
data?: DeleteTracksIdLike200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type DeleteTracksIdLike200Data = {
|
||||
message?: string;
|
||||
};
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { DeleteTracksIdRepost200Data } from './deleteTracksIdRepost200Data';
|
||||
import type { VezaBackendApiInternalHandlersAPIResponse } from './vezaBackendApiInternalHandlersAPIResponse';
|
||||
|
||||
export type DeleteTracksIdRepost200 = VezaBackendApiInternalHandlersAPIResponse & {
|
||||
data?: DeleteTracksIdRepost200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type DeleteTracksIdRepost200Data = {
|
||||
message?: string;
|
||||
};
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { DeleteTracksShareId200Data } from './deleteTracksShareId200Data';
|
||||
import type { VezaBackendApiInternalHandlersAPIResponse } from './vezaBackendApiInternalHandlersAPIResponse';
|
||||
|
||||
export type DeleteTracksShareId200 = VezaBackendApiInternalHandlersAPIResponse & {
|
||||
data?: DeleteTracksShareId200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type DeleteTracksShareId200Data = {
|
||||
message?: string;
|
||||
};
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { DeleteUsersIdBlock200Data } from './deleteUsersIdBlock200Data';
|
||||
import type { InternalHandlersAPIResponse } from './internalHandlersAPIResponse';
|
||||
|
||||
export type DeleteUsersIdBlock200 = InternalHandlersAPIResponse & {
|
||||
data?: DeleteUsersIdBlock200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type DeleteUsersIdBlock200Data = {
|
||||
message?: string;
|
||||
};
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { DeleteUsersIdFollow200Data } from './deleteUsersIdFollow200Data';
|
||||
import type { InternalHandlersAPIResponse } from './internalHandlersAPIResponse';
|
||||
|
||||
export type DeleteUsersIdFollow200 = InternalHandlersAPIResponse & {
|
||||
data?: DeleteUsersIdFollow200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type DeleteUsersIdFollow200Data = {
|
||||
message?: string;
|
||||
};
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetPlaylistsFavoris200Data } from './getPlaylistsFavoris200Data';
|
||||
import type { InternalHandlersAPIResponse } from './internalHandlersAPIResponse';
|
||||
|
||||
export type GetPlaylistsFavoris200 = InternalHandlersAPIResponse & {
|
||||
data?: GetPlaylistsFavoris200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { VezaBackendApiInternalModelsPlaylist } from './vezaBackendApiInternalModelsPlaylist';
|
||||
|
||||
export type GetPlaylistsFavoris200Data = {
|
||||
playlist?: VezaBackendApiInternalModelsPlaylist;
|
||||
};
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetPlaylistsIdAnalytics200Data } from './getPlaylistsIdAnalytics200Data';
|
||||
import type { InternalHandlersAPIResponse } from './internalHandlersAPIResponse';
|
||||
|
||||
export type GetPlaylistsIdAnalytics200 = InternalHandlersAPIResponse & {
|
||||
data?: GetPlaylistsIdAnalytics200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetPlaylistsIdAnalytics200DataStats } from './getPlaylistsIdAnalytics200DataStats';
|
||||
|
||||
export type GetPlaylistsIdAnalytics200Data = {
|
||||
stats?: GetPlaylistsIdAnalytics200DataStats;
|
||||
};
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetPlaylistsIdAnalytics200DataStats = { [key: string]: unknown };
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetPlaylistsIdCollaborators200Data } from './getPlaylistsIdCollaborators200Data';
|
||||
import type { InternalHandlersAPIResponse } from './internalHandlersAPIResponse';
|
||||
|
||||
export type GetPlaylistsIdCollaborators200 = InternalHandlersAPIResponse & {
|
||||
data?: GetPlaylistsIdCollaborators200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetPlaylistsIdCollaborators200DataCollaboratorsItem } from './getPlaylistsIdCollaborators200DataCollaboratorsItem';
|
||||
|
||||
export type GetPlaylistsIdCollaborators200Data = {
|
||||
collaborators?: GetPlaylistsIdCollaborators200DataCollaboratorsItem[];
|
||||
};
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetPlaylistsIdCollaborators200DataCollaboratorsItem = { [key: string]: unknown };
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetPlaylistsRecommendations200Data } from './getPlaylistsRecommendations200Data';
|
||||
import type { InternalHandlersAPIResponse } from './internalHandlersAPIResponse';
|
||||
|
||||
export type GetPlaylistsRecommendations200 = InternalHandlersAPIResponse & {
|
||||
data?: GetPlaylistsRecommendations200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { VezaBackendApiInternalModelsPlaylist } from './vezaBackendApiInternalModelsPlaylist';
|
||||
|
||||
export type GetPlaylistsRecommendations200Data = {
|
||||
playlists?: VezaBackendApiInternalModelsPlaylist[];
|
||||
};
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetPlaylistsRecommendationsParams = {
|
||||
/**
|
||||
* Max items (max 100)
|
||||
*/
|
||||
limit?: number;
|
||||
};
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetPlaylistsSearch200Data } from './getPlaylistsSearch200Data';
|
||||
import type { InternalHandlersAPIResponse } from './internalHandlersAPIResponse';
|
||||
|
||||
export type GetPlaylistsSearch200 = InternalHandlersAPIResponse & {
|
||||
data?: GetPlaylistsSearch200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetPlaylistsSearch200DataPagination } from './getPlaylistsSearch200DataPagination';
|
||||
import type { VezaBackendApiInternalModelsPlaylist } from './vezaBackendApiInternalModelsPlaylist';
|
||||
|
||||
export type GetPlaylistsSearch200Data = {
|
||||
pagination?: GetPlaylistsSearch200DataPagination;
|
||||
playlists?: VezaBackendApiInternalModelsPlaylist[];
|
||||
};
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetPlaylistsSearch200DataPagination = { [key: string]: unknown };
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetPlaylistsSearchParams = {
|
||||
/**
|
||||
* Full-text query
|
||||
*/
|
||||
q?: string;
|
||||
/**
|
||||
* Page number
|
||||
*/
|
||||
page?: number;
|
||||
/**
|
||||
* Items per page (max 100)
|
||||
*/
|
||||
limit?: number;
|
||||
};
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetPlaylistsSharedToken200Data } from './getPlaylistsSharedToken200Data';
|
||||
import type { InternalHandlersAPIResponse } from './internalHandlersAPIResponse';
|
||||
|
||||
export type GetPlaylistsSharedToken200 = InternalHandlersAPIResponse & {
|
||||
data?: GetPlaylistsSharedToken200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { VezaBackendApiInternalModelsPlaylist } from './vezaBackendApiInternalModelsPlaylist';
|
||||
|
||||
export type GetPlaylistsSharedToken200Data = {
|
||||
playlist?: VezaBackendApiInternalModelsPlaylist;
|
||||
};
|
||||
13
apps/web/src/services/generated/model/getTracks200.ts
Normal file
13
apps/web/src/services/generated/model/getTracks200.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetTracks200Data } from './getTracks200Data';
|
||||
import type { VezaBackendApiInternalResponseAPIResponse } from './vezaBackendApiInternalResponseAPIResponse';
|
||||
|
||||
export type GetTracks200 = VezaBackendApiInternalResponseAPIResponse & {
|
||||
data?: GetTracks200Data;
|
||||
};
|
||||
14
apps/web/src/services/generated/model/getTracks200Data.ts
Normal file
14
apps/web/src/services/generated/model/getTracks200Data.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetTracks200DataPagination } from './getTracks200DataPagination';
|
||||
import type { VezaBackendApiInternalModelsTrack } from './vezaBackendApiInternalModelsTrack';
|
||||
|
||||
export type GetTracks200Data = {
|
||||
pagination?: GetTracks200DataPagination;
|
||||
tracks?: VezaBackendApiInternalModelsTrack[];
|
||||
};
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetTracks200DataPagination = { [key: string]: unknown };
|
||||
13
apps/web/src/services/generated/model/getTracksId200.ts
Normal file
13
apps/web/src/services/generated/model/getTracksId200.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetTracksId200Data } from './getTracksId200Data';
|
||||
import type { VezaBackendApiInternalResponseAPIResponse } from './vezaBackendApiInternalResponseAPIResponse';
|
||||
|
||||
export type GetTracksId200 = VezaBackendApiInternalResponseAPIResponse & {
|
||||
data?: GetTracksId200Data;
|
||||
};
|
||||
12
apps/web/src/services/generated/model/getTracksId200Data.ts
Normal file
12
apps/web/src/services/generated/model/getTracksId200Data.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { VezaBackendApiInternalModelsTrack } from './vezaBackendApiInternalModelsTrack';
|
||||
|
||||
export type GetTracksId200Data = {
|
||||
track?: VezaBackendApiInternalModelsTrack;
|
||||
};
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetTracksIdDownloadParams = {
|
||||
/**
|
||||
* Grants access without authentication for a limited time
|
||||
*/
|
||||
share_token?: string;
|
||||
};
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetTracksIdHistory200Data } from './getTracksIdHistory200Data';
|
||||
import type { VezaBackendApiInternalHandlersAPIResponse } from './vezaBackendApiInternalHandlersAPIResponse';
|
||||
|
||||
export type GetTracksIdHistory200 = VezaBackendApiInternalHandlersAPIResponse & {
|
||||
data?: GetTracksIdHistory200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetTracksIdHistory200DataHistoryItem } from './getTracksIdHistory200DataHistoryItem';
|
||||
|
||||
export type GetTracksIdHistory200Data = {
|
||||
history?: GetTracksIdHistory200DataHistoryItem[];
|
||||
limit?: number;
|
||||
offset?: number;
|
||||
total?: number;
|
||||
};
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetTracksIdHistory200DataHistoryItem = { [key: string]: unknown };
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetTracksIdHistoryParams = {
|
||||
/**
|
||||
* Items per page
|
||||
*/
|
||||
limit?: number;
|
||||
/**
|
||||
* Offset
|
||||
*/
|
||||
offset?: number;
|
||||
};
|
||||
13
apps/web/src/services/generated/model/getTracksIdLikes200.ts
Normal file
13
apps/web/src/services/generated/model/getTracksIdLikes200.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetTracksIdLikes200Data } from './getTracksIdLikes200Data';
|
||||
import type { VezaBackendApiInternalHandlersAPIResponse } from './vezaBackendApiInternalHandlersAPIResponse';
|
||||
|
||||
export type GetTracksIdLikes200 = VezaBackendApiInternalHandlersAPIResponse & {
|
||||
data?: GetTracksIdLikes200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetTracksIdLikes200Data = {
|
||||
count?: number;
|
||||
is_liked?: boolean;
|
||||
};
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetTracksIdLyrics200Data } from './getTracksIdLyrics200Data';
|
||||
import type { VezaBackendApiInternalResponseAPIResponse } from './vezaBackendApiInternalResponseAPIResponse';
|
||||
|
||||
export type GetTracksIdLyrics200 = VezaBackendApiInternalResponseAPIResponse & {
|
||||
data?: GetTracksIdLyrics200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetTracksIdLyrics200DataLyrics } from './getTracksIdLyrics200DataLyrics';
|
||||
|
||||
export type GetTracksIdLyrics200Data = {
|
||||
lyrics?: GetTracksIdLyrics200DataLyrics;
|
||||
};
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetTracksIdLyrics200DataLyrics = { [key: string]: unknown };
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetTracksIdRepost200Data } from './getTracksIdRepost200Data';
|
||||
import type { VezaBackendApiInternalHandlersAPIResponse } from './vezaBackendApiInternalHandlersAPIResponse';
|
||||
|
||||
export type GetTracksIdRepost200 = VezaBackendApiInternalHandlersAPIResponse & {
|
||||
data?: GetTracksIdRepost200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetTracksIdRepost200Data = {
|
||||
is_reposted?: boolean;
|
||||
};
|
||||
13
apps/web/src/services/generated/model/getTracksIdStats200.ts
Normal file
13
apps/web/src/services/generated/model/getTracksIdStats200.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetTracksIdStats200Data } from './getTracksIdStats200Data';
|
||||
import type { VezaBackendApiInternalHandlersAPIResponse } from './vezaBackendApiInternalHandlersAPIResponse';
|
||||
|
||||
export type GetTracksIdStats200 = VezaBackendApiInternalHandlersAPIResponse & {
|
||||
data?: GetTracksIdStats200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetTracksIdStats200DataStats } from './getTracksIdStats200DataStats';
|
||||
|
||||
export type GetTracksIdStats200Data = {
|
||||
stats?: GetTracksIdStats200DataStats;
|
||||
};
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetTracksIdStats200DataStats = { [key: string]: unknown };
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetTracksIdStreamParams = {
|
||||
/**
|
||||
* Grants access without authentication
|
||||
*/
|
||||
share_token?: string;
|
||||
};
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetTracksIdWaveform200 = { [key: string]: unknown };
|
||||
38
apps/web/src/services/generated/model/getTracksParams.ts
Normal file
38
apps/web/src/services/generated/model/getTracksParams.ts
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetTracksParams = {
|
||||
/**
|
||||
* Opaque pagination cursor (overrides page)
|
||||
*/
|
||||
cursor?: string;
|
||||
/**
|
||||
* Page number, 1-based (ignored if cursor set)
|
||||
*/
|
||||
page?: number;
|
||||
/**
|
||||
* Items per page (max 100)
|
||||
*/
|
||||
limit?: number;
|
||||
/**
|
||||
* Filter by creator UUID
|
||||
*/
|
||||
user_id?: string;
|
||||
/**
|
||||
* Filter by genre
|
||||
*/
|
||||
genre?: string;
|
||||
/**
|
||||
* Filter by audio format (mp3, flac, wav, ogg, m4a, aac)
|
||||
*/
|
||||
format?: string;
|
||||
/**
|
||||
* Sort column (created_at, play_count, title)
|
||||
*/
|
||||
sort_by?: string;
|
||||
};
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetTracksRecommendations200Data } from './getTracksRecommendations200Data';
|
||||
import type { VezaBackendApiInternalResponseAPIResponse } from './vezaBackendApiInternalResponseAPIResponse';
|
||||
|
||||
export type GetTracksRecommendations200 = VezaBackendApiInternalResponseAPIResponse & {
|
||||
data?: GetTracksRecommendations200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { VezaBackendApiInternalModelsTrack } from './vezaBackendApiInternalModelsTrack';
|
||||
|
||||
export type GetTracksRecommendations200Data = {
|
||||
tracks?: VezaBackendApiInternalModelsTrack[];
|
||||
};
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetTracksRecommendationsParams = {
|
||||
/**
|
||||
* Max items (max 100)
|
||||
*/
|
||||
limit?: number;
|
||||
/**
|
||||
* Start from this track's similarity neighbours
|
||||
*/
|
||||
seed_track_id?: string;
|
||||
};
|
||||
13
apps/web/src/services/generated/model/getTracksSearch200.ts
Normal file
13
apps/web/src/services/generated/model/getTracksSearch200.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetTracksSearch200Data } from './getTracksSearch200Data';
|
||||
import type { VezaBackendApiInternalResponseAPIResponse } from './vezaBackendApiInternalResponseAPIResponse';
|
||||
|
||||
export type GetTracksSearch200 = VezaBackendApiInternalResponseAPIResponse & {
|
||||
data?: GetTracksSearch200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetTracksSearch200DataPagination } from './getTracksSearch200DataPagination';
|
||||
import type { VezaBackendApiInternalModelsTrack } from './vezaBackendApiInternalModelsTrack';
|
||||
|
||||
export type GetTracksSearch200Data = {
|
||||
pagination?: GetTracksSearch200DataPagination;
|
||||
tracks?: VezaBackendApiInternalModelsTrack[];
|
||||
};
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetTracksSearch200DataPagination = { [key: string]: unknown };
|
||||
|
|
@ -0,0 +1,74 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetTracksSearchParams = {
|
||||
/**
|
||||
* Full-text query (title/artist/album)
|
||||
*/
|
||||
q?: string;
|
||||
/**
|
||||
* Comma-separated tag list
|
||||
*/
|
||||
tags?: string;
|
||||
/**
|
||||
* Tag combinator (OR / AND)
|
||||
*/
|
||||
tag_mode?: string;
|
||||
/**
|
||||
* Minimum duration (seconds)
|
||||
*/
|
||||
min_duration?: number;
|
||||
/**
|
||||
* Maximum duration (seconds)
|
||||
*/
|
||||
max_duration?: number;
|
||||
/**
|
||||
* Minimum BPM
|
||||
*/
|
||||
min_bpm?: number;
|
||||
/**
|
||||
* Maximum BPM
|
||||
*/
|
||||
max_bpm?: number;
|
||||
/**
|
||||
* Genre filter
|
||||
*/
|
||||
genre?: string;
|
||||
/**
|
||||
* Audio format filter
|
||||
*/
|
||||
format?: string;
|
||||
/**
|
||||
* Musical key filter
|
||||
*/
|
||||
musical_key?: string;
|
||||
/**
|
||||
* Created-after (RFC3339)
|
||||
*/
|
||||
min_date?: string;
|
||||
/**
|
||||
* Created-before (RFC3339)
|
||||
*/
|
||||
max_date?: string;
|
||||
/**
|
||||
* Page (1-based)
|
||||
*/
|
||||
page?: number;
|
||||
/**
|
||||
* Items per page (max 100)
|
||||
*/
|
||||
limit?: number;
|
||||
/**
|
||||
* Sort column
|
||||
*/
|
||||
sort_by?: string;
|
||||
/**
|
||||
* asc / desc
|
||||
*/
|
||||
sort_order?: string;
|
||||
};
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetTracksSharedToken200Data } from './getTracksSharedToken200Data';
|
||||
import type { VezaBackendApiInternalHandlersAPIResponse } from './vezaBackendApiInternalHandlersAPIResponse';
|
||||
|
||||
export type GetTracksSharedToken200 = VezaBackendApiInternalHandlersAPIResponse & {
|
||||
data?: GetTracksSharedToken200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetTracksSharedToken200DataShare } from './getTracksSharedToken200DataShare';
|
||||
import type { VezaBackendApiInternalModelsTrack } from './vezaBackendApiInternalModelsTrack';
|
||||
|
||||
export type GetTracksSharedToken200Data = {
|
||||
share?: GetTracksSharedToken200DataShare;
|
||||
track?: VezaBackendApiInternalModelsTrack;
|
||||
};
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetTracksSharedToken200DataShare = { [key: string]: unknown };
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetTracksSuggestedTags200Data } from './getTracksSuggestedTags200Data';
|
||||
import type { VezaBackendApiInternalResponseAPIResponse } from './vezaBackendApiInternalResponseAPIResponse';
|
||||
|
||||
export type GetTracksSuggestedTags200 = VezaBackendApiInternalResponseAPIResponse & {
|
||||
data?: GetTracksSuggestedTags200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetTracksSuggestedTags200Data = {
|
||||
tags?: string[];
|
||||
};
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetTracksSuggestedTagsParams = {
|
||||
/**
|
||||
* Genre slug (pop, rock, electronic, hip-hop, jazz, classical, ambient, default)
|
||||
*/
|
||||
genre?: string;
|
||||
};
|
||||
13
apps/web/src/services/generated/model/getUsersIdLikes200.ts
Normal file
13
apps/web/src/services/generated/model/getUsersIdLikes200.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetUsersIdLikes200Data } from './getUsersIdLikes200Data';
|
||||
import type { VezaBackendApiInternalHandlersAPIResponse } from './vezaBackendApiInternalHandlersAPIResponse';
|
||||
|
||||
export type GetUsersIdLikes200 = VezaBackendApiInternalHandlersAPIResponse & {
|
||||
data?: GetUsersIdLikes200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { VezaBackendApiInternalModelsTrack } from './vezaBackendApiInternalModelsTrack';
|
||||
|
||||
export type GetUsersIdLikes200Data = {
|
||||
limit?: number;
|
||||
offset?: number;
|
||||
total?: number;
|
||||
tracks?: VezaBackendApiInternalModelsTrack[];
|
||||
};
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetUsersIdLikesParams = {
|
||||
/**
|
||||
* Items per page (max 100)
|
||||
*/
|
||||
limit?: number;
|
||||
/**
|
||||
* Offset for pagination
|
||||
*/
|
||||
offset?: number;
|
||||
};
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetUsersIdReposts200Data } from './getUsersIdReposts200Data';
|
||||
import type { VezaBackendApiInternalHandlersAPIResponse } from './vezaBackendApiInternalHandlersAPIResponse';
|
||||
|
||||
export type GetUsersIdReposts200 = VezaBackendApiInternalHandlersAPIResponse & {
|
||||
data?: GetUsersIdReposts200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { VezaBackendApiInternalModelsTrack } from './vezaBackendApiInternalModelsTrack';
|
||||
|
||||
export type GetUsersIdReposts200Data = {
|
||||
limit?: number;
|
||||
offset?: number;
|
||||
total?: number;
|
||||
tracks?: VezaBackendApiInternalModelsTrack[];
|
||||
};
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetUsersIdRepostsParams = {
|
||||
/**
|
||||
* Items per page (max 100)
|
||||
*/
|
||||
limit?: number;
|
||||
/**
|
||||
* Offset for pagination
|
||||
*/
|
||||
offset?: number;
|
||||
};
|
||||
13
apps/web/src/services/generated/model/getUsersSearch200.ts
Normal file
13
apps/web/src/services/generated/model/getUsersSearch200.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetUsersSearch200Data } from './getUsersSearch200Data';
|
||||
import type { InternalHandlersAPIResponse } from './internalHandlersAPIResponse';
|
||||
|
||||
export type GetUsersSearch200 = InternalHandlersAPIResponse & {
|
||||
data?: GetUsersSearch200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetUsersSearch200DataPagination } from './getUsersSearch200DataPagination';
|
||||
import type { VezaBackendApiInternalModelsUser } from './vezaBackendApiInternalModelsUser';
|
||||
|
||||
export type GetUsersSearch200Data = {
|
||||
pagination?: GetUsersSearch200DataPagination;
|
||||
users?: VezaBackendApiInternalModelsUser[];
|
||||
};
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetUsersSearch200DataPagination = { [key: string]: unknown };
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetUsersSearchParams = {
|
||||
/**
|
||||
* Full-text query
|
||||
*/
|
||||
q?: string;
|
||||
/**
|
||||
* Page
|
||||
*/
|
||||
page?: number;
|
||||
/**
|
||||
* Items per page (max 100)
|
||||
*/
|
||||
limit?: number;
|
||||
};
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { GetUsersSuggestions200Data } from './getUsersSuggestions200Data';
|
||||
import type { InternalHandlersAPIResponse } from './internalHandlersAPIResponse';
|
||||
|
||||
export type GetUsersSuggestions200 = InternalHandlersAPIResponse & {
|
||||
data?: GetUsersSuggestions200Data;
|
||||
};
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { VezaBackendApiInternalModelsUser } from './vezaBackendApiInternalModelsUser';
|
||||
|
||||
export type GetUsersSuggestions200Data = {
|
||||
users?: VezaBackendApiInternalModelsUser[];
|
||||
};
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type GetUsersSuggestionsParams = {
|
||||
/**
|
||||
* Max items (max 50)
|
||||
*/
|
||||
limit?: number;
|
||||
};
|
||||
|
|
@ -8,10 +8,24 @@
|
|||
|
||||
export * from './deletePlaylistsId200';
|
||||
export * from './deletePlaylistsId200Data';
|
||||
export * from './deletePlaylistsIdCollaboratorsUserId200';
|
||||
export * from './deletePlaylistsIdCollaboratorsUserId200Data';
|
||||
export * from './deletePlaylistsIdTracksTrackId200';
|
||||
export * from './deletePlaylistsIdTracksTrackId200Data';
|
||||
export * from './deleteTracksId200';
|
||||
export * from './deleteTracksId200Data';
|
||||
export * from './deleteTracksIdCommentsCommentId200';
|
||||
export * from './deleteTracksIdCommentsCommentId200Data';
|
||||
export * from './deleteTracksIdLike200';
|
||||
export * from './deleteTracksIdLike200Data';
|
||||
export * from './deleteTracksIdRepost200';
|
||||
export * from './deleteTracksIdRepost200Data';
|
||||
export * from './deleteTracksShareId200';
|
||||
export * from './deleteTracksShareId200Data';
|
||||
export * from './deleteUsersIdBlock200';
|
||||
export * from './deleteUsersIdBlock200Data';
|
||||
export * from './deleteUsersIdFollow200';
|
||||
export * from './deleteUsersIdFollow200Data';
|
||||
export * from './deleteUsersMe200';
|
||||
export * from './deleteUsersMe400';
|
||||
export * from './deleteUsersMe401';
|
||||
|
|
@ -49,20 +63,73 @@ export * from './getCommentsIdRepliesParams';
|
|||
export * from './getPlaylists200';
|
||||
export * from './getPlaylists200Data';
|
||||
export * from './getPlaylists200DataPagination';
|
||||
export * from './getPlaylistsFavoris200';
|
||||
export * from './getPlaylistsFavoris200Data';
|
||||
export * from './getPlaylistsId200';
|
||||
export * from './getPlaylistsId200Data';
|
||||
export * from './getPlaylistsIdAnalytics200';
|
||||
export * from './getPlaylistsIdAnalytics200Data';
|
||||
export * from './getPlaylistsIdAnalytics200DataStats';
|
||||
export * from './getPlaylistsIdCollaborators200';
|
||||
export * from './getPlaylistsIdCollaborators200Data';
|
||||
export * from './getPlaylistsIdCollaborators200DataCollaboratorsItem';
|
||||
export * from './getPlaylistsParams';
|
||||
export * from './getPlaylistsRecommendations200';
|
||||
export * from './getPlaylistsRecommendations200Data';
|
||||
export * from './getPlaylistsRecommendationsParams';
|
||||
export * from './getPlaylistsSearch200';
|
||||
export * from './getPlaylistsSearch200Data';
|
||||
export * from './getPlaylistsSearch200DataPagination';
|
||||
export * from './getPlaylistsSearchParams';
|
||||
export * from './getPlaylistsSharedToken200';
|
||||
export * from './getPlaylistsSharedToken200Data';
|
||||
export * from './getTracks200';
|
||||
export * from './getTracks200Data';
|
||||
export * from './getTracks200DataPagination';
|
||||
export * from './getTracksId200';
|
||||
export * from './getTracksId200Data';
|
||||
export * from './getTracksIdComments200';
|
||||
export * from './getTracksIdComments200Data';
|
||||
export * from './getTracksIdComments200DataPagination';
|
||||
export * from './getTracksIdCommentsParams';
|
||||
export * from './getTracksIdDownloadParams';
|
||||
export * from './getTracksIdHistory200';
|
||||
export * from './getTracksIdHistory200Data';
|
||||
export * from './getTracksIdHistory200DataHistoryItem';
|
||||
export * from './getTracksIdHistoryParams';
|
||||
export * from './getTracksIdLikes200';
|
||||
export * from './getTracksIdLikes200Data';
|
||||
export * from './getTracksIdLyrics200';
|
||||
export * from './getTracksIdLyrics200Data';
|
||||
export * from './getTracksIdLyrics200DataLyrics';
|
||||
export * from './getTracksIdRepost200';
|
||||
export * from './getTracksIdRepost200Data';
|
||||
export * from './getTracksIdStats200';
|
||||
export * from './getTracksIdStats200Data';
|
||||
export * from './getTracksIdStats200DataStats';
|
||||
export * from './getTracksIdStatus200';
|
||||
export * from './getTracksIdStatus200Data';
|
||||
export * from './getTracksIdStreamParams';
|
||||
export * from './getTracksIdWaveform200';
|
||||
export * from './getTracksParams';
|
||||
export * from './getTracksQuotaId200';
|
||||
export * from './getTracksQuotaId200Data';
|
||||
export * from './getTracksQuotaId200DataQuota';
|
||||
export * from './getTracksRecommendations200';
|
||||
export * from './getTracksRecommendations200Data';
|
||||
export * from './getTracksRecommendationsParams';
|
||||
export * from './getTracksResumeUploadId200';
|
||||
export * from './getTracksResumeUploadId200Data';
|
||||
export * from './getTracksSearch200';
|
||||
export * from './getTracksSearch200Data';
|
||||
export * from './getTracksSearch200DataPagination';
|
||||
export * from './getTracksSearchParams';
|
||||
export * from './getTracksSharedToken200';
|
||||
export * from './getTracksSharedToken200Data';
|
||||
export * from './getTracksSharedToken200DataShare';
|
||||
export * from './getTracksSuggestedTags200';
|
||||
export * from './getTracksSuggestedTags200Data';
|
||||
export * from './getTracksSuggestedTagsParams';
|
||||
export * from './getUsers200';
|
||||
export * from './getUsers200Data';
|
||||
export * from './getUsers200DataPagination';
|
||||
|
|
@ -74,14 +141,39 @@ export * from './getUsersId200Data';
|
|||
export * from './getUsersId200DataProfile';
|
||||
export * from './getUsersIdCompletion200';
|
||||
export * from './getUsersIdCompletion200Data';
|
||||
export * from './getUsersIdLikes200';
|
||||
export * from './getUsersIdLikes200Data';
|
||||
export * from './getUsersIdLikesParams';
|
||||
export * from './getUsersIdReposts200';
|
||||
export * from './getUsersIdReposts200Data';
|
||||
export * from './getUsersIdRepostsParams';
|
||||
export * from './getUsersParams';
|
||||
export * from './getUsersSearch200';
|
||||
export * from './getUsersSearch200Data';
|
||||
export * from './getUsersSearch200DataPagination';
|
||||
export * from './getUsersSearchParams';
|
||||
export * from './getUsersSuggestions200';
|
||||
export * from './getUsersSuggestions200Data';
|
||||
export * from './getUsersSuggestionsParams';
|
||||
export * from './getWebhooks200';
|
||||
export * from './getWebhooks200Data';
|
||||
export * from './getWebhooksStats200';
|
||||
export * from './getWebhooksStats200Data';
|
||||
export * from './getWebhooksStats200DataStats';
|
||||
export * from './internalCoreTrackBatchDeleteRequest';
|
||||
export * from './internalCoreTrackBatchUpdateRequest';
|
||||
export * from './internalCoreTrackBatchUpdateRequestUpdates';
|
||||
export * from './internalCoreTrackCompleteChunkedUploadRequest';
|
||||
export * from './internalCoreTrackCreateShareRequest';
|
||||
export * from './internalCoreTrackCreateShareRequestPermissions';
|
||||
export * from './internalCoreTrackInitiateChunkedUploadRequest';
|
||||
export * from './internalCoreTrackRecordPlayRequest';
|
||||
export * from './internalCoreTrackStreamCallbackRequest';
|
||||
export * from './internalCoreTrackStreamCallbackRequestStatus';
|
||||
export * from './internalCoreTrackUpdateLyricsRequest';
|
||||
export * from './internalCoreTrackUpdateTrackRequest';
|
||||
export * from './internalHandlersAddCollaboratorRequest';
|
||||
export * from './internalHandlersAddCollaboratorRequestPermission';
|
||||
export * from './internalHandlersAPIResponse';
|
||||
export * from './internalHandlersCreateCommentRequest';
|
||||
export * from './internalHandlersCreateOrderRequest';
|
||||
|
|
@ -99,6 +191,9 @@ export * from './internalHandlersDeleteAccountRequest';
|
|||
export * from './internalHandlersDisableTwoFactorRequest';
|
||||
export * from './internalHandlersFrontendLogRequest';
|
||||
export * from './internalHandlersFrontendLogRequestContext';
|
||||
export * from './internalHandlersImportPlaylistRequest';
|
||||
export * from './internalHandlersImportPlaylistRequestPlaylist';
|
||||
export * from './internalHandlersImportPlaylistRequestTracksItem';
|
||||
export * from './internalHandlersLibraryPreview';
|
||||
export * from './internalHandlersRecentActivity';
|
||||
export * from './internalHandlersRecentActivityMetadata';
|
||||
|
|
@ -106,6 +201,8 @@ export * from './internalHandlersReorderTracksRequest';
|
|||
export * from './internalHandlersSetupTwoFactorResponse';
|
||||
export * from './internalHandlersStreamTokenResponse';
|
||||
export * from './internalHandlersTrackPreview';
|
||||
export * from './internalHandlersUpdateCollaboratorPermissionRequest';
|
||||
export * from './internalHandlersUpdateCollaboratorPermissionRequestPermission';
|
||||
export * from './internalHandlersUpdateCommentRequest';
|
||||
export * from './internalHandlersUpdatePlaylistRequest';
|
||||
export * from './internalHandlersUpdateProductRequest';
|
||||
|
|
@ -128,13 +225,30 @@ export * from './postAuth2faVerify200';
|
|||
export * from './postAuth2faVerify200Data';
|
||||
export * from './postAuthLogoutBody';
|
||||
export * from './postAuthVerifyEmailParams';
|
||||
export * from './postInternalTracksIdStreamReady200';
|
||||
export * from './postPlaylists201';
|
||||
export * from './postPlaylists201Data';
|
||||
export * from './postPlaylistsIdCollaborators200';
|
||||
export * from './postPlaylistsIdCollaborators200Data';
|
||||
export * from './postPlaylistsIdCollaborators200DataCollaborator';
|
||||
export * from './postPlaylistsIdDuplicate201';
|
||||
export * from './postPlaylistsIdDuplicate201Data';
|
||||
export * from './postPlaylistsIdShare200';
|
||||
export * from './postPlaylistsIdShare200Data';
|
||||
export * from './postPlaylistsIdShare200DataShare';
|
||||
export * from './postPlaylistsIdTracks200';
|
||||
export * from './postPlaylistsIdTracks200Data';
|
||||
export * from './postPlaylistsIdTracksBody';
|
||||
export * from './postPlaylistsImport201';
|
||||
export * from './postPlaylistsImport201Data';
|
||||
export * from './postTracks201';
|
||||
export * from './postTracks201Data';
|
||||
export * from './postTracksBatchDelete200';
|
||||
export * from './postTracksBatchDelete200Data';
|
||||
export * from './postTracksBatchDelete200DataFailedItem';
|
||||
export * from './postTracksBatchUpdate200';
|
||||
export * from './postTracksBatchUpdate200Data';
|
||||
export * from './postTracksBatchUpdate200DataFailedItem';
|
||||
export * from './postTracksBody';
|
||||
export * from './postTracksChunk200';
|
||||
export * from './postTracksChunk200Data';
|
||||
|
|
@ -144,8 +258,23 @@ export * from './postTracksComplete201Data';
|
|||
export * from './postTracksIdComments201';
|
||||
export * from './postTracksIdComments201Data';
|
||||
export * from './postTracksIdComments201DataComment';
|
||||
export * from './postTracksIdLike200';
|
||||
export * from './postTracksIdLike200Data';
|
||||
export * from './postTracksIdPlay200';
|
||||
export * from './postTracksIdPlay200Data';
|
||||
export * from './postTracksIdRepost200';
|
||||
export * from './postTracksIdRepost200Data';
|
||||
export * from './postTracksIdShare200';
|
||||
export * from './postTracksIdShare200Data';
|
||||
export * from './postTracksIdShare200DataShare';
|
||||
export * from './postTracksIdVersionsVersionIdRestore200';
|
||||
export * from './postTracksIdVersionsVersionIdRestore200Data';
|
||||
export * from './postTracksInitiate200';
|
||||
export * from './postTracksInitiate200Data';
|
||||
export * from './postUsersIdBlock200';
|
||||
export * from './postUsersIdBlock200Data';
|
||||
export * from './postUsersIdFollow200';
|
||||
export * from './postUsersIdFollow200Data';
|
||||
export * from './postUsersMePrivacyOptOut200';
|
||||
export * from './postUsersMePrivacyOptOut401';
|
||||
export * from './postUsersMePrivacyOptOut500';
|
||||
|
|
@ -162,8 +291,16 @@ export * from './putCommentsId200Data';
|
|||
export * from './putCommentsId200DataComment';
|
||||
export * from './putPlaylistsId200';
|
||||
export * from './putPlaylistsId200Data';
|
||||
export * from './putPlaylistsIdCollaboratorsUserId200';
|
||||
export * from './putPlaylistsIdCollaboratorsUserId200Data';
|
||||
export * from './putPlaylistsIdCollaboratorsUserId200DataCollaborator';
|
||||
export * from './putPlaylistsIdTracksReorder200';
|
||||
export * from './putPlaylistsIdTracksReorder200Data';
|
||||
export * from './putTracksId200';
|
||||
export * from './putTracksId200Data';
|
||||
export * from './putTracksIdLyrics200';
|
||||
export * from './putTracksIdLyrics200Data';
|
||||
export * from './putTracksIdLyrics200DataLyrics';
|
||||
export * from './putUsersId200';
|
||||
export * from './putUsersId200Data';
|
||||
export * from './putUsersId200DataProfile';
|
||||
|
|
@ -184,6 +321,7 @@ export * from './vezaBackendApiInternalDtoResendVerificationRequest';
|
|||
export * from './vezaBackendApiInternalDtoTokenResponse';
|
||||
export * from './vezaBackendApiInternalDtoUserResponse';
|
||||
export * from './vezaBackendApiInternalDtoValidationError';
|
||||
export * from './vezaBackendApiInternalHandlersAPIResponse';
|
||||
export * from './vezaBackendApiInternalModelsPlaylist';
|
||||
export * from './vezaBackendApiInternalModelsPlaylistCollaborator';
|
||||
export * from './vezaBackendApiInternalModelsPlaylistPermission';
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export interface InternalCoreTrackBatchDeleteRequest {
|
||||
/** @minItems 1 */
|
||||
track_ids: string[];
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { InternalCoreTrackBatchUpdateRequestUpdates } from './internalCoreTrackBatchUpdateRequestUpdates';
|
||||
|
||||
export interface InternalCoreTrackBatchUpdateRequest {
|
||||
/** @minItems 1 */
|
||||
track_ids: string[];
|
||||
updates: InternalCoreTrackBatchUpdateRequestUpdates;
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type InternalCoreTrackBatchUpdateRequestUpdates = { [key: string]: unknown };
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { InternalCoreTrackCreateShareRequestPermissions } from './internalCoreTrackCreateShareRequestPermissions';
|
||||
|
||||
export interface InternalCoreTrackCreateShareRequest {
|
||||
expires_at?: string;
|
||||
permissions: InternalCoreTrackCreateShareRequestPermissions;
|
||||
}
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type InternalCoreTrackCreateShareRequestPermissions = typeof InternalCoreTrackCreateShareRequestPermissions[keyof typeof InternalCoreTrackCreateShareRequestPermissions];
|
||||
|
||||
|
||||
export const InternalCoreTrackCreateShareRequestPermissions = {
|
||||
read: 'read',
|
||||
write: 'write',
|
||||
admin: 'admin',
|
||||
} as const;
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export interface InternalCoreTrackRecordPlayRequest {
|
||||
/** @minimum 0 */
|
||||
play_time?: number;
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { InternalCoreTrackStreamCallbackRequestStatus } from './internalCoreTrackStreamCallbackRequestStatus';
|
||||
|
||||
export interface InternalCoreTrackStreamCallbackRequest {
|
||||
error?: string;
|
||||
manifest_url?: string;
|
||||
status: InternalCoreTrackStreamCallbackRequestStatus;
|
||||
}
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type InternalCoreTrackStreamCallbackRequestStatus = typeof InternalCoreTrackStreamCallbackRequestStatus[keyof typeof InternalCoreTrackStreamCallbackRequestStatus];
|
||||
|
||||
|
||||
export const InternalCoreTrackStreamCallbackRequestStatus = {
|
||||
completed: 'completed',
|
||||
failed: 'failed',
|
||||
processing: 'processing',
|
||||
} as const;
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export interface InternalCoreTrackUpdateLyricsRequest {
|
||||
content?: string;
|
||||
}
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export interface InternalCoreTrackUpdateTrackRequest {
|
||||
/** @maxLength 255 */
|
||||
album?: string;
|
||||
/** @maxLength 255 */
|
||||
artist?: string;
|
||||
/**
|
||||
* @minimum 0
|
||||
* @maximum 300
|
||||
*/
|
||||
bpm?: number;
|
||||
/**
|
||||
* legacy, single
|
||||
* @maxLength 100
|
||||
*/
|
||||
genre?: string;
|
||||
/** v0.10.1: max 3, taxonomy slugs */
|
||||
genres?: string[];
|
||||
is_public?: boolean;
|
||||
/** @maxLength 10 */
|
||||
musical_key?: string;
|
||||
/** v0.10.1: max 10, 30 chars each */
|
||||
tags?: string[];
|
||||
/**
|
||||
* @minLength 1
|
||||
* @maxLength 255
|
||||
*/
|
||||
title?: string;
|
||||
/**
|
||||
* @minimum 1900
|
||||
* @maximum 2100
|
||||
*/
|
||||
year?: number;
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { InternalHandlersAddCollaboratorRequestPermission } from './internalHandlersAddCollaboratorRequestPermission';
|
||||
|
||||
export interface InternalHandlersAddCollaboratorRequest {
|
||||
permission: InternalHandlersAddCollaboratorRequestPermission;
|
||||
user_id: string;
|
||||
}
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type InternalHandlersAddCollaboratorRequestPermission = typeof InternalHandlersAddCollaboratorRequestPermission[keyof typeof InternalHandlersAddCollaboratorRequestPermission];
|
||||
|
||||
|
||||
export const InternalHandlersAddCollaboratorRequestPermission = {
|
||||
read: 'read',
|
||||
write: 'write',
|
||||
admin: 'admin',
|
||||
} as const;
|
||||
|
|
@ -12,6 +12,7 @@ export interface InternalHandlersCreateCommentRequest {
|
|||
* @maxLength 5000
|
||||
*/
|
||||
content: string;
|
||||
/** Changed to *uuid.UUID */
|
||||
parent_id?: string;
|
||||
/** Position in seconds (0 = top-level, no specific time) */
|
||||
timestamp?: number;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@
|
|||
|
||||
export interface InternalHandlersDeleteAccountRequest {
|
||||
confirm_text: string;
|
||||
/** If true, public tracks remain (attributed to deleted account) */
|
||||
keep_public_tracks?: boolean;
|
||||
password: string;
|
||||
reason?: string;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { InternalHandlersImportPlaylistRequestPlaylist } from './internalHandlersImportPlaylistRequestPlaylist';
|
||||
import type { InternalHandlersImportPlaylistRequestTracksItem } from './internalHandlersImportPlaylistRequestTracksItem';
|
||||
|
||||
export interface InternalHandlersImportPlaylistRequest {
|
||||
playlist?: InternalHandlersImportPlaylistRequestPlaylist;
|
||||
tracks?: InternalHandlersImportPlaylistRequestTracksItem[];
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type InternalHandlersImportPlaylistRequestPlaylist = {
|
||||
description?: string;
|
||||
is_public?: boolean;
|
||||
title?: string;
|
||||
};
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type InternalHandlersImportPlaylistRequestTracksItem = {
|
||||
id?: string;
|
||||
};
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
import type { InternalHandlersUpdateCollaboratorPermissionRequestPermission } from './internalHandlersUpdateCollaboratorPermissionRequestPermission';
|
||||
|
||||
export interface InternalHandlersUpdateCollaboratorPermissionRequest {
|
||||
permission: InternalHandlersUpdateCollaboratorPermissionRequestPermission;
|
||||
}
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
/**
|
||||
* Generated by orval v8.8.1 🍺
|
||||
* Do not edit manually.
|
||||
* Veza Backend API
|
||||
* Backend API for Veza platform.
|
||||
* OpenAPI spec version: 1.2.0
|
||||
*/
|
||||
|
||||
export type InternalHandlersUpdateCollaboratorPermissionRequestPermission = typeof InternalHandlersUpdateCollaboratorPermissionRequestPermission[keyof typeof InternalHandlersUpdateCollaboratorPermissionRequestPermission];
|
||||
|
||||
|
||||
export const InternalHandlersUpdateCollaboratorPermissionRequestPermission = {
|
||||
read: 'read',
|
||||
write: 'write',
|
||||
admin: 'admin',
|
||||
} as const;
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue