@quantcdn/quant-client 4.29.0 → 4.30.0
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 +6 -6
- package/api.ts +2333 -76
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1480 -75
- package/dist/api.js +1557 -36
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +1480 -75
- package/dist/esm/api.js +1540 -27
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,13 +5,13 @@ A comprehensive TypeScript client for the Quant API, providing access to all Qua
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install quant-
|
|
8
|
+
npm install @quantcdn/quant-client
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import { EnvironmentsApi, Configuration } from 'quant-
|
|
14
|
+
import { EnvironmentsApi, Configuration } from '@quantcdn/quant-client';
|
|
15
15
|
|
|
16
16
|
// Create a configuration with your API key
|
|
17
17
|
const config = new Configuration({
|
|
@@ -83,7 +83,7 @@ The client provides access to the following API endpoints:
|
|
|
83
83
|
### Working with Applications
|
|
84
84
|
|
|
85
85
|
```typescript
|
|
86
|
-
import { ApplicationsApi } from 'quant-
|
|
86
|
+
import { ApplicationsApi } from '@quantcdn/quant-client';
|
|
87
87
|
|
|
88
88
|
const appsApi = new ApplicationsApi(config.basePath);
|
|
89
89
|
appsApi.setDefaultAuthentication(auth);
|
|
@@ -101,7 +101,7 @@ const newApp = await appsApi.createApplication('your-org-id', {
|
|
|
101
101
|
### Managing Environments
|
|
102
102
|
|
|
103
103
|
```typescript
|
|
104
|
-
import { EnvironmentsApi } from 'quant-
|
|
104
|
+
import { EnvironmentsApi } from '@quantcdn/quant-client';
|
|
105
105
|
|
|
106
106
|
const envsApi = new EnvironmentsApi(config.basePath);
|
|
107
107
|
envsApi.setDefaultAuthentication(auth);
|
|
@@ -118,7 +118,7 @@ const logs = await envsApi.getEnvironmentLogs('org-id', 'app-id', 'env-id');
|
|
|
118
118
|
### Working with Cron Jobs
|
|
119
119
|
|
|
120
120
|
```typescript
|
|
121
|
-
import { CronApi } from 'quant-
|
|
121
|
+
import { CronApi } from '@quantcdn/quant-client';
|
|
122
122
|
|
|
123
123
|
const cronApi = new CronApi(config.basePath);
|
|
124
124
|
cronApi.setDefaultAuthentication(auth);
|
|
@@ -155,7 +155,7 @@ npm run build
|
|
|
155
155
|
npm link
|
|
156
156
|
|
|
157
157
|
# In your project directory
|
|
158
|
-
npm link quant-
|
|
158
|
+
npm link @quantcdn/quant-client
|
|
159
159
|
```
|
|
160
160
|
|
|
161
161
|
### Publishing the package
|