@postman-enricher/shared 1.0.0 → 1.1.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.
Files changed (2) hide show
  1. package/dist/types.d.ts +15 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -132,10 +132,25 @@ export interface VariableConfig {
132
132
  export interface TestConfig {
133
133
  auto?: boolean;
134
134
  }
135
+ export interface OrganizeConfig {
136
+ enabled: boolean;
137
+ strategy?: 'resources' | 'tags' | 'flat';
138
+ nestingLevel?: number;
139
+ excludePathParams?: boolean;
140
+ }
141
+ export interface PathVariablesConfig {
142
+ enabled: boolean;
143
+ mapping?: Record<string, {
144
+ reference: string;
145
+ description?: string;
146
+ }>;
147
+ }
135
148
  export interface EnrichmentConfig {
136
149
  filter?: FilterConfig;
137
150
  descriptions?: DescriptionConfig;
138
151
  examples?: ExampleConfig;
139
152
  variables?: VariableConfig;
140
153
  tests?: TestConfig;
154
+ organize?: OrganizeConfig;
155
+ pathVariables?: PathVariablesConfig;
141
156
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postman-enricher/shared",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Shared types and utilities for Postman Enricher",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",