feat(locale): complete admin locale management

This commit is contained in:
2026-09-11 22:49:01 +08:00
parent 9b8d9c7391
commit c987d9c0b1
4 changed files with 112 additions and 51 deletions
+9 -9
View File
@@ -50,7 +50,7 @@ export interface paths {
content: {
"application/json": {
/**
* @example all
* @example trashed
* @enum {string|null}
*/
state?: "active" | "archived" | "trashed" | "all" | null;
@@ -539,7 +539,7 @@ export interface paths {
*/
language_code?: string;
/**
* @example awaiting_publish
* @example published
* @enum {string}
*/
status?: "draft" | "awaiting_publish" | "published";
@@ -4677,7 +4677,7 @@ export interface paths {
content: {
"application/json": {
/**
* @example viewed
* @example sent
* @enum {string|null}
*/
status?: "sent" | "delivered" | "viewed" | "accepted" | "rejected" | "ignored" | "expired" | "taken_by_other" | null;
@@ -5452,12 +5452,12 @@ export interface paths {
content: {
"application/json": {
/**
* @example private
* @example friends
* @enum {string|null}
*/
visibility?: "public" | "friends" | "private" | null;
/**
* @example all
* @example blocked
* @enum {string|null}
*/
status?: "blocked" | "visible" | "all" | null;
@@ -5786,7 +5786,7 @@ export interface paths {
content: {
"application/json": {
/**
* @example all
* @example pending
* @enum {string|null}
*/
status?: "pending" | "blocked" | "all" | null;
@@ -7673,7 +7673,7 @@ export interface paths {
q?: string | null;
/** @example true */
status?: boolean | null;
/** @example false */
/** @example true */
is_robot?: boolean | null;
/**
* @description Must not be greater than 100 characters.
@@ -9751,7 +9751,7 @@ export interface paths {
content: {
"application/json": {
/**
* @example all
* @example blocked
* @enum {string|null}
*/
status?: "pending" | "blocked" | "all" | null;
@@ -10186,7 +10186,7 @@ export interface paths {
content: {
"application/json": {
/**
* @example desktop
* @example web
* @enum {string|null}
*/
platform?: "ios" | "android" | "web" | "desktop" | null;