@stackone/olap 1.79.0 → 1.81.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/index.cjs +22 -22
- package/dist/index.d.cts +7 -1
- package/dist/index.d.mts +7 -1
- package/dist/index.mjs +40 -40
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -234,7 +234,7 @@ type PolicyRecord = {
|
|
|
234
234
|
version?: number;
|
|
235
235
|
level: string;
|
|
236
236
|
mode: 'enforce' | 'monitor';
|
|
237
|
-
effect?: 'refused' | 'masked' | 'redacted' | 'would-have-refused' | 'permitted';
|
|
237
|
+
effect?: 'refused' | 'masked' | 'redacted' | 'would-have-refused' | 'would-have-masked' | 'permitted';
|
|
238
238
|
};
|
|
239
239
|
type PolicyObservation = {
|
|
240
240
|
level: string;
|
|
@@ -259,6 +259,11 @@ type PolicyContext = {
|
|
|
259
259
|
policyIds: string[];
|
|
260
260
|
level?: string;
|
|
261
261
|
}>;
|
|
262
|
+
observedFields?: Array<{
|
|
263
|
+
path: string;
|
|
264
|
+
policyIds: string[];
|
|
265
|
+
level?: string;
|
|
266
|
+
}>;
|
|
262
267
|
redactedClasses?: Array<{
|
|
263
268
|
class: string;
|
|
264
269
|
policyIds: string[];
|
|
@@ -329,6 +334,7 @@ type ActionResult = {
|
|
|
329
334
|
headers?: Record<string, string>;
|
|
330
335
|
body?: unknown;
|
|
331
336
|
hasStepErrors?: boolean;
|
|
337
|
+
refusal?: Record<string, unknown>;
|
|
332
338
|
defenderContext?: DefenderContext;
|
|
333
339
|
policyContext?: PolicyContext;
|
|
334
340
|
endTime?: Date;
|
package/dist/index.d.mts
CHANGED
|
@@ -233,7 +233,7 @@ type PolicyRecord = {
|
|
|
233
233
|
version?: number;
|
|
234
234
|
level: string;
|
|
235
235
|
mode: 'enforce' | 'monitor';
|
|
236
|
-
effect?: 'refused' | 'masked' | 'redacted' | 'would-have-refused' | 'permitted';
|
|
236
|
+
effect?: 'refused' | 'masked' | 'redacted' | 'would-have-refused' | 'would-have-masked' | 'permitted';
|
|
237
237
|
};
|
|
238
238
|
type PolicyObservation = {
|
|
239
239
|
level: string;
|
|
@@ -258,6 +258,11 @@ type PolicyContext = {
|
|
|
258
258
|
policyIds: string[];
|
|
259
259
|
level?: string;
|
|
260
260
|
}>;
|
|
261
|
+
observedFields?: Array<{
|
|
262
|
+
path: string;
|
|
263
|
+
policyIds: string[];
|
|
264
|
+
level?: string;
|
|
265
|
+
}>;
|
|
261
266
|
redactedClasses?: Array<{
|
|
262
267
|
class: string;
|
|
263
268
|
policyIds: string[];
|
|
@@ -328,6 +333,7 @@ type ActionResult = {
|
|
|
328
333
|
headers?: Record<string, string>;
|
|
329
334
|
body?: unknown;
|
|
330
335
|
hasStepErrors?: boolean;
|
|
336
|
+
refusal?: Record<string, unknown>;
|
|
331
337
|
defenderContext?: DefenderContext;
|
|
332
338
|
policyContext?: PolicyContext;
|
|
333
339
|
endTime?: Date;
|