@mcp-abap-adt/interfaces-adt 30.1.1 → 31.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 CHANGED
@@ -7,6 +7,108 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [31.0.0] - 2026-11-22
11
+
12
+ `ISystemMessages` loses the member SAP never served. A major, since a member
13
+ and a type parameter leave an exported interface.
14
+
15
+ ### Removed
16
+
17
+ - **`ISystemMessages.getById` and the `TMessage` type parameter.** SAP's
18
+ handler serves the system messages collection only:
19
+ `CL_STSK_ADT_RES_APP` routes `/sap/bc/adt/runtime/systemmessages` to
20
+ `CL_STSK_ADT_RES_SYSTEM_MESSAGE->get_feed` and registers no per-message
21
+ resource, the same on premise and in the cloud (read 2026-11-22). A call to
22
+ `/systemmessages/<id>` therefore never answered a message.
23
+ `ISystemMessages<TList, TMessage>` is now `ISystemMessages<TList>`.
24
+
25
+ ### Migration
26
+
27
+ - **Types.** Replace `ISystemMessages<TList, TMessage>` with
28
+ `ISystemMessages<TList>`.
29
+ - **Implementers.** Remove `getById` from every class or object literal typed
30
+ as `ISystemMessages`.
31
+ - **Callers of `getById`.** Call `list()`, check its response as any other
32
+ `IAdtResponse`, and find the message in the implementation's result by its
33
+ id. In SAP's feed the entry's id reads `uuid:<id>`. The feed holds only the
34
+ messages the system is showing now, so a message that has expired is absent:
35
+ treat "not found" as an answer, not an error.
36
+
37
+ ## [30.2.0] - 2026-11-21
38
+
39
+ The abapGit contracts: key-based members and the facts forms of `link` and
40
+ `checkExternalRepo`. Additions only, plus `credentials?: never` on the legacy
41
+ options. One edge case that compiled before no longer compiles; it is stated
42
+ under Changed.
43
+
44
+ ### Added
45
+
46
+ - **`IAbapGitCredentials`** (`{ readonly user; readonly password }`): a remote
47
+ repository's credential, given as `options.credentials` on the new forms and
48
+ never as an argument.
49
+ - **The facts exchange.** `IAbapGitFactsResponse<F>` (`status`, `facts`),
50
+ `IAbapGitErrorFacts` (`status`, `messageClass?`, `messageNumber?`,
51
+ `gitHttpStatus?`), `IAbapGitStructuredError` (an `IAdtError` with `facts`,
52
+ `response?: undefined`, `request?: { method; path }` and a `message` that is one of
53
+ `ABAPGIT_ERROR_MESSAGES`),
54
+ `IAbapGitFactsResultStrategy<T, F>` and `IAbapGitFactsAnalyse<F, E>`. A new
55
+ form's result strategy and analyser are given the facts, never the wire
56
+ document, so an `IResultStrategy` or an `IAnalyse` does not fit either of
57
+ them.
58
+ - **`ABAPGIT_ERROR_MESSAGES`**, a constant: one fixed sentence per case of a
59
+ facts error (`refused`, `refusedWithMessage`, `gitHostRefused`,
60
+ `noResponse`, `unreadableAnswer`, `judgedByAnalyser`), with
61
+ `AbapGitErrorCase` (its keys) and `AbapGitErrorMessage` (its sentences).
62
+ `IAbapGitStructuredError.message` is an `AbapGitErrorMessage`, so SAP's text
63
+ or any other string does not compile into it. Implementations build their
64
+ messages from this list.
65
+ - **The options.** `IAbapGitFactsOptions<F, E>` (`analyse?`, `credentials?`),
66
+ `IAbapGitNewFormOptions<F, E>` (`credentials: IAbapGitCredentials | null`,
67
+ required, where `null` means an anonymous call) and `IAbapGitHeaderOptions`
68
+ (`headers`, required). `IAbapGitQuietOptions`, for `listReposQuiet`, takes no
69
+ credential (`credentials?: never`). None of them extends `IAdtAnalyseOptions`.
70
+ - **The args.** `IAbapGitRepoKeyArgs`, `IAbapGitLinkNewArgs` (`branchName`
71
+ required, `folderLogic?`, `remoteUser?: never`, `remotePassword?: never`),
72
+ `IAbapGitExternalRepoArgs`, `IAbapGitPullRepoArgs` (`branchName` required,
73
+ `selection?`), `IAbapGitPullSelection` and `IAbapGitModifiedObject`,
74
+ `IAbapGitRunLogArgs`, `IAbapGitStagedObject` and `IAbapGitStagedFile`,
75
+ `IAbapGitCommit` (text, author and committer, all required),
76
+ `IAbapGitPushArgs`, `IAbapGitFileArgs` (`version: 'local' | 'remote'`),
77
+ `IAbapGitBranchInfoArgs` and `IAbapGitSwitchBranchArgs` (`create` required).
78
+ - **One atom per member**, each generic over its slot's result `T` and its
79
+ route's facts `F` separately, with two facts-typed overloads (the caller's
80
+ error subtype `E`, or the default `IAbapGitStructuredError`, which keeps
81
+ `.facts`) and no wire-typed one: `IAdtAbapGitListReposQuiet`,
82
+ `IAdtAbapGitLinkNewForm`, `IAdtAbapGitCheckExternalRepoNewForm`,
83
+ `IAdtAbapGitPullRepo`, `IAdtAbapGitPullRepoInDialog`,
84
+ `IAdtAbapGitBranchInfo`, `IAdtAbapGitModifiedObjects`, `IAdtAbapGitStatus`,
85
+ `IAdtAbapGitStaging`, `IAdtAbapGitCheckRepo`, `IAdtAbapGitRunLog`,
86
+ `IAdtAbapGitPush`, `IAdtAbapGitFile` and `IAdtAbapGitSwitchBranch`.
87
+ `pullRepo`, `pullRepoInDialog`, `getBranchInfo` and both new forms require
88
+ `headers`. `IAbapGitStructuredError` carries no `rfc`, `adtType`, `namespace` or
89
+ `code` (each `?: never`): the RFC SDK's `key` is free text, `adtType` and
90
+ `namespace` are read out of SAP's document, and `code` is an open string,
91
+ so none of them is a kept fact.
92
+
93
+ ### Changed
94
+
95
+ - **The legacy members are deprecated.** `getErrorLog` is deprecated in favour
96
+ of `getRunLog`, `pull` in favour of `pullRepo`, and the
97
+ `remoteUser`/`remotePassword` forms of `link` and `checkExternalRepo` in
98
+ favour of their new forms. Their signatures, wire-typed callbacks and result
99
+ types stay as they were.
100
+ - **`credentials?: never` on the legacy options.** The options of every
101
+ overload of `link`, `pull` and `checkExternalRepo` in `IAdtAbapGitClient` are
102
+ intersected with `{ readonly credentials?: never }`, so a legacy call and a
103
+ new form can never be mixed. **One edge case no longer compiles:** an
104
+ options *variable* with an extra, undeclared `credentials` property. A
105
+ variable is not checked for excess properties, so this compiled against
106
+ 30.1.x. It is now refused, or, when its value is an `IAbapGitCredentials` or
107
+ `null` and the args fit, it selects the new form, which has a different
108
+ result type. This is a minor release because `credentials` was never a
109
+ declared field. Every other call that compiled before still compiles
110
+ (`src/__typechecks__/abapGitLegacyCalls.ts`).
111
+
10
112
  ## [30.1.1] - 2026-11-20
11
113
 
12
114
  Documentation only, no type change.
