@getmikan/sdk 0.5.201-rc.10 → 0.5.201-rc.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schema.d.ts +26 -6
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -6501,7 +6501,7 @@ export interface components {
|
|
|
6501
6501
|
* @description Что меняется; у строки manual: что остаётся сделать самому
|
|
6502
6502
|
* @enum {string}
|
|
6503
6503
|
*/
|
|
6504
|
-
code: "panel_page" | "front_page" | "site" | "port" | "through_443" | "direct" | "router_on" | "router_off" | "api_lockdown" | "port_443_busy" | "port_443_panel" | "same_name" | "no_site" | "no_port" | "ssh_open";
|
|
6504
|
+
code: "panel_page" | "front_page" | "site" | "port" | "through_443" | "direct" | "router_on" | "router_off" | "api_lockdown" | "auto_off" | "disable" | "port_443_busy" | "port_443_panel" | "same_name" | "no_site" | "stranger_site" | "no_port" | "udp_ports" | "ssh_open";
|
|
6505
6505
|
/** @description После применения: почему не получилось */
|
|
6506
6506
|
error?: string;
|
|
6507
6507
|
inbound?: string;
|
|
@@ -6515,6 +6515,8 @@ export interface components {
|
|
|
6515
6515
|
*/
|
|
6516
6516
|
node: number;
|
|
6517
6517
|
node_name?: string;
|
|
6518
|
+
/** @description Изменение по желанию: применяется, только если админ его отметил */
|
|
6519
|
+
optional?: boolean;
|
|
6518
6520
|
params?: {
|
|
6519
6521
|
[key: string]: string;
|
|
6520
6522
|
};
|
|
@@ -6731,7 +6733,9 @@ export interface components {
|
|
|
6731
6733
|
PutSitePageInputBody: {
|
|
6732
6734
|
/** @description Документ конструктора (JSON) */
|
|
6733
6735
|
doc: string;
|
|
6734
|
-
/** @description
|
|
6736
|
+
/** @description Файлы сайта: страницы, шрифты, картинки */
|
|
6737
|
+
files?: components["schemas"]["SiteFileBody"][];
|
|
6738
|
+
/** @description Первая страница одним файлом без внешних запросов: её показывают протоколы нод и ноды старых версий */
|
|
6735
6739
|
html: string;
|
|
6736
6740
|
};
|
|
6737
6741
|
PutSubAppsInputBody: {
|
|
@@ -7294,19 +7298,32 @@ export interface components {
|
|
|
7294
7298
|
/** Format: int64 */
|
|
7295
7299
|
up: number;
|
|
7296
7300
|
};
|
|
7301
|
+
SiteFileBody: {
|
|
7302
|
+
/** @description Содержимое файла (base64) */
|
|
7303
|
+
data: string;
|
|
7304
|
+
/** @description Путь внутри сайта: index.html, about.html, fonts/inter-latin.woff2 */
|
|
7305
|
+
path: string;
|
|
7306
|
+
/** @enum {string} */
|
|
7307
|
+
type: "text/html" | "font/woff2" | "image/jpeg" | "image/png" | "image/webp";
|
|
7308
|
+
};
|
|
7297
7309
|
SitePageOutputBody: {
|
|
7298
7310
|
/** @description Документ конструктора (JSON), как он был сохранён; пусто: своей страницы ещё нет */
|
|
7299
7311
|
doc: string;
|
|
7300
7312
|
/**
|
|
7301
7313
|
* Format: int64
|
|
7302
|
-
* @description Наибольший размер
|
|
7314
|
+
* @description Наибольший размер всех файлов сайта в байтах
|
|
7303
7315
|
*/
|
|
7304
7316
|
max: number;
|
|
7305
|
-
/**
|
|
7317
|
+
/**
|
|
7318
|
+
* Format: int64
|
|
7319
|
+
* @description Сколько страниц у сохранённого сайта
|
|
7320
|
+
*/
|
|
7321
|
+
pages: number;
|
|
7322
|
+
/** @description Зерно установки для конструктора: от него зависят сайты и блоки по умолчанию */
|
|
7306
7323
|
seed: string;
|
|
7307
7324
|
/**
|
|
7308
7325
|
* Format: int64
|
|
7309
|
-
* @description Размер
|
|
7326
|
+
* @description Размер сохранённого сайта в байтах (все файлы); 0: его нет
|
|
7310
7327
|
*/
|
|
7311
7328
|
size: number;
|
|
7312
7329
|
};
|
|
@@ -12892,7 +12909,10 @@ export interface operations {
|
|
|
12892
12909
|
};
|
|
12893
12910
|
"plan-security-preset": {
|
|
12894
12911
|
parameters: {
|
|
12895
|
-
query?:
|
|
12912
|
+
query?: {
|
|
12913
|
+
/** @description Протоколам, которым не хватило собственных имён панели, подобрать чужие сайты рядом с сервером */
|
|
12914
|
+
neighbors?: boolean;
|
|
12915
|
+
};
|
|
12896
12916
|
header?: never;
|
|
12897
12917
|
path: {
|
|
12898
12918
|
preset: "standard" | "secure";
|
package/package.json
CHANGED