@pelican.ts/sdk 0.2.3 → 0.2.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/README.md +12 -9
- package/dist/index.d.mts +911 -70
- package/dist/index.d.ts +911 -70
- package/dist/index.js +943 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +943 -17
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +1075 -0
- package/package.json +12 -3
- package/scripts/create-types.ts +24 -0
- package/src/api/application/client.ts +40 -0
- package/src/api/application/database_hosts.ts +70 -0
- package/src/api/application/nodes.ts +73 -46
- package/src/api/application/nodes_allocations.ts +4 -6
- package/src/api/application/roles.ts +53 -0
- package/src/api/application/servers.ts +135 -0
- package/src/api/application/servers_databases.ts +49 -0
- package/src/api/application/types/container.ts +1 -3
- package/src/api/application/types/database_host.ts +11 -0
- package/src/api/application/types/index.ts +8 -0
- package/src/api/application/types/node.ts +41 -6
- package/src/api/application/types/role.ts +8 -0
- package/src/api/application/types/server.ts +5 -5
- package/src/api/{common/types/server_allocations.ts → application/types/server_allocation.ts} +5 -4
- package/src/api/application/types/user.ts +7 -7
- package/src/api/application/users.ts +36 -26
- package/src/api/base/request.ts +3 -3
- package/src/api/client/server_allocations.ts +9 -9
- package/src/api/client/server_backups.ts +7 -7
- package/src/api/client/server_databases.ts +7 -7
- package/src/api/client/types/index.ts +5 -0
- package/src/api/client/types/server.ts +2 -2
- package/src/api/client/types/server_allocation.ts +11 -0
- package/src/api/common/types/enums.ts +21 -0
- package/src/api/common/types/index.ts +9 -0
- package/src/api/common/types/server_backup.ts +1 -1
- package/src/api/common/types/server_database.ts +1 -1
- package/src/index.ts +4 -4
- package/src/types.ts +3 -0
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<img src=".github/logo.png" width="420" />
|
|
3
3
|
</h1>
|
|
4
4
|
|
|
5
|
-
# Pelican.ts Typescript
|
|
5
|
+
# Pelican.ts — Typescript client for Pelican panel
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
```shell
|
|
@@ -30,12 +30,12 @@ What's done:
|
|
|
30
30
|
- [ ] Application
|
|
31
31
|
- [X] Users
|
|
32
32
|
- [X] Nodes
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
- [
|
|
36
|
-
|
|
37
|
-
- [ ]
|
|
38
|
-
|
|
33
|
+
- [X] Servers
|
|
34
|
+
- [X] Databases (TODO: Check if server database type is valid)
|
|
35
|
+
- [X] Database Hosts (TODO: find out why create API returns 500 No Route)
|
|
36
|
+
- [X] Roles
|
|
37
|
+
- [ ] Eggs
|
|
38
|
+
- [ ] Mounts
|
|
39
39
|
- [ ] TSDoc
|
|
40
40
|
- [ ] Examples
|
|
41
41
|
- [ ] Tests
|
|
@@ -45,8 +45,11 @@ What's done:
|
|
|
45
45
|
## Copyright Notice
|
|
46
46
|
[Pterodactyl®](https://github.com/pterodactyl) is a registered trademark of Dane Everitt and contributors.
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
[Pelican®](https://github.com/pelican-dev) is a registered trademark of Pelican contributors.
|
|
49
|
+
|
|
50
|
+
Pelican.ts is Open Source under the [MIT License](LICENSE) and is the copyright
|
|
51
|
+
of its contributors stated below. Pelican.ts is not endorsed by or affiliated with Pterodactyl® nor Pelican® team.
|
|
52
|
+
|
|
50
53
|
|
|
51
54
|
## Contributors
|
|
52
55
|
[M41den](https://github.com/m41denx) © 2024-2025
|