package/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # @mcp-abap-adt/interfaces-adt
2
+ [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
2
3
 
3
4
  ADT contracts: object operations, runtime analysis, execution, feeds and service bindings. The ABAP connection they are sent through is [`interfaces-adt-connection`](../interfaces-adt-connection).
4
5
 
@@ -13,6 +14,7 @@ ADT contracts: object operations, runtime analysis, execution, feeds and service
13
14
  - Since 15.1.0 the plain class and program run take `debuggee` (`IDebuggeeIds`): the terminal id and IDE id a terminal-mode listener catches the run by.
14
15
  - Since 23.1.0 the ABAP Unit run registry: `ABAP_UNIT_RUN_TYPES`, every `osl:object type` value a run may name, what a run of it runs and on what evidence; `AbapUnitRunObjectType` (its keys), `AbapUnitRunTarget` (an object or a package) and the generic runner contract `IAbapUnitRunner`. Additions only. See "The ABAP Unit run registry".
15
16
  - Since 30.0.0 the text elements of a program, a class or a function group — text symbols, selection texts, list and column headings — are their own contract (`/sap/bc/adt/textelements/…`, lock class `TEXT`): `IAdtTextElementsReadable` reads one part, `IAdtTextElementsUpdatable` writes one whole part from a typed document (`ITextSymbol`, `ISelectionText`, `ITextHeadings`), `ITextElementsResults`. The tables gain the API `textElements` (`PROG/PX`, `CLAS/OCX`, kind `text_elements`) on S/4HANA and ABAP cloud: a map over `AdtApiName`, `AdtTypeCode`, `AdtObjectKind`, `CodesOfMain<'PROG'>`, `CodesOfMain<'CLAS'>` or a union derived from the tables — the utility, group activation and where-used codes among them (`AdtUtilityCode`, `AdtGroupActivationCode`, `AdtWhereUsedCode`) — adds the members; the reason for the major. The typed `activateObjects` / `activateObjectsGroup` take the text elements' reference beside the object's. See "Text elements" and "Migrating to 30.0.0".
17
+ - Since 30.2.0 the abapGit contracts have key-based members and facts forms: one atom per member (`IAdtAbapGitPullRepo`, `IAdtAbapGitRunLog`, `IAdtAbapGitPush`, … fourteen in all), each generic over its result `T` and its route's facts `F`, answering `IAbapGitStructuredError` by default (status and T100 key, never SAP's text); the new forms of `link` and `checkExternalRepo` take `credentials: IAbapGitCredentials | null`. The legacy members are deprecated and unchanged apart from `credentials?: never` on the options of `link`, `pull` and `checkExternalRepo`; the one edge case that no longer compiles is in the CHANGELOG. See "abapGit: key-based members and facts".
16
18
  - Since 30.1.0 a settings write is typed by the system kind: on the cloud it requires `isWritableByAMDP` (a cloud write without it reset it to `false`, measured; 30.0.0 refused it on a write), on premise it refuses it (nothing maps it there, Code). `IAdtTableSettingsPatchable.patchMetadata` reads, overlays `ITableSettingsChangesOf<V>` and writes the whole document with `If-Match` (decision 51). What it breaks is in the CHANGELOG. See "A table's technical settings".
17
19
  - Since 29.0.0 `ITableSettings.translation` is an `ITableTranslation`, the `ts:translation` element's four attributes, where 28.0.0 had a string: a `ts:translation` element written with an attribute missing is refused (400 `00/001`), and an absent element is accepted (both measured on both systems). See "Migrating to 29.0.0".
18
20
  - Since 28.0.0 a table's technical settings (`TABL/DTT`, `tableSettings` in the on-premise and cloud tables) are their own contract: `ITableSettingsConfig`, `ITableSettingsUpdateConfig` with the full `ITableSettings`, the write atom `IAdtTableSettingsUpdatable` and `ITableSettingsResults`. A map over `AdtApiName`, `AdtTypeCode`, `AdtObjectKind`, `CodesOfMain<'TABL'>` or a union derived from the tables (`AdtApi<V>`, `AdtTypeCodeOf<V>`, `AdtApiWith<V, Op>`, …) adds the new member — the reason for the major. See "A table's technical settings" and "Migrating to 28.0.0".
@@ -47,13 +49,13 @@ npm install @mcp-abap-adt/interfaces-adt
47
49
  | directory | files | what |
48
50
  |---|---|---|
49
51
  | `adt/` | 44 | the object contracts: capability atoms, the object types, the ADT type tables and their entry shape, `IAdtResponse`, `IAdtError`, the error codes, the transport request's object list |
50
- | `runtime/` | 14 | runtime analysis: the debuggers (`IAbapDebugger`, `IAmdpDebugger`) and `IMemorySnapshots`, `IProfiler`, the trace contracts (`ITraceListing`/`ITraceReading`, `ICrossTrace`, `ISt05Trace`), `IApplicationLog`, `IAtcLog` and the ATC run (`IAtcRunOptions`, `IAtcFindings`) and its results (`IAtcResultsReadable`), `IDdicActivation`, `IGatewayErrorLog`, `IRuntimeDumps`, `ISystemMessages` |
52
+ | `runtime/` | 14 | runtime analysis: the debuggers (`IAbapDebugger`, `IAmdpDebugger`) and `IMemorySnapshots`, `IProfiler`, the trace contracts (`ITraceListing`/`ITraceReading`, `ICrossTrace`, `ISt05Trace`), `IApplicationLog`, `IAtcLog` and the ATC run (`IAtcRunOptions`, `IAtcFindings`) and its results (`IAtcResultsReadable`), `IDdicActivation`, `IGatewayErrorLog`, `IRuntimeDumps`, `ISystemMessages` (the collection only; see the 31.0.0 migration in the CHANGELOG) |
51
53
  | `execution/` | 3 | class and program execution, with profiling |
52
54
  | `feeds/` | 2 | the ADT feed contracts |
53
55
  | `service/` | 1 | service definitions and bindings |
54
56
  | `shared/` | 1 | what more than one object type needs |
55
57
 
56
- Six directories, all ADT. `connection/` left for `interfaces-adt-connection` in 11.0.0. `sap/`, `auth/`, `token/`, `session/`, `serviceKey/`, `store/`, `validation/` and `Headers.ts` were here until 9.0.0 and are listed above under what left; `__typechecks__/` holds 44 files that compile shapes this contract must and must not accept, and ships in no tarball.
58
+ Six directories, all ADT. `connection/` left for `interfaces-adt-connection` in 11.0.0. `sap/`, `auth/`, `token/`, `session/`, `serviceKey/`, `store/`, `validation/` and `Headers.ts` were here until 9.0.0 and are listed above under what left; `__typechecks__/` holds 47 files that compile shapes this contract must and must not accept, and ships in no tarball. Two of them, `abapGit.ts` and `abapGitLegacyCalls.ts`, import `@mcp-abap-adt/interfaces-adt` by name and resolve it through `dist/index.d.ts` (`tsconfig.typecheck-entry.json`), so a standalone `npm run test:check` needs `npm run build` first; the root `npm run check` and CI build first.
57
59
 
58
60
  The contract rules — what a member answers, how a strategy is supplied, how a contract is built — are in [`docs/architecture/ARCHITECTURE.md`](../../docs/architecture/ARCHITECTURE.md). Domain-by-domain documentation with examples used to sit in the facade's README; the facade is deleted, and each package documents its own contracts.
59
61
 
@@ -425,7 +427,7 @@ Which request sets what was read from `@mcp-abap-adt/adt-clients`. For a chain,
425
427
  the main write counts (the message class message's create and update: the
426
428
  PUT). Where a member's implementations disagree, the majority decides.
427
429
 
428
- The members that take `headers`: `IAdtAbapGitClient`: `link`, `pull`, `checkExternalRepo`; `IAdtCreatable`: `create`; `IAdtUpdatable`: `update`; `IAdtMetadataUpdatable`: `updateMetadata`; `IAdtDeletable`: `delete`, `checkDeletion`; `IAdtCheckable`: `check`; `IAdtActivatable`: `activate`; `IFeatureToggleObject`: `checkState`; `IAdtTransportObjectActions`: `removeObject`, `addObject`, `createTask`, `changeTaskType`; `IAdtTransportMoveObjects`: `moveObjects`; `IAbapUnitRunner`: `runSync`; `IAdtWhereUsed`: `getWhereUsed`, `getWhereUsedScope`; `IAdtVirtualFolders`: `getVirtualFoldersContents`; `IAdtRepositoryStructure`: `fetchNodeStructure`; `IAdtGroupLifecycle`: `activateObjectsGroup`, `checkDeletionGroup`, `deleteObjectsGroup`; `IAdtObjectActivation`: `activateObjects`; `IAdtDataPreview`: `getSqlQuery`, `getTableContents`; `ITraceScheduling`: `scheduleTrace`; `IAbapDebugger`: `setBreakpoints`, `getChildVariables`, `getVariables`, `syncBreakpoints`, `setDebuggerSettings`; `IAmdpDebugger`: `getDataPreview`.
430
+ The members that take `headers`: `IAdtAbapGitClient`: `link`, `pull`, `checkExternalRepo`; `IAdtAbapGitLinkNewForm`: `link`; `IAdtAbapGitCheckExternalRepoNewForm`: `checkExternalRepo`; `IAdtAbapGitPullRepo`: `pullRepo`; `IAdtAbapGitPullRepoInDialog`: `pullRepoInDialog`; `IAdtAbapGitBranchInfo`: `getBranchInfo`; `IAdtCreatable`: `create`; `IAdtUpdatable`: `update`; `IAdtMetadataUpdatable`: `updateMetadata`; `IAdtDeletable`: `delete`, `checkDeletion`; `IAdtCheckable`: `check`; `IAdtActivatable`: `activate`; `IFeatureToggleObject`: `checkState`; `IAdtTransportObjectActions`: `removeObject`, `addObject`, `createTask`, `changeTaskType`; `IAdtTransportMoveObjects`: `moveObjects`; `IAbapUnitRunner`: `runSync`; `IAdtWhereUsed`: `getWhereUsed`, `getWhereUsedScope`; `IAdtVirtualFolders`: `getVirtualFoldersContents`; `IAdtRepositoryStructure`: `fetchNodeStructure`; `IAdtGroupLifecycle`: `activateObjectsGroup`, `checkDeletionGroup`, `deleteObjectsGroup`; `IAdtObjectActivation`: `activateObjects`; `IAdtDataPreview`: `getSqlQuery`, `getTableContents`; `ITraceScheduling`: `scheduleTrace`; `IAbapDebugger`: `setBreakpoints`, `getChildVariables`, `getVariables`, `syncBreakpoints`, `setDebuggerSettings`; `IAmdpDebugger`: `getDataPreview`.
429
431
 
