@mcp-abap-adt/interfaces-adt 4.0.0 → 6.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.
- package/CHANGELOG.md +165 -0
- package/dist/adt/IAdtAccessControl.d.ts +1 -1
- package/dist/adt/IAdtAccessControl.d.ts.map +1 -1
- package/dist/adt/IAdtAppendStructure.d.ts +1 -1
- package/dist/adt/IAdtAppendStructure.d.ts.map +1 -1
- package/dist/adt/IAdtBehaviorDefinition.d.ts +1 -1
- package/dist/adt/IAdtBehaviorDefinition.d.ts.map +1 -1
- package/dist/adt/IAdtBehaviorImplementation.d.ts +2 -2
- package/dist/adt/IAdtBehaviorImplementation.d.ts.map +1 -1
- package/dist/adt/IAdtCapabilities.d.ts +11 -7
- package/dist/adt/IAdtCapabilities.d.ts.map +1 -1
- package/dist/adt/IAdtClass.d.ts +5 -5
- package/dist/adt/IAdtClass.d.ts.map +1 -1
- package/dist/adt/IAdtDataElement.d.ts +3 -3
- package/dist/adt/IAdtDataElement.d.ts.map +1 -1
- package/dist/adt/IAdtDdl.d.ts +1 -1
- package/dist/adt/IAdtDdl.d.ts.map +1 -1
- package/dist/adt/IAdtDomain.d.ts +3 -3
- package/dist/adt/IAdtDomain.d.ts.map +1 -1
- package/dist/adt/IAdtEnhancement.d.ts +1 -1
- package/dist/adt/IAdtEnhancement.d.ts.map +1 -1
- package/dist/adt/IAdtFunctionGroup.d.ts +2 -2
- package/dist/adt/IAdtFunctionGroup.d.ts.map +1 -1
- package/dist/adt/IAdtFunctionInclude.d.ts +1 -1
- package/dist/adt/IAdtFunctionInclude.d.ts.map +1 -1
- package/dist/adt/IAdtFunctionModule.d.ts +1 -1
- package/dist/adt/IAdtFunctionModule.d.ts.map +1 -1
- package/dist/adt/IAdtInclude.d.ts +1 -1
- package/dist/adt/IAdtInclude.d.ts.map +1 -1
- package/dist/adt/IAdtInterface.d.ts +1 -3
- package/dist/adt/IAdtInterface.d.ts.map +1 -1
- package/dist/adt/IAdtMetadataExtension.d.ts +1 -1
- package/dist/adt/IAdtMetadataExtension.d.ts.map +1 -1
- package/dist/adt/IAdtObject.d.ts +12 -13
- package/dist/adt/IAdtObject.d.ts.map +1 -1
- package/dist/adt/IAdtPackage.d.ts +3 -3
- package/dist/adt/IAdtPackage.d.ts.map +1 -1
- package/dist/adt/IAdtProgram.d.ts +1 -1
- package/dist/adt/IAdtProgram.d.ts.map +1 -1
- package/dist/adt/IAdtScalarFunction.d.ts +1 -1
- package/dist/adt/IAdtScalarFunction.d.ts.map +1 -1
- package/dist/adt/IAdtScalarFunctionImplementation.d.ts +1 -1
- package/dist/adt/IAdtScalarFunctionImplementation.d.ts.map +1 -1
- package/dist/adt/IAdtServiceDefinition.d.ts +1 -1
- package/dist/adt/IAdtServiceDefinition.d.ts.map +1 -1
- package/dist/adt/IAdtStructure.d.ts +1 -1
- package/dist/adt/IAdtStructure.d.ts.map +1 -1
- package/dist/adt/IAdtTable.d.ts +1 -1
- package/dist/adt/IAdtTable.d.ts.map +1 -1
- package/dist/adt/IAdtTableType.d.ts +3 -3
- package/dist/adt/IAdtTableType.d.ts.map +1 -1
- package/dist/adt/IAdtTransformation.d.ts +1 -1
- package/dist/adt/IAdtTransformation.d.ts.map +1 -1
- package/dist/adt/IAdtTransport.d.ts +27 -5
- package/dist/adt/IAdtTransport.d.ts.map +1 -1
- package/dist/adt/IAdtUnitTest.d.ts +1 -1
- package/dist/adt/IAdtUnitTest.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,171 @@ 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
|
+
## [6.0.0] - 2026-09-23
|
|
11
|
+
|
|
12
|
+
> Recorded as **decision 32** in `docs/architecture/DECISIONS.md` — why the
|
|
13
|
+
> payload is a string this package passes through rather than a document it
|
|
14
|
+
> models, and why a create does not take one. It withdraws the half of decision
|
|
15
|
+
> 31 that called for a typed document model.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- **BREAKING: one name for what a write sends.** The payload field carried
|
|
20
|
+
eleven names across 35 fields — `sourceCode` in 15 configs, `document` in 6,
|
|
21
|
+
`ddlCode` and `ddlSource` for the same thing in neighbouring files,
|
|
22
|
+
`testClassCode` beside `testClassSource`. It is **`source`** in all 29 configs
|
|
23
|
+
that had exactly one.
|
|
24
|
+
|
|
25
|
+
`adt-clients` is a cut of endpoints, and a write is a write: for a class the
|
|
26
|
+
payload is ABAP text, for a domain it is the object's XML document. What those
|
|
27
|
+
XML look like belongs in documentation, not in a type — the library does not
|
|
28
|
+
demand a particular ABAP body either, and the consumer is the one who knows
|
|
29
|
+
what they are writing.
|
|
30
|
+
|
|
31
|
+
**The options carried the same split, and it was worse.** `IAdtOperationOptions`
|
|
32
|
+
had `sourceCode` *and* `xmlContent`, divided by what the body happened to
|
|
33
|
+
contain — ABAP text for a class, an XML document for a domain — which asked
|
|
34
|
+
the caller to classify a payload this library never reads. Both are now
|
|
35
|
+
`source`. `IAdtCreateOptions` refuses that field, and `IAdtCreatable.create`
|
|
36
|
+
excludes it from the config: **source is for the write, and a create does not
|
|
37
|
+
take one.**
|
|
38
|
+
|
|
39
|
+
`IInterfaceConfig` is renamed with the rest. It is declared as a type alias
|
|
40
|
+
rather than an interface, so the first pass missed it — and so did 4.0.0's
|
|
41
|
+
config clean-up, which is why it still carried `sessionId` and `onLock`. Both
|
|
42
|
+
are gone with this.
|
|
43
|
+
|
|
44
|
+
Five fields keep their names because they are not this type's payload:
|
|
45
|
+
`IClassConfig`'s `testClassCode`, `localTypesCode`, `definitionsCode` and
|
|
46
|
+
`macrosCode` address four other resources, each of which already has its own
|
|
47
|
+
config, and `IBehaviorImplementationConfig.implementationCode` is a second
|
|
48
|
+
payload for a second endpoint. They belong to per-operation inputs —
|
|
49
|
+
**decision 31** — and are left for that pass rather than flattened here.
|
|
50
|
+
|
|
51
|
+
### Removed
|
|
52
|
+
|
|
53
|
+
- **BREAKING: `datatype`, `length` and `decimals` leave `IDomainConfig` again**,
|
|
54
|
+
a day after 4.1.0 put them back. The measurement that justified them stands —
|
|
55
|
+
a POST carrying `doma:content/doma:typeInformation` is answered `201`, the
|
|
56
|
+
document reads back `CHAR`/`000010`, the activation is clean — but the route
|
|
57
|
+
changed: decision 31 puts the object's shape in the document and has the
|
|
58
|
+
create post a shell, which is what the server's own POST answer documents
|
|
59
|
+
(`version="inactive"`, all three groups present and empty).
|
|
60
|
+
|
|
61
|
+
Not deprecated first: a field the implementation does not send is the defect
|
|
62
|
+
3.0.0 and 4.0.0 spent themselves removing, and the fields are a day old with
|
|
63
|
+
no importer anywhere under `~/prj`.
|
|
64
|
+
|
|
65
|
+
## [5.0.0] - 2026-09-23
|
|
66
|
+
|
|
67
|
+
### Changed
|
|
68
|
+
|
|
69
|
+
- **BREAKING: `IAdtTransportObjectActions` takes a sixth type parameter**,
|
|
70
|
+
`TTaskType`, for the member below.
|
|
71
|
+
|
|
72
|
+
### Added
|
|
73
|
+
|
|
74
|
+
- **`changeTaskType`** — a task is created without a type, and the call that
|
|
75
|
+
creates it cannot supply one.
|
|
76
|
+
|
|
77
|
+
Measured against BTP ABAP, 2026-09-23: `tm:type` on a `newtask` is accepted
|
|
78
|
+
and ignored, and every task on that system — including ones created long
|
|
79
|
+
before this package existed — reads back as `Unclassified`. CTS assigns the
|
|
80
|
+
type when the first object lands; a caller who wants it sooner asks here.
|
|
81
|
+
|
|
82
|
+
The type is declared as `'S' | 'R' | 'X'` rather than `string`, because the
|
|
83
|
+
values a caller would otherwise reach for are refused: `'Q'` is a
|
|
84
|
+
customizing type — *"You can only change the type of tasks in workbench
|
|
85
|
+
requests"* — and `'K'`/`'W'` are REQUEST types, answered as unknown.
|
|
86
|
+
Declaring the three that work is what stops a caller learning the other
|
|
87
|
+
three from a `400`.
|
|
88
|
+
|
|
89
|
+
Addressed at the TASK, like `removeObject`: that is where the listing
|
|
90
|
+
offers the action. And like every action here, the answer says the document
|
|
91
|
+
was understood — a read is what shows the type.
|
|
92
|
+
|
|
93
|
+
## [4.1.0] - 2026-09-22
|
|
94
|
+
|
|
95
|
+
### Added
|
|
96
|
+
|
|
97
|
+
- **`datatype`, `length` and `decimals` return to `IDomainConfig`.** They left in
|
|
98
|
+
4.0.0 because the create accepted them and did not send them; they came back
|
|
99
|
+
once the endpoint was measured to carry them — a POST with
|
|
100
|
+
`doma:content/doma:typeInformation` answered `201`, the document read back
|
|
101
|
+
`CHAR`/`000010`, and the activation reported no messages, beside a domain
|
|
102
|
+
created without a type which could not be activated at all (`DO(251) Data type
|
|
103
|
+
' ' does not exist`). Cloud trial, and on-premise was not covered.
|
|
104
|
+
|
|
105
|
+
The other five that left in 4.0.0 — `conversion_exit`, `lowercase`,
|
|
106
|
+
`sign_exists`, `value_table`, `fixed_values` — stayed out, unmeasured.
|
|
107
|
+
|
|
108
|
+
> Withdrawn again in the next major: decision 31 routes the object's shape
|
|
109
|
+
> through the document, so a create carrying `doma:content` is a deviation
|
|
110
|
+
> from the flow this library follows. The measurement stands; the route
|
|
111
|
+
> changed.
|
|
112
|
+
|
|
113
|
+
## [4.0.0] - 2026-09-22
|
|
114
|
+
|
|
115
|
+
### Removed
|
|
116
|
+
|
|
117
|
+
- **46 fields leave 16 `IXxxConfig` types** — the types a consumer writes
|
|
118
|
+
against. Each was checked against the implementation: whether it is read at
|
|
119
|
+
all, now that 3.0.0 had made the compiler strip every line forwarding a field
|
|
120
|
+
into a parameter object that ignored it.
|
|
121
|
+
|
|
122
|
+
Two were worse than a dropped value. **`onLock` was declared on nine types and
|
|
123
|
+
invoked on one** — a callback promising a call that never came; `IIncludeConfig`
|
|
124
|
+
keeps it, because `AdtInclude` really does invoke it. **`sessionId` was
|
|
125
|
+
declared on five and read by none**, the low-level locks it was meant for
|
|
126
|
+
taking a parameter named `_sessionId`.
|
|
127
|
+
|
|
128
|
+
The rest never reached the wire: `IDomainConfig` lost the eight that say what a
|
|
129
|
+
domain is, `IDataElementConfig` its type name and four labels,
|
|
130
|
+
`IStructureConfig` its `fields` and `includes` (a structure is built from its
|
|
131
|
+
`ddlCode`), `IFunctionModuleConfig` a `packageName` a module takes from its
|
|
132
|
+
group, `ITableTypeConfig` the row-type kind, access type and primary-key pair.
|
|
133
|
+
|
|
134
|
+
### Changed
|
|
135
|
+
|
|
136
|
+
- All 16 changed declarations are recorded in `tools/surface-changed.json` **with
|
|
137
|
+
the shape each is expected to have now**, so the baseline check still guards
|
|
138
|
+
them. Listing the name alone would have retired the check for those symbols.
|
|
139
|
+
|
|
140
|
+
## [3.0.0] - 2026-09-22
|
|
141
|
+
|
|
142
|
+
### Removed
|
|
143
|
+
|
|
144
|
+
- **84 `ICreate*Params` / `IUpdate*Params` types leave the contract.** They are
|
|
145
|
+
the argument shapes of the functions that build ADT requests, and a search of
|
|
146
|
+
every dependent repository found them imported by nobody. Twelve parameter
|
|
147
|
+
types that *are* used stay: four imported by the MCP server, eight named in the
|
|
148
|
+
signature of a capability interface this package exports.
|
|
149
|
+
|
|
150
|
+
Being nobody's contract had a measurable cost: **85 of their fields were
|
|
151
|
+
ignored by the very code that took them.** A domain created with
|
|
152
|
+
`datatype: 'CHAR', length: 10` came back with `<doma:datatype/>` empty and SAP
|
|
153
|
+
refused to activate it. Whether a field is honoured is decided one repository
|
|
154
|
+
away, which is where these shapes now live.
|
|
155
|
+
|
|
156
|
+
Two causes, both left by earlier releases of the consumer: `activate?: boolean`
|
|
157
|
+
from the chains removed in `adt-clients` 18.0.0, declared in seven interfaces
|
|
158
|
+
and read nowhere; and every `IUpdate*Params` field past the name and the
|
|
159
|
+
transport, from the read-modify-write updates removed in 19.0.0.
|
|
160
|
+
|
|
161
|
+
### Changed
|
|
162
|
+
|
|
163
|
+
- `ICreateDataElementParams` loses seventeen fields — the type, the length and
|
|
164
|
+
every label — and its new declaration is recorded in
|
|
165
|
+
`tools/surface-changed.json`.
|
|
166
|
+
- **The surface guards learnt the difference between retired and lost.**
|
|
167
|
+
`tools/surface-removed.txt` declares each removal with its reason, the way
|
|
168
|
+
`surface-added.txt` declares an addition; `check-surface.js`,
|
|
169
|
+
`check-packed.js` and `check-deprecated.js` all read it.
|
|
170
|
+
`baseline-44.0.0.json` is untouched: it is the proof that the split preserved
|
|
171
|
+
44.0.0, and a regenerated proof proves nothing. Recorded as **decision 30**.
|
|
172
|
+
|
|
8
173
|
## [2.0.1] - 2026-09-22
|
|
9
174
|
|
|
10
175
|
### Changed
|
|
@@ -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,
|
|
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"}
|
|
@@ -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,
|
|
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
|
-
|
|
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,
|
|
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
|
-
|
|
10
|
+
source?: string;
|
|
11
11
|
/**
|
|
12
12
|
* Custom code for implementations include (local handler class) - used in updateImplementations()
|
|
13
|
-
* If provided, takes precedence over
|
|
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,
|
|
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,11 @@ 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.**
|
|
54
|
+
* **It does not take the object's source.** The field it excludes is
|
|
55
|
+
* `source`, which is what every config calls its payload; before the
|
|
56
|
+
* renaming it was `sourceCode`, and leaving the exclusion pointing at the
|
|
57
|
+
* old name would have re-opened the hole it was added to close — a create
|
|
58
|
+
* accepting a payload the endpoint drops. This used to say `sourceCode`
|
|
55
59
|
* applied "where this object's create endpoint carries a body: a DDL source,
|
|
56
60
|
* a table and a program are created from their source". None of the three
|
|
57
61
|
* is: measured across all 27 create implementations in
|
|
@@ -67,13 +71,13 @@ export interface IAdtCreatable<TConfig, TCreated> {
|
|
|
67
71
|
* @param options - `analyse` for what counts as a failure
|
|
68
72
|
* @returns whatever this implementation’s reading makes of the answer
|
|
69
73
|
*/
|
|
70
|
-
create<E extends IAdtError>(config: Omit<TConfig, '
|
|
71
|
-
|
|
74
|
+
create<E extends IAdtError>(config: Omit<TConfig, 'source'> & {
|
|
75
|
+
source?: never;
|
|
72
76
|
}, options: IAdtCreateOptions<E> & {
|
|
73
77
|
analyse: IAnalyse<E>;
|
|
74
78
|
}): Promise<IAdtResponse<TCreated, E>>;
|
|
75
|
-
create(config: Omit<TConfig, '
|
|
76
|
-
|
|
79
|
+
create(config: Omit<TConfig, 'source'> & {
|
|
80
|
+
source?: never;
|
|
77
81
|
}, options?: IAdtCreateOptions): Promise<IAdtResponse<TCreated>>;
|
|
78
82
|
}
|
|
79
83
|
/** Obtain a representation of an object — its source, or the metadata about it. */
|
|
@@ -186,7 +190,7 @@ export interface IAdtUpdatable<TConfig, TUpdated> {
|
|
|
186
190
|
* @param config - taken as given, so an implementation that needs a field can
|
|
187
191
|
* require it — a publication needs the protocol that selects
|
|
188
192
|
* its endpoint
|
|
189
|
-
* @param options - `
|
|
193
|
+
* @param options - `source` for the body, `lockHandle` for
|
|
190
194
|
* the lock the caller took, `analyse` for the verdict
|
|
191
195
|
* @returns whatever this implementation’s reading makes of the answer
|
|
192
196
|
*/
|
|
@@ -218,7 +222,7 @@ export interface IAdtMetadataUpdatable<TConfig, TMetadataUpdated> {
|
|
|
218
222
|
* resource it addresses.
|
|
219
223
|
*
|
|
220
224
|
* @param config - Object configuration with updates
|
|
221
|
-
* @param options - `
|
|
225
|
+
* @param options - `source` for the body, `lockHandle` for the lock the
|
|
222
226
|
* caller took, `analyse` for the verdict
|
|
223
227
|
* @returns whatever this implementation's reading makes of the answer
|
|
224
228
|
*/
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,MAAM,CAAC,CAAC,SAAS,SAAS,EACxB,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAG;QAAE,MAAM,CAAC,EAAE,KAAK,CAAA;KAAE,EACpD,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,QAAQ,CAAC,GAAG;QAAE,MAAM,CAAC,EAAE,KAAK,CAAA;KAAE,EACpD,OAAO,CAAC,EAAE,iBA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
|
-
|
|
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
|
-
|
|
30
|
+
source?: string;
|
|
31
31
|
transportRequest?: string;
|
|
32
32
|
}
|
|
33
33
|
export interface ILocalTypesConfig {
|
|
34
34
|
className: string;
|
|
35
|
-
|
|
35
|
+
source?: string;
|
|
36
36
|
transportRequest?: string;
|
|
37
37
|
}
|
|
38
38
|
export interface ILocalDefinitionsConfig {
|
|
39
39
|
className: string;
|
|
40
|
-
|
|
40
|
+
source?: string;
|
|
41
41
|
transportRequest?: string;
|
|
42
42
|
}
|
|
43
43
|
export interface ILocalMacrosConfig {
|
|
44
44
|
className: string;
|
|
45
|
-
|
|
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;;GAEG;AAKH,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,
|
|
1
|
+
{"version":3,"file":"IAdtClass.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtClass.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC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DataElementConfig {
|
|
15
15
|
/**
|
|
16
|
-
* The complete
|
|
16
|
+
* The complete payload this write sends — the object’s own document, for a type that is one.
|
|
17
17
|
*
|
|
18
18
|
* **An update is a write, not a read-modify-write.** Until 19.0.0 of
|
|
19
19
|
* `adt-clients` the five DDIC-shaped updates fetched the current document,
|
|
@@ -23,12 +23,12 @@ export interface IDataElementConfig {
|
|
|
23
23
|
* it, and passes it here.
|
|
24
24
|
*
|
|
25
25
|
* So the fields beside this one describe a *create*. On an update they are not
|
|
26
|
-
* sent, and a field left out of `
|
|
26
|
+
* sent, and a field left out of `source` is not preserved — there is nothing
|
|
27
27
|
* to preserve it from, because nothing was read.
|
|
28
28
|
*
|
|
29
29
|
* Optional because the same config creates, where there is no document yet.
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
source?: string;
|
|
32
32
|
dataElementName: string;
|
|
33
33
|
masterLanguage?: string;
|
|
34
34
|
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,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAKD,MAAM,WAAW,kBAAkB;IACjC;;;;;;;;;;;;;;;OAeG;IACH,
|
|
1
|
+
{"version":3,"file":"IAdtDataElement.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtDataElement.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
|
+
{"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"}
|
package/dist/adt/IAdtDomain.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export interface IFixedValue {
|
|
|
7
7
|
}
|
|
8
8
|
export interface IDomainConfig {
|
|
9
9
|
/**
|
|
10
|
-
* The complete
|
|
10
|
+
* The complete payload this write sends — the object’s own document, for a type that is one.
|
|
11
11
|
*
|
|
12
12
|
* **An update is a write, not a read-modify-write.** Until 19.0.0 of
|
|
13
13
|
* `adt-clients` the five DDIC-shaped updates fetched the current document,
|
|
@@ -17,12 +17,12 @@ export interface IDomainConfig {
|
|
|
17
17
|
* it, and passes it here.
|
|
18
18
|
*
|
|
19
19
|
* So the fields beside this one describe a *create*. On an update they are not
|
|
20
|
-
* sent, and a field left out of `
|
|
20
|
+
* sent, and a field left out of `source` is not preserved — there is nothing
|
|
21
21
|
* to preserve it from, because nothing was read.
|
|
22
22
|
*
|
|
23
23
|
* Optional because the same config creates, where there is no document yet.
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
source?: string;
|
|
26
26
|
domainName: string;
|
|
27
27
|
masterLanguage?: string;
|
|
28
28
|
packageName?: string;
|
|
@@ -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,
|
|
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,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,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"}
|
|
@@ -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,
|
|
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"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface IFunctionGroupConfig {
|
|
5
5
|
/**
|
|
6
|
-
* The complete
|
|
6
|
+
* The complete payload this write sends — the object’s own document, for a type that is one.
|
|
7
7
|
*
|
|
8
8
|
* **An update is a write, not a lock-read-patch-write.** Until 19.0.0 of
|
|
9
9
|
* `adt-clients` the function-group update locked the group, fetched its
|
|
@@ -19,7 +19,7 @@ export interface IFunctionGroupConfig {
|
|
|
19
19
|
*
|
|
20
20
|
* Optional because the same config creates, where there is no document yet.
|
|
21
21
|
*/
|
|
22
|
-
|
|
22
|
+
source?: string;
|
|
23
23
|
functionGroupName: string;
|
|
24
24
|
masterLanguage?: string;
|
|
25
25
|
packageName?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtFunctionGroup.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtFunctionGroup.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,MAAM,WAAW,oBAAoB;IACnC;;;;;;;;;;;;;;;;OAgBG;IACH,
|
|
1
|
+
{"version":3,"file":"IAdtFunctionGroup.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtFunctionGroup.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,MAAM,WAAW,oBAAoB;IACnC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,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,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtFunctionInclude.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtFunctionInclude.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,sBAAsB;IACrC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,
|
|
1
|
+
{"version":3,"file":"IAdtFunctionInclude.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtFunctionInclude.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,sBAAsB;IACrC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtFunctionModule.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtFunctionModule.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,2BAA2B;IAC1C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAMD,MAAM,WAAW,qBAAqB;IACpC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,
|
|
1
|
+
{"version":3,"file":"IAdtFunctionModule.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtFunctionModule.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,2BAA2B;IAC1C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAMD,MAAM,WAAW,qBAAqB;IACpC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtInclude.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtInclude.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,MAAM,WAAW,cAAc;IAC7B,WAAW,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,
|
|
1
|
+
{"version":3,"file":"IAdtInclude.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtInclude.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,MAAM,WAAW,cAAc;IAC7B,WAAW,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;IAChB,MAAM,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC"}
|
|
@@ -8,8 +8,6 @@ export type IInterfaceConfig = IAdtObjectConfig & {
|
|
|
8
8
|
packageName?: string;
|
|
9
9
|
transportRequest?: string;
|
|
10
10
|
description?: string;
|
|
11
|
-
|
|
12
|
-
sessionId?: string;
|
|
13
|
-
onLock?: (lockHandle: string) => void;
|
|
11
|
+
source?: string;
|
|
14
12
|
};
|
|
15
13
|
//# sourceMappingURL=IAdtInterface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtInterface.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtInterface.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAK1D,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,GAAG;IAChD,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,
|
|
1
|
+
{"version":3,"file":"IAdtInterface.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtInterface.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAK1D,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,GAAG;IAChD,aAAa,EAAE,MAAM,CAAC;IACtB,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,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtMetadataExtension.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtMetadataExtension.ts"],"names":[],"mappings":"AAAA;;GAEG;AAMH,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,
|
|
1
|
+
{"version":3,"file":"IAdtMetadataExtension.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtMetadataExtension.ts"],"names":[],"mappings":"AAAA;;GAEG;AAMH,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
package/dist/adt/IAdtObject.d.ts
CHANGED
|
@@ -156,17 +156,16 @@ export interface IAdtOperationOptions<E extends IAdtError = IAdtError> {
|
|
|
156
156
|
* described a create that wrote the source itself in a second request. A
|
|
157
157
|
* member is one request now, so where the endpoint does not carry source,
|
|
158
158
|
* writing it is a separate call the caller makes.
|
|
159
|
-
*/
|
|
160
|
-
sourceCode?: string;
|
|
161
|
-
/**
|
|
162
|
-
* The body of this member’s request, for the objects whose editor content is
|
|
163
|
-
* XML rather than source — a domain, a data element, a package, an
|
|
164
|
-
* authorization field.
|
|
165
159
|
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
160
|
+
* **One field, whatever the payload is.** There were two — `sourceCode` and
|
|
161
|
+
* `xmlContent` — split by what the body happened to contain: ABAP text for a
|
|
162
|
+
* class, an XML document for a domain. That split asked the caller to
|
|
163
|
+
* classify their own payload for a library that does not read it. This
|
|
164
|
+
* package does not demand a particular ABAP body either; what a given type's
|
|
165
|
+
* XML looks like is documented, and what to put here is the caller's to
|
|
166
|
+
* know.
|
|
168
167
|
*/
|
|
169
|
-
|
|
168
|
+
source?: string;
|
|
170
169
|
/**
|
|
171
170
|
* The lock handle to put on the write request.
|
|
172
171
|
*
|
|
@@ -213,12 +212,12 @@ export interface IAdtOperationOptions<E extends IAdtError = IAdtError> {
|
|
|
213
212
|
*
|
|
214
213
|
* **`Omit` alone does not refuse it.** Excess-property checking applies to
|
|
215
214
|
* object literals and nothing else, so `create(config, opts)` where `opts` is a
|
|
216
|
-
* variable of type {@link IAdtOperationOptions} carrying `
|
|
215
|
+
* variable of type {@link IAdtOperationOptions} carrying `source` is
|
|
217
216
|
* structurally assignable and compiles — which is the shape real consumer code
|
|
218
|
-
* takes. `
|
|
217
|
+
* takes. `source?: never` is what makes the refusal hold for a variable as
|
|
219
218
|
* well as a literal.
|
|
220
219
|
*/
|
|
221
|
-
export type IAdtCreateOptions<E extends IAdtError = IAdtError> = Omit<IAdtOperationOptions<E>, '
|
|
222
|
-
|
|
220
|
+
export type IAdtCreateOptions<E extends IAdtError = IAdtError> = Omit<IAdtOperationOptions<E>, 'source'> & {
|
|
221
|
+
source?: never;
|
|
223
222
|
};
|
|
224
223
|
//# sourceMappingURL=IAdtObject.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtObject.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtObject.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,eAAO,MAAM,mBAAmB;IAC9B,6BAA6B;;IAE7B,iFAAiF;;IAEjF,+BAA+B;;IAE/B,6BAA6B;;IAE7B,2BAA2B;;IAE3B,6BAA6B;;IAE7B,+BAA+B;;IAE/B,0BAA0B;;IAE1B,4BAA4B;;IAE5B,8BAA8B;;IAE9B,iGAAiG;;CAEzF,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,IAAI,CACtD,OAAO,EAAE,SAAS,GAAG,YAAY,EACjC,MAAM,CAAC,EAAE,gBAAgB,KACtB,CAAC,GAAG,YAAY,CAAC;AAEtB;;;GAGG;AACH,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS;IACnE;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;IAmBtB
|
|
1
|
+
{"version":3,"file":"IAdtObject.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtObject.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,eAAO,MAAM,mBAAmB;IAC9B,6BAA6B;;IAE7B,iFAAiF;;IAEjF,+BAA+B;;IAE/B,6BAA6B;;IAE7B,2BAA2B;;IAE3B,6BAA6B;;IAE7B,+BAA+B;;IAE/B,0BAA0B;;IAE1B,4BAA4B;;IAE5B,8BAA8B;;IAE9B,iGAAiG;;CAEzF,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,IAAI,CACtD,OAAO,EAAE,SAAS,GAAG,YAAY,EACjC,MAAM,CAAC,EAAE,gBAAgB,KACtB,CAAC,GAAG,YAAY,CAAC;AAEtB;;;GAGG;AACH,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS;IACnE;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;IAmBtB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,IAAI,IAAI,CACnE,oBAAoB,CAAC,CAAC,CAAC,EACvB,QAAQ,CACT,GAAG;IAAE,MAAM,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface IPackageConfig {
|
|
5
5
|
/**
|
|
6
|
-
* The complete
|
|
6
|
+
* The complete payload this write sends — the object’s own document, for a type that is one.
|
|
7
7
|
*
|
|
8
8
|
* **An update is a write, not a read-modify-write.** Until 19.0.0 of
|
|
9
9
|
* `adt-clients` the five DDIC-shaped updates fetched the current document,
|
|
@@ -13,12 +13,12 @@ export interface IPackageConfig {
|
|
|
13
13
|
* it, and passes it here.
|
|
14
14
|
*
|
|
15
15
|
* So the fields beside this one describe a *create*. On an update they are not
|
|
16
|
-
* sent, and a field left out of `
|
|
16
|
+
* sent, and a field left out of `source` is not preserved — there is nothing
|
|
17
17
|
* to preserve it from, because nothing was read.
|
|
18
18
|
*
|
|
19
19
|
* Optional because the same config creates, where there is no document yet.
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
source?: string;
|
|
22
22
|
packageName: string;
|
|
23
23
|
superPackage?: string;
|
|
24
24
|
description?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtPackage.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtPackage.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,MAAM,WAAW,cAAc;IAC7B;;;;;;;;;;;;;;;OAeG;IACH,
|
|
1
|
+
{"version":3,"file":"IAdtPackage.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtPackage.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,MAAM,WAAW,cAAc;IAC7B;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtProgram.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtProgram.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,MAAM,WAAW,cAAc;IAC7B,WAAW,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,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,
|
|
1
|
+
{"version":3,"file":"IAdtProgram.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtProgram.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,MAAM,WAAW,cAAc;IAC7B,WAAW,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,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtScalarFunction.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtScalarFunction.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,MAAM,WAAW,qBAAqB;IACpC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,
|
|
1
|
+
{"version":3,"file":"IAdtScalarFunction.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtScalarFunction.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,MAAM,WAAW,qBAAqB;IACpC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtScalarFunctionImplementation.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtScalarFunctionImplementation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG,YAAY,CAAC;AAE9D,MAAM,WAAW,mCAAmC;IAClD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,oBAAoB,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,
|
|
1
|
+
{"version":3,"file":"IAdtScalarFunctionImplementation.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtScalarFunctionImplementation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG,YAAY,CAAC;AAE9D,MAAM,WAAW,mCAAmC;IAClD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,oBAAoB,CAAC;IACnC,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtServiceDefinition.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtServiceDefinition.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,MAAM,WAAW,wBAAwB;IACvC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,
|
|
1
|
+
{"version":3,"file":"IAdtServiceDefinition.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtServiceDefinition.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,MAAM,WAAW,wBAAwB;IACvC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtStructure.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtStructure.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,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
|
|
|
1
|
-
{"version":3,"file":"IAdtTable.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtTable.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,
|
|
1
|
+
{"version":3,"file":"IAdtTable.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtTable.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -7,7 +7,7 @@ export type TableTypePrimaryKeyDefinition = 'standard' | 'rowType' | 'keyCompone
|
|
|
7
7
|
export type TableTypePrimaryKeyKind = 'unique' | 'nonUnique' | 'notSpecified';
|
|
8
8
|
export interface ITableTypeConfig {
|
|
9
9
|
/**
|
|
10
|
-
* The complete
|
|
10
|
+
* The complete payload this write sends — the object’s own document, for a type that is one.
|
|
11
11
|
*
|
|
12
12
|
* **An update is a write, not a read-modify-write.** Until 19.0.0 of
|
|
13
13
|
* `adt-clients` the five DDIC-shaped updates fetched the current document,
|
|
@@ -17,12 +17,12 @@ export interface ITableTypeConfig {
|
|
|
17
17
|
* it, and passes it here.
|
|
18
18
|
*
|
|
19
19
|
* So the fields beside this one describe a *create*. On an update they are not
|
|
20
|
-
* sent, and a field left out of `
|
|
20
|
+
* sent, and a field left out of `source` is not preserved — there is nothing
|
|
21
21
|
* to preserve it from, because nothing was read.
|
|
22
22
|
*
|
|
23
23
|
* Optional because the same config creates, where there is no document yet.
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
source?: string;
|
|
26
26
|
tableTypeName: string;
|
|
27
27
|
masterLanguage?: string;
|
|
28
28
|
packageName?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtTableType.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtTableType.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,gBAAgB,GACxB,gBAAgB,GAChB,oBAAoB,GACpB,yBAAyB,GACzB,qBAAqB,GACrB,2BAA2B,GAC3B,2BAA2B,GAC3B,wBAAwB,CAAC;AAE7B,MAAM,MAAM,mBAAmB,GAC3B,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,cAAc,CAAC;AAEnB,MAAM,MAAM,6BAA6B,GACrC,UAAU,GACV,SAAS,GACT,eAAe,GACf,OAAO,GACP,cAAc,CAAC;AAEnB,MAAM,MAAM,uBAAuB,GAAG,QAAQ,GAAG,WAAW,GAAG,cAAc,CAAC;AAK9E,MAAM,WAAW,gBAAgB;IAC/B;;;;;;;;;;;;;;;OAeG;IACH,
|
|
1
|
+
{"version":3,"file":"IAdtTableType.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtTableType.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,gBAAgB,GACxB,gBAAgB,GAChB,oBAAoB,GACpB,yBAAyB,GACzB,qBAAqB,GACrB,2BAA2B,GAC3B,2BAA2B,GAC3B,wBAAwB,CAAC;AAE7B,MAAM,MAAM,mBAAmB,GAC3B,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,cAAc,CAAC;AAEnB,MAAM,MAAM,6BAA6B,GACrC,UAAU,GACV,SAAS,GACT,eAAe,GACf,OAAO,GACP,cAAc,CAAC;AAEnB,MAAM,MAAM,uBAAuB,GAAG,QAAQ,GAAG,WAAW,GAAG,cAAc,CAAC;AAK9E,MAAM,WAAW,gBAAgB;IAC/B;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtTransformation.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtTransformation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,kBAAkB,GAAG,sBAAsB,GAAG,aAAa,CAAC;AAGxE,MAAM,WAAW,qBAAqB;IACpC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,
|
|
1
|
+
{"version":3,"file":"IAdtTransformation.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtTransformation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,kBAAkB,GAAG,sBAAsB,GAAG,aAAa,CAAC;AAGxE,MAAM,WAAW,qBAAqB;IACpC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -41,7 +41,7 @@ export interface ITransportSearchConfiguration {
|
|
|
41
41
|
export declare const TRANSPORT_SEARCH_CONFIGURATIONS_URL = "/sap/bc/adt/cts/transportrequests/searchconfiguration/configurations";
|
|
42
42
|
export interface ITransportConfig {
|
|
43
43
|
/**
|
|
44
|
-
* The complete
|
|
44
|
+
* The complete payload this write sends — the object’s own document, for a type that is one.
|
|
45
45
|
*
|
|
46
46
|
* **An update is a write, not a read-modify-write.** Until 19.0.0 of
|
|
47
47
|
* `adt-clients` the five DDIC-shaped updates fetched the current document,
|
|
@@ -51,12 +51,12 @@ export interface ITransportConfig {
|
|
|
51
51
|
* it, and passes it here.
|
|
52
52
|
*
|
|
53
53
|
* So the fields beside this one describe a *create*. On an update they are not
|
|
54
|
-
* sent, and a field left out of `
|
|
54
|
+
* sent, and a field left out of `source` is not preserved — there is nothing
|
|
55
55
|
* to preserve it from, because nothing was read.
|
|
56
56
|
*
|
|
57
57
|
* Optional because the same config creates, where there is no document yet.
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
source?: string;
|
|
60
60
|
description: string;
|
|
61
61
|
transportType?: 'workbench' | 'customizing';
|
|
62
62
|
targetSystem?: string;
|
|
@@ -154,13 +154,13 @@ export interface IAbapObjectEntry {
|
|
|
154
154
|
* `removeObject` the ways out are releasing the whole request, shipping
|
|
155
155
|
* everything else in it, or SE09.
|
|
156
156
|
*
|
|
157
|
-
*
|
|
157
|
+
* Six members and no composite: the order a caller uses them in, and what
|
|
158
158
|
* they do when `addObject` is refused, is theirs. One of them,
|
|
159
159
|
* {@link IAdtTransportObjectActions.readObjects}, is there because
|
|
160
160
|
* {@link IAdtTransportObjectActions.removeObject} needs a value nothing else
|
|
161
161
|
* here answers — which is a dependency between readings, not a composite.
|
|
162
162
|
*/
|
|
163
|
-
export interface IAdtTransportObjectActions<TRemoved, TAdded, TTask, TActionLog, TObjects> {
|
|
163
|
+
export interface IAdtTransportObjectActions<TRemoved, TAdded, TTask, TActionLog, TObjects, TTaskType> {
|
|
164
164
|
/**
|
|
165
165
|
* Detach one object from a request or task.
|
|
166
166
|
*
|
|
@@ -250,5 +250,27 @@ export interface IAdtTransportObjectActions<TRemoved, TAdded, TTask, TActionLog,
|
|
|
250
250
|
* what must come back.
|
|
251
251
|
*/
|
|
252
252
|
readObjects<E extends IAdtError = IAdtError>(transportNumber: string, options?: IAdtOperationOptions<E>): Promise<IAdtResponse<TObjects, E>>;
|
|
253
|
+
/**
|
|
254
|
+
* Give a task its type.
|
|
255
|
+
*
|
|
256
|
+
* **A task is created without one**, and the call that creates it cannot
|
|
257
|
+
* supply one: measured against BTP ABAP on 2026-09-23, `tm:type` on a
|
|
258
|
+
* `newtask` is accepted and ignored, and every task on that system —
|
|
259
|
+
* including ones created long before this contract existed — reads back as
|
|
260
|
+
* `Unclassified`. CTS assigns the type when the first object lands; a
|
|
261
|
+
* caller who wants it sooner asks for it here.
|
|
262
|
+
*
|
|
263
|
+
* The vocabulary is the server's, and it is small: `'S'`
|
|
264
|
+
* Development/Correction, `'R'` Repair, `'X'` back to Unclassified. It is
|
|
265
|
+
* declared as those three rather than as `string` because the other values
|
|
266
|
+
* a caller might reach for are refused — `'Q'` is a customizing type
|
|
267
|
+
* ("You can only change the type of tasks in workbench requests") and
|
|
268
|
+
* `'K'`/`'W'` are REQUEST types, answered as unknown.
|
|
269
|
+
*
|
|
270
|
+
* Addressed at the **task**, like `removeObject`: that is where the
|
|
271
|
+
* listing offers the action. And like every action here, the answer says
|
|
272
|
+
* the document was understood — a read is what shows the type.
|
|
273
|
+
*/
|
|
274
|
+
changeTaskType<E extends IAdtError = IAdtError>(taskNumber: string, type: 'S' | 'R' | 'X', options?: IAdtOperationOptions<E>): Promise<IAdtResponse<TTaskType, E>>;
|
|
253
275
|
}
|
|
254
276
|
//# sourceMappingURL=IAdtTransport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtTransport.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtTransport.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,O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AC,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC;CACxC"}
|
|
@@ -45,7 +45,7 @@ export interface IUnitTestConfig {
|
|
|
45
45
|
* empty one. A field naming a single test class would promise an addressing
|
|
46
46
|
* this contract does not have.
|
|
47
47
|
*/
|
|
48
|
-
|
|
48
|
+
source?: string;
|
|
49
49
|
/** Where the container class goes, when `create` has to make it. */
|
|
50
50
|
packageName?: string;
|
|
51
51
|
/** What the container class is, when `create` has to make it. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAdtUnitTest.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtUnitTest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;;;;;GAMG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED,uCAAuC;AACvC,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qCAAqC;AACrC,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,eAAe;IAC9B,qEAAqE;IACrE,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;;;OAOG;IACH,
|
|
1
|
+
{"version":3,"file":"IAdtUnitTest.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtUnitTest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AA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C;CACtB,CAAC;AAEF,+EAA+E;AAC/E,6DAA6D;AAC7D,MAAM,WAAW,sBAAsB;IACrC,+DAA+D;IAC/D,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,+BAA+B;IAC/B,MAAM,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;CAC/B;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,mBAAmB,CAAC,OAAO,EAAE,OAAO;IACnD;;;;OAIG;IACH,SAAS,CACP,KAAK,EAAE,MAAM,EACb,eAAe,CAAC,EAAE,OAAO,GACxB,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;IAElC,mDAAmD;IACnD,SAAS,CACP,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,sBAAsB,GAC/B,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;CACnC;AAED;;;;;GAKG;AACH,MAAM,WAAW,uBAAuB,CAAC,OAAO;IAC9C;;;OAGG;IACH,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;CAC1E"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-abap-adt/interfaces-adt",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "ADT contracts, the ABAP and Cloud ALM connections, and SAP/BTP configuration and authentication contracts",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|