@ampsec/platform-client 84.42.0 → 84.42.1

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.
@@ -1,6 +1,5 @@
1
1
  import { z } from 'zod';
2
2
  import { BaseDto, BaseUpsertDto } from './base.dto';
3
- import { CompiledRule } from './rules.dto';
4
3
  /**
5
4
  * ------------------------
6
5
  * Base TagSpec schema
@@ -145,7 +144,7 @@ export declare const _TagSpecWithRuleSetDto: z.ZodObject<{
145
144
  config?: any;
146
145
  notify?: boolean | undefined;
147
146
  }>;
148
- ruleSet: z.ZodArray<z.ZodAny, "many">;
147
+ ruleSet: z.ZodAny;
149
148
  }, "strip", z.ZodTypeAny, {
150
149
  tagSpec: {
151
150
  name: string;
@@ -156,7 +155,7 @@ export declare const _TagSpecWithRuleSetDto: z.ZodObject<{
156
155
  description?: string | null | undefined;
157
156
  config?: any;
158
157
  };
159
- ruleSet: any[];
158
+ ruleSet?: any;
160
159
  }, {
161
160
  tagSpec: {
162
161
  name: string;
@@ -167,9 +166,9 @@ export declare const _TagSpecWithRuleSetDto: z.ZodObject<{
167
166
  config?: any;
168
167
  notify?: boolean | undefined;
169
168
  };
170
- ruleSet: any[];
169
+ ruleSet?: any;
171
170
  }>;
172
171
  export type TagSpecWithRuleSetDto = {
173
172
  tagSpec: TagSpecDto;
174
- ruleSet: CompiledRule[];
173
+ ruleSet: any;
175
174
  };
@@ -43,6 +43,6 @@ exports._TagSpecDto = exports._TagSpecBase.extend({
43
43
  */
44
44
  exports._TagSpecWithRuleSetDto = zod_1.z.object({
45
45
  tagSpec: exports._TagSpecDto,
46
- ruleSet: zod_1.z.array(zod_1.z.any()), // CompiledRule[] — z.any() per element keeps Zod simple
46
+ ruleSet: zod_1.z.any(),
47
47
  });
48
48
  //# sourceMappingURL=tagSpecs.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tagSpecs.dto.js","sourceRoot":"","sources":["../../../src/dto/tagSpecs.dto.ts"],"names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AEhB,2BAA2B;IAC3B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAEjC,8BAA8B;IAC9B,MAAM,EAAE,OAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAE1B,2BAA2B;IAC3B,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;CACnC,CAAC,CAAC;AAEH;;;;GAIG;AACU,QAAA,iBAAiB,GAAG,oBAAY,CAAC;AAI9C;;;;GAIG;AACU,QAAA,WAAW,GAAG,oBAAY,CAAC,MAAM,CAAC;IAC7C,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;CACf,CAAC,CAAC;AAIH;;;;;GAKG;AACU,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,OAAO,EAAE,mBAAW;IACpB,OAAO,EAAE,OAAC,CAAC,GAAG,EAAE;CACjB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampsec/platform-client",
3
- "version": "84.42.0",
3
+ "version": "84.42.1",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "runkitExampleFilename": "example/main.js",
@@ -1,6 +1,5 @@
1
1
  import {z} from 'zod';
2
2
  import {BaseDto, BaseUpsertDto} from './base.dto';
3
- import {CompiledRule} from './rules.dto';
4
3
 
5
4
  /**
6
5
  * ------------------------
@@ -55,10 +54,10 @@ export type TagSpecDto = BaseDto & z.infer<typeof _TagSpecDto>;
55
54
  */
56
55
  export const _TagSpecWithRuleSetDto = z.object({
57
56
  tagSpec: _TagSpecDto,
58
- ruleSet: z.array(z.any()), // CompiledRule[] — z.any() per element keeps Zod simple
57
+ ruleSet: z.any(),
59
58
  });
60
59
 
61
60
  export type TagSpecWithRuleSetDto = {
62
61
  tagSpec: TagSpecDto;
63
- ruleSet: CompiledRule[]; // was: any — now typed via rules.dto.ts
62
+ ruleSet: any;
64
63
  };