430
432
  The field is on each member's own options, not on `IAdtAnalyseOptions` or
431
433
  `IAdtOperationOptions`. `src/__typechecks__/headersOnEveryMember.ts` holds this
@@ -486,6 +488,86 @@ error or a result built for 27.2.0 still conforms.
486
488
  `src/__typechecks__/sessionError.ts` and `src/__typechecks__/sessionLost.ts`
487
489
  hold these shapes.
488
490
 
491
+ ## abapGit: key-based members and facts (30.2.0)
492
+
493
+ Every new member is addressed by what SAP gave the caller: a repository's
494
+ `key` from `listRepos`, or a remote `url`. Each one answers through the
495
+ **facts** contract. A result strategy and an analyser are given
496
+ `IAbapGitFactsResponse<F>` (the integer `status` and the route's `facts`), never
497
+ the wire document. The default error, `IAbapGitStructuredError`, carries
498
+ `facts` (`status`, `messageClass?`, `messageNumber?`, `gitHttpStatus?`), one of
499
+ the fixed sentences of `ABAPGIT_ERROR_MESSAGES` in `message` (`refused`,
500
+ `refusedWithMessage`, `gitHostRefused`, `noResponse`, `unreadableAnswer`,
501
+ `judgedByAnalyser`; the type is `AbapGitErrorMessage`, and no other string
502
+ compiles), no `response`, `rfc`, `adtType`, `namespace` or `code`, and a `request` of method and path. A
503
+ credential is never part of either.
504
+
505
+ ```ts
506
+ import type {
507
+ IAbapGitFactsAnalyse,
508
+ IAbapGitStructuredError,
509
+ IAdtAbapGitPullRepo,
510
+ } from '@mcp-abap-adt/interfaces-adt';
511
+ import { ADT_NO_FAILURE } from '@mcp-abap-adt/interfaces-adt';
512
+
513
+ declare const git: IAdtAbapGitPullRepo<MyPull, PullFacts>;
514
+
515
+ const answer = await git.pullRepo(
516
+ { key: repo.key, branchName: repo.branchName },
517
+ { headers },
518
+ );
519
+ if (!answer.ok) answer.getError().facts.messageClass; // IAbapGitStructuredError
520
+
521
+ interface MyError extends IAbapGitStructuredError { readonly retry: boolean }
522
+ const mine: IAbapGitFactsAnalyse<PullFacts, MyError> = (verdict, answer) =>
523
+ verdict === ADT_NO_FAILURE ? verdict : { ...verdict, retry: answer?.status === 409 };
524
+ const judged = await git.pullRepo(args, { headers, analyse: mine });
525
+ if (!judged.ok) judged.getError().retry; // MyError, no cast
526
+ ```
527
+
528
+ **The atoms**, one per member, each `IAdtAbapGit…<T, F>`: `T` is the result
529
+ the slot's reader gives the caller and `F` the facts the analyser sees. Each
530
+ has exactly two overloads, for the caller's error subtype `E` or for the
531
+ default, and no wire-typed one, so an `IAnalyse` or an `IResultStrategy` does
532
+ not fit.
533
+
534
+ | Atom | Member | Args | Options |
535
+ |---|---|---|---|
536
+ | `IAdtAbapGitListReposQuiet` | `listReposQuiet` | none | `IAbapGitQuietOptions` (no credential: `credentials?: never`), optional |
537
+ | `IAdtAbapGitLinkNewForm` | `link` | `IAbapGitLinkNewArgs` | `IAbapGitHeaderOptions & IAbapGitNewFormOptions` |
538
+ | `IAdtAbapGitCheckExternalRepoNewForm` | `checkExternalRepo` | `IAbapGitExternalRepoArgs` | `IAbapGitHeaderOptions & IAbapGitNewFormOptions` |
539
+ | `IAdtAbapGitPullRepo` | `pullRepo` | `IAbapGitPullRepoArgs` | `IAbapGitHeaderOptions & IAbapGitFactsOptions` |
540
+ | `IAdtAbapGitPullRepoInDialog` | `pullRepoInDialog` | `IAbapGitPullRepoArgs` | `IAbapGitHeaderOptions & IAbapGitFactsOptions` |
541
+ | `IAdtAbapGitBranchInfo` | `getBranchInfo` | `IAbapGitBranchInfoArgs` | `IAbapGitHeaderOptions & IAbapGitFactsOptions` |
542
+ | `IAdtAbapGitModifiedObjects`, `IAdtAbapGitStatus`, `IAdtAbapGitStaging`, `IAdtAbapGitCheckRepo` | `getModifiedObjects`, `getStatus`, `getStaging`, `checkRepo` | `IAbapGitRepoKeyArgs` | `IAbapGitFactsOptions`, optional |
543
+ | `IAdtAbapGitRunLog` | `getRunLog` | `IAbapGitRunLogArgs` | `IAbapGitFactsOptions`, optional |
544
+ | `IAdtAbapGitPush` | `push` | `IAbapGitPushArgs` | `IAbapGitFactsOptions`, optional |
545
+ | `IAdtAbapGitFile` | `getFile` | `IAbapGitFileArgs` | `IAbapGitFactsOptions`, optional |
546
+ | `IAdtAbapGitSwitchBranch` | `switchBranch` | `IAbapGitSwitchBranchArgs` | `IAbapGitFactsOptions`, optional |
547
+
548
+ The options do not extend `IAdtAnalyseOptions`, because their `analyse` is an
549
+ `IAbapGitFactsAnalyse`. `IAbapGitFactsOptions` takes an optional `credentials`.
550
+ `listReposQuiet` sends no credential, so its `IAbapGitQuietOptions` carry `credentials?: never`. `IAbapGitNewFormOptions` requires it: an `IAbapGitCredentials` (`user`,
551
+ `password`; a token goes as the password), or `null` for an anonymous call.
552
+ `undefined` is neither. A consumer composes its client from the atoms and, for
553
+ the new forms, puts them beside the legacy client:
554
+ `IAdtAbapGitClient<…> & IAdtAbapGitLinkNewForm<T, F> & …`.
555
+
556
+ **The legacy members** of `IAdtAbapGitClient` keep their signatures, their
557
+ wire-typed callbacks and their result types, and are deprecated:
558
+ `getErrorLog` in favour of `getRunLog`, `pull` in favour of `pullRepo`, and the
559
+ `remoteUser`/`remotePassword` forms of `link` and `checkExternalRepo` in favour
560
+ of the new forms. The options of `link`, `pull` and `checkExternalRepo` carry
561
+ `credentials?: never`, and the new args carry `remoteUser?: never` and
562
+ `remotePassword?: never`, so the two forms cannot be mixed. Every call that
563
+ compiled against 30.1.x still compiles, with one exception: an options
564
+ **variable** with an extra, undeclared `credentials` property is now refused,
565
+ or, when its value is a credential or `null` and the args fit, it selects the
566
+ new form. `src/__typechecks__/abapGitLegacyCalls.ts` holds the legacy calls and
567
+ the exception. `src/__typechecks__/abapGit.ts` holds the new forms and what
568
+ they refuse. Both import `@mcp-abap-adt/interfaces-adt` by name and compile against the
569
+ built package (`tsconfig.typecheck-entry.json`, run by `npm run test:check`).
570
+
489
571
  ## Text elements (30.0.0)
490
572
 
491
573
  The text elements of a program, a class or a function group — text symbols,
@@ -1,6 +1,6 @@
1
1
  import type { IAdtHeaders } from './IAdtContentTypes';
2
2
  import type { IAdtAnalyseOptions, IAnalyse } from './IAdtObject';
3
- import type { IAdtError, IAdtResponse } from './IAdtResponse';
3
+ import type { AdtNoFailure, IAdtError, IAdtResponse } from './IAdtResponse';
4
4
  export interface IAbapGitLinkArgs {
5
5
  package: string;
6
6
  url: string;
@@ -61,29 +61,52 @@ export interface IAdtAbapGitClientOptions {
61
61
  * they want.
62
62
  */
63
63
  export interface IAdtAbapGitClient<TRepos, TErrorLog, TPull, TExternalRepo> {
64
+ /**
65
+ * @deprecated Since 30.2.0 — use the new form ({@link IAdtAbapGitLinkNewForm}:
66
+ * `credentials: IAbapGitCredentials | null`, no `remoteUser`/`remotePassword`).
67
+ * Its options carry `credentials?: never`, so the two forms never mix.
68
+ */
64
69
  link<E extends IAdtError>(args: IAbapGitLinkArgs, options: {
65
70
  headers: IAdtHeaders;
66
71
  } & IAdtAnalyseOptions<E> & {
67
72
  analyse: IAnalyse<E>;
73
+ } & {
74
+ readonly credentials?: never;
68
75
  }): Promise<IAdtResponse<void, E>>;
76
+ /**
77
+ * @deprecated Since 30.2.0 — use the new form ({@link IAdtAbapGitLinkNewForm}).
78
+ */
69
79
  link(args: IAbapGitLinkArgs, options: {
70
80
  headers: IAdtHeaders;
71
- } & IAdtAnalyseOptions): Promise<IAdtResponse<void>>;
81
+ } & IAdtAnalyseOptions & {
82
+ readonly credentials?: never;
83
+ }): Promise<IAdtResponse<void>>;
72
84
  /**
73
85
  * Start a pull — one POST to `args.pullLink`.
74
86
  *
75
87
  * It does not wait, and it does not look the link up. The caller lists the
76
88
  * repositories once, keeps the link, posts, then polls `listRepos` on their
77
89
  * own terms and reads `getErrorLog` if the status says to.
90
+ *
91
+ * @deprecated Since 30.2.0 — use the key-based `pullRepo`
92
+ * ({@link IAdtAbapGitPullRepo}). Its options carry `credentials?: never`.
78
93
  */
79
94
  pull<E extends IAdtError>(args: IAbapGitPullArgs, options: {
80
95
  headers: IAdtHeaders;
81
96
  } & IAdtAnalyseOptions<E> & {
82
97
  analyse: IAnalyse<E>;
98
+ } & {
99
+ readonly credentials?: never;
83
100
  }): Promise<IAdtResponse<TPull, E>>;
101
+ /**
102
+ * @deprecated Since 30.2.0 — use the key-based `pullRepo`
103
+ * ({@link IAdtAbapGitPullRepo}).
104
+ */
84
105
  pull(args: IAbapGitPullArgs, options: {
85
106
  headers: IAdtHeaders;
86
- } & IAdtAnalyseOptions): Promise<IAdtResponse<TPull>>;
107
+ } & IAdtAnalyseOptions & {
108
+ readonly credentials?: never;
109
+ }): Promise<IAdtResponse<TPull>>;
87
110
  unlink<E extends IAdtError>(args: IAbapGitUnlinkArgs, options: IAdtAnalyseOptions<E> & {
88
111
  analyse: IAnalyse<E>;
89
112
  }): Promise<IAdtResponse<void, E>>;
