@mcp-abap-adt/interfaces-adt 4.1.0 → 7.0.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 (63) hide show
  1. package/CHANGELOG.md +255 -0
  2. package/README.md +35 -0
  3. package/dist/adt/IAdtAccessControl.d.ts +1 -1
  4. package/dist/adt/IAdtAccessControl.d.ts.map +1 -1
  5. package/dist/adt/IAdtAppendStructure.d.ts +1 -1
  6. package/dist/adt/IAdtAppendStructure.d.ts.map +1 -1
  7. package/dist/adt/IAdtBehaviorDefinition.d.ts +1 -1
  8. package/dist/adt/IAdtBehaviorDefinition.d.ts.map +1 -1
  9. package/dist/adt/IAdtBehaviorImplementation.d.ts +2 -2
  10. package/dist/adt/IAdtBehaviorImplementation.d.ts.map +1 -1
  11. package/dist/adt/IAdtCapabilities.d.ts +12 -7
  12. package/dist/adt/IAdtCapabilities.d.ts.map +1 -1
  13. package/dist/adt/IAdtClass.d.ts +5 -5
  14. package/dist/adt/IAdtClass.d.ts.map +1 -1
  15. package/dist/adt/IAdtDataElement.d.ts +8 -15
  16. package/dist/adt/IAdtDataElement.d.ts.map +1 -1
  17. package/dist/adt/IAdtDdl.d.ts +1 -1
  18. package/dist/adt/IAdtDdl.d.ts.map +1 -1
  19. package/dist/adt/IAdtDomain.d.ts +8 -39
  20. package/dist/adt/IAdtDomain.d.ts.map +1 -1
  21. package/dist/adt/IAdtEnhancement.d.ts +1 -1
  22. package/dist/adt/IAdtEnhancement.d.ts.map +1 -1
  23. package/dist/adt/IAdtFunctionGroup.d.ts +8 -16
  24. package/dist/adt/IAdtFunctionGroup.d.ts.map +1 -1
  25. package/dist/adt/IAdtFunctionInclude.d.ts +1 -1
  26. package/dist/adt/IAdtFunctionInclude.d.ts.map +1 -1
  27. package/dist/adt/IAdtFunctionModule.d.ts +1 -1
  28. package/dist/adt/IAdtFunctionModule.d.ts.map +1 -1
  29. package/dist/adt/IAdtInclude.d.ts +1 -1
  30. package/dist/adt/IAdtInclude.d.ts.map +1 -1
  31. package/dist/adt/IAdtInterface.d.ts +1 -3
  32. package/dist/adt/IAdtInterface.d.ts.map +1 -1
  33. package/dist/adt/IAdtMetadataExtension.d.ts +1 -1
  34. package/dist/adt/IAdtMetadataExtension.d.ts.map +1 -1
  35. package/dist/adt/IAdtObject.d.ts +21 -13
  36. package/dist/adt/IAdtObject.d.ts.map +1 -1
  37. package/dist/adt/IAdtPackage.d.ts +8 -15
  38. package/dist/adt/IAdtPackage.d.ts.map +1 -1
  39. package/dist/adt/IAdtProgram.d.ts +1 -1
  40. package/dist/adt/IAdtProgram.d.ts.map +1 -1
  41. package/dist/adt/IAdtScalarFunction.d.ts +1 -1
  42. package/dist/adt/IAdtScalarFunction.d.ts.map +1 -1
  43. package/dist/adt/IAdtScalarFunctionImplementation.d.ts +1 -1
  44. package/dist/adt/IAdtScalarFunctionImplementation.d.ts.map +1 -1
  45. package/dist/adt/IAdtServiceDefinition.d.ts +1 -1
  46. package/dist/adt/IAdtServiceDefinition.d.ts.map +1 -1
  47. package/dist/adt/IAdtStructure.d.ts +1 -1
  48. package/dist/adt/IAdtStructure.d.ts.map +1 -1
  49. package/dist/adt/IAdtTable.d.ts +1 -1
  50. package/dist/adt/IAdtTable.d.ts.map +1 -1
  51. package/dist/adt/IAdtTableType.d.ts +8 -15
  52. package/dist/adt/IAdtTableType.d.ts.map +1 -1
  53. package/dist/adt/IAdtTransformation.d.ts +1 -1
  54. package/dist/adt/IAdtTransformation.d.ts.map +1 -1
  55. package/dist/adt/IAdtTransport.d.ts +56 -17
  56. package/dist/adt/IAdtTransport.d.ts.map +1 -1
  57. package/dist/adt/IAdtTransport.js +25 -1
  58. package/dist/adt/IAdtUnitTest.d.ts +1 -1
  59. package/dist/adt/IAdtUnitTest.d.ts.map +1 -1
  60. package/dist/index.d.ts +2 -2
  61. package/dist/index.d.ts.map +1 -1
  62. package/dist/index.js +2 -1
  63. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,261 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [Unreleased]
