@ng-openapi/http-resource 0.0.9 → 0.0.10

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 (3) hide show
  1. package/index.cjs +4 -0
  2. package/index.js +4 -0
  3. package/package.json +1 -1
package/index.cjs CHANGED
@@ -3568,6 +3568,10 @@ var HttpResourceMethodGenerator = class {
3568
3568
  ...optionParams
3569
3569
  ],
3570
3570
  returnType: `HttpResourceRef<${this.#responseType}>`
3571
+ },
3572
+ {
3573
+ parameters: methodParams,
3574
+ returnType: `HttpResourceRef<${this.#responseType} | undefined>`
3571
3575
  }
3572
3576
  ];
3573
3577
  }
package/index.js CHANGED
@@ -3534,6 +3534,10 @@ var HttpResourceMethodGenerator = class {
3534
3534
  ...optionParams
3535
3535
  ],
3536
3536
  returnType: `HttpResourceRef<${this.#responseType}>`
3537
+ },
3538
+ {
3539
+ parameters: methodParams,
3540
+ returnType: `HttpResourceRef<${this.#responseType} | undefined>`
3537
3541
  }
3538
3542
  ];
3539
3543
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-openapi/http-resource",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "HTTP Resource plugin for ng-openapi - Angular HTTP utilities with caching and state management",
5
5
  "keywords": [
6
6
  "angular",