@@ -99,18 +122,379 @@ export interface IAdtAbapGitClient<TRepos, TErrorLog, TPull, TExternalRepo> {
99
122
  * this took a package, listed every repository to find the link, and
100
123
  * answered an empty log when there was none — a second request, and a reading
101
124
  * of the list that was not the caller's.
125
+ *
126
+ * @deprecated Since 30.2.0 — use `getRunLog` ({@link IAdtAbapGitRunLog}),
127
+ * addressed by the repository's key and the log's `appLogKey`.
102
128
  */
103
129
  getErrorLog<E extends IAdtError>(logLink: string, options: IAdtAnalyseOptions<E> & {
104
130
  analyse: IAnalyse<E>;
105
131
  }): Promise<IAdtResponse<TErrorLog, E>>;
132
+ /**
133
+ * @deprecated Since 30.2.0 — use `getRunLog` ({@link IAdtAbapGitRunLog}).
134
+ */
106
135
  getErrorLog(logLink: string, options?: IAdtAnalyseOptions): Promise<IAdtResponse<TErrorLog>>;
136
+ /**
137
+ * @deprecated Since 30.2.0 — use the new form
138
+ * ({@link IAdtAbapGitCheckExternalRepoNewForm}: `credentials:
139
+ * IAbapGitCredentials | null`). The `remoteUser`/`remotePassword` this form
140
+ * takes are written where SAP does not read them. Its options carry
141
+ * `credentials?: never`, so the two forms never mix.
142
+ */
107
143
  checkExternalRepo<E extends IAdtError>(args: IAbapGitExternalRepoCredentials, options: {
108
144
  headers: IAdtHeaders;
109
145
  } & IAdtAnalyseOptions<E> & {
110
146
  analyse: IAnalyse<E>;
147
+ } & {
148
+ readonly credentials?: never;
111
149
  }): Promise<IAdtResponse<TExternalRepo, E>>;
150
+ /**
151
+ * @deprecated Since 30.2.0 — use the new form
152
+ * ({@link IAdtAbapGitCheckExternalRepoNewForm}).
153
+ */
112
154
  checkExternalRepo(args: IAbapGitExternalRepoCredentials, options: {
113
155
  headers: IAdtHeaders;
114
- } & IAdtAnalyseOptions): Promise<IAdtResponse<TExternalRepo>>;
156
+ } & IAdtAnalyseOptions & {
157
+ readonly credentials?: never;
158
+ }): Promise<IAdtResponse<TExternalRepo>>;
159
+ }
160
+ /**
161
+ * A remote repository's credential, as SAP's abapGit takes it: a user and a
162
+ * password or token (a token goes as the password).
163
+ *
164
+ * Given as `options.credentials` on the new forms — never as an argument — and
165
+ * written by the implementation exactly where the route reads it.
166
+ */
167
+ export interface IAbapGitCredentials {
168
+ readonly user: string;
169
+ readonly password: string;
170
+ }
171
+ /**
172
+ * What a facts reading hands on: the HTTP status, as an integer, and the
173
+ * route's facts — the fields its reducer keeps from SAP's document, and
174
+ * nothing else. No body, no headers, no status text.
175
+ */
176
+ export interface IAbapGitFactsResponse<F> {
177
+ readonly status: number;
178
+ readonly facts: F;
179
+ }
180
+ /** The facts of a failed abapGit request: its status and its T100 key. */
181
+ export interface IAbapGitErrorFacts {
182
+ /** The HTTP status of the answer, as an integer. */
183
+ readonly status: number;
184
+ /** `T100KEY-ID` of SAP's exception document, when it carries one. */
185
+ readonly messageClass?: string | undefined;
186
+ /** `T100KEY-NO`, the three-digit string as SAP writes it. */
187
+ readonly messageNumber?: string | undefined;
188
+ /** The git host's HTTP status SAP reports (`http_status`), as an integer. */
189
+ readonly gitHttpStatus?: number | undefined;
190
+ }
191
+ /**
192
+ * The fixed words of a facts error, one sentence per case. A facts error's
193
+ * `message` is one of these and nothing else, so SAP's text cannot reach it;
194
+ * what the case concerns is in `facts`.
195
+ *
196
+ * - `refused`: SAP answered with a status that is not a success, and its
197
+ * document named no T100 message (`facts.status` alone).
198
+ * - `refusedWithMessage`: the same, with a T100 key (`facts.messageClass`,
199
+ * `facts.messageNumber`).
200
+ * - `gitHostRefused`: SAP reported the git host's own refusal
201
+ * (`facts.gitHttpStatus`).
202
+ * - `noResponse`: no answer arrived.
203
+ * - `unreadableAnswer`: an answer arrived and could not be read as the route's
204
+ * document.
205
+ * - `judgedByAnalyser`: the caller's analyser judged an answer a failure that
206
+ * the default verdict accepted.
207
+ */
208
+ export declare const ABAPGIT_ERROR_MESSAGES: {
209
+ readonly refused: "SAP refused the abapGit request.";
210
+ readonly refusedWithMessage: "SAP refused the abapGit request with a T100 message.";
211
+ readonly gitHostRefused: "The git host refused the request SAP sent to it.";
212
+ readonly noResponse: "The abapGit request received no answer.";
213
+ readonly unreadableAnswer: "The answer to the abapGit request could not be read.";
214
+ readonly judgedByAnalyser: "The caller's analyser judged the answer a failure.";
215
+ };
216
+ /** A case of {@link ABAPGIT_ERROR_MESSAGES}. */
217
+ export type AbapGitErrorCase = keyof typeof ABAPGIT_ERROR_MESSAGES;
218
+ /** One of the fixed sentences of {@link ABAPGIT_ERROR_MESSAGES}. */
219
+ export type AbapGitErrorMessage = (typeof ABAPGIT_ERROR_MESSAGES)[AbapGitErrorCase];
220
+ /**
221
+ * The failure every new form answers with by default.
222
+ *
223
+ * It carries facts, not text: `message` is one of the fixed sentences of
224
+ * {@link ABAPGIT_ERROR_MESSAGES}, never what SAP said; `response` is always absent; `request` names the method
225
+ * and the path without its query. Nothing in it can carry a credential.
226
+ */
227
+ export interface IAbapGitStructuredError extends IAdtError {
228
+ /** One of {@link ABAPGIT_ERROR_MESSAGES} — never SAP's text. */
229
+ readonly message: AbapGitErrorMessage;
230
+ readonly facts: IAbapGitErrorFacts;
231
+ /** Never present: the document stays with the implementation. */
232
+ readonly response?: undefined;
233
+ /** The method, and the path without its query. */
234
+ readonly request?: {
235
+ readonly method: string;
236
+ readonly path: string;
237
+ } | undefined;
238
+ /**
239
+ * Never present: `IAdtError.rfc` carries the RFC SDK's `key`, free text the
240
+ * SDK fills, and a facts error keeps the status and the T100 key only.
241
+ */
242
+ readonly rfc?: never;
243
+ /** Never present: `<type id>` is read out of SAP's document, not a kept fact. */
244
+ readonly adtType?: never;
245
+ /** Never present: `<namespace id>` is read out of SAP's document. */
246
+ readonly namespace?: never;
247
+ /** Never present: an open string, not a kept fact; `facts` carries the T100 key. */
248
+ readonly code?: never;
249
+ }
250
+ /**
251
+ * A new form's result strategy: it is handed the facts answer, not the wire
252
+ * document, so an `IResultStrategy` does not fit it.
253
+ */
254
+ export type IAbapGitFactsResultStrategy<T, F> = (answer: IAbapGitFactsResponse<F>) => T;
255
+ /**
256
+ * A new form's analyser: the library's structured verdict and the facts
257
+ * answer (absent when no answer arrived), never the document — so an
258
+ * `IAnalyse` does not fit it. What it returns is the caller's.
259
+ */
260
+ export type IAbapGitFactsAnalyse<F, E extends IAbapGitStructuredError = IAbapGitStructuredError> = (verdict: IAbapGitStructuredError | AdtNoFailure, answer?: IAbapGitFactsResponse<F>) => E | AdtNoFailure;
261
+ /**
262
+ * The options of a facts member. Not an `IAdtAnalyseOptions`: its `analyse`
263
+ * is an `IAbapGitFactsAnalyse`. `credentials` is optional here — a member that
264
+ * takes no credential is called without it.
265
+ */
266
+ export type IAbapGitFactsOptions<F, E extends IAbapGitStructuredError = IAbapGitStructuredError> = {
267
+ readonly analyse?: IAbapGitFactsAnalyse<F, E>;
268
+ readonly credentials?: IAbapGitCredentials;
269
+ };
270
+ /**
271
+ * The options of the new form of `link` and `checkExternalRepo`:
272
+ * `credentials` is required — a credential, or `null` for an anonymous call —
273
+ * and is what selects the new form (the legacy options carry
274
+ * `credentials?: never`). `undefined` is neither.
275
+ */
276
+ export type IAbapGitNewFormOptions<F, E extends IAbapGitStructuredError = IAbapGitStructuredError> = Omit<IAbapGitFactsOptions<F, E>, 'credentials'> & {
277
+ readonly credentials: IAbapGitCredentials | null;
278
+ };
279
+ /** The ADT media types of a member that negotiates them; required. */
280
+ export type IAbapGitHeaderOptions = {
281
+ readonly headers: IAdtHeaders;
282
+ };
283
+ /** A repository, by the key `listRepos` reports (`abapgitrepo:key`). */
284
+ export interface IAbapGitRepoKeyArgs {
285
+ readonly key: string;
286
+ }
287
+ /**
288
+ * The new form of `link`: no `remoteUser`/`remotePassword` (the credential is
289
+ * `options.credentials`), and `branchName` required.
290
+ */
291
+ export interface IAbapGitLinkNewArgs {
292
+ readonly package: string;
293
+ readonly url: string;
294
+ readonly branchName: string;
295
+ readonly transportRequest?: string;
296
+ /** Cloud only: how folders map to packages. */
297
+ readonly folderLogic?: 'FULL' | 'PREFIX';
298
+ readonly remoteUser?: never;
299
+ readonly remotePassword?: never;
300
+ }
301
+ /** The new form of `checkExternalRepo`: the remote URL alone. */
302
+ export interface IAbapGitExternalRepoArgs {
303
+ readonly url: string;
304
+ readonly remoteUser?: never;
305
+ readonly remotePassword?: never;
306
+ }
307
+ /** One object `getModifiedObjects` reports, as `pullRepo` takes it back. */
308
+ export interface IAbapGitModifiedObject {
309
+ readonly uri: string;
310
+ readonly type: string;
311
+ readonly name: string;
312
+ readonly packageName: string;
313
+ /** `@agitpullmodifiedobjects:action`, as an integer. */
314
+ readonly action: number;
315
+ }
316
+ /**
317
+ * Which modified objects a pull may overwrite — the entries
318
+ * `getModifiedObjects` answers, handed back unchanged.
319
+ */
320
+ export interface IAbapGitPullSelection {
321
+ readonly overwriteObjects: readonly IAbapGitModifiedObject[];
322
+ readonly packageWarningObjects: readonly IAbapGitModifiedObject[];
323
+ }
324
+ /**
325
+ * A key-based pull. `branchName` is required: the caller passes the branch
326
+ * `listRepos` reports for the key.
327
+ */
328
+ export interface IAbapGitPullRepoArgs {
329
+ readonly key: string;
330
+ readonly branchName: string;
331
+ readonly transportRequest?: string;
332
+ readonly selection?: IAbapGitPullSelection;
333
+ }
334
+ /**
335
+ * A run's log, by the repository's key and the log's `appLogKey`. SAP loads
336
+ * the log by `appLogKey` alone; pairing it with the key is the caller's.
337
+ */
338
+ export interface IAbapGitRunLogArgs {
339
+ readonly key: string;
340
+ readonly appLogKey: string;
341
+ }
342
+ /** One file of a staged object. */
343
+ export interface IAbapGitStagedFile {
344
+ readonly name: string;
345
+ readonly path: string;
346
+ readonly localState: string;
347
+ readonly remoteState: string;
348
+ }
349
+ /** One object of a repository's staging, as `getStaging` reports it. */
350
+ export interface IAbapGitStagedObject {
351
+ readonly wbkey: string;
352
+ readonly version: string;
353
+ readonly uri: string;
354
+ readonly type: string;
355
+ readonly name: string;
356
+ readonly packageName: string;
357
+ readonly files: readonly IAbapGitStagedFile[];
358
+ }
359
+ /** A commit: its message, its author and its committer — all required. */
360
+ export interface IAbapGitCommit {
361
+ readonly text: string;
362
+ readonly author: {
363
+ readonly name: string;
364
+ readonly email: string;
365
+ };
366
+ readonly committer: {
367
+ readonly name: string;
368
+ readonly email: string;
369
+ };
370
+ }
371
+ /** What a push sends: the staged objects and the commit. */
372
+ export interface IAbapGitPushArgs {
373
+ readonly key: string;
374
+ readonly staged: readonly IAbapGitStagedObject[];
375
+ readonly comment: IAbapGitCommit;
376
+ }
377
+ /** One file of a repository, in the system's version or the remote's. */
378
+ export interface IAbapGitFileArgs {
379
+ readonly key: string;
380
+ readonly filename: string;
381
+ readonly version: 'local' | 'remote';
382
+ }
383
+ /** A remote branch, read for the package it would be linked to. */
384
+ export interface IAbapGitBranchInfoArgs {
385
+ readonly url: string;
386
+ readonly branch: string;
387
+ readonly package: string;
388
+ }
389
+ /** Switch a repository's branch; `create` is required. */
390
+ export interface IAbapGitSwitchBranchArgs {
391
+ readonly key: string;
392
+ readonly branch: string;
393
+ readonly create: boolean;
394
+ }
395
+ /**
396
+ * The options of `listReposQuiet`: the facts options without a credential.
397
+ * The pre-read sends none, so `credentials?: never` refuses one.
398
+ */
399
+ export type IAbapGitQuietOptions<F, E extends IAbapGitStructuredError = IAbapGitStructuredError> = Omit<IAbapGitFactsOptions<F, E>, 'credentials'> & {
400
+ readonly credentials?: never;
401
+ };
402
+ /** `listReposQuiet` — the repository list, read without a credential. */
403
+ export interface IAdtAbapGitListReposQuiet<T, F> {
404
+ listReposQuiet<E extends IAbapGitStructuredError>(options: IAbapGitQuietOptions<F, E> & {
405
+ analyse: IAbapGitFactsAnalyse<F, E>;
406
+ }): Promise<IAdtResponse<T, E>>;
407
+ listReposQuiet(options?: IAbapGitQuietOptions<F>): Promise<IAdtResponse<T, IAbapGitStructuredError>>;
408
+ }
409
+ /** The new form of `link` — `credentials: IAbapGitCredentials | null`. */
410
+ export interface IAdtAbapGitLinkNewForm<T, F> {
411
+ link<E extends IAbapGitStructuredError>(args: IAbapGitLinkNewArgs, options: IAbapGitHeaderOptions & IAbapGitNewFormOptions<F, E> & {
412
+ analyse: IAbapGitFactsAnalyse<F, E>;
413
+ }): Promise<IAdtResponse<T, E>>;
414
+ link(args: IAbapGitLinkNewArgs, options: IAbapGitHeaderOptions & IAbapGitNewFormOptions<F>): Promise<IAdtResponse<T, IAbapGitStructuredError>>;
415
+ }
416
+ /** The new form of `checkExternalRepo` — `credentials: IAbapGitCredentials | null`. */
417
+ export interface IAdtAbapGitCheckExternalRepoNewForm<T, F> {
418
+ checkExternalRepo<E extends IAbapGitStructuredError>(args: IAbapGitExternalRepoArgs, options: IAbapGitHeaderOptions & IAbapGitNewFormOptions<F, E> & {
419
+ analyse: IAbapGitFactsAnalyse<F, E>;
420
+ }): Promise<IAdtResponse<T, E>>;
421
+ checkExternalRepo(args: IAbapGitExternalRepoArgs, options: IAbapGitHeaderOptions & IAbapGitNewFormOptions<F>): Promise<IAdtResponse<T, IAbapGitStructuredError>>;
422
+ }
423
+ /** `pullRepo` — a pull addressed by the repository's key. */
424
+ export interface IAdtAbapGitPullRepo<T, F> {
425
+ pullRepo<E extends IAbapGitStructuredError>(args: IAbapGitPullRepoArgs, options: IAbapGitHeaderOptions & IAbapGitFactsOptions<F, E> & {
426
+ analyse: IAbapGitFactsAnalyse<F, E>;
427
+ }): Promise<IAdtResponse<T, E>>;
428
+ pullRepo(args: IAbapGitPullRepoArgs, options: IAbapGitHeaderOptions & IAbapGitFactsOptions<F>): Promise<IAdtResponse<T, IAbapGitStructuredError>>;
429
+ }
430
+ /** `pullRepoInDialog` — the dialog pull, addressed as `pullRepo`. */
431
+ export interface IAdtAbapGitPullRepoInDialog<T, F> {
432
+ pullRepoInDialog<E extends IAbapGitStructuredError>(args: IAbapGitPullRepoArgs, options: IAbapGitHeaderOptions & IAbapGitFactsOptions<F, E> & {
433
+ analyse: IAbapGitFactsAnalyse<F, E>;
434
+ }): Promise<IAdtResponse<T, E>>;
435
+ pullRepoInDialog(args: IAbapGitPullRepoArgs, options: IAbapGitHeaderOptions & IAbapGitFactsOptions<F>): Promise<IAdtResponse<T, IAbapGitStructuredError>>;
436
+ }
437
+ /** `getBranchInfo` — a remote branch, for a package. */
438
+ export interface IAdtAbapGitBranchInfo<T, F> {
439
+ getBranchInfo<E extends IAbapGitStructuredError>(args: IAbapGitBranchInfoArgs, options: IAbapGitHeaderOptions & IAbapGitFactsOptions<F, E> & {
440
+ analyse: IAbapGitFactsAnalyse<F, E>;
441
+ }): Promise<IAdtResponse<T, E>>;
442
+ getBranchInfo(args: IAbapGitBranchInfoArgs, options: IAbapGitHeaderOptions & IAbapGitFactsOptions<F>): Promise<IAdtResponse<T, IAbapGitStructuredError>>;
443
+ }
444
+ /** `getModifiedObjects` — what a pull would overwrite. */
445
+ export interface IAdtAbapGitModifiedObjects<T, F> {
446
+ getModifiedObjects<E extends IAbapGitStructuredError>(args: IAbapGitRepoKeyArgs, options: IAbapGitFactsOptions<F, E> & {
447
+ analyse: IAbapGitFactsAnalyse<F, E>;
448
+ }): Promise<IAdtResponse<T, E>>;
449
+ getModifiedObjects(args: IAbapGitRepoKeyArgs, options?: IAbapGitFactsOptions<F>): Promise<IAdtResponse<T, IAbapGitStructuredError>>;
450
+ }
451
+ /** `getStatus` — a repository's status. */
452
+ export interface IAdtAbapGitStatus<T, F> {
453
+ getStatus<E extends IAbapGitStructuredError>(args: IAbapGitRepoKeyArgs, options: IAbapGitFactsOptions<F, E> & {
454
+ analyse: IAbapGitFactsAnalyse<F, E>;
455
+ }): Promise<IAdtResponse<T, E>>;
456
+ getStatus(args: IAbapGitRepoKeyArgs, options?: IAbapGitFactsOptions<F>): Promise<IAdtResponse<T, IAbapGitStructuredError>>;
457
+ }
458
+ /** `getStaging` — a repository's unstaged, staged and ignored objects. */
459
+ export interface IAdtAbapGitStaging<T, F> {
460
+ getStaging<E extends IAbapGitStructuredError>(args: IAbapGitRepoKeyArgs, options: IAbapGitFactsOptions<F, E> & {
461
+ analyse: IAbapGitFactsAnalyse<F, E>;
462
+ }): Promise<IAdtResponse<T, E>>;
463
+ getStaging(args: IAbapGitRepoKeyArgs, options?: IAbapGitFactsOptions<F>): Promise<IAdtResponse<T, IAbapGitStructuredError>>;
464
+ }
465
+ /** `checkRepo` — a repository's connection to its remote. */
466
+ export interface IAdtAbapGitCheckRepo<T, F> {
467
+ checkRepo<E extends IAbapGitStructuredError>(args: IAbapGitRepoKeyArgs, options: IAbapGitFactsOptions<F, E> & {
468
+ analyse: IAbapGitFactsAnalyse<F, E>;
469
+ }): Promise<IAdtResponse<T, E>>;
470
+ checkRepo(args: IAbapGitRepoKeyArgs, options?: IAbapGitFactsOptions<F>): Promise<IAdtResponse<T, IAbapGitStructuredError>>;
471
+ }
472
+ /** `getRunLog` — a run's log, by key and `appLogKey`. */
473
+ export interface IAdtAbapGitRunLog<T, F> {
474
+ getRunLog<E extends IAbapGitStructuredError>(args: IAbapGitRunLogArgs, options: IAbapGitFactsOptions<F, E> & {
475
+ analyse: IAbapGitFactsAnalyse<F, E>;
476
+ }): Promise<IAdtResponse<T, E>>;
477
+ getRunLog(args: IAbapGitRunLogArgs, options?: IAbapGitFactsOptions<F>): Promise<IAdtResponse<T, IAbapGitStructuredError>>;
478
+ }
479
+ /** `push` — the staged objects, committed and pushed. */
480
+ export interface IAdtAbapGitPush<T, F> {
481
+ push<E extends IAbapGitStructuredError>(args: IAbapGitPushArgs, options: IAbapGitFactsOptions<F, E> & {
482
+ analyse: IAbapGitFactsAnalyse<F, E>;
483
+ }): Promise<IAdtResponse<T, E>>;
484
+ push(args: IAbapGitPushArgs, options?: IAbapGitFactsOptions<F>): Promise<IAdtResponse<T, IAbapGitStructuredError>>;
485
+ }
486
+ /** `getFile` — one file of a repository. */
487
+ export interface IAdtAbapGitFile<T, F> {
488
+ getFile<E extends IAbapGitStructuredError>(args: IAbapGitFileArgs, options: IAbapGitFactsOptions<F, E> & {
489
+ analyse: IAbapGitFactsAnalyse<F, E>;
490
+ }): Promise<IAdtResponse<T, E>>;
491
+ getFile(args: IAbapGitFileArgs, options?: IAbapGitFactsOptions<F>): Promise<IAdtResponse<T, IAbapGitStructuredError>>;
492
+ }
493
+ /** `switchBranch` — a repository's branch, switched or created. */
494
+ export interface IAdtAbapGitSwitchBranch<T, F> {
495
+ switchBranch<E extends IAbapGitStructuredError>(args: IAbapGitSwitchBranchArgs, options: IAbapGitFactsOptions<F, E> & {
496
+ analyse: IAbapGitFactsAnalyse<F, E>;
497
+ }): Promise<IAdtResponse<T, E>>;
498
+ switchBranch(args: IAbapGitSwitchBranchArgs, options?: IAbapGitFactsOptions<F>): Promise<IAdtResponse<T, IAbapGitStructuredError>>;
115
499
  }
