@periskope/types 0.6.165 → 0.6.166

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/types.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { default as _Stripe } from 'stripe';
2
2
  import { Merge, OverrideProperties } from 'type-fest';
3
- import { Rule } from "./rules.types";
3
+ import { Filter, Rule } from "./rules.types";
4
4
  import { Tables, TablesUpdate } from './supabase.types';
5
5
  export declare enum AllPlans {
6
6
  FREE_TRIAL = "free-trial",
@@ -517,7 +517,7 @@ export type RuleLogsType = OverrideProperties<Tables<'tbl_rules_logs'>, {
517
517
  is_valid: boolean;
518
518
  validation_progress: Record<string, {
519
519
  res: boolean;
520
- filter: Rule['conditions']['filters'][number];
520
+ filter: Filter;
521
521
  value: unknown;
522
522
  }>;
523
523
  checked_at: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.165",
3
+ "version": "0.6.166",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { default as _Stripe } from 'stripe';
2
2
  import { Merge, OverrideProperties } from 'type-fest';
3
- import { Rule } from "./rules.types";
3
+ import { Filter, Rule } from "./rules.types";
4
4
  import { Tables, TablesUpdate } from './supabase.types';
5
5
 
6
6
  /* ----------------------------- TYPE SHORTHANDS ---------------------------- */
@@ -804,7 +804,7 @@ export type RuleLogsType = OverrideProperties<
804
804
  string,
805
805
  {
806
806
  res: boolean;
807
- filter: Rule['conditions']['filters'][number];
807
+ filter: Filter;
808
808
  value: unknown;
809
809
  }
810
810
  >;