@dyrected/core 2.18.0 → 2.19.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/dist/{app-Dd9cBbCs.d.cts → app-CXF4MdJc.d.cts} +97 -6
- package/dist/{app-Dd9cBbCs.d.ts → app-CXF4MdJc.d.ts} +97 -6
- package/dist/index.cjs +2565 -2048
- package/dist/index.d.cts +238 -6
- package/dist/index.d.ts +238 -6
- package/dist/index.js +2549 -2048
- package/dist/server.cjs +8025 -6478
- package/dist/server.d.cts +22 -2
- package/dist/server.d.ts +22 -2
- package/dist/server.js +7923 -6376
- package/package.json +1 -1
package/dist/server.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as DyrectedContext, D as DyrectedConfig, C as CollectionConfig, G as GlobalConfig, e as DatabaseAdapter, b as AuthenticatedUser,
|
|
2
|
-
export {
|
|
1
|
+
import { O as DyrectedContext, D as DyrectedConfig, C as CollectionConfig, G as GlobalConfig, e as DatabaseAdapter, b as AuthenticatedUser, b$ as DyrectedAIContext, ax as AIThread, at as AIMessage, cZ as RAGSearchResult, aw as AIRateLimitStore, av as AIRateLimitResult } from './app-CXF4MdJc.cjs';
|
|
2
|
+
export { dN as CollectionTokenPayload, dO as DEFAULT_SESSION_EXPIRY, dP as DyrectedObservabilityRuntime, dQ as RequestBodyCapture, dR as RequestTraceContext, dS as ResolvedObservabilityConfig, dT as attachRequestMetrics, dU as bindObservabilityRuntime, dV as buildRequestLogger, dW as captureRequestBody, dX as createDyrectedApp, dY as createObservabilityRuntime, dZ as createRequestSpan, d_ as decodeCollectionToken, d$ as endRequestSpan, e0 as getConfigLogger, e1 as getObservabilityRuntime, e2 as getRequestLogger, e3 as redactBody, e4 as redactHeaders, e5 as renderPrometheusMetrics, e6 as resolveObservabilityConfig, e7 as resolveSessionTokenExpiry, e8 as shouldSampleRequest, e9 as signCollectionToken, ea as verifyCollectionToken } from './app-CXF4MdJc.cjs';
|
|
3
3
|
import * as hono from 'hono';
|
|
4
4
|
import { Hono, Context, Next } from 'hono';
|
|
5
5
|
import * as hono_utils_http_status from 'hono/utils/http-status';
|
|
@@ -232,6 +232,26 @@ declare class CollectionController {
|
|
|
232
232
|
changePassword(c: Context<DyrectedContext>): Promise<any>;
|
|
233
233
|
delete(c: Context<DyrectedContext>): Promise<any>;
|
|
234
234
|
deleteMany(c: Context<DyrectedContext>): Promise<any>;
|
|
235
|
+
listTrash(c: Context<DyrectedContext>): Promise<any>;
|
|
236
|
+
getTrashEntry(c: Context<DyrectedContext>): Promise<any>;
|
|
237
|
+
restore(c: Context<DyrectedContext>): Promise<any>;
|
|
238
|
+
restoreMany(c: Context<DyrectedContext>): Promise<any>;
|
|
239
|
+
keep(c: Context<DyrectedContext>): Promise<any>;
|
|
240
|
+
purgeTrashEntry(c: Context<DyrectedContext>): Promise<any>;
|
|
241
|
+
emptyTrash(c: Context<DyrectedContext>): Promise<any>;
|
|
242
|
+
static listAllTrash(c: Context<DyrectedContext>): Promise<(Response & hono.TypedResponse<{
|
|
243
|
+
message: string;
|
|
244
|
+
}, 500, "json">) | (Response & hono.TypedResponse<{
|
|
245
|
+
docs: {
|
|
246
|
+
snapshot: any;
|
|
247
|
+
}[];
|
|
248
|
+
total: number;
|
|
249
|
+
limit: number;
|
|
250
|
+
page: number;
|
|
251
|
+
totalPages: number;
|
|
252
|
+
hasNextPage: boolean;
|
|
253
|
+
hasPrevPage: boolean;
|
|
254
|
+
}, hono_utils_http_status.ContentfulStatusCode, "json">)>;
|
|
235
255
|
seed(c: Context<DyrectedContext>): Promise<Response & hono.TypedResponse<{
|
|
236
256
|
message: string;
|
|
237
257
|
}, hono_utils_http_status.ContentfulStatusCode, "json">>;
|
package/dist/server.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as DyrectedContext, D as DyrectedConfig, C as CollectionConfig, G as GlobalConfig, e as DatabaseAdapter, b as AuthenticatedUser,
|
|
2
|
-
export {
|
|
1
|
+
import { O as DyrectedContext, D as DyrectedConfig, C as CollectionConfig, G as GlobalConfig, e as DatabaseAdapter, b as AuthenticatedUser, b$ as DyrectedAIContext, ax as AIThread, at as AIMessage, cZ as RAGSearchResult, aw as AIRateLimitStore, av as AIRateLimitResult } from './app-CXF4MdJc.js';
|
|
2
|
+
export { dN as CollectionTokenPayload, dO as DEFAULT_SESSION_EXPIRY, dP as DyrectedObservabilityRuntime, dQ as RequestBodyCapture, dR as RequestTraceContext, dS as ResolvedObservabilityConfig, dT as attachRequestMetrics, dU as bindObservabilityRuntime, dV as buildRequestLogger, dW as captureRequestBody, dX as createDyrectedApp, dY as createObservabilityRuntime, dZ as createRequestSpan, d_ as decodeCollectionToken, d$ as endRequestSpan, e0 as getConfigLogger, e1 as getObservabilityRuntime, e2 as getRequestLogger, e3 as redactBody, e4 as redactHeaders, e5 as renderPrometheusMetrics, e6 as resolveObservabilityConfig, e7 as resolveSessionTokenExpiry, e8 as shouldSampleRequest, e9 as signCollectionToken, ea as verifyCollectionToken } from './app-CXF4MdJc.js';
|
|
3
3
|
import * as hono from 'hono';
|
|
4
4
|
import { Hono, Context, Next } from 'hono';
|
|
5
5
|
import * as hono_utils_http_status from 'hono/utils/http-status';
|
|
@@ -232,6 +232,26 @@ declare class CollectionController {
|
|
|
232
232
|
changePassword(c: Context<DyrectedContext>): Promise<any>;
|
|
233
233
|
delete(c: Context<DyrectedContext>): Promise<any>;
|
|
234
234
|
deleteMany(c: Context<DyrectedContext>): Promise<any>;
|
|
235
|
+
listTrash(c: Context<DyrectedContext>): Promise<any>;
|
|
236
|
+
getTrashEntry(c: Context<DyrectedContext>): Promise<any>;
|
|
237
|
+
restore(c: Context<DyrectedContext>): Promise<any>;
|
|
238
|
+
restoreMany(c: Context<DyrectedContext>): Promise<any>;
|
|
239
|
+
keep(c: Context<DyrectedContext>): Promise<any>;
|
|
240
|
+
purgeTrashEntry(c: Context<DyrectedContext>): Promise<any>;
|
|
241
|
+
emptyTrash(c: Context<DyrectedContext>): Promise<any>;
|
|
242
|
+
static listAllTrash(c: Context<DyrectedContext>): Promise<(Response & hono.TypedResponse<{
|
|
243
|
+
message: string;
|
|
244
|
+
}, 500, "json">) | (Response & hono.TypedResponse<{
|
|
245
|
+
docs: {
|
|
246
|
+
snapshot: any;
|
|
247
|
+
}[];
|
|
248
|
+
total: number;
|
|
249
|
+
limit: number;
|
|
250
|
+
page: number;
|
|
251
|
+
totalPages: number;
|
|
252
|
+
hasNextPage: boolean;
|
|
253
|
+
hasPrevPage: boolean;
|
|
254
|
+
}, hono_utils_http_status.ContentfulStatusCode, "json">)>;
|
|
235
255
|
seed(c: Context<DyrectedContext>): Promise<Response & hono.TypedResponse<{
|
|
236
256
|
message: string;
|
|
237
257
|
}, hono_utils_http_status.ContentfulStatusCode, "json">>;
|