116
500
  //# sourceMappingURL=IAdtAbapGit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IAdtAbapGit.d.ts","sourceRoot":"","sources":["../../src/adt/IAdtAbapGit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9D,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,+BAA+B;IAC9C,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,wBA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C;AAC5C,MAAM,WAAW,eAAe,CAAC,CAAC,EAAE,CAAC;IACnC,OAAO,CAAC,CAAC,SAAS,uBAAuB,EACvC,IAAI,EAAE,gBAAgB,EACtB,OAAO,EAAE,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QACpC,OAAO,EAAE,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;KACrC,GACA,OAAO,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAC/B,OAAO,CACL,IAAI,EAAE,gBAAgB,EACtB,OAAO,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAChC,OAAO,CAAC,YAAY,CAAC,CAAC,EAAE,uBAAuB,CAAC,CAAC,CAAC;CACtD;AAED,mEAAmE;AACnE,MAAM,WAAW,uBAAuB,CAAC,CAAC,EAAE,CAAC;IAC3C,YAAY,CAAC,CAAC,SAAS,uBAAuB,EAC5C,IAAI,EAAE,wBAAwB,EAC9B,OAAO,EAAE,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QACpC,OAAO,EAAE,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;KACrC,GACA,OAAO,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAC/B,YAAY,CACV,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAChC,OAAO,CAAC,YAAY,CAAC,CAAC,EAAE,uBAAuB,CAAC,CAAC,CAAC;CACtD"}
