@pelican.ts/sdk 0.3.4-next.1 → 0.3.4-next.3
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.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/types.d.ts +2 -2
- package/package.json +1 -1
- package/src/api/application/eggs.ts +1 -1
- package/src/api/application/types/egg.ts +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1505,7 +1505,7 @@ declare class Roles {
|
|
|
1505
1505
|
type Egg = {
|
|
1506
1506
|
id: number;
|
|
1507
1507
|
uuid: string;
|
|
1508
|
-
name:
|
|
1508
|
+
name: string;
|
|
1509
1509
|
author: string;
|
|
1510
1510
|
description: string;
|
|
1511
1511
|
features: string[];
|
|
@@ -1548,7 +1548,7 @@ type ExportedEgg = {
|
|
|
1548
1548
|
update_url: Nullable<string>;
|
|
1549
1549
|
};
|
|
1550
1550
|
exported_at: string;
|
|
1551
|
-
name:
|
|
1551
|
+
name: string;
|
|
1552
1552
|
author: string;
|
|
1553
1553
|
description: string;
|
|
1554
1554
|
uuid: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1505,7 +1505,7 @@ declare class Roles {
|
|
|
1505
1505
|
type Egg = {
|
|
1506
1506
|
id: number;
|
|
1507
1507
|
uuid: string;
|
|
1508
|
-
name:
|
|
1508
|
+
name: string;
|
|
1509
1509
|
author: string;
|
|
1510
1510
|
description: string;
|
|
1511
1511
|
features: string[];
|
|
@@ -1548,7 +1548,7 @@ type ExportedEgg = {
|
|
|
1548
1548
|
update_url: Nullable<string>;
|
|
1549
1549
|
};
|
|
1550
1550
|
exported_at: string;
|
|
1551
|
-
name:
|
|
1551
|
+
name: string;
|
|
1552
1552
|
author: string;
|
|
1553
1553
|
description: string;
|
|
1554
1554
|
uuid: string;
|
package/dist/index.js
CHANGED
|
@@ -1920,7 +1920,7 @@ var Eggs = class {
|
|
|
1920
1920
|
return data;
|
|
1921
1921
|
};
|
|
1922
1922
|
infoExportable = async (id) => {
|
|
1923
|
-
const { data } = await this.r.get(`/eggs/${id}/export
|
|
1923
|
+
const { data } = await this.r.get(`/eggs/${id}/export`, { params: { format: "json" } });
|
|
1924
1924
|
return data;
|
|
1925
1925
|
};
|
|
1926
1926
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1883,7 +1883,7 @@ var Eggs = class {
|
|
|
1883
1883
|
return data;
|
|
1884
1884
|
};
|
|
1885
1885
|
infoExportable = async (id) => {
|
|
1886
|
-
const { data } = await this.r.get(`/eggs/${id}/export
|
|
1886
|
+
const { data } = await this.r.get(`/eggs/${id}/export`, { params: { format: "json" } });
|
|
1887
1887
|
return data;
|
|
1888
1888
|
};
|
|
1889
1889
|
};
|
package/dist/types.d.ts
CHANGED
|
@@ -844,7 +844,7 @@ type Role = {
|
|
|
844
844
|
type Egg = {
|
|
845
845
|
id: number;
|
|
846
846
|
uuid: string;
|
|
847
|
-
name:
|
|
847
|
+
name: string;
|
|
848
848
|
author: string;
|
|
849
849
|
description: string;
|
|
850
850
|
features: string[];
|
|
@@ -887,7 +887,7 @@ type ExportedEgg = {
|
|
|
887
887
|
update_url: Nullable<string>;
|
|
888
888
|
};
|
|
889
889
|
exported_at: string;
|
|
890
|
-
name:
|
|
890
|
+
name: string;
|
|
891
891
|
author: string;
|
|
892
892
|
description: string;
|
|
893
893
|
uuid: string;
|
package/package.json
CHANGED
|
@@ -30,7 +30,7 @@ export class Eggs {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
infoExportable = async (id: number): Promise<ExportedEgg> => {
|
|
33
|
-
const {data} = await this.r.get<ExportedEgg>(`/eggs/${id}/export
|
|
33
|
+
const {data} = await this.r.get<ExportedEgg>(`/eggs/${id}/export`, {params: {format: "json"}})
|
|
34
34
|
return data
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -4,7 +4,7 @@ import {EggVariable} from "@/api/common/types";
|
|
|
4
4
|
export type Egg = {
|
|
5
5
|
id: number,
|
|
6
6
|
uuid: string,
|
|
7
|
-
name:
|
|
7
|
+
name: string,
|
|
8
8
|
author: string,
|
|
9
9
|
description: string,
|
|
10
10
|
features: string[],
|
|
@@ -50,7 +50,7 @@ export type ExportedEgg = {
|
|
|
50
50
|
update_url: Nullable<string>
|
|
51
51
|
},
|
|
52
52
|
exported_at: string,
|
|
53
|
-
name:
|
|
53
|
+
name: string,
|
|
54
54
|
author: string,
|
|
55
55
|
description: string,
|
|
56
56
|
uuid: string,
|