@syntay/fastay 0.1.9 → 0.2.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.
@@ -53,8 +53,3 @@ export type RouteHandler = (() => FastayResponse | any) | ((req: Request) => Fas
53
53
  export interface CookieItem {
54
54
  value: string;
55
55
  }
56
- declare module 'express-serve-static-core' {
57
- interface Request {
58
- typedCookies: RequestCookies | any;
59
- }
60
- }
@@ -1 +1,6 @@
1
1
  export {};
2
+ // declare module 'express-serve-static-core' {
3
+ // interface Request {
4
+ // typedCookies: RequestCookies | any;
5
+ // }
6
+ // }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syntay/fastay",
3
- "version": "0.1.9",
3
+ "version": "0.2.0",
4
4
  "description": "Framework backend moderno baseado em Express.js, para criar APIs rapidamente",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -65,8 +65,8 @@ export interface CookieItem {
65
65
  value: string;
66
66
  }
67
67
 
68
- declare module 'express-serve-static-core' {
69
- interface Request {
70
- typedCookies: RequestCookies | any;
71
- }
72
- }
68
+ // declare module 'express-serve-static-core' {
69
+ // interface Request {
70
+ // typedCookies: RequestCookies | any;
71
+ // }
72
+ // }
@@ -1,7 +0,0 @@
1
- import { RequestCookies } from '../src/utils/cookies';
2
-
3
- declare module 'express-serve-static-core' {
4
- interface Request {
5
- cookies: RequestCookies;
6
- }
7
- }
@@ -1,9 +0,0 @@
1
- export interface CookieItem {
2
- value: string;
3
- }
4
-
5
- export interface RequestCookies {
6
- get(name: string): CookieItem | undefined;
7
- has(name: string): boolean;
8
- all(): Record<string, string>;
9
- }