9
+
10
+ ## [7.0.0] - 2026-09-23
11
+
12
+ ### Added
13
+
14
+ - **`ADT_TASK_TYPE` and `AdtTaskType`** — the task types CTS accepts, as a
15
+ constant rather than a literal at each call site. `changeTaskType` declared
16
+ them inline, `'S' | 'R' | 'X'`, which gave a consumer nothing to import: the
17
+ implementation in `@mcp-abap-adt/adt-clients` had to repeat the union under a
18
+ local name, and every caller had to repeat the letters.
19
+
20
+ **The letters are SAP's, not a choice made here.** They were measured against
21
+ BTP ABAP on 2026-09-23 by sending each one and reading the task back, and the
22
+ constant carries what was refused too — `'Q'` ("You can only change the type
23
+ of tasks in workbench requests") and `'K'`/`'W'`, which are request types.
24
+ That belongs in the one place a consumer can import it from.
25
+
26
+ It is **not** added to the `@mcp-abap-adt/interfaces` facade. Every symbol
27
+ the facade re-exports is already marked *"@deprecated Import from
28
+ @mcp-abap-adt/interfaces-adt"*; a new one there would be born deprecated.
29
+
30
+ Both are exported from this package's entry point, and
31
+ `__typechecks__/transportObjectActions.ts` imports them from there rather
32
+ than from the file that declares them. That is not tidiness: the first
33
+ version of this change declared them and forgot the re-export, so the import
34
+ the paragraph above tells a consumer to write did not resolve and
35
+ `ADT_TASK_TYPE` was `undefined` in the built package. Nothing caught it —
36
+ `check-surface.js` reads the facade, and these two are deliberately not
37
+ there. Found in review.
38
+
39
+ ### Changed
40
+
41
+ - **`changeTaskType` takes `AdtTaskType`** instead of the inline union. **Not
42
+ a break.** The alias is those same three values and TypeScript compares
43
+ types structurally, so a call passing `'S'` compiles and so does a
44
+ declaration that spells the union out — the two are mutually assignable.
45
+ This entry called it breaking and said such a declaration would stop
46
+ compiling; both were wrong, caught in review. What makes 7.0.0 a major is
47
+ the removal below.
48
+
49
+ ### Removed
50
+
51
+ - **BREAKING: `source` leaves six configs** — `IDomainConfig`,
52
+ `IDataElementConfig`, `IPackageConfig`, `ITableTypeConfig`,
53
+ `IFunctionGroupConfig` and `ITransportConfig`.
54
+
55
+ **The contract said where a write's body goes twice, and differently.**
56
+ `IAdtUpdatable.update` and `IAdtMetadataUpdatable.updateMetadata` document
57
+ `options` as "`source` for the body"; each of the 26 configs that carried a
58
+ `source` said the caller "reads the document … and passes it here". An implementation honouring one made the
59
+ other a lie — `adt-clients` read the config only, so the call the atom
60
+ documents sent `undefined` and wrote nothing. Its repair reads both channels
61
+ with the options winning and says in a comment that choosing between them is
62
+ the contract's job; that repair is on its `main` and not released, so no
63
+ published version of it has ever honoured the atom's sentence.
64
+
65
+ It is one channel now, and the split is not arbitrary. Measured across the 26
66
+ configs that declared a `source`, and the implementations in `adt-clients`
67
+ that read them: the field has exactly one reader besides the write, and that
68
+ is `check`/`validate`, which compile a source the server does not hold yet
69
+ and have no options channel to take it from. Six of the 26 lose the field
70
+ here; 20 keep it. None of the six has such a member — `domain` passes
71
+ `undefined` where the source would go, `dataElement` sends none, `tableType`
72
+ validates a description, and `package`, `functionGroup` and
73
+ `transportRequest` have neither. Nothing read their `source` but the write.
74
+
75
+ `IAuthorizationFieldConfig` is in the same position and is deliberately
76
+ **not** in the count: it never declared a `source`, so it is outside the 26
77
+ and has nothing to lose here.
78
+
79
+ The configs that keep it are the ones whose `check` or `validate` compiles
80
+ it. `IAdtOperationOptions.source` now says this outright.
81
+
82
+ **Migrating.** A write that passed the body in the config moves it to the
83
+ options; a call that already passed it there is unaffected.
84
+
85
+ ```diff
86
+ - await domain.updateMetadata({ domainName, source: edited }, { lockHandle });
87
+ + await domain.updateMetadata({ domainName }, { source: edited, lockHandle });
88
+ ```
89
+
90
+ A `check` or `validate` keeps passing its source in the config — that is the
91
+ reader the field is left for.
92
+
93
+ Not deprecated first: decision 30 — an implementation-only shape leaves at a
94
+ major.
95
+
96
+ ## [6.0.0] - 2026-09-23
97
+
98
+ > Recorded as **decision 32** in `docs/architecture/DECISIONS.md` — why the
99
+ > payload is a string this package passes through rather than a document it
100
+ > models, and why a create does not take one. It withdraws the half of decision
101
+ > 31 that called for a typed document model.
102
+
103
+ ### Changed
104
+
105
+ - **BREAKING: one name for what a write sends.** The payload field carried
106
+ eleven names across 35 fields — `sourceCode` in 15 configs, `document` in 6,
107
+ `ddlCode` and `ddlSource` for the same thing in neighbouring files,
108
+ `testClassCode` beside `testClassSource`. It is **`source`** in all 29 configs
109
+ that had exactly one.
110
+
111
+ `adt-clients` is a cut of endpoints, and a write is a write: for a class the
112
+ payload is ABAP text, for a domain it is the object's XML document. What those
113
+ XML look like belongs in documentation, not in a type — the library does not
114
+ demand a particular ABAP body either, and the consumer is the one who knows
115
+ what they are writing.
116
+
117
+ **The options carried the same split, and it was worse.** `IAdtOperationOptions`
118
+ had `sourceCode` *and* `xmlContent`, divided by what the body happened to
119
+ contain — ABAP text for a class, an XML document for a domain — which asked
120
+ the caller to classify a payload this library never reads. Both are now
121
+ `source`. `IAdtCreateOptions` refuses that field, and `IAdtCreatable.create`
122
+ excludes it from the config: **source is for the write, and a create does not
123
+ take one.**
124
+
125
+ `IInterfaceConfig` is renamed with the rest. It is declared as a type alias
126
+ rather than an interface, so the first pass missed it — and so did 4.0.0's
127
+ config clean-up, which is why it still carried `sessionId` and `onLock`. Both
128
+ are gone with this.
129
+
130
+ Five fields keep their names because they are not this type's payload:
131
+ `IClassConfig`'s `testClassCode`, `localTypesCode`, `definitionsCode` and
132
+ `macrosCode` address four other resources, each of which already has its own
133
+ config, and `IBehaviorImplementationConfig.implementationCode` is a second
134
+ payload for a second endpoint. They belong to per-operation inputs —
135
+ **decision 31** — and are left for that pass rather than flattened here.
136
+
137
+ ### Removed
138
+
139
+ - **BREAKING: `datatype`, `length` and `decimals` leave `IDomainConfig` again**,
140
+ a day after 4.1.0 put them back. The measurement that justified them stands —
141
+ a POST carrying `doma:content/doma:typeInformation` is answered `201`, the
142
+ document reads back `CHAR`/`000010`, the activation is clean — but the route
143
+ changed: decision 31 puts the object's shape in the document and has the
144
+ create post a shell, which is what the server's own POST answer documents
145
+ (`version="inactive"`, all three groups present and empty).
146
+
147
+ Not deprecated first: a field the implementation does not send is the defect
148
+ 3.0.0 and 4.0.0 spent themselves removing, and the fields are a day old with
149
+ no importer anywhere under `~/prj`.
150
+
151
+ ## [5.0.0] - 2026-09-23 — never published, superseded by 6.0.0
152
+
153
+ > **Never published.** 6.0.0 was tagged before this version reached the
154
+ > registry, so npm goes 4.1.0 → 6.0.0 and everything below arrived there. A
155
+ > consumer looking for `changeTaskType` wants **6.0.0 or later**, not this.
156
+
157
+ ### Changed
158
+
159
+ - **BREAKING: `IAdtTransportObjectActions` takes a sixth type parameter**,
160
+ `TTaskType`, for the member below.
161
+
162
+ ### Added
163
+
164
+ - **`changeTaskType`** — a task is created without a type, and the call that
165
+ creates it cannot supply one.
166
+
167
+ Measured against BTP ABAP, 2026-09-23: `tm:type` on a `newtask` is accepted
168
+ and ignored, and every task on that system — including ones created long
169
+ before this package existed — reads back as `Unclassified`. CTS assigns the
170
+ type when the first object lands; a caller who wants it sooner asks here.
171
+
172
+ The type is declared as `'S' | 'R' | 'X'` rather than `string`, because the
173
+ values a caller would otherwise reach for are refused: `'Q'` is a
174
+ customizing type — *"You can only change the type of tasks in workbench
175
+ requests"* — and `'K'`/`'W'` are REQUEST types, answered as unknown.
176
+ Declaring the three that work is what stops a caller learning the other
177
+ three from a `400`.
178
+
179
+ Addressed at the TASK, like `removeObject`: that is where the listing
180
+ offers the action. And like every action here, the answer says the document
181
+ was understood — a read is what shows the type.
182
+
183
+ ## [4.1.0] - 2026-09-22
184
+
185
+ ### Added
186
+
187
+ - **`datatype`, `length` and `decimals` return to `IDomainConfig`.** They left in
188
+ 4.0.0 because the create accepted them and did not send them; they came back
189
+ once the endpoint was measured to carry them — a POST with
190
+ `doma:content/doma:typeInformation` answered `201`, the document read back
191
+ `CHAR`/`000010`, and the activation reported no messages, beside a domain
192
+ created without a type which could not be activated at all (`DO(251) Data type
193
+ ' ' does not exist`). Cloud trial, and on-premise was not covered.
194
+
195
+ The other five that left in 4.0.0 — `conversion_exit`, `lowercase`,
196
+ `sign_exists`, `value_table`, `fixed_values` — stayed out, unmeasured.
197
+
198
+ > Withdrawn again in the next major: decision 31 routes the object's shape
199
+ > through the document, so a create carrying `doma:content` is a deviation
200
+ > from the flow this library follows. The measurement stands; the route
201
+ > changed.
202
+
203
+ ## [4.0.0] - 2026-09-22
204
+
205
+ ### Removed
206
+
207
+ - **46 fields leave 16 `IXxxConfig` types** — the types a consumer writes
208
+ against. Each was checked against the implementation: whether it is read at
209
+ all, now that 3.0.0 had made the compiler strip every line forwarding a field
210
+ into a parameter object that ignored it.
211
+
212
+ Two were worse than a dropped value. **`onLock` was declared on nine types and
213
+ invoked on one** — a callback promising a call that never came; `IIncludeConfig`
214
+ keeps it, because `AdtInclude` really does invoke it. **`sessionId` was
215
+ declared on five and read by none**, the low-level locks it was meant for
216
+ taking a parameter named `_sessionId`.
217
+
218
+ The rest never reached the wire: `IDomainConfig` lost the eight that say what a
219
+ domain is, `IDataElementConfig` its type name and four labels,
220
+ `IStructureConfig` its `fields` and `includes` (a structure is built from its
221
+ `ddlCode`), `IFunctionModuleConfig` a `packageName` a module takes from its
222
+ group, `ITableTypeConfig` the row-type kind, access type and primary-key pair.
223
+
224
+ ### Changed
225
+
226
+ - All 16 changed declarations are recorded in `tools/surface-changed.json` **with
227
+ the shape each is expected to have now**, so the baseline check still guards
228
+ them. Listing the name alone would have retired the check for those symbols.
229
+
230
+ ## [3.0.0] - 2026-09-22
231
+
232
+ ### Removed
233
+
234
+ - **84 `ICreate*Params` / `IUpdate*Params` types leave the contract.** They are
235
+ the argument shapes of the functions that build ADT requests, and a search of
236
+ every dependent repository found them imported by nobody. Twelve parameter
237
+ types that *are* used stay: four imported by the MCP server, eight named in the
238
+ signature of a capability interface this package exports.
239
+
240
+ Being nobody's contract had a measurable cost: **85 of their fields were
241
+ ignored by the very code that took them.** A domain created with
242
+ `datatype: 'CHAR', length: 10` came back with `<doma:datatype/>` empty and SAP
243
+ refused to activate it. Whether a field is honoured is decided one repository
244
+ away, which is where these shapes now live.
245
+
246
+ Two causes, both left by earlier releases of the consumer: `activate?: boolean`
247
+ from the chains removed in `adt-clients` 18.0.0, declared in seven interfaces
248
+ and read nowhere; and every `IUpdate*Params` field past the name and the
249
+ transport, from the read-modify-write updates removed in 19.0.0.
250
+
251
+ ### Changed
252
+
253
+ - `ICreateDataElementParams` loses seventeen fields — the type, the length and
254
+ every label — and its new declaration is recorded in
255
+ `tools/surface-changed.json`.
256
+ - **The surface guards learnt the difference between retired and lost.**
257
+ `tools/surface-removed.txt` declares each removal with its reason, the way
258
+ `surface-added.txt` declares an addition; `check-surface.js`,
259
+ `check-packed.js` and `check-deprecated.js` all read it.
260
+ `baseline-44.0.0.json` is untouched: it is the proof that the split preserved
261
+ 44.0.0, and a regenerated proof proves nothing. Recorded as **decision 30**.
262
+
8
263
  ## [2.0.1] - 2026-09-22
9
264
 
10
265
  ### Changed
package/README.md CHANGED
@@ -45,6 +45,41 @@ So `createTask` requires `targetUser` and `removeObject` requires `position`, an
45
45
 
46
46
  `addObject` still takes an entry without a position — one that does not exist yet has none.
47
47
 
48
+ ## Migrating to 7.0.0
49
+
50
+ Two changes.
51
+
52
+ ```ts
53
+ // 1. The write's body goes in the options, and only there. Six configs —
54
+ // domain, data element, package, table type, function group, transport
55
+ // request — no longer declare `source`.
56
+ - await domain.updateMetadata({ domainName, source: edited }, { lockHandle });
57
+ + await domain.updateMetadata({ domainName }, { source: edited, lockHandle });
58
+
59
+ // 2. The task types are a constant, so nobody repeats the letters.
60
+ - await actions.changeTaskType(task, 'S');
61
+ + await actions.changeTaskType(task, ADT_TASK_TYPE.developmentCorrection);
62
+ ```
63
+
64
+ A `check` or `validate` keeps taking its source in the config: it compiles
65
+ text the server does not hold yet and has no options channel to take it from,
66
+ which is the one job a `source` on a config still has. The six types above
67
+ have no such member, so nothing read theirs but the write.
68
+
69
+ `'S'` still compiles, and so does a declaration that spells the union out:
70
+ `AdtTaskType` is an alias for those three values, and TypeScript compares
71
+ types structurally, so the two are mutually assignable. **The second change
72
+ breaks nothing at the type level** — it is here because the letters now have
73
+ one home, not because a caller must react to it. The break in 7.0.0 is the
74
+ first change, the six configs. `ADT_TASK_TYPE` and `AdtTaskType` are exported from this package and
75
+ **not** from the `@mcp-abap-adt/interfaces` facade: everything the facade
76
+ forwards is deprecated in favour of importing from the package that declares
77
+ it, so a new symbol there would be born deprecated.
78
+
79
+ Decision 33 in the repository's `docs/architecture/DECISIONS.md` says why the
80
+ body has one channel, and what measurement decided which configs keep the
81
+ field.
82
+
48
83
  ## Migrating to 2.0.0
49
84
 
50
85
  Three changes, all of them in `IAdtTransportObjectActions`. An implementation or a caller on 1.2.0 does this:
@@ -7,6 +7,6 @@ export interface IAccessControlConfig {
7
7
  packageName?: string;
8
8
  transportRequest?: string;
9
9
  description?: string;
10
- sourceCode?: string;
10
+ source?: string;
11
11
  }
12
12
  //# sourceMappingURL=IAdtAccessControl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IAdtAccessControl.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtAccessControl.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,MAAM,WAAW,oBAAoB;IACnC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
1
+ {"version":3,"file":"IAdtAccessControl.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtAccessControl.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,MAAM,WAAW,oBAAoB;IACnC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -8,6 +8,6 @@ export interface IAppendStructureConfig {
8
8
  packageName?: string;
9
9
  transportRequest?: string;
10
10
  description?: string;
11
- sourceCode?: string;
11
+ source?: string;
12
12
  }
13
13
  //# sourceMappingURL=IAdtAppendStructure.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IAdtAppendStructure.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtAppendStructure.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,sBAAsB;IACrC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
1
+ {"version":3,"file":"IAdtAppendStructure.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtAppendStructure.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,sBAAsB;IACrC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -10,6 +10,6 @@ export interface IBehaviorDefinitionConfig {
10
10
  description?: string;
11
11
  implementationType?: 'Managed' | 'Unmanaged' | 'Abstract' | 'Projection';
12
12
  rootEntity?: string;
13
- sourceCode?: string;
13
+ source?: string;
14
14
  }
15
15
  //# sourceMappingURL=IAdtBehaviorDefinition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IAdtBehaviorDefinition.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtBehaviorDefinition.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,oCAAoC,GAC5C,SAAS,GACT,WAAW,GACX,UAAU,GACV,YAAY,CAAC;AAKjB,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,YAAY,CAAC;IACzE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
1
+ {"version":3,"file":"IAdtBehaviorDefinition.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtBehaviorDefinition.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,oCAAoC,GAC5C,SAAS,GACT,WAAW,GACX,UAAU,GACV,YAAY,CAAC;AAKjB,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,YAAY,CAAC;IACzE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -7,10 +7,10 @@ export interface IBehaviorImplementationConfig {
7
7
  packageName?: string;
8
8
  transportRequest?: string;
9
9
  behaviorDefinition: string;
10
- sourceCode?: string;
10
+ source?: string;
11
11
  /**
12
12
  * Custom code for implementations include (local handler class) - used in updateImplementations()
13
- * If provided, takes precedence over sourceCode and default generated code.
13
+ * If provided, takes precedence over `source` and the default generated code.
14
14
  * Should contain the complete local handler class definition and implementation.
15
15
  * Example: "CLASS lhc_Z_I_SOME_ENTITY DEFINITION INHERITING FROM cl_abap_behavior_handler..."
16
16
  */
@@ -1 +1 @@
1
- {"version":3,"file":"IAdtBehaviorImplementation.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtBehaviorImplementation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
1
+ {"version":3,"file":"IAdtBehaviorImplementation.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtBehaviorImplementation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -51,7 +51,12 @@ export interface IAdtCreatable<TConfig, TCreated> {
51
51
  * order they want: which of six requests failed is knowable that way and was
52
52
  * not before.
53
53
  *
54
- * **It does not take the object's source.** This used to say `sourceCode`
54
+ * **It does not take the object's source.** The field it excludes is
55
+ * `source`, which is what a config calls its payload where it has one;
56
+ * before the
57
+ * renaming it was `sourceCode`, and leaving the exclusion pointing at the
58
+ * old name would have re-opened the hole it was added to close — a create
59
+ * accepting a payload the endpoint drops. This used to say `sourceCode`
55
60
  * applied "where this object's create endpoint carries a body: a DDL source,
56
61
  * a table and a program are created from their source". None of the three
57
62
  * is: measured across all 27 create implementations in
@@ -67,13 +72,13 @@ export interface IAdtCreatable<TConfig, TCreated> {
67
72
  * @param options - `analyse` for what counts as a failure
68
73
  * @returns whatever this implementation’s reading makes of the answer
69
74
  */
70
- create<E extends IAdtError>(config: Omit<TConfig, 'sourceCode'> & {
71
- sourceCode?: never;
75
+ create<E extends IAdtError>(config: Omit<TConfig, 'source'> & {
76
+ source?: never;
72
77
  }, options: IAdtCreateOptions<E> & {
73
78
  analyse: IAnalyse<E>;
74
79
  }): Promise<IAdtResponse<TCreated, E>>;
75
- create(config: Omit<TConfig, 'sourceCode'> & {
76
- sourceCode?: never;
80
+ create(config: Omit<TConfig, 'source'> & {
81
+ source?: never;
77
82
  }, options?: IAdtCreateOptions): Promise<IAdtResponse<TCreated>>;
78
83
  }
79
84
  /** Obtain a representation of an object — its source, or the metadata about it. */
@@ -186,7 +191,7 @@ export interface IAdtUpdatable<TConfig, TUpdated> {
186
191
  * @param config - taken as given, so an implementation that needs a field can
187
192
  * require it — a publication needs the protocol that selects
188
193
  * its endpoint
189
- * @param options - `sourceCode`/`xmlContent` for the body, `lockHandle` for
194
+ * @param options - `source` for the body, `lockHandle` for
190
195
  * the lock the caller took, `analyse` for the verdict
191
196
  * @returns whatever this implementation’s reading makes of the answer
192
197
  */
@@ -218,7 +223,7 @@ export interface IAdtMetadataUpdatable<TConfig, TMetadataUpdated> {
218
223
  * resource it addresses.
219
224
  *
220
225
  * @param config - Object configuration with updates
221
- * @param options - `xmlContent` for the body, `lockHandle` for the lock the
226
+ * @param options - `source` for the body, `lockHandle` for the lock the
222
227
  * caller took, `analyse` for the verdict
223
228
  * @returns whatever this implementation's reading makes of the answer
224
229
  */
@@ -1 +1 @@
1
- {"version":3,"file":"IAdtCapabilities.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtCapabilities.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACpB,QAAQ,EACT,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9D;;;;;GAKG;AACH,MAAM,WAAW,aAAa,CAAC,OAAO,EAAE,QAAQ;IAC9C;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,MAAM,CAAC,CAAC,SAAS,SAAS,EACxB,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,KAAK,CAAA;KAAE,EAC5D,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAA;KAAE,GACvD,OAAO,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC;IACtC,MAAM,CACJ,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC,GAAG;QAAE,UAAU,CAAC,EAAE,KAAK,CAAA;KAAE,EAC5D,OAAO,CAAC,EAAE,iBAAiB,GAC1B,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC;CACpC;AAED,mFAAmF;AACn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,aAAa,CAAC,CAAC,SAAS,SAAS,EAC/B,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,EACxB,OAAO,EAAE;QAAE,eAAe,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,oBAAoB,CAAC,CAAC,CAAC,GAAG;QAC/D,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;KACtB,GACF,OAAO,CAAC,YAAY,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,CAAC;IACxC,aAAa,CACX,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,EACxB,OAAO,CAAC,EAAE;QAAE,eAAe,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,oBAAoB,GAC7D,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC;CACtC"}
@@ -7,7 +7,7 @@ export interface IClassConfig {
7
7
  description?: string;
8
8
  packageName?: string;
9
9
  transportRequest?: string;
10
- sourceCode?: string;
10
+ source?: string;
11
11
  testClassCode?: string;
12
12
  testClassName?: string;
13
13
  localTypesCode?: string;
@@ -27,22 +27,22 @@ export interface ILocalTestClassConfig {
27
27
  * Source of the whole testclasses include. ADT addresses the include, not a
28
28
  * single test class inside it, so there is no field naming one.
29
29
  */
30
- testClassCode?: string;
30
+ source?: string;
31
31
  transportRequest?: string;
32
32
  }
33
33
  export interface ILocalTypesConfig {
34
34
  className: string;
35
- localTypesCode?: string;
35
+ source?: string;
36
36
  transportRequest?: string;
37
37
  }
38
38
  export interface ILocalDefinitionsConfig {
39
39
  className: string;
40
- definitionsCode?: string;
40
+ source?: string;
41
41
  transportRequest?: string;
42
42
  }
43
43
  export interface ILocalMacrosConfig {
44
44
  className: string;
45
- macrosCode?: string;
45
+ source?: string;
46
46
  transportRequest?: string;
47
47
  }
48
48
  //# sourceMappingURL=IAdtClass.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IAdtClass.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtClass.ts"],"names":[],"mappings":"AAAA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AM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B"}
@@ -13,22 +13,15 @@ export interface ICreateDataElementParams {
13
13
  }
14
14
  export interface IDataElementConfig {
15
15
  /**
16
- * The complete document to write, when this config is used for an update.
17
- *
18
- * **An update is a write, not a read-modify-write.** Until 19.0.0 of
19
- * `adt-clients` the five DDIC-shaped updates fetched the current document,
20
- * patched the fields named here into it, and PUT the result — two requests in
21
- * one member, and a merge whose rules nobody outside could change. They no
22
- * longer do: a caller reads the document with the member that reads it, edits
23
- * it, and passes it here.
24
- *
25
- * So the fields beside this one describe a *create*. On an update they are not
26
- * sent, and a field left out of `document` is not preserved — there is nothing
27
- * to preserve it from, because nothing was read.
28
- *
29
- * Optional because the same config creates, where there is no document yet.
16
+ * **No `source` here, and that is the point.** This type's write takes its
17
+ * body from `IAdtOperationOptions.source`, which is where the capability
18
+ * atoms say a write's body goes. It used to be declared on this config as
19
+ * well, with a comment telling the caller to pass the document "here" — two
20
+ * channels, two sentences, and an implementation forced to guess. Nothing on
21
+ * this type read it but the write: it has no `check` and no `validate` that
22
+ * compiles a source the server does not hold yet, which is the one job a
23
+ * `source` on a config still has.
30
24
  */
31
- document?: string;
32
25
  dataElementName: string;
33
26
  masterLanguage?: string;
34
27
  packageName?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"IAdtDataElement.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtDataElement.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,mBAAmB,GAC3B,QAAQ,GACR,oBAAoB,GACpB,yBAAyB,GACzB,qBAAqB,GACrB,eAAe,CAAC;AAEpB,MAAM,WAAW,wBAAwB;IACvC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,C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,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EACL,QAAQ,GACR,oBAAoB,GACpB,yBAAyB,GACzB,qBAAqB,GACrB,eAAe,CAAC;CACrB"}
@@ -9,6 +9,6 @@ export interface IDdlConfig {
9
9
  packageName?: string;
10
10
  transportRequest?: string;
11
11
  description?: string;
12
- ddlSource?: string;
12
+ source?: string;
13
13
  }
14
14
  //# sourceMappingURL=IAdtDdl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IAdtDdl.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtDdl.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"IAdtDdl.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtDdl.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -7,50 +7,19 @@ export interface IFixedValue {
7
7
  }
8
8
  export interface IDomainConfig {
9
9
  /**
10
- * The complete document to write, when this config is used for an update.
11
- *
12
- * **An update is a write, not a read-modify-write.** Until 19.0.0 of
13
- * `adt-clients` the five DDIC-shaped updates fetched the current document,
14
- * patched the fields named here into it, and PUT the result — two requests in
15
- * one member, and a merge whose rules nobody outside could change. They no
16
- * longer do: a caller reads the document with the member that reads it, edits
17
- * it, and passes it here.
18
- *
19
- * So the fields beside this one describe a *create*. On an update they are not
20
- * sent, and a field left out of `document` is not preserved — there is nothing
21
- * to preserve it from, because nothing was read.
22
- *
23
- * Optional because the same config creates, where there is no document yet.
10
+ * **No `source` here, and that is the point.** This type's write takes its
11
+ * body from `IAdtOperationOptions.source`, which is where the capability
12
+ * atoms say a write's body goes. It used to be declared on this config as
13
+ * well, with a comment telling the caller to pass the document "here" — two
14
+ * channels, two sentences, and an implementation forced to guess. Nothing on
15
+ * this type read it but the write: it has no `check` and no `validate` that
16
+ * compiles a source the server does not hold yet, which is the one job a
17
+ * `source` on a config still has.
24
18
  */
25
- document?: string;
26
19
  domainName: string;
27
20
  masterLanguage?: string;
28
21
  packageName?: string;
29
22
  transportRequest?: string;
30
23
  description?: string;
31
- /**
32
- * What the domain IS, sent by the **create** and by nothing else.
33
- *
34
- * These three left this type in `interfaces-adt` 4.0.0 because the create
35
- * accepted them and did not send them: a domain asked for as `CHAR(10)` came
36
- * back with `<doma:datatype/>` empty, and SAP refused to activate it —
37
- * `DO(251) Data type ' ' does not exist`. They return because the endpoint
38
- * was then measured and it does take them: a POST carrying
39
- * `doma:content/doma:typeInformation` was answered `201`, the document read
40
- * back as `CHAR`/`000010`, and the activation reported no messages at all.
41
- * Cloud trial, 2026-09-22; `scripts/probe-domain-create-payload.ts` in
42
- * `adt-clients` is the measurement, and on-premise is not covered by it.
43
- *
44
- * **Absent means absent.** Name none of them and the POST is byte for byte
45
- * what it was before — no `doma:content` element at all — so a caller who
46
- * never used them sees no change, including on a system where this was not
47
- * measured.
48
- *
49
- * On an **update** they are still not sent, and nothing here changes that:
50
- * the whole document goes through `document`, as it has since 19.0.0.
51
- */
52
- datatype?: string;
53
- length?: number;
54
- decimals?: number;
55
24
  }
56
25
  //# sourceMappingURL=IAdtDomain.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IAdtDomain.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtDomain.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAKD,MAAM,WAAW,aAAa;IAC5B;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
1
+ {"version":3,"file":"IAdtDomain.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtDomain.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAKD,MAAM,WAAW,aAAa;IAC5B;;;;;;;;;OASG;IAEH,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -13,7 +13,7 @@ export interface IEnhancementConfig {
13
13
  description?: string;
14
14
  packageName?: string;
15
15
  transportRequest?: string;
16
- sourceCode?: string;
16
+ source?: string;
17
17
  enhancementSpot?: string;
18
18
  badiDefinition?: string;
19
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"IAdtEnhancement.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtEnhancement.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,eAAe,GACvB,QAAQ,GACR,SAAS,GACT,SAAS,GACT,QAAQ,GACR,SAAS,CAAC;AAEd;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,eAAe,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
1
+ {"version":3,"file":"IAdtEnhancement.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtEnhancement.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,eAAe,GACvB,QAAQ,GACR,SAAS,GACT,SAAS,GACT,QAAQ,GACR,SAAS,CAAC;AAEd;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,eAAe,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}