@schemastore/up 0.0.5 → 0.0.6

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.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -1
  3. package/index.d.ts +27 -23
  4. package/package.json +3 -3
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Florian Imdahl. All rights reserved.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE
package/README.md CHANGED
@@ -8,5 +8,5 @@ This package contains type definitions for up.
8
8
  Files were exported from https://github.com/ffflorian/schemastore-updater/tree/main/schemas/up.
9
9
 
10
10
  ## Additional Details
11
- * Last updated: Mon, Jul 20, 2020, 19:14:56 GMT
11
+ * Last updated: Fri, Feb 24, 2023, 11:23:41 GMT
12
12
  * Dependencies: none
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /* tslint:disable */
1
+ /* eslint-disable */
2
2
  /**
3
3
  * This file was automatically generated by json-schema-to-typescript.
4
4
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
@@ -55,7 +55,9 @@ export type ActiveWarmingRate = string;
55
55
  /**
56
56
  * Number of concurrent containers to warm.
57
57
  */
58
- export type ActiveWarmingContainerCount = number;
58
+ export type ActiveWarmingContainerCount = ActiveWarmingContainerCount1 & ActiveWarmingContainerCount2;
59
+ export type ActiveWarmingContainerCount1 = number;
60
+ export type ActiveWarmingContainerCount2 = string;
59
61
  /**
60
62
  * Lambda memory size.
61
63
  */
@@ -294,30 +296,32 @@ export interface JSONSchemaForApexUpConfigurationFiles {
294
296
  profile?: AWSProfile;
295
297
  /**
296
298
  * List of target AWS regions for deployment.
299
+ *
300
+ * @minItems 1
297
301
  */
298
- regions?: [AWSRegion, ...(AWSRegion)[]];
302
+ regions?: [AWSRegion, ...AWSRegion[]];
299
303
  lambda?: {
300
304
  accelerate?: EnablesS3Acceleration;
301
305
  warm?: EnablesActiveWarming;
302
306
  warm_rate?: ActiveWarmingRate;
303
307
  warm_count?: ActiveWarmingContainerCount;
304
308
  memory?: Memory;
305
- [k: string]: any;
309
+ [k: string]: unknown;
306
310
  };
307
311
  stages?: {
308
312
  production?: {
309
313
  domain?: DomainName;
310
- [k: string]: any;
314
+ [k: string]: unknown;
311
315
  };
312
316
  staging?: {
313
317
  domain?: DomainName1;
314
- [k: string]: any;
318
+ [k: string]: unknown;
315
319
  };
316
320
  development?: {
317
321
  domain?: DomainName2;
318
- [k: string]: any;
322
+ [k: string]: unknown;
319
323
  };
320
- [k: string]: any;
324
+ [k: string]: unknown;
321
325
  };
322
326
  hooks?: {
323
327
  build?: BuildHook;
@@ -326,12 +330,12 @@ export interface JSONSchemaForApexUpConfigurationFiles {
326
330
  postbuild?: PostbuildHook;
327
331
  predeploy?: PredeployHook;
328
332
  postdeploy?: PostdeployHook;
329
- [k: string]: any;
333
+ [k: string]: unknown;
330
334
  };
331
335
  static?: {
332
336
  dir?: DirectoryPath;
333
337
  prefix?: URLPrefix;
334
- [k: string]: any;
338
+ [k: string]: unknown;
335
339
  };
336
340
  proxy?: {
337
341
  command?: Command;
@@ -344,18 +348,18 @@ export interface JSONSchemaForApexUpConfigurationFiles {
344
348
  factor?: Factor;
345
349
  attempts?: RetryAttempts;
346
350
  jitter?: Jitter;
347
- [k: string]: any;
351
+ [k: string]: unknown;
348
352
  };
349
- [k: string]: any;
353
+ [k: string]: unknown;
350
354
  };
351
355
  dns?: {
352
- [k: string]: any;
356
+ [k: string]: unknown;
353
357
  };
354
358
  environment?: {
355
- [k: string]: any;
359
+ [k: string]: unknown;
356
360
  };
357
361
  headers?: {
358
- [k: string]: any;
362
+ [k: string]: unknown;
359
363
  };
360
364
  error_pages?: {
361
365
  disable?: DisableErrorPages;
@@ -363,9 +367,9 @@ export interface JSONSchemaForApexUpConfigurationFiles {
363
367
  variables?: {
364
368
  support_email?: SupportEmail;
365
369
  color?: Color;
366
- [k: string]: any;
370
+ [k: string]: unknown;
367
371
  };
368
- [k: string]: any;
372
+ [k: string]: unknown;
369
373
  };
370
374
  cors?: {
371
375
  enable?: EnableCORS;
@@ -375,20 +379,20 @@ export interface JSONSchemaForApexUpConfigurationFiles {
375
379
  exposed_headers?: ExposedHeaders[];
376
380
  max_age?: MaxAge;
377
381
  allowed_credentials?: AllowCredentials;
378
- [k: string]: any;
382
+ [k: string]: unknown;
379
383
  };
380
384
  inject?: {
381
- [k: string]: any;
385
+ [k: string]: unknown;
382
386
  };
383
387
  redirects?: {
384
- [k: string]: any;
388
+ [k: string]: unknown;
385
389
  };
386
390
  actions?: {
387
391
  name: ActionName;
388
392
  type: ActionType;
389
393
  emails?: EmailAddresses[];
390
394
  numbers?: PhoneNumbers[];
391
- [k: string]: any;
395
+ [k: string]: unknown;
392
396
  }[];
393
397
  alerts?: {
394
398
  metric: MetricName;
@@ -401,7 +405,7 @@ export interface JSONSchemaForApexUpConfigurationFiles {
401
405
  namespace?: Namespace;
402
406
  description?: Description;
403
407
  disable?: Disable;
404
- [k: string]: any;
408
+ [k: string]: unknown;
405
409
  }[];
406
- [k: string]: any;
410
+ [k: string]: unknown;
407
411
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "author": "Florian Keller <github@floriankeller.de>",
2
+ "author": "Florian Imdahl <git@ffflorian.de>",
3
3
  "dependencies": {},
4
4
  "description": "TypeScript definitions for up.",
5
5
  "license": "MIT",
@@ -7,8 +7,8 @@
7
7
  "name": "@schemastore/up",
8
8
  "repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/up",
9
9
  "scripts": {},
10
- "typesPublisherContentHash": "36c215b32cba171aa92736ac6dbd23125e7b67709b19fb22dfa575ad1499c4f7",
10
+ "typesPublisherContentHash": "2e0623d36ecc66b99c00bdd487e52511d6a6c855ebb1f7209d6ad83e4f77cc16",
11
11
  "types": "index.d.ts",
12
- "version": "0.0.5",
12
+ "version": "0.0.6",
13
13
  "typeScriptVersion": "2.2"
14
14
  }