@devup-api/core
Advanced tools
+1
-1
@@ -1,1 +0,1 @@ | ||
| var{defineProperty:s,getOwnPropertyNames:t,getOwnPropertyDescriptor:n}=Object,p=Object.prototype.hasOwnProperty;var d=new WeakMap,i=(e)=>{var r=d.get(e),a;if(r)return r;if(r=s({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function")t(e).map((o)=>!p.call(r,o)&&s(r,o,{get:()=>e[o],enumerable:!(a=n(e,o))||a.enumerable}));return d.set(e,r),r};var l={};module.exports=i(l); | ||
| var{defineProperty:a,getOwnPropertyNames:p,getOwnPropertyDescriptor:s}=Object,n=Object.prototype.hasOwnProperty;function i(e){return this[e]}var l=(e)=>{var r=(d??=new WeakMap).get(e),t;if(r)return r;if(r=a({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var o of p(e))if(!n.call(r,o))a(r,o,{get:i.bind(e,o),enumerable:!(t=s(e,o))||t.enumerable})}return d.set(e,r),r},d;var u={};module.exports=l(u); |
@@ -0,6 +1,9 @@ | ||
| export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'; | ||
| export interface UrlMapValue { | ||
| method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'; | ||
| method: HttpMethod; | ||
| url: string; | ||
| bodyType?: 'json' | 'form' | 'multipart'; | ||
| } | ||
| export type UrlMapStoredValue = Omit<UrlMapValue, 'method'>; | ||
| export type UrlMapEntry = Partial<Record<HttpMethod, UrlMapStoredValue>>; | ||
| //# sourceMappingURL=url-map.d.ts.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"url-map.d.ts","sourceRoot":"","sources":["../src/url-map.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnD,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,WAAW,CAAA;CACzC"} | ||
| {"version":3,"file":"url-map.d.ts","sourceRoot":"","sources":["../src/url-map.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEpE,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,UAAU,CAAA;IAClB,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,WAAW,CAAA;CACzC;AAED,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAA;AAE3D,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC,CAAA"} |
+1
-1
| { | ||
| "name": "@devup-api/core", | ||
| "version": "0.1.13", | ||
| "version": "0.1.14", | ||
| "license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
16203
2.47%147
2.08%