@cauth/express 0.0.1 → 0.0.2

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.
@@ -0,0 +1,12 @@
1
+ //#region src/types/express.d.ts
2
+
3
+ declare global {
4
+ namespace Express {
5
+ interface Request {
6
+ cauth?: {
7
+ id: string;
8
+ role: string;
9
+ };
10
+ }
11
+ }
12
+ }
@@ -1,3 +1,4 @@
1
+ import "./express-BgF1jv36.js";
1
2
  import * as express0 from "express";
2
3
  import z$1, { z } from "zod";
3
4
  import ms from "ms";
@@ -326,16 +327,4 @@ declare class ExpressContractor implements RoutesContract {
326
327
  }: AuthGuardDeps) => (req: express0.Request, res: express0.Response, next: express0.NextFunction) => Promise<void | express0.Response<any, Record<string, any>>>;
327
328
  }
328
329
  //#endregion
329
- //#region src/types/express.d.ts
330
- declare global {
331
- namespace Express {
332
- interface Request {
333
- cauth?: {
334
- id: string;
335
- role: string;
336
- };
337
- }
338
- }
339
- }
340
- //#endregion
341
330
  export { ExpressContractor };