@usebruno/filestore 0.9.0 → 0.11.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 (113) hide show
  1. package/dist/cjs/index.js +1 -1
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/workers/worker-script.js +1 -1
  4. package/dist/cjs/workers/worker-script.js.map +1 -1
  5. package/dist/constants.d.ts +2 -0
  6. package/dist/constants.d.ts.map +1 -1
  7. package/dist/esm/index.js +1 -1
  8. package/dist/esm/index.js.map +1 -1
  9. package/dist/esm/workers/worker-script.js +1 -1
  10. package/dist/esm/workers/worker-script.js.map +1 -1
  11. package/dist/formats/bru/index.d.ts.map +1 -1
  12. package/dist/formats/bru/utils/redact-large-text-blocks.d.ts +11 -0
  13. package/dist/formats/bru/utils/redact-large-text-blocks.d.ts.map +1 -0
  14. package/dist/formats/yml/common/app.d.ts +8 -0
  15. package/dist/formats/yml/common/app.d.ts.map +1 -0
  16. package/dist/formats/yml/common/auth.d.ts.map +1 -1
  17. package/dist/formats/yml/common/body.d.ts.map +1 -1
  18. package/dist/formats/yml/common/datatype.d.ts +14 -0
  19. package/dist/formats/yml/common/datatype.d.ts.map +1 -0
  20. package/dist/formats/yml/common/headers.d.ts.map +1 -1
  21. package/dist/formats/yml/common/variables.d.ts.map +1 -1
  22. package/dist/formats/yml/items/parseApp.d.ts +13 -0
  23. package/dist/formats/yml/items/parseApp.d.ts.map +1 -0
  24. package/dist/formats/yml/items/parseGraphQLRequest.d.ts.map +1 -1
  25. package/dist/formats/yml/items/parseGrpcRequest.d.ts.map +1 -1
  26. package/dist/formats/yml/items/parseHttpRequest.d.ts.map +1 -1
  27. package/dist/formats/yml/items/parseWebsocketRequest.d.ts.map +1 -1
  28. package/dist/formats/yml/items/stringifyApp.d.ts +4 -0
  29. package/dist/formats/yml/items/stringifyApp.d.ts.map +1 -0
  30. package/dist/formats/yml/items/stringifyGraphQLRequest.d.ts.map +1 -1
  31. package/dist/formats/yml/items/stringifyGrpcRequest.d.ts.map +1 -1
  32. package/dist/formats/yml/items/stringifyHttpRequest.d.ts.map +1 -1
  33. package/dist/formats/yml/items/stringifyWebsocketRequest.d.ts.map +1 -1
  34. package/dist/formats/yml/parseCollection.d.ts.map +1 -1
  35. package/dist/formats/yml/parseEnvironment.d.ts +3 -1
  36. package/dist/formats/yml/parseEnvironment.d.ts.map +1 -1
  37. package/dist/formats/yml/parseFolder.d.ts.map +1 -1
  38. package/dist/formats/yml/parseItem.d.ts.map +1 -1
  39. package/dist/formats/yml/stringifyCollection.d.ts.map +1 -1
  40. package/dist/formats/yml/stringifyEnvironment.d.ts +3 -1
  41. package/dist/formats/yml/stringifyEnvironment.d.ts.map +1 -1
  42. package/dist/formats/yml/stringifyItem.d.ts.map +1 -1
  43. package/dist/index.d.ts +4 -0
  44. package/dist/index.d.ts.map +1 -1
  45. package/dist/types.d.ts +6 -0
  46. package/dist/types.d.ts.map +1 -1
  47. package/dist/utils/secretsJsonToEnvironments.d.ts +38 -0
  48. package/dist/utils/secretsJsonToEnvironments.d.ts.map +1 -0
  49. package/package.json +7 -5
  50. package/src/constants.ts +9 -0
  51. package/src/formats/bru/index.ts +52 -0
  52. package/src/formats/bru/tests/parseBruEnvironment.spec.js +63 -0
  53. package/src/formats/bru/tests/redact-large-text-blocks.spec.js +313 -0
  54. package/src/formats/bru/utils/redact-large-text-blocks.ts +102 -0
  55. package/src/formats/yml/common/actions.ts +1 -1
  56. package/src/formats/yml/common/app.ts +27 -0
  57. package/src/formats/yml/common/auth.ts +53 -1
  58. package/src/formats/yml/common/body.spec.ts +62 -0
  59. package/src/formats/yml/common/body.ts +27 -9
  60. package/src/formats/yml/common/datatype.spec.ts +110 -0
  61. package/src/formats/yml/common/datatype.ts +57 -0
  62. package/src/formats/yml/common/headers.ts +4 -0
  63. package/src/formats/yml/common/variables.spec.ts +127 -0
  64. package/src/formats/yml/common/variables.ts +20 -6
  65. package/src/formats/yml/items/parseApp.ts +37 -0
  66. package/src/formats/yml/items/parseGraphQLRequest.ts +8 -0
  67. package/src/formats/yml/items/parseGrpcRequest.ts +24 -3
  68. package/src/formats/yml/items/parseHttpRequest.ts +13 -0
  69. package/src/formats/yml/items/parseWebsocketRequest.ts +29 -9
  70. package/src/formats/yml/items/stringifyApp.ts +45 -0
  71. package/src/formats/yml/items/stringifyGraphQLRequest.ts +3 -0
  72. package/src/formats/yml/items/stringifyGrpcRequest.ts +9 -11
  73. package/src/formats/yml/items/stringifyHttpRequest.ts +10 -0
  74. package/src/formats/yml/items/stringifyWebsocketRequest.ts +22 -9
  75. package/src/formats/yml/parseCollection.spec.ts +70 -0
  76. package/src/formats/yml/parseCollection.ts +8 -3
  77. package/src/formats/yml/parseEnvironment.spec.ts +99 -0
  78. package/src/formats/yml/parseEnvironment.ts +69 -5
  79. package/src/formats/yml/parseFolder.spec.ts +52 -0
  80. package/src/formats/yml/parseFolder.ts +14 -21
  81. package/src/formats/yml/parseItem.spec.ts +147 -0
  82. package/src/formats/yml/parseItem.ts +4 -0
  83. package/src/formats/yml/stringifyCollection.spec.ts +77 -0
  84. package/src/formats/yml/stringifyCollection.ts +4 -0
  85. package/src/formats/yml/stringifyEnvironment.spec.ts +91 -0
  86. package/src/formats/yml/stringifyEnvironment.ts +59 -10
  87. package/src/formats/yml/stringifyFolder.spec.ts +47 -0
  88. package/src/formats/yml/stringifyItem.spec.ts +53 -0
  89. package/src/formats/yml/stringifyItem.ts +4 -0
  90. package/src/formats/yml/tests/fixtures/presets/empty-request.yml +7 -0
  91. package/src/formats/yml/tests/fixtures/presets/no-presets.yml +3 -0
  92. package/src/formats/yml/tests/fixtures/presets/no-request-key.yml +6 -0
  93. package/src/formats/yml/tests/fixtures/presets/type-only-realistic.yml +24 -0
  94. package/src/formats/yml/tests/fixtures/presets/url-only-realistic.yml +25 -0
  95. package/src/formats/yml/tests/fixtures/presets/with-type-and-url.yml +9 -0
  96. package/src/formats/yml/tests/parseCollection.spec.js +63 -0
  97. package/src/formats/yml/tests/parseEnvironment.spec.js +122 -0
  98. package/src/formats/yml/tests/parseEnvironment.spec.ts +160 -0
  99. package/src/formats/yml/tests/stringifyEnvironment.spec.ts +204 -0
  100. package/src/formats/yml/tests/variables.spec.js +34 -0
  101. package/src/index.ts +5 -0
  102. package/src/types/bruno-lang.d.ts +1 -0
  103. package/src/types.ts +7 -0
  104. package/src/utils/secretsJsonToEnvironments.spec.ts +211 -0
  105. package/src/utils/secretsJsonToEnvironments.ts +129 -0
  106. package/dist/formats/bru/tests/example-status-swap.spec.d.ts +0 -2
  107. package/dist/formats/bru/tests/example-status-swap.spec.d.ts.map +0 -1
  108. package/dist/formats/bru/tests/fixtures/oauth2-additional-params.d.ts +0 -57
  109. package/dist/formats/bru/tests/fixtures/oauth2-additional-params.d.ts.map +0 -1
  110. package/dist/formats/bru/tests/oauth2-additional-params.spec.d.ts +0 -2
  111. package/dist/formats/bru/tests/oauth2-additional-params.spec.d.ts.map +0 -1
  112. package/dist/formats/bru/tests/request-parse-and-redact-body-data.spec.d.ts +0 -2
  113. package/dist/formats/bru/tests/request-parse-and-redact-body-data.spec.d.ts.map +0 -1
