@hapaul/api 0.1.57 → 0.1.58
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/index.d.ts +64 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -347,6 +347,23 @@ interface paths {
|
|
|
347
347
|
patch?: never;
|
|
348
348
|
trace?: never;
|
|
349
349
|
};
|
|
350
|
+
"/uploads/getThumbnail": {
|
|
351
|
+
parameters: {
|
|
352
|
+
query?: never;
|
|
353
|
+
header?: never;
|
|
354
|
+
path?: never;
|
|
355
|
+
cookie?: never;
|
|
356
|
+
};
|
|
357
|
+
/** Get thumbnail */
|
|
358
|
+
get: operations["getThumbnail"];
|
|
359
|
+
put?: never;
|
|
360
|
+
post?: never;
|
|
361
|
+
delete?: never;
|
|
362
|
+
options?: never;
|
|
363
|
+
head?: never;
|
|
364
|
+
patch?: never;
|
|
365
|
+
trace?: never;
|
|
366
|
+
};
|
|
350
367
|
"/uploads/createUpload": {
|
|
351
368
|
parameters: {
|
|
352
369
|
query?: never;
|
|
@@ -1814,6 +1831,12 @@ interface components {
|
|
|
1814
1831
|
missingChunks: number[];
|
|
1815
1832
|
/** Format: date-time */
|
|
1816
1833
|
mergedAt?: string | null;
|
|
1834
|
+
/** Format: int32 */
|
|
1835
|
+
thumbnailWidth?: number | null;
|
|
1836
|
+
/** Format: int32 */
|
|
1837
|
+
thumbnailHeight?: number | null;
|
|
1838
|
+
/** Format: int32 */
|
|
1839
|
+
thumbnailSize?: number | null;
|
|
1817
1840
|
/** Format: date-time */
|
|
1818
1841
|
createdAt: string;
|
|
1819
1842
|
/** Format: date-time */
|
|
@@ -1983,6 +2006,12 @@ interface components {
|
|
|
1983
2006
|
mime_type: components["schemas"]["MimeType"];
|
|
1984
2007
|
kind: components["schemas"]["MimeKind"];
|
|
1985
2008
|
metadata?: null | components["schemas"]["FileMetadata"];
|
|
2009
|
+
/** Format: int32 */
|
|
2010
|
+
thumbnail_width?: number | null;
|
|
2011
|
+
/** Format: int32 */
|
|
2012
|
+
thumbnail_height?: number | null;
|
|
2013
|
+
/** Format: int32 */
|
|
2014
|
+
thumbnail_size?: number | null;
|
|
1986
2015
|
/** Format: date-time */
|
|
1987
2016
|
created_at: string;
|
|
1988
2017
|
/** Format: date-time */
|
|
@@ -2002,6 +2031,12 @@ interface components {
|
|
|
2002
2031
|
missingChunks: number[];
|
|
2003
2032
|
/** Format: date-time */
|
|
2004
2033
|
mergedAt?: string | null;
|
|
2034
|
+
/** Format: int32 */
|
|
2035
|
+
thumbnailWidth?: number | null;
|
|
2036
|
+
/** Format: int32 */
|
|
2037
|
+
thumbnailHeight?: number | null;
|
|
2038
|
+
/** Format: int32 */
|
|
2039
|
+
thumbnailSize?: number | null;
|
|
2005
2040
|
/** Format: date-time */
|
|
2006
2041
|
createdAt: string;
|
|
2007
2042
|
/** Format: date-time */
|
|
@@ -2570,6 +2605,35 @@ interface operations {
|
|
|
2570
2605
|
};
|
|
2571
2606
|
};
|
|
2572
2607
|
};
|
|
2608
|
+
getThumbnail: {
|
|
2609
|
+
parameters: {
|
|
2610
|
+
query: {
|
|
2611
|
+
id: string;
|
|
2612
|
+
};
|
|
2613
|
+
header?: never;
|
|
2614
|
+
path?: never;
|
|
2615
|
+
cookie?: never;
|
|
2616
|
+
};
|
|
2617
|
+
requestBody?: never;
|
|
2618
|
+
responses: {
|
|
2619
|
+
/** @description ok */
|
|
2620
|
+
200: {
|
|
2621
|
+
headers: {
|
|
2622
|
+
[name: string]: unknown;
|
|
2623
|
+
};
|
|
2624
|
+
content: {
|
|
2625
|
+
"image/*": number[];
|
|
2626
|
+
};
|
|
2627
|
+
};
|
|
2628
|
+
/** @description not found */
|
|
2629
|
+
404: {
|
|
2630
|
+
headers: {
|
|
2631
|
+
[name: string]: unknown;
|
|
2632
|
+
};
|
|
2633
|
+
content?: never;
|
|
2634
|
+
};
|
|
2635
|
+
};
|
|
2636
|
+
};
|
|
2573
2637
|
createUpload: {
|
|
2574
2638
|
parameters: {
|
|
2575
2639
|
query?: never;
|