pterodactyl-api-client 3.0.4 → 3.0.5
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pterodactyl-api-client",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5",
|
|
4
4
|
"description": "SDK TypeScript non officiel et entièrement typé pour l’API Pterodactyl.\nCouvre l’ensemble des endpoints client et application avec une architecture modulaire, orientée classes, conçue pour Node.js et les environnements TypeScript stricts.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { BaseArgs, IP, List, ListwithPagination } from "../../../types.js";
|
|
2
|
-
export type Port = `${number}`;
|
|
3
|
-
export type PortRange = `${number}-${number}`;
|
|
4
|
-
export interface ApplicationAllocation {
|
|
5
|
-
object: "allocation";
|
|
6
|
-
attributes: {
|
|
7
|
-
id: number;
|
|
8
|
-
ip: IP;
|
|
9
|
-
alias: string | null;
|
|
10
|
-
port: number;
|
|
11
|
-
notes: string | null;
|
|
12
|
-
assigned: boolean;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export interface ApplicationAllocationListWithDate extends ListwithPagination {
|
|
16
|
-
data: ApplicationAllocation[];
|
|
17
|
-
}
|
|
18
|
-
export interface CreateApplicationAllocationArgs extends BaseArgs {
|
|
19
|
-
ip: IP;
|
|
20
|
-
ports: (Port | PortRange)[];
|
|
21
|
-
alias: string;
|
|
22
|
-
}
|
|
23
|
-
export interface ApplicationAllocationList extends List {
|
|
24
|
-
data: ApplicationAllocation[];
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=allocation.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"allocation.types.d.ts","sourceRoot":"","sources":["../../../../src/application/node/allocation/allocation.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEhF,MAAM,MAAM,IAAI,GAAG,GAAG,MAAM,EAAE,CAAC;AAC/B,MAAM,MAAM,SAAS,GAAG,GAAG,MAAM,IAAI,MAAM,EAAE,CAAC;AAE9C,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,YAAY,CAAC;IACrB,UAAU,EAAE;QACV,EAAE,EAAE,MAAM,CAAC;QACX,EAAE,EAAE,EAAE,CAAC;QACP,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;CACH;AAED,MAAM,WAAW,iCAAkC,SAAQ,kBAAkB;IAC3E,IAAI,EAAE,qBAAqB,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,+BAAgC,SAAQ,QAAQ;IAC/D,EAAE,EAAE,EAAE,CAAC;IACP,KAAK,EAAE,CAAC,IAAI,GAAG,SAAS,CAAC,EAAE,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,yBAA0B,SAAQ,IAAI;IACrD,IAAI,EAAE,qBAAqB,EAAE,CAAC;CAC/B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|