appos 0.1.20-0 → 0.1.22-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.
- package/build/exports/{dist-cjs-Ddwe8ROf.mjs → dist-cjs-B6fzlN4a.mjs} +1 -1
- package/build/exports/{dist-cjs-BY2gcA7W.mjs → dist-cjs-BRgcRUXD.mjs} +1 -1
- package/build/exports/{dist-cjs-BEWqPJiY.mjs → dist-cjs-CIygOzvH.mjs} +1 -1
- package/build/exports/{dist-cjs-BurjEDDY.mjs → dist-cjs-ql-aA-VV.mjs} +1 -1
- package/build/exports/server.d.mts +676 -617
- package/build/exports/server.mjs +205 -37
- package/build/exports/{sso-oidc-DMxhsWZu.mjs → sso-oidc-8bB9mMfy.mjs} +1 -1
- package/build/exports/{sts-CqD3bswo.mjs → sts-B2bNRtll.mjs} +1 -1
- package/build/exports/{sts-DJilo-ly.mjs → sts-DwsJEvF_.mjs} +1 -1
- package/build/exports/test.d.mts +3 -3
- package/build/exports/test.mjs +2 -2
- package/package.json +1 -2
- package/build/exports/appos.d.ts +0 -82
package/package.json
CHANGED
package/build/exports/appos.d.ts
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import type { Container } from "#app/.server/primitives/container.ts";
|
|
2
|
-
import type { InferWorkflows } from "#app/.server/primitives/workflow.ts";
|
|
3
|
-
import type * as workflows from "#app/.server/workflows/index.ts";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* AppOS namespace for user-extensible types and Express augmentations.
|
|
7
|
-
*/
|
|
8
|
-
declare global {
|
|
9
|
-
namespace AppOS {
|
|
10
|
-
/**
|
|
11
|
-
* User-defined workflows from appos/workflows/*.ts
|
|
12
|
-
*/
|
|
13
|
-
interface Workflows extends InferWorkflows<Container, typeof workflows> {}
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* User-defined server-to-client realtime events from appos/realtime/*.ts
|
|
17
|
-
*/
|
|
18
|
-
interface ServerToClientEvents {}
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* User-defined client-to-server realtime events from appos/realtime/*.ts
|
|
22
|
-
*/
|
|
23
|
-
interface ClientToServerEvents {}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
namespace Express {
|
|
27
|
-
/**
|
|
28
|
-
* The request object extended with the application container.
|
|
29
|
-
*/
|
|
30
|
-
interface Request {
|
|
31
|
-
/**
|
|
32
|
-
* The text direction based on the detected language (e.g., 'ltr' or 'rtl').
|
|
33
|
-
*/
|
|
34
|
-
dir: "ltr" | "rtl";
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* The detected language from the request headers.
|
|
38
|
-
*/
|
|
39
|
-
language: string;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* The list of languages supported by the i18n instance.
|
|
43
|
-
*/
|
|
44
|
-
languages: readonly string[];
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* The request ID generated for tracking the request.
|
|
48
|
-
*/
|
|
49
|
-
requestId: string;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* The authenticated session associated with the request.
|
|
53
|
-
*/
|
|
54
|
-
session?: import("better-auth").Session;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* The authenticated user associated with the request.
|
|
58
|
-
*/
|
|
59
|
-
user?: import("better-auth").User;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* The i18n translation function that is attached to the request.
|
|
63
|
-
*/
|
|
64
|
-
t: import("i18next").TFunction;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* The app.locals extended with typed workflows.
|
|
69
|
-
*/
|
|
70
|
-
interface Locals {
|
|
71
|
-
/**
|
|
72
|
-
* The application container with base services and user-defined extensions.
|
|
73
|
-
*/
|
|
74
|
-
container: Container;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* The application workflows that are defined in the app.
|
|
78
|
-
*/
|
|
79
|
-
workflows: AppOS.Workflows;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|