@flink-app/generic-request-plugin 0.13.4 → 0.13.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/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @flink-app/generic-request-plugin
2
2
 
3
+ ## 0.13.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Add PATCH HTTP method support and fix schema generation for utility types
8
+
9
+ - Add PATCH HTTP method to HttpMethod enum and auto-detection from handler filenames
10
+ - Fix schema generation to support nested Partial types with indexed access (e.g., `Partial<Interface["property"]>`)
11
+ - Add recursive dependency resolution for interface copying in TypeScript compiler
12
+ - Add support for union and intersection types with utility type patterns
13
+ - Add test coverage for complex type scenarios (union, intersection, nested utility types)
14
+
15
+ - Updated dependencies
16
+ - @flink-app/flink@0.13.4
17
+
3
18
  ## 0.13.4
4
19
 
5
20
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -3,7 +3,8 @@ export declare enum HttpMethod {
3
3
  get = "get",
4
4
  post = "post",
5
5
  put = "put",
6
- delete = "delete"
6
+ delete = "delete",
7
+ patch = "patch"
7
8
  }
8
9
  export type GenericRequestOptions = {
9
10
  /**
package/dist/index.js CHANGED
@@ -47,6 +47,7 @@ var HttpMethod;
47
47
  HttpMethod["post"] = "post";
48
48
  HttpMethod["put"] = "put";
49
49
  HttpMethod["delete"] = "delete";
50
+ HttpMethod["patch"] = "patch";
50
51
  })(HttpMethod || (exports.HttpMethod = HttpMethod = {}));
51
52
  var genericRequestPlugin = function (options) {
52
53
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flink-app/generic-request-plugin",
3
- "version": "0.13.4",
3
+ "version": "0.13.5",
4
4
  "description": "Flink plugin that makes it possible to override default request handlers and handle specific requests manually",
5
5
  "author": "johan@frost.se",
6
6
  "publishConfig": {
@@ -11,7 +11,7 @@
11
11
  "main": "dist/index.js",
12
12
  "dependencies": {
13
13
  "node-color-log": "^5.3.1",
14
- "@flink-app/flink": "0.13.3"
14
+ "@flink-app/flink": "0.13.4"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/jasmine": "^3.7.1",
package/src/index.ts CHANGED
@@ -6,6 +6,7 @@ export enum HttpMethod {
6
6
  post = "post",
7
7
  put = "put",
8
8
  delete = "delete",
9
+ patch = "patch",
9
10
  }
10
11
 
11
12
  export type GenericRequestOptions = {