@vmz/core 0.0.1 → 0.0.3

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/dist/http.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ /** Compile-time HTTP decorators — erased from server JS emit; kept for authoring. */
2
+ export declare function Get(path: any): (_target: any, _key: any, descriptor: any) => any;
3
+ export declare function Post(path: any): (_target: any, _key: any, descriptor: any) => any;
4
+ export declare function Put(path: any): (_target: any, _key: any, descriptor: any) => any;
5
+ export declare function Delete(path: any): (_target: any, _key: any, descriptor: any) => any;
6
+ export declare function Patch(path: any): (_target: any, _key: any, descriptor: any) => any;
package/dist/http.js ADDED
@@ -0,0 +1,27 @@
1
+ // @ts-nocheck
2
+ /** Compile-time HTTP decorators — erased from server JS emit; kept for authoring. */
3
+ export function Get(path) {
4
+ return function GetDecorator(_target, _key, descriptor) {
5
+ return descriptor;
6
+ };
7
+ }
8
+ export function Post(path) {
9
+ return function PostDecorator(_target, _key, descriptor) {
10
+ return descriptor;
11
+ };
12
+ }
13
+ export function Put(path) {
14
+ return function PutDecorator(_target, _key, descriptor) {
15
+ return descriptor;
16
+ };
17
+ }
18
+ export function Delete(path) {
19
+ return function DeleteDecorator(_target, _key, descriptor) {
20
+ return descriptor;
21
+ };
22
+ }
23
+ export function Patch(path) {
24
+ return function PatchDecorator(_target, _key, descriptor) {
25
+ return descriptor;
26
+ };
27
+ }
@@ -0,0 +1 @@
1
+ export * from './server.js';
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from './server.js';
@@ -0,0 +1 @@
1
+ export {};