@zuplo/runtime 6.65.3 → 6.65.4
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/out/esm/index.js +23 -23
- package/out/types/index.d.ts +13 -1
- package/out/types/mocks/index.d.ts +15 -3
- package/package.json +1 -1
package/out/types/index.d.ts
CHANGED
|
@@ -5098,6 +5098,8 @@ declare interface LogField {
|
|
|
5098
5098
|
declare type LogFormat = "pretty" | "json" | "gcp" | "cloudflare";
|
|
5099
5099
|
|
|
5100
5100
|
/**
|
|
5101
|
+
* Logger to be used in the runtime via context.log.
|
|
5102
|
+
* You can set per-request properties that will be included in all log entries for this request.
|
|
5101
5103
|
* @beta
|
|
5102
5104
|
*/
|
|
5103
5105
|
export declare interface Logger extends SystemLogger {
|
|
@@ -8755,7 +8757,17 @@ export declare interface SupabaseJwtInboundPolicyOptions {
|
|
|
8755
8757
|
|
|
8756
8758
|
/* Excluded from this release type: SYSTEM_LOGGER */
|
|
8757
8759
|
|
|
8758
|
-
|
|
8760
|
+
/**
|
|
8761
|
+
* Base logger interface with methods for each log level.
|
|
8762
|
+
* @beta
|
|
8763
|
+
*/
|
|
8764
|
+
export declare interface SystemLogger {
|
|
8765
|
+
debug(...messages: unknown[]): void;
|
|
8766
|
+
info(...messages: unknown[]): void;
|
|
8767
|
+
log(...messages: unknown[]): void;
|
|
8768
|
+
warn(...messages: unknown[]): void;
|
|
8769
|
+
error(...messages: unknown[]): void;
|
|
8770
|
+
}
|
|
8759
8771
|
|
|
8760
8772
|
/* Excluded from this release type: SystemRouteName */
|
|
8761
8773
|
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Base logger interface with methods for each log level.
|
|
3
|
+
* @beta
|
|
4
|
+
*/
|
|
5
|
+
declare interface BaseLogger {
|
|
6
|
+
debug(...messages: unknown[]): void;
|
|
7
|
+
info(...messages: unknown[]): void;
|
|
8
|
+
log(...messages: unknown[]): void;
|
|
9
|
+
warn(...messages: unknown[]): void;
|
|
10
|
+
error(...messages: unknown[]): void;
|
|
11
|
+
}
|
|
12
|
+
|
|
1
13
|
/**
|
|
2
14
|
* @public
|
|
3
15
|
*/
|
|
@@ -787,9 +799,11 @@ declare type JsonPrimitive = string | number | boolean | null;
|
|
|
787
799
|
declare type JsonValue = JsonPrimitive | JsonObject | JsonArray;
|
|
788
800
|
|
|
789
801
|
/**
|
|
802
|
+
* Logger to be used in the runtime via context.log.
|
|
803
|
+
* You can set per-request properties that will be included in all log entries for this request.
|
|
790
804
|
* @beta
|
|
791
805
|
*/
|
|
792
|
-
declare interface Logger extends
|
|
806
|
+
declare interface Logger extends BaseLogger {
|
|
793
807
|
/**
|
|
794
808
|
* Set properties that will be included in all subsequent log entries for this request.
|
|
795
809
|
* Properties are merged with existing properties and any static fields configured in the logging plugin.
|
|
@@ -1556,8 +1570,6 @@ declare interface RouteConfiguration
|
|
|
1556
1570
|
raw<T = any>(): T;
|
|
1557
1571
|
}
|
|
1558
1572
|
|
|
1559
|
-
/* Excluded from this release type: SystemLogger */
|
|
1560
|
-
|
|
1561
1573
|
declare type UserDataDefault = any;
|
|
1562
1574
|
|
|
1563
1575
|
/**
|