@augment-vir/core 31.23.3 → 31.24.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.
@@ -531,7 +531,23 @@ export type SuccessHttpStatusCategories = Exclude<HttpStatusCategory, ErrorHttpS
531
531
  * @category Package : @augment-vir/common
532
532
  * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common)
533
533
  */
534
- export declare function isErrorHttpStatus(input: HttpStatus): input is ExtractKeysWithMatchingValues<typeof httpStatusToCategory, ErrorHttpStatusCategories>;
534
+ export declare function isErrorHttpStatus(input: HttpStatus): input is ErrorHttpStatus;
535
+ /**
536
+ * All error HTTP statuses.
537
+ *
538
+ * @category HTTP
539
+ * @category Package : @augment-vir/common
540
+ * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common)
541
+ */
542
+ export type ErrorHttpStatus = ExtractKeysWithMatchingValues<typeof httpStatusToCategory, ErrorHttpStatusCategories>;
543
+ /**
544
+ * All success HTTP statuses.
545
+ *
546
+ * @category HTTP
547
+ * @category Package : @augment-vir/common
548
+ * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common)
549
+ */
550
+ export type SuccessHttpStatus = ExtractKeysWithMatchingValues<typeof httpStatusToCategory, SuccessHttpStatusCategories>;
535
551
  /**
536
552
  * A type that maps the given {@link HttpStatus} type parameter to its respective
537
553
  * {@link HttpStatusCategory}.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@augment-vir/core",
3
- "version": "31.23.3",
3
+ "version": "31.24.0",
4
4
  "description": "Core augment-vir augments. Use @augment-vir/common instead.",
5
5
  "homepage": "https://github.com/electrovir/augment-vir",
6
6
  "bugs": {