@@ -1,2 +1,28 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ABAPGIT_ERROR_MESSAGES = void 0;
4
+ /**
5
+ * The fixed words of a facts error, one sentence per case. A facts error's
6
+ * `message` is one of these and nothing else, so SAP's text cannot reach it;
7
+ * what the case concerns is in `facts`.
8
+ *
9
+ * - `refused`: SAP answered with a status that is not a success, and its
10
+ * document named no T100 message (`facts.status` alone).
11
+ * - `refusedWithMessage`: the same, with a T100 key (`facts.messageClass`,
12
+ * `facts.messageNumber`).
13
+ * - `gitHostRefused`: SAP reported the git host's own refusal
14
+ * (`facts.gitHttpStatus`).
15
+ * - `noResponse`: no answer arrived.
16
+ * - `unreadableAnswer`: an answer arrived and could not be read as the route's
17
+ * document.
18
+ * - `judgedByAnalyser`: the caller's analyser judged an answer a failure that
19
+ * the default verdict accepted.
20
+ */
21
+ exports.ABAPGIT_ERROR_MESSAGES = {
22
+ refused: 'SAP refused the abapGit request.',
23
+ refusedWithMessage: 'SAP refused the abapGit request with a T100 message.',
24
+ gitHostRefused: 'The git host refused the request SAP sent to it.',
25
+ noResponse: 'The abapGit request received no answer.',
26
+ unreadableAnswer: 'The answer to the abapGit request could not be read.',
27
+ judgedByAnalyser: "The caller's analyser judged the answer a failure.",
28
+ };
package/dist/index.d.ts CHANGED
@@ -21,7 +21,8 @@ export type { AdtApi, AdtApiWith, AdtApiWithIn, AdtCodeOf, AdtCodeOfIn, AdtCodeW
21
21
  export { ADT_TYPES_BASIS_740, ADT_TYPES_CLOUD, ADT_TYPES_ONPREM, } from './adt/AdtTypeTables';
22
22
  export type { AdtGroupOnlyCode, AdtGroupOnlyCodeOf, AdtUtilityCode, AdtUtilityCodeTable, AdtUtilityCodeWith, AdtUtilityOperation, IAdtUtilityCodeFacts, IAdtUtilityCodeTables, } from './adt/AdtUtilityCodes';
23
23
  export { ADT_UTILITY_CODES_BASIS_740, ADT_UTILITY_CODES_CLOUD, ADT_UTILITY_CODES_ONPREM, } from './adt/AdtUtilityCodes';
24
- export type { IAbapGitExternalRepoCredentials, IAbapGitLinkArgs, IAbapGitPullArgs, IAbapGitUnlinkArgs, IAdtAbapGitClient, IAdtAbapGitClientOptions, } from './adt/IAdtAbapGit';
24
+ export type { AbapGitErrorCase, AbapGitErrorMessage, IAbapGitBranchInfoArgs, IAbapGitCommit, IAbapGitCredentials, IAbapGitErrorFacts, IAbapGitExternalRepoArgs, IAbapGitExternalRepoCredentials, IAbapGitFactsAnalyse, IAbapGitFactsOptions, IAbapGitFactsResponse, IAbapGitFactsResultStrategy, IAbapGitFileArgs, IAbapGitHeaderOptions, IAbapGitLinkArgs, IAbapGitLinkNewArgs, IAbapGitModifiedObject, IAbapGitNewFormOptions, IAbapGitPullArgs, IAbapGitPullRepoArgs, IAbapGitPullSelection, IAbapGitPushArgs, IAbapGitQuietOptions, IAbapGitRepoKeyArgs, IAbapGitRunLogArgs, IAbapGitStagedFile, IAbapGitStagedObject, IAbapGitStructuredError, IAbapGitSwitchBranchArgs, IAbapGitUnlinkArgs, IAdtAbapGitBranchInfo, IAdtAbapGitCheckExternalRepoNewForm, IAdtAbapGitCheckRepo, IAdtAbapGitClient, IAdtAbapGitClientOptions, IAdtAbapGitFile, IAdtAbapGitLinkNewForm, IAdtAbapGitListReposQuiet, IAdtAbapGitModifiedObjects, IAdtAbapGitPullRepo, IAdtAbapGitPullRepoInDialog, IAdtAbapGitPush, IAdtAbapGitRunLog, IAdtAbapGitStaging, IAdtAbapGitStatus, IAdtAbapGitSwitchBranch, } from './adt/IAdtAbapGit';
25
+ export { ABAPGIT_ERROR_MESSAGES } from './adt/IAdtAbapGit';
25
26
  export type { IAccessControlConfig, IAccessControlResults, } from './adt/IAdtAccessControl';
26
27
  export type { IAppendStructureConfig, IAppendStructureResults, } from './adt/IAdtAppendStructure';
27
28
  export type { IAuthorizationFieldConfig, IAuthorizationFieldResults, } from './adt/IAdtAuthorizationField';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,YAAY,EACV,mBAAmB,EACnB,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D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V,cAAc,EACd,WAAW,EACX,YAAY,EACZ,aAAa,EACb,aAAa,EACb,WAAW,EACX,UAAU,EACV,QAAQ,EACR,WAAW,EACX,UAAU,GACX,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,sCAAsC,EACtC,4CAA4C,GAC7C,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC"}
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@
15
15
  * `HttpError` to `-network` and `XmlNode` to `-utils`.
16
16
  */
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.TRANSPORT_SEARCH_CONFIGURATIONS_URL = exports.ADT_TASK_TYPE = exports.TEXT_SYMBOL_KEY_MAX_LENGTH = exports.TEXT_HEADING_KEYS = exports.TEXT_ELEMENTS_PARTS = exports.TEXT_ELEMENTS_OBJECT_KINDS = exports.SELECTION_TEXT_NAME_MAX_LENGTH = exports.SELECTION_TEXT_MAX_LENGTH = exports.TABLE_SIZE_CATEGORIES = exports.TABLE_SETTINGS_MEDIA_TYPE = exports.TABLE_DATA_CLASSES = exports.TABLE_BUFFERING_TYPES = exports.TABLE_BUFFERING_ALLOWED = exports.SERVICE_BINDING_VARIANT_MAP = exports.ADT_NO_FAILURE = exports.ADT_CONNECTION_CAUSES = exports.AdtObjectErrorCodes = exports.ADT_UTILITY_CODES_ONPREM = exports.ADT_UTILITY_CODES_CLOUD = exports.ADT_UTILITY_CODES_BASIS_740 = exports.ADT_TYPES_ONPREM = exports.ADT_TYPES_CLOUD = exports.ADT_TYPES_BASIS_740 = exports.ADT_SEARCH_TYPES_ONPREM = exports.ADT_SEARCH_TYPES_CLOUD = exports.ADT_SEARCH_TYPES_BASIS_740 = exports.ABAP_UNIT_RUN_TYPES = void 0;
18
+ exports.TRANSPORT_SEARCH_CONFIGURATIONS_URL = exports.ADT_TASK_TYPE = exports.TEXT_SYMBOL_KEY_MAX_LENGTH = exports.TEXT_HEADING_KEYS = exports.TEXT_ELEMENTS_PARTS = exports.TEXT_ELEMENTS_OBJECT_KINDS = exports.SELECTION_TEXT_NAME_MAX_LENGTH = exports.SELECTION_TEXT_MAX_LENGTH = exports.TABLE_SIZE_CATEGORIES = exports.TABLE_SETTINGS_MEDIA_TYPE = exports.TABLE_DATA_CLASSES = exports.TABLE_BUFFERING_TYPES = exports.TABLE_BUFFERING_ALLOWED = exports.SERVICE_BINDING_VARIANT_MAP = exports.ADT_NO_FAILURE = exports.ADT_CONNECTION_CAUSES = exports.AdtObjectErrorCodes = exports.ABAPGIT_ERROR_MESSAGES = exports.ADT_UTILITY_CODES_ONPREM = exports.ADT_UTILITY_CODES_CLOUD = exports.ADT_UTILITY_CODES_BASIS_740 = exports.ADT_TYPES_ONPREM = exports.ADT_TYPES_CLOUD = exports.ADT_TYPES_BASIS_740 = exports.ADT_SEARCH_TYPES_ONPREM = exports.ADT_SEARCH_TYPES_CLOUD = exports.ADT_SEARCH_TYPES_BASIS_740 = exports.ABAP_UNIT_RUN_TYPES = void 0;
19
19
  var AbapUnitRunTypes_1 = require("./adt/AbapUnitRunTypes");
20
20
  Object.defineProperty(exports, "ABAP_UNIT_RUN_TYPES", { enumerable: true, get: function () { return AbapUnitRunTypes_1.ABAP_UNIT_RUN_TYPES; } });
21
21
  var AdtSearchTypes_1 = require("./adt/AdtSearchTypes");
@@ -30,6 +30,8 @@ var AdtUtilityCodes_1 = require("./adt/AdtUtilityCodes");
30
30
  Object.defineProperty(exports, "ADT_UTILITY_CODES_BASIS_740", { enumerable: true, get: function () { return AdtUtilityCodes_1.ADT_UTILITY_CODES_BASIS_740; } });
31
31
  Object.defineProperty(exports, "ADT_UTILITY_CODES_CLOUD", { enumerable: true, get: function () { return AdtUtilityCodes_1.ADT_UTILITY_CODES_CLOUD; } });
32
32
  Object.defineProperty(exports, "ADT_UTILITY_CODES_ONPREM", { enumerable: true, get: function () { return AdtUtilityCodes_1.ADT_UTILITY_CODES_ONPREM; } });
33
+ var IAdtAbapGit_1 = require("./adt/IAdtAbapGit");
34
+ Object.defineProperty(exports, "ABAPGIT_ERROR_MESSAGES", { enumerable: true, get: function () { return IAdtAbapGit_1.ABAPGIT_ERROR_MESSAGES; } });
33
35
  var IAdtObject_1 = require("./adt/IAdtObject");
34
36
  Object.defineProperty(exports, "AdtObjectErrorCodes", { enumerable: true, get: function () { return IAdtObject_1.AdtObjectErrorCodes; } });
35
37
  var IAdtResponse_1 = require("./adt/IAdtResponse");
@@ -1,7 +1,12 @@
1
1
  import type { IAdtAnalyseOptions, IAnalyse } from '../adt/IAdtObject';
2
2
  import type { IAdtError, IAdtResponse } from '../adt/IAdtResponse';
3
3
  import type { IFeedQueryOptions } from '../feeds/types';
4
- export interface ISystemMessages<TList, TMessage> {
4
+ /**
5
+ * The system messages feed (`GET /sap/bc/adt/runtime/systemmessages`). SAP's
6
+ * handler serves the collection only (`CL_STSK_ADT_RES_APP` routes no
7
+ * per-message resource), so there is no member reading one message by id.
8
+ */
9
+ export interface ISystemMessages<TList> {
5
10
  /** Which runtime resource this is, for a consumer narrowing a union of them. */
6
11
  readonly kind: 'systemMessages';
7
12
  /** The messages this system is showing. */
@@ -9,9 +14,5 @@ export interface ISystemMessages<TList, TMessage> {
9
14
  analyse: IAnalyse<E>;
10
15
  }): Promise<IAdtResponse<TList, E>>;
11
16
  list(options?: IFeedQueryOptions & IAdtAnalyseOptions): Promise<IAdtResponse<TList>>;
12
- getById<E extends IAdtError>(messageId: string, options: IAdtAnalyseOptions<E> & {
13
- analyse: IAnalyse<E>;
14
- }): Promise<IAdtResponse<TMessage, E>>;
15
- getById(messageId: string, options?: IAdtAnalyseOptions): Promise<IAdtResponse<TMessage>>;
16
17
  }
17
18
  //# sourceMappingURL=ISystemMessages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ISystemMessages.d.ts","sourceRoot":"","sources":["../../src/runtime/ISystemMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,QAA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EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,eAAe,CAAC,KAAK;IACpC,gFAAgF;IAChF,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAC;IAEhC,2CAA2C;IAC3C,IAAI,CAAC,CAAC,SAAS,SAAS,EACtB,OAAO,EAAE,iBAAiB,GACxB,kBAAkB,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAA;KAAE,GACjD,OAAO,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IACnC,IAAI,CACF,OAAO,CAAC,EAAE,iBAAiB,GAAG,kBAAkB,GAC/C,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;CACjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/interfaces-adt",
3
- "version": "30.1.1",
3
+ "version": "31.0.0",
4
4
  "description": "ADT contracts: object operations, runtime analysis, execution, feeds and service bindings",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  "scripts": {
30
30
  "clean": "rm -rf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo",
31
31
  "build": "tsc -b tsconfig.build.json",
32
- "test:check": "tsc -p tsconfig.json --noEmit",
32
+ "test:check": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.typecheck-entry.json --noEmit",
33
33
  "prepublishOnly": "npm run --prefix ../.. check"
34
34
  },
35
35
  "engines": {