@mrxsys/mrx-core 2.11.0-1-develop-20251030 → 2.11.0-1-and-279-20251103

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.
@@ -12,9 +12,157 @@ export declare const cache: (store?: KvStore) => Elysia<"", {
12
12
  }, {
13
13
  schema: {};
14
14
  standaloneSchema: {};
15
- macro: Partial<{
16
- readonly isCached: CacheOptions;
17
- }>;
15
+ macro: Partial<import("elysia").MacroToProperty<{
16
+ readonly isCached: ({ ttl, prefix }: CacheOptions) => {
17
+ readonly afterHandle: ({ set, responseValue, request }: {
18
+ body: unknown;
19
+ query: Record<string, string>;
20
+ params: {};
21
+ headers: Record<string, string | undefined>;
22
+ cookie: Record<string, import("elysia").Cookie<unknown>>;
23
+ server: import("elysia/universal/server").Server | null;
24
+ redirect: import("elysia").redirect;
25
+ set: {
26
+ headers: import("elysia").HTTPHeaders;
27
+ status?: number | keyof import("elysia").StatusMap;
28
+ redirect?: string;
29
+ cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
30
+ };
31
+ path: string;
32
+ route: string;
33
+ request: Request;
34
+ store: {};
35
+ status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 420 ? {
36
+ readonly 100: "Continue";
37
+ readonly 101: "Switching Protocols";
38
+ readonly 102: "Processing";
39
+ readonly 103: "Early Hints";
40
+ readonly 200: "OK";
41
+ readonly 201: "Created";
42
+ readonly 202: "Accepted";
43
+ readonly 203: "Non-Authoritative Information";
44
+ readonly 204: "No Content";
45
+ readonly 205: "Reset Content";
46
+ readonly 206: "Partial Content";
47
+ readonly 207: "Multi-Status";
48
+ readonly 208: "Already Reported";
49
+ readonly 300: "Multiple Choices";
50
+ readonly 301: "Moved Permanently";
51
+ readonly 302: "Found";
52
+ readonly 303: "See Other";
53
+ readonly 304: "Not Modified";
54
+ readonly 307: "Temporary Redirect";
55
+ readonly 308: "Permanent Redirect";
56
+ readonly 400: "Bad Request";
57
+ readonly 401: "Unauthorized";
58
+ readonly 402: "Payment Required";
59
+ readonly 403: "Forbidden";
60
+ readonly 404: "Not Found";
61
+ readonly 405: "Method Not Allowed";
62
+ readonly 406: "Not Acceptable";
63
+ readonly 407: "Proxy Authentication Required";
64
+ readonly 408: "Request Timeout";
65
+ readonly 409: "Conflict";
66
+ readonly 410: "Gone";
67
+ readonly 411: "Length Required";
68
+ readonly 412: "Precondition Failed";
69
+ readonly 413: "Payload Too Large";
70
+ readonly 414: "URI Too Long";
71
+ readonly 415: "Unsupported Media Type";
72
+ readonly 416: "Range Not Satisfiable";
73
+ readonly 417: "Expectation Failed";
74
+ readonly 418: "I'm a teapot";
75
+ readonly 420: "Enhance Your Calm";
76
+ readonly 421: "Misdirected Request";
77
+ readonly 422: "Unprocessable Content";
78
+ readonly 423: "Locked";
79
+ readonly 424: "Failed Dependency";
80
+ readonly 425: "Too Early";
81
+ readonly 426: "Upgrade Required";
82
+ readonly 428: "Precondition Required";
83
+ readonly 429: "Too Many Requests";
84
+ readonly 431: "Request Header Fields Too Large";
85
+ readonly 451: "Unavailable For Legal Reasons";
86
+ readonly 500: "Internal Server Error";
87
+ readonly 501: "Not Implemented";
88
+ readonly 502: "Bad Gateway";
89
+ readonly 503: "Service Unavailable";
90
+ readonly 504: "Gateway Timeout";
91
+ readonly 505: "HTTP Version Not Supported";
92
+ readonly 506: "Variant Also Negotiates";
93
+ readonly 507: "Insufficient Storage";
94
+ readonly 508: "Loop Detected";
95
+ readonly 510: "Not Extended";
96
+ readonly 511: "Network Authentication Required";
97
+ }[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaCustomStatusResponse<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Enhance Your Calm" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
98
+ readonly Continue: 100;
99
+ readonly "Switching Protocols": 101;
100
+ readonly Processing: 102;
101
+ readonly "Early Hints": 103;
102
+ readonly OK: 200;
103
+ readonly Created: 201;
104
+ readonly Accepted: 202;
105
+ readonly "Non-Authoritative Information": 203;
106
+ readonly "No Content": 204;
107
+ readonly "Reset Content": 205;
108
+ readonly "Partial Content": 206;
109
+ readonly "Multi-Status": 207;
110
+ readonly "Already Reported": 208;
111
+ readonly "Multiple Choices": 300;
112
+ readonly "Moved Permanently": 301;
113
+ readonly Found: 302;
114
+ readonly "See Other": 303;
115
+ readonly "Not Modified": 304;
116
+ readonly "Temporary Redirect": 307;
117
+ readonly "Permanent Redirect": 308;
118
+ readonly "Bad Request": 400;
119
+ readonly Unauthorized: 401;
120
+ readonly "Payment Required": 402;
121
+ readonly Forbidden: 403;
122
+ readonly "Not Found": 404;
123
+ readonly "Method Not Allowed": 405;
124
+ readonly "Not Acceptable": 406;
125
+ readonly "Proxy Authentication Required": 407;
126
+ readonly "Request Timeout": 408;
127
+ readonly Conflict: 409;
128
+ readonly Gone: 410;
129
+ readonly "Length Required": 411;
130
+ readonly "Precondition Failed": 412;
131
+ readonly "Payload Too Large": 413;
132
+ readonly "URI Too Long": 414;
133
+ readonly "Unsupported Media Type": 415;
134
+ readonly "Range Not Satisfiable": 416;
135
+ readonly "Expectation Failed": 417;
136
+ readonly "I'm a teapot": 418;
137
+ readonly "Enhance Your Calm": 420;
138
+ readonly "Misdirected Request": 421;
139
+ readonly "Unprocessable Content": 422;
140
+ readonly Locked: 423;
141
+ readonly "Failed Dependency": 424;
142
+ readonly "Too Early": 425;
143
+ readonly "Upgrade Required": 426;
144
+ readonly "Precondition Required": 428;
145
+ readonly "Too Many Requests": 429;
146
+ readonly "Request Header Fields Too Large": 431;
147
+ readonly "Unavailable For Legal Reasons": 451;
148
+ readonly "Internal Server Error": 500;
149
+ readonly "Not Implemented": 501;
150
+ readonly "Bad Gateway": 502;
151
+ readonly "Service Unavailable": 503;
152
+ readonly "Gateway Timeout": 504;
153
+ readonly "HTTP Version Not Supported": 505;
154
+ readonly "Variant Also Negotiates": 506;
155
+ readonly "Insufficient Storage": 507;
156
+ readonly "Loop Detected": 508;
157
+ readonly "Not Extended": 510;
158
+ readonly "Network Authentication Required": 511;
159
+ }[Code] : Code>;
160
+ } & {
161
+ responseValue: unknown;
162
+ response: unknown;
163
+ }) => Promise<void>;
164
+ };
165
+ }>>;
18
166
  macroFn: {
19
167
  readonly isCached: ({ ttl, prefix }: CacheOptions) => {
20
168
  readonly afterHandle: ({ set, responseValue, request }: {
@@ -9,6 +9,9 @@ export declare const count: <const TDatabase extends Omit<MSSQLDatabaseOptions,
9
9
  derive: {};
10
10
  resolve: {};
11
11
  }, {
12
+ typebox: {};
13
+ error: {};
14
+ } & {
12
15
  typebox: {
13
16
  readonly dbResolverHeader: TObject<{
14
17
  'database-using': import("@sinclair/typebox").TString;
@@ -18,10 +21,169 @@ export declare const count: <const TDatabase extends Omit<MSSQLDatabaseOptions,
18
21
  }, {
19
22
  schema: {};
20
23
  standaloneSchema: {};
21
- macro: {
22
- readonly injectDynamicDB?: Omit<MSSQLDatabaseOptions, "databaseName">;
23
- readonly injectStaticDB?: string;
24
- };
24
+ macro: {};
25
+ macroFn: {};
26
+ parser: {};
27
+ response: {};
28
+ } & {
29
+ schema: {};
30
+ standaloneSchema: {};
31
+ macro: Partial<import("elysia").MacroToProperty<{
32
+ readonly injectDynamicDB: (config: Omit<MSSQLDatabaseOptions, "databaseName">) => {
33
+ readonly headers: "dbResolverHeader";
34
+ readonly resolve: ({ headers }: {
35
+ body: unknown;
36
+ query: Record<string, string>;
37
+ params: Record<string, string>;
38
+ headers: Record<string, string | undefined>;
39
+ cookie: Record<string, import("elysia").Cookie<unknown>>;
40
+ server: import("elysia/universal/server").Server | null;
41
+ redirect: import("elysia").redirect;
42
+ set: {
43
+ headers: import("elysia").HTTPHeaders;
44
+ status?: number | keyof import("elysia").StatusMap;
45
+ redirect?: string;
46
+ cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
47
+ };
48
+ path: string;
49
+ route: string;
50
+ request: Request;
51
+ store: {};
52
+ status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 420 ? {
53
+ readonly 100: "Continue";
54
+ readonly 101: "Switching Protocols";
55
+ readonly 102: "Processing";
56
+ readonly 103: "Early Hints";
57
+ readonly 200: "OK";
58
+ readonly 201: "Created";
59
+ readonly 202: "Accepted";
60
+ readonly 203: "Non-Authoritative Information";
61
+ readonly 204: "No Content";
62
+ readonly 205: "Reset Content";
63
+ readonly 206: "Partial Content";
64
+ readonly 207: "Multi-Status";
65
+ readonly 208: "Already Reported";
66
+ readonly 300: "Multiple Choices";
67
+ readonly 301: "Moved Permanently";
68
+ readonly 302: "Found";
69
+ readonly 303: "See Other";
70
+ readonly 304: "Not Modified";
71
+ readonly 307: "Temporary Redirect";
72
+ readonly 308: "Permanent Redirect";
73
+ readonly 400: "Bad Request";
74
+ readonly 401: "Unauthorized";
75
+ readonly 402: "Payment Required";
76
+ readonly 403: "Forbidden";
77
+ readonly 404: "Not Found";
78
+ readonly 405: "Method Not Allowed";
79
+ readonly 406: "Not Acceptable";
80
+ readonly 407: "Proxy Authentication Required";
81
+ readonly 408: "Request Timeout";
82
+ readonly 409: "Conflict";
83
+ readonly 410: "Gone";
84
+ readonly 411: "Length Required";
85
+ readonly 412: "Precondition Failed";
86
+ readonly 413: "Payload Too Large";
87
+ readonly 414: "URI Too Long";
88
+ readonly 415: "Unsupported Media Type";
89
+ readonly 416: "Range Not Satisfiable";
90
+ readonly 417: "Expectation Failed";
91
+ readonly 418: "I'm a teapot";
92
+ readonly 420: "Enhance Your Calm";
93
+ readonly 421: "Misdirected Request";
94
+ readonly 422: "Unprocessable Content";
95
+ readonly 423: "Locked";
96
+ readonly 424: "Failed Dependency";
97
+ readonly 425: "Too Early";
98
+ readonly 426: "Upgrade Required";
99
+ readonly 428: "Precondition Required";
100
+ readonly 429: "Too Many Requests";
101
+ readonly 431: "Request Header Fields Too Large";
102
+ readonly 451: "Unavailable For Legal Reasons";
103
+ readonly 500: "Internal Server Error";
104
+ readonly 501: "Not Implemented";
105
+ readonly 502: "Bad Gateway";
106
+ readonly 503: "Service Unavailable";
107
+ readonly 504: "Gateway Timeout";
108
+ readonly 505: "HTTP Version Not Supported";
109
+ readonly 506: "Variant Also Negotiates";
110
+ readonly 507: "Insufficient Storage";
111
+ readonly 508: "Loop Detected";
112
+ readonly 510: "Not Extended";
113
+ readonly 511: "Network Authentication Required";
114
+ }[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaCustomStatusResponse<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Enhance Your Calm" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
115
+ readonly Continue: 100;
116
+ readonly "Switching Protocols": 101;
117
+ readonly Processing: 102;
118
+ readonly "Early Hints": 103;
119
+ readonly OK: 200;
120
+ readonly Created: 201;
121
+ readonly Accepted: 202;
122
+ readonly "Non-Authoritative Information": 203;
123
+ readonly "No Content": 204;
124
+ readonly "Reset Content": 205;
125
+ readonly "Partial Content": 206;
126
+ readonly "Multi-Status": 207;
127
+ readonly "Already Reported": 208;
128
+ readonly "Multiple Choices": 300;
129
+ readonly "Moved Permanently": 301;
130
+ readonly Found: 302;
131
+ readonly "See Other": 303;
132
+ readonly "Not Modified": 304;
133
+ readonly "Temporary Redirect": 307;
134
+ readonly "Permanent Redirect": 308;
135
+ readonly "Bad Request": 400;
136
+ readonly Unauthorized: 401;
137
+ readonly "Payment Required": 402;
138
+ readonly Forbidden: 403;
139
+ readonly "Not Found": 404;
140
+ readonly "Method Not Allowed": 405;
141
+ readonly "Not Acceptable": 406;
142
+ readonly "Proxy Authentication Required": 407;
143
+ readonly "Request Timeout": 408;
144
+ readonly Conflict: 409;
145
+ readonly Gone: 410;
146
+ readonly "Length Required": 411;
147
+ readonly "Precondition Failed": 412;
148
+ readonly "Payload Too Large": 413;
149
+ readonly "URI Too Long": 414;
150
+ readonly "Unsupported Media Type": 415;
151
+ readonly "Range Not Satisfiable": 416;
152
+ readonly "Expectation Failed": 417;
153
+ readonly "I'm a teapot": 418;
154
+ readonly "Enhance Your Calm": 420;
155
+ readonly "Misdirected Request": 421;
156
+ readonly "Unprocessable Content": 422;
157
+ readonly Locked: 423;
158
+ readonly "Failed Dependency": 424;
159
+ readonly "Too Early": 425;
160
+ readonly "Upgrade Required": 426;
161
+ readonly "Precondition Required": 428;
162
+ readonly "Too Many Requests": 429;
163
+ readonly "Request Header Fields Too Large": 431;
164
+ readonly "Unavailable For Legal Reasons": 451;
165
+ readonly "Internal Server Error": 500;
166
+ readonly "Not Implemented": 501;
167
+ readonly "Bad Gateway": 502;
168
+ readonly "Service Unavailable": 503;
169
+ readonly "Gateway Timeout": 504;
170
+ readonly "HTTP Version Not Supported": 505;
171
+ readonly "Variant Also Negotiates": 506;
172
+ readonly "Insufficient Storage": 507;
173
+ readonly "Loop Detected": 508;
174
+ readonly "Not Extended": 510;
175
+ readonly "Network Authentication Required": 511;
176
+ }[Code] : Code>;
177
+ }) => Promise<{
178
+ dynamicDB: MSSQL;
179
+ }>;
180
+ };
181
+ readonly injectStaticDB: (databaseName: string) => {
182
+ readonly resolve: () => {
183
+ staticDB: MSSQL;
184
+ };
185
+ };
186
+ }>>;
25
187
  macroFn: {
26
188
  readonly injectDynamicDB: (config: Omit<MSSQLDatabaseOptions, "databaseName">) => {
27
189
  readonly headers: "dbResolverHeader";
@@ -255,4 +417,10 @@ export declare const count: <const TDatabase extends Omit<MSSQLDatabaseOptions,
255
417
  schema: {};
256
418
  standaloneSchema: {};
257
419
  response: {};
420
+ } & {
421
+ derive: {};
422
+ resolve: {};
423
+ schema: {};
424
+ standaloneSchema: {};
425
+ response: {};
258
426
  }>;
@@ -9,6 +9,9 @@ export declare const batchDelete: <const TDatabase extends Omit<MSSQLDatabaseOpt
9
9
  derive: {};
10
10
  resolve: {};
11
11
  }, {
12
+ typebox: {};
13
+ error: {};
14
+ } & {
12
15
  typebox: {
13
16
  readonly dbResolverHeader: TObject<{
14
17
  'database-using': import("@sinclair/typebox").TString;
@@ -18,10 +21,169 @@ export declare const batchDelete: <const TDatabase extends Omit<MSSQLDatabaseOpt
18
21
  }, {
19
22
  schema: {};
20
23
  standaloneSchema: {};
21
- macro: {
22
- readonly injectDynamicDB?: Omit<MSSQLDatabaseOptions, "databaseName">;
23
- readonly injectStaticDB?: string;
24
- };
24
+ macro: {};
25
+ macroFn: {};
26
+ parser: {};
27
+ response: {};
28
+ } & {
29
+ schema: {};
30
+ standaloneSchema: {};
31
+ macro: Partial<import("elysia").MacroToProperty<{
32
+ readonly injectDynamicDB: (config: Omit<MSSQLDatabaseOptions, "databaseName">) => {
33
+ readonly headers: "dbResolverHeader";
34
+ readonly resolve: ({ headers }: {
35
+ body: unknown;
36
+ query: Record<string, string>;
37
+ params: Record<string, string>;
38
+ headers: Record<string, string | undefined>;
39
+ cookie: Record<string, import("elysia").Cookie<unknown>>;
40
+ server: import("elysia/universal/server").Server | null;
41
+ redirect: import("elysia").redirect;
42
+ set: {
43
+ headers: import("elysia").HTTPHeaders;
44
+ status?: number | keyof import("elysia").StatusMap;
45
+ redirect?: string;
46
+ cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
47
+ };
48
+ path: string;
49
+ route: string;
50
+ request: Request;
51
+ store: {};
52
+ status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 420 ? {
53
+ readonly 100: "Continue";
54
+ readonly 101: "Switching Protocols";
55
+ readonly 102: "Processing";
56
+ readonly 103: "Early Hints";
57
+ readonly 200: "OK";
58
+ readonly 201: "Created";
59
+ readonly 202: "Accepted";
60
+ readonly 203: "Non-Authoritative Information";
61
+ readonly 204: "No Content";
62
+ readonly 205: "Reset Content";
63
+ readonly 206: "Partial Content";
64
+ readonly 207: "Multi-Status";
65
+ readonly 208: "Already Reported";
66
+ readonly 300: "Multiple Choices";
67
+ readonly 301: "Moved Permanently";
68
+ readonly 302: "Found";
69
+ readonly 303: "See Other";
70
+ readonly 304: "Not Modified";
71
+ readonly 307: "Temporary Redirect";
72
+ readonly 308: "Permanent Redirect";
73
+ readonly 400: "Bad Request";
74
+ readonly 401: "Unauthorized";
75
+ readonly 402: "Payment Required";
76
+ readonly 403: "Forbidden";
77
+ readonly 404: "Not Found";
78
+ readonly 405: "Method Not Allowed";
79
+ readonly 406: "Not Acceptable";
80
+ readonly 407: "Proxy Authentication Required";
81
+ readonly 408: "Request Timeout";
82
+ readonly 409: "Conflict";
83
+ readonly 410: "Gone";
84
+ readonly 411: "Length Required";
85
+ readonly 412: "Precondition Failed";
86
+ readonly 413: "Payload Too Large";
87
+ readonly 414: "URI Too Long";
88
+ readonly 415: "Unsupported Media Type";
89
+ readonly 416: "Range Not Satisfiable";
90
+ readonly 417: "Expectation Failed";
91
+ readonly 418: "I'm a teapot";
92
+ readonly 420: "Enhance Your Calm";
93
+ readonly 421: "Misdirected Request";
94
+ readonly 422: "Unprocessable Content";
95
+ readonly 423: "Locked";
96
+ readonly 424: "Failed Dependency";
97
+ readonly 425: "Too Early";
98
+ readonly 426: "Upgrade Required";
99
+ readonly 428: "Precondition Required";
100
+ readonly 429: "Too Many Requests";
101
+ readonly 431: "Request Header Fields Too Large";
102
+ readonly 451: "Unavailable For Legal Reasons";
103
+ readonly 500: "Internal Server Error";
104
+ readonly 501: "Not Implemented";
105
+ readonly 502: "Bad Gateway";
106
+ readonly 503: "Service Unavailable";
107
+ readonly 504: "Gateway Timeout";
108
+ readonly 505: "HTTP Version Not Supported";
109
+ readonly 506: "Variant Also Negotiates";
110
+ readonly 507: "Insufficient Storage";
111
+ readonly 508: "Loop Detected";
112
+ readonly 510: "Not Extended";
113
+ readonly 511: "Network Authentication Required";
114
+ }[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaCustomStatusResponse<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Enhance Your Calm" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
115
+ readonly Continue: 100;
116
+ readonly "Switching Protocols": 101;
117
+ readonly Processing: 102;
118
+ readonly "Early Hints": 103;
119
+ readonly OK: 200;
120
+ readonly Created: 201;
121
+ readonly Accepted: 202;
122
+ readonly "Non-Authoritative Information": 203;
123
+ readonly "No Content": 204;
124
+ readonly "Reset Content": 205;
125
+ readonly "Partial Content": 206;
126
+ readonly "Multi-Status": 207;
127
+ readonly "Already Reported": 208;
128
+ readonly "Multiple Choices": 300;
129
+ readonly "Moved Permanently": 301;
130
+ readonly Found: 302;
131
+ readonly "See Other": 303;
132
+ readonly "Not Modified": 304;
133
+ readonly "Temporary Redirect": 307;
134
+ readonly "Permanent Redirect": 308;
135
+ readonly "Bad Request": 400;
136
+ readonly Unauthorized: 401;
137
+ readonly "Payment Required": 402;
138
+ readonly Forbidden: 403;
139
+ readonly "Not Found": 404;
140
+ readonly "Method Not Allowed": 405;
141
+ readonly "Not Acceptable": 406;
142
+ readonly "Proxy Authentication Required": 407;
143
+ readonly "Request Timeout": 408;
144
+ readonly Conflict: 409;
145
+ readonly Gone: 410;
146
+ readonly "Length Required": 411;
147
+ readonly "Precondition Failed": 412;
148
+ readonly "Payload Too Large": 413;
149
+ readonly "URI Too Long": 414;
150
+ readonly "Unsupported Media Type": 415;
151
+ readonly "Range Not Satisfiable": 416;
152
+ readonly "Expectation Failed": 417;
153
+ readonly "I'm a teapot": 418;
154
+ readonly "Enhance Your Calm": 420;
155
+ readonly "Misdirected Request": 421;
156
+ readonly "Unprocessable Content": 422;
157
+ readonly Locked: 423;
158
+ readonly "Failed Dependency": 424;
159
+ readonly "Too Early": 425;
160
+ readonly "Upgrade Required": 426;
161
+ readonly "Precondition Required": 428;
162
+ readonly "Too Many Requests": 429;
163
+ readonly "Request Header Fields Too Large": 431;
164
+ readonly "Unavailable For Legal Reasons": 451;
165
+ readonly "Internal Server Error": 500;
166
+ readonly "Not Implemented": 501;
167
+ readonly "Bad Gateway": 502;
168
+ readonly "Service Unavailable": 503;
169
+ readonly "Gateway Timeout": 504;
170
+ readonly "HTTP Version Not Supported": 505;
171
+ readonly "Variant Also Negotiates": 506;
172
+ readonly "Insufficient Storage": 507;
173
+ readonly "Loop Detected": 508;
174
+ readonly "Not Extended": 510;
175
+ readonly "Network Authentication Required": 511;
176
+ }[Code] : Code>;
177
+ }) => Promise<{
178
+ dynamicDB: MSSQL;
179
+ }>;
180
+ };
181
+ readonly injectStaticDB: (databaseName: string) => {
182
+ readonly resolve: () => {
183
+ staticDB: MSSQL;
184
+ };
185
+ };
186
+ }>>;
25
187
  macroFn: {
26
188
  readonly injectDynamicDB: (config: Omit<MSSQLDatabaseOptions, "databaseName">) => {
27
189
  readonly headers: "dbResolverHeader";
@@ -255,4 +417,10 @@ export declare const batchDelete: <const TDatabase extends Omit<MSSQLDatabaseOpt
255
417
  schema: {};
256
418
  standaloneSchema: {};
257
419
  response: {};
420
+ } & {
421
+ derive: {};
422
+ resolve: {};
423
+ schema: {};
424
+ standaloneSchema: {};
425
+ response: {};
258
426
  }>;