@@ -0,0 +1,211 @@
1
+ import { migrateSecretsJsonToEnvironments } from './secretsJsonToEnvironments';
2
+ import type { Environment as BrunoEnvironment } from '@usebruno/schema-types/collection/environment';
3
+
4
+ const env = (name: string, overrides: Partial<BrunoEnvironment> = {}): BrunoEnvironment => ({
5
+ uid: `uid-${name}`,
6
+ name,
7
+ variables: [],
8
+ color: null,
9
+ ...overrides
10
+ });
11
+
12
+ // collects the nested external-secrets fields and strips the randomly generated uid
13
+ // so they can be compared by value
14
+ const withoutUids = (environment: any) => ({
15
+ secretProviderType: environment.externalSecrets?.type,
16
+ variables: (environment.externalSecrets?.variables || []).map(({ uid, ...rest }: any) => rest)
17
+ });
18
+
19
+ describe('migrateSecretsJsonToEnvironments', () => {
20
+ it('sets an external secrets group from a vault secrets.json file, preserving existing variables', () => {
21
+ const result = migrateSecretsJsonToEnvironments({
22
+ secretsJsonData: {
23
+ type: 'vault',
24
+ data: [
25
+ {
26
+ environment: 'test',
27
+ secrets: [
28
+ { name: 'cloudSecret', path: 'secret/data/cloud' },
29
+ { name: 'dbPassword', path: 'secret/data/db-password', enabled: false }
30
+ ]
31
+ }
32
+ ]
33
+ },
34
+ environments: [
35
+ env('test', { variables: [{ uid: 'v1', name: 'existing', value: 'keep-me', type: 'text', enabled: true }] })
36
+ ]
37
+ });
38
+
39
+ expect(result[0].changed).toBe(true);
40
+ expect(result[0].environment.variables).toEqual([
41
+ { uid: 'v1', name: 'existing', value: 'keep-me', type: 'text', enabled: true }
42
+ ]);
43
+ expect(withoutUids(result[0].environment)).toEqual({
44
+ secretProviderType: 'hashicorp-vault-server',
45
+ variables: [
46
+ { name: 'cloudSecret', path: 'secret/data/cloud', enabled: true },
47
+ { name: 'dbPassword', path: 'secret/data/db-password', enabled: false }
48
+ ]
49
+ });
50
+ });
51
+
52
+ it('sets a hashicorp-vault-cloud group when cli.type is vault-cloud', () => {
53
+ const result = migrateSecretsJsonToEnvironments({
54
+ secretsJsonData: {
55
+ type: 'vault',
56
+ cli: { type: 'vault-cloud' },
57
+ data: [{ environment: 'test', secrets: [{ name: 'cloudSecret', path: 'app/secret' }] }]
58
+ },
59
+ environments: [env('test')]
60
+ });
61
+
62
+ expect(result[0].changed).toBe(true);
63
+ expect(withoutUids(result[0].environment)).toEqual({
64
+ secretProviderType: 'hashicorp-vault-cloud',
65
+ variables: [{ name: 'cloudSecret', path: 'app/secret', enabled: true }]
66
+ });
67
+ });
68
+
69
+ it('sets a hashicorp-vault-server group when cli.type is vault-server', () => {
70
+ const result = migrateSecretsJsonToEnvironments({
71
+ secretsJsonData: {
72
+ type: 'vault',
73
+ cli: { type: 'vault-server' },
74
+ data: [{ environment: 'test', secrets: [{ name: 'serverSecret', path: 'secret/data/x' }] }]
75
+ },
76
+ environments: [env('test')]
77
+ });
78
+
79
+ expect(withoutUids(result[0].environment).secretProviderType)
80
+ .toBe('hashicorp-vault-server');
81
+ });
82
+
83
+ it('sets an aws-secrets-manager group from an aws secrets.json file', () => {
84
+ const result = migrateSecretsJsonToEnvironments({
85
+ secretsJsonData: {
86
+ type: 'aws-secrets-manager',
87
+ data: [{ environment: 'test', secrets: [{ name: 'awsSecret', secretName: 'my-aws-secret' }] }]
88
+ },
89
+ environments: [env('test')]
90
+ });
91
+
92
+ expect(result[0].changed).toBe(true);
93
+ expect(withoutUids(result[0].environment)).toEqual({
94
+ secretProviderType: 'aws-secrets-manager',
95
+ variables: [{ name: 'awsSecret', secretName: 'my-aws-secret', enabled: true }]
96
+ });
97
+ });
98
+
99
+ it('sets an azure-key-vault group from an azure secrets.json file', () => {
100
+ const result = migrateSecretsJsonToEnvironments({
101
+ secretsJsonData: {
102
+ type: 'azure-key-vault',
103
+ data: [{ environment: 'test', secrets: [{ name: 'azureSecret', vaultName: 'my-key-vault' }] }]
104
+ },
105
+ environments: [env('test')]
106
+ });
107
+
108
+ expect(result[0].changed).toBe(true);
109
+ expect(withoutUids(result[0].environment)).toEqual({
110
+ secretProviderType: 'azure-key-vault',
111
+ variables: [{ name: 'azureSecret', vaultName: 'my-key-vault', enabled: true }]
112
+ });
113
+ });
114
+
115
+ it('applies the provider type to every environment, with empty variables when there is no matching entry', () => {
116
+ const test = env('test');
117
+ const prod = env('prod');
118
+
119
+ const result = migrateSecretsJsonToEnvironments({
120
+ secretsJsonData: {
121
+ type: 'vault',
122
+ data: [{ environment: 'test', secrets: [{ name: 'a', path: 'p/a' }] }]
123
+ },
124
+ environments: [test, prod]
125
+ });
126
+
127
+ // `test` gets the type and its secret...
128
+ expect(result[0].changed).toBe(true);
129
+ expect(withoutUids(result[0].environment)).toEqual({
130
+ secretProviderType: 'hashicorp-vault-server',
131
+ variables: [{ name: 'a', path: 'p/a', enabled: true }]
132
+ });
133
+
134
+ // ...and `prod` (no matching entry) gets the same type with no variables.
135
+ expect(result[1].changed).toBe(true);
136
+ expect(withoutUids(result[1].environment)).toEqual({
137
+ secretProviderType: 'hashicorp-vault-server',
138
+ variables: []
139
+ });
140
+ });
141
+
142
+ it('applies the provider type with empty variables when secrets.json data is empty', () => {
143
+ const test = env('test');
144
+
145
+ const result = migrateSecretsJsonToEnvironments({
146
+ secretsJsonData: { type: 'vault', data: [] },
147
+ environments: [test]
148
+ });
149
+
150
+ expect(result[0].changed).toBe(true);
151
+ expect(withoutUids(result[0].environment)).toEqual({
152
+ secretProviderType: 'hashicorp-vault-server',
153
+ variables: []
154
+ });
155
+ });
156
+
157
+ it('leaves environments unchanged when no provider type can be resolved', () => {
158
+ const test = env('test');
159
+
160
+ const result = migrateSecretsJsonToEnvironments({
161
+ secretsJsonData: { type: 'unknown-provider', data: [{ environment: 'test', secrets: [{ name: 'a', path: 'p/a' }] }] },
162
+ environments: [test]
163
+ });
164
+
165
+ expect(result[0].changed).toBe(false);
166
+ expect(result[0].environment).toBe(test);
167
+ });
168
+
169
+ it('skips environments that already have external secret variables', () => {
170
+ const test = env('test', {
171
+ externalSecrets: {
172
+ type: 'hashicorp-vault-server',
173
+ variables: [{ uid: 'e1', name: 'existing', path: 'secret/data/existing', enabled: true }]
174
+ }
175
+ });
176
+
177
+ const result = migrateSecretsJsonToEnvironments({
178
+ secretsJsonData: {
179
+ type: 'vault',
180
+ data: [{ environment: 'test', secrets: [{ name: 'incoming', path: 'secret/data/incoming' }] }]
181
+ },
182
+ environments: [test]
183
+ });
184
+
185
+ expect(result[0].changed).toBe(false);
186
+ expect(result[0].environment).toBe(test);
187
+ });
188
+
189
+ it('skips secrets with a missing identifier', () => {
190
+ const result = migrateSecretsJsonToEnvironments({
191
+ secretsJsonData: {
192
+ type: 'vault',
193
+ data: [
194
+ {
195
+ environment: 'test',
196
+ secrets: [
197
+ { name: 'good', path: 'p/good' },
198
+ { name: 'bad', path: '' }
199
+ ]
200
+ }
201
+ ]
202
+ },
203
+ environments: [env('test')]
204
+ });
205
+
206
+ expect(withoutUids(result[0].environment)).toEqual({
207
+ secretProviderType: 'hashicorp-vault-server',
208
+ variables: [{ name: 'good', path: 'p/good', enabled: true }]
209
+ });
210
+ });
211
+ });
@@ -0,0 +1,129 @@
1
+ import type {
2
+ Environment as BrunoEnvironment,
3
+ ExternalSecrets as BrunoExternalSecrets,
4
+ ExternalSecretProviderType,
5
+ HashicorpVaultEnvironmentVariable,
6
+ AwsSecretsManagerEnvironmentVariable,
7
+ AzureKeyVaultEnvironmentVariable
8
+ } from '@usebruno/schema-types/collection/environment';
9
+ import { uuid } from './index';
10
+
11
+ type LegacySecretsJsonSecret = {
12
+ name?: string;
13
+ path?: string;
14
+ secretName?: string;
15
+ vaultName?: string;
16
+ enabled?: boolean;
17
+ };
18
+
19
+ export interface SecretsJsonData {
20
+ type?: string;
21
+ data?: { environment: string; type?: string; secrets: LegacySecretsJsonSecret[] }[];
22
+ cli?: { type?: string };
23
+ }
24
+
25
+ export interface EnvironmentFileResult {
26
+ name: string;
27
+ environment: BrunoEnvironment;
28
+ changed: boolean;
29
+ }
30
+
31
+ // secrets.json is the legacy format being migrated away from; its provider group lives in
32
+ // `type` (`'vault' | 'aws-secrets-manager' | 'azure-key-vault'`). `'vault'` doesn't distinguish
33
+ // cloud vs server — that split lives in the legacy `cli.type` (`vault-cloud`/`vault-server`).
34
+ // Fall back to server when no cli config is present.
35
+ const resolveSecretProviderType = (
36
+ secretsJsonData: SecretsJsonData
37
+ ): ExternalSecretProviderType | null => {
38
+ const fileType = secretsJsonData?.type;
39
+ if (fileType === 'aws-secrets-manager') return 'aws-secrets-manager';
40
+ if (fileType === 'azure-key-vault') return 'azure-key-vault';
41
+ if (fileType === 'vault') {
42
+ return secretsJsonData?.cli?.type === 'vault-cloud' ? 'hashicorp-vault-cloud' : 'hashicorp-vault-server';
43
+ }
44
+ return null;
45
+ };
46
+
47
+ // Builds the environment's external-secrets group for the given provider type. Invalid/empty
48
+ // secrets are filtered out; the group is still returned with an empty `variables` list so the
49
+ // provider type lands on the environment even when it has no usable secrets.
50
+ const buildExternalSecrets = (
51
+ secrets: LegacySecretsJsonSecret[] | undefined,
52
+ type: ExternalSecretProviderType
53
+ ): BrunoExternalSecrets | null => {
54
+ if (type === 'aws-secrets-manager') {
55
+ const variables = (secrets || [])
56
+ .filter((s) => s?.name && typeof s.secretName === 'string' && s.secretName.length > 0)
57
+ .map((s): AwsSecretsManagerEnvironmentVariable => ({
58
+ uid: uuid(),
59
+ name: s.name as string,
60
+ secretName: s.secretName as string,
61
+ enabled: s.enabled !== false
62
+ }));
63
+ return { type, variables };
64
+ }
65
+ if (type === 'azure-key-vault') {
66
+ const variables = (secrets || [])
67
+ .filter((s) => s?.name && typeof s.vaultName === 'string' && s.vaultName.length > 0)
68
+ .map((s): AzureKeyVaultEnvironmentVariable => ({
69
+ uid: uuid(),
70
+ name: s.name as string,
71
+ vaultName: s.vaultName as string,
72
+ enabled: s.enabled !== false
73
+ }));
74
+ return { type, variables };
75
+ }
76
+ if (type === 'hashicorp-vault-cloud' || type === 'hashicorp-vault-server') {
77
+ const variables = (secrets || [])
78
+ .filter((s) => s?.name && typeof s.path === 'string' && s.path.length > 0)
79
+ .map((s): HashicorpVaultEnvironmentVariable => ({
80
+ uid: uuid(),
81
+ name: s.name as string,
82
+ path: s.path as string,
83
+ enabled: s.enabled !== false
84
+ }));
85
+ return { type, variables };
86
+ }
87
+ return null;
88
+ };
89
+
90
+ /**
91
+ * Applies the secrets.json provider `type` to every environment's `externalSecrets`, moving each
92
+ * environment's matching secrets onto it. The provider type lands on every environment that
93
+ * doesn't already have `externalSecrets` — including ones with no matching secrets.json entry or
94
+ * only invalid secrets (those get the type with an empty `variables` list). Environments that
95
+ * already carry `externalSecrets` are returned unchanged, as is everything when no provider type
96
+ * can be resolved. Format-agnostic and pure; file IO is the caller's responsibility.
97
+ */
98
+ export const migrateSecretsJsonToEnvironments = ({
99
+ secretsJsonData,
100
+ environments
101
+ }: {
102
+ secretsJsonData: SecretsJsonData;
103
+ environments: BrunoEnvironment[];
104
+ }): EnvironmentFileResult[] => {
105
+ const secretProviderType = resolveSecretProviderType(secretsJsonData);
106
+
107
+ return environments.map((environment) => {
108
+ const unchanged = { name: environment.name, environment, changed: false };
109
+
110
+ if (environment.externalSecrets || !secretProviderType) {
111
+ return unchanged;
112
+ }
113
+
114
+ const entry = secretsJsonData?.data?.find((d) => d?.environment === environment.name);
115
+ const externalSecrets = buildExternalSecrets(entry?.secrets, secretProviderType);
116
+ if (!externalSecrets) {
117
+ return unchanged;
118
+ }
119
+
120
+ return {
121
+ name: environment.name,
122
+ environment: {
123
+ ...environment,
124
+ externalSecrets
125
+ },
126
+ changed: true
127
+ };
128
+ });
129
+ };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=example-status-swap.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"example-status-swap.spec.d.ts","sourceRoot":"","sources":["../../../../src/formats/bru/tests/example-status-swap.spec.js"],"names":[],"mappings":""}
@@ -1,57 +0,0 @@
1
- export function getBruJsonWithAdditionalParams(grantType: any): {
2
- meta: {
3
- name: string;
4
- type: string;
5
- seq: number;
6
- };
7
- http: {
8
- method: string;
9
- url: string;
10
- };
11
- auth: {
12
- oauth2: {
13
- grantType: any;
14
- };
15
- };
16
- oauth2_additional_parameters_auth_req_headers: {
17
- name: string;
18
- value: string;
19
- enabled: boolean;
20
- }[];
21
- oauth2_additional_parameters_auth_req_queryparams: {
22
- name: string;
23
- value: string;
24
- enabled: boolean;
25
- }[];
26
- oauth2_additional_parameters_access_token_req_headers: {
27
- name: string;
28
- value: string;
29
- enabled: boolean;
30
- }[];
31
- oauth2_additional_parameters_access_token_req_queryparams: {
32
- name: string;
33
- value: string;
34
- enabled: boolean;
35
- }[];
36
- oauth2_additional_parameters_access_token_req_bodyvalues: {
37
- name: string;
38
- value: string;
39
- enabled: boolean;
40
- }[];
41
- oauth2_additional_parameters_refresh_token_req_headers: {
42
- name: string;
43
- value: string;
44
- enabled: boolean;
45
- }[];
46
- oauth2_additional_parameters_refresh_token_req_queryparams: {
47
- name: string;
48
- value: string;
49
- enabled: boolean;
50
- }[];
51
- oauth2_additional_parameters_refresh_token_req_bodyvalues: {
52
- name: string;
53
- value: string;
54
- enabled: boolean;
55
- }[];
56
- };
57
- //# sourceMappingURL=oauth2-additional-params.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"oauth2-additional-params.d.ts","sourceRoot":"","sources":["../../../../../src/formats/bru/tests/fixtures/oauth2-additional-params.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+GE"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=oauth2-additional-params.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"oauth2-additional-params.spec.d.ts","sourceRoot":"","sources":["../../../../src/formats/bru/tests/oauth2-additional-params.spec.js"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=request-parse-and-redact-body-data.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"request-parse-and-redact-body-data.spec.d.ts","sourceRoot":"","sources":["../../../../src/formats/bru/tests/request-parse-and-redact-body-data.spec.js"],"names":[],"mappings":""}