@abapify/adk 0.4.1 → 0.4.4
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/dist/index.d.mts +672 -220
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1854 -357
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -4
- package/dist/factory-DtyrTGlN.mjs +0 -394
- package/dist/factory-DtyrTGlN.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LockEntry, LockHandle, LockHandle as LockHandle$1, LockService, LockService as LockService$1, LockStore, LockStore as LockRegistry, LockStore as LockStore$1, createLockService } from "@abapify/adt-locks";
|
|
2
|
-
import { AdtClient, AdtClient as AdtClient$1, ClassResponse as ClassResponse$1, DataElementResponse, DomainResponse, FunctionGroupResponse as FunctionGroupResponse$1, FunctionModuleResponse as FunctionModuleResponse$1, IncludeResponse as IncludeResponse$1, InterfaceResponse as InterfaceResponse$1, PackageResponse as PackageResponse$1, ProgramResponse as ProgramResponse$1, TableResponse, TableTypeResponse, TransportGetResponse } from "@abapify/adt-client";
|
|
3
|
-
|
|
2
|
+
import { AdtClient, AdtClient as AdtClient$1, ClassResponse as ClassResponse$1, DataElementResponse, DomainResponse, FunctionGroupResponse as FunctionGroupResponse$1, FunctionModuleResponse as FunctionModuleResponse$1, IncludeResponse as IncludeResponse$1, InterfaceResponse as InterfaceResponse$1, PackageResponse as PackageResponse$1, ProgramResponse as ProgramResponse$1, SourceVersionRef, TableResponse, TableTypeResponse, TransportGetResponse } from "@abapify/adt-client";
|
|
3
|
+
import { BasicObjectPropertiesResponse } from "@abapify/adt-contracts";
|
|
4
4
|
//#region src/base/adt.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Extract the abapClass variant from ClassResponse union
|
|
@@ -141,6 +141,34 @@ interface SaveOptions {
|
|
|
141
141
|
inactive?: boolean;
|
|
142
142
|
/** Save mode: 'update' (default), 'create', or 'upsert' */
|
|
143
143
|
mode?: SaveMode;
|
|
144
|
+
/**
|
|
145
|
+
* Retry only the immediate post-create LOCK when a backend keeps its
|
|
146
|
+
* generated CTS/editor lock briefly after accepting the skeleton POST.
|
|
147
|
+
*/
|
|
148
|
+
postCreateLockRetry?: {
|
|
149
|
+
/** Total LOCK attempts, including the first one. */
|
|
150
|
+
attempts: number;
|
|
151
|
+
/** Delay between conflicting LOCK attempts in milliseconds. */
|
|
152
|
+
delayMs: number;
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
type InternalSaveOptions = SaveOptions & {
|
|
156
|
+
postCreate?: boolean;
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* SAP accepted the skeleton POST, but rejected the immediate follow-up lock.
|
|
160
|
+
*
|
|
161
|
+
* The object therefore exists in SAP, while the source or metadata supplied
|
|
162
|
+
* to the original save call has not yet been persisted. Callers must retry
|
|
163
|
+
* the same object with `mode: 'update'` after the CTS/editor lock is cleared;
|
|
164
|
+
* repeating `mode: 'create'` risks an "already exists" response.
|
|
165
|
+
*/
|
|
166
|
+
declare class AdkPostCreateLockError extends Error {
|
|
167
|
+
readonly objectUri: string;
|
|
168
|
+
readonly transport: string | undefined;
|
|
169
|
+
readonly code: "ADT_POST_CREATE_LOCKED";
|
|
170
|
+
readonly name = "AdkPostCreateLockError";
|
|
171
|
+
constructor(objectUri: string, transport: string | undefined, cause: unknown);
|
|
144
172
|
}
|
|
145
173
|
/**
|
|
146
174
|
* Result of bulk activation
|
|
@@ -353,7 +381,7 @@ declare abstract class AdkObject<K extends AdkKind = AdkKind, D = any> {
|
|
|
353
381
|
* @param options - Save options
|
|
354
382
|
* @returns this (for chaining)
|
|
355
383
|
*/
|
|
356
|
-
save(options?:
|
|
384
|
+
save(options?: InternalSaveOptions): Promise<this>;
|
|
357
385
|
/**
|
|
358
386
|
* Wrapper key for the data in contract requests/responses
|
|
359
387
|
*
|
|
@@ -406,6 +434,20 @@ declare abstract class AdkObject<K extends AdkKind = AdkKind, D = any> {
|
|
|
406
434
|
* Check if error is a 404 Not Found
|
|
407
435
|
*/
|
|
408
436
|
protected isNotFoundError(e: unknown): boolean;
|
|
437
|
+
/**
|
|
438
|
+
* Some CTS backends can retain the lock created by a successful object POST
|
|
439
|
+
* long enough for the immediate follow-up LOCK to fail. This is distinct
|
|
440
|
+
* from an arbitrary edit conflict because this save invocation already
|
|
441
|
+
* created the skeleton successfully.
|
|
442
|
+
*/
|
|
443
|
+
private isPostCreateLockConflict;
|
|
444
|
+
/**
|
|
445
|
+
* Some backends retain the lock implicitly created by a successful POST for
|
|
446
|
+
* a short time. Retry only this known follow-up LOCK; no arbitrary update or
|
|
447
|
+
* source write is repeated, and each successful lock still uses the normal
|
|
448
|
+
* handle-backed save/unlock lifecycle.
|
|
449
|
+
*/
|
|
450
|
+
private lockAfterCreate;
|
|
409
451
|
/**
|
|
410
452
|
* Upsert fallback: try POST (create), treat 422 "already exists" as unchanged.
|
|
411
453
|
* Extracted to avoid duplication in lock-catch and saveViaContract-catch paths.
|
|
@@ -1407,6 +1449,8 @@ declare class AdkTransportRequest extends AdkObject<typeof TransportRequest, Tra
|
|
|
1407
1449
|
* @param recursive - When true, also reassign all modifiable tasks
|
|
1408
1450
|
*/
|
|
1409
1451
|
reassign(newOwner: string, recursive?: boolean): Promise<void>;
|
|
1452
|
+
/** Create and verify a modifiable task under this request. */
|
|
1453
|
+
addTask(owner: string): Promise<AdkTransportTask>;
|
|
1410
1454
|
/**
|
|
1411
1455
|
* Create a new transport request
|
|
1412
1456
|
*
|
|
@@ -1417,7 +1461,7 @@ declare class AdkTransportRequest extends AdkObject<typeof TransportRequest, Tra
|
|
|
1417
1461
|
/**
|
|
1418
1462
|
* Get a transport request by number
|
|
1419
1463
|
*
|
|
1420
|
-
* @param number - Transport number (e.g., '
|
|
1464
|
+
* @param number - Transport number (e.g., 'TRLK900001')
|
|
1421
1465
|
* @param ctx - Optional ADK context (uses global context if not provided)
|
|
1422
1466
|
*/
|
|
1423
1467
|
static get(number: string, ctx?: AdkContext): Promise<AdkTransportRequest>;
|
|
@@ -1455,7 +1499,7 @@ declare class AdkTransportTask extends AdkTransportRequest {
|
|
|
1455
1499
|
/**
|
|
1456
1500
|
* Get a transport task by number
|
|
1457
1501
|
*
|
|
1458
|
-
* @param number - Task number (e.g., '
|
|
1502
|
+
* @param number - Task number (e.g., 'TRLK900001')
|
|
1459
1503
|
* @param ctx - Optional ADK context (uses global context if not provided)
|
|
1460
1504
|
*/
|
|
1461
1505
|
static get(number: string, ctx?: AdkContext): Promise<AdkTransportTask>;
|
|
@@ -1631,6 +1675,455 @@ declare class AdkTableType extends AdkMainObject<typeof TableType, TableTypeXml>
|
|
|
1631
1675
|
static get(name: string, ctx?: AdkContext): Promise<AdkTableType>;
|
|
1632
1676
|
}
|
|
1633
1677
|
//#endregion
|
|
1678
|
+
//#region src/objects/cds/source-object.d.ts
|
|
1679
|
+
/**
|
|
1680
|
+
* Structural type for the ADT source contract used by CDS source objects.
|
|
1681
|
+
* Captures the `get` and `source.main.get` members used by {@link getSource}
|
|
1682
|
+
* and {@link load}, so incompatible contract shapes are rejected at compile
|
|
1683
|
+
* time instead of failing at runtime.
|
|
1684
|
+
*/
|
|
1685
|
+
interface AdkCdsSourceContract {
|
|
1686
|
+
get(name: string): Promise<unknown>;
|
|
1687
|
+
source: {
|
|
1688
|
+
main: {
|
|
1689
|
+
get(name: string): Promise<unknown>;
|
|
1690
|
+
put(name: string, options: Record<string, unknown>, body: string): Promise<unknown>;
|
|
1691
|
+
};
|
|
1692
|
+
};
|
|
1693
|
+
}
|
|
1694
|
+
/**
|
|
1695
|
+
* Broader CRUD contract for standalone source objects that also support
|
|
1696
|
+
* create (POST) and delete. Used by DDL, DCL, BDEF, SRVD, etc.
|
|
1697
|
+
*/
|
|
1698
|
+
interface AdkCrudSourceContract extends AdkCdsSourceContract {
|
|
1699
|
+
post(options: Record<string, unknown>, body: unknown): Promise<unknown>;
|
|
1700
|
+
delete(name: string, options: Record<string, unknown>): Promise<unknown>;
|
|
1701
|
+
}
|
|
1702
|
+
/** Minimal shared implementation for CDS source objects used by import. */
|
|
1703
|
+
declare abstract class AdkCdsSourceObject {
|
|
1704
|
+
readonly name: string;
|
|
1705
|
+
protected readonly ctx: AdkContext;
|
|
1706
|
+
protected abstract readonly endpoint: string;
|
|
1707
|
+
private metadata?;
|
|
1708
|
+
protected constructor(ctx: AdkContext, name: string);
|
|
1709
|
+
get objectUri(): string;
|
|
1710
|
+
get description(): string;
|
|
1711
|
+
get originalLanguage(): string | undefined;
|
|
1712
|
+
get abapLanguageVersion(): string | undefined;
|
|
1713
|
+
get package(): string | undefined;
|
|
1714
|
+
protected abstract get contract(): AdkCdsSourceContract;
|
|
1715
|
+
getSource(): Promise<string>;
|
|
1716
|
+
load(): Promise<this>;
|
|
1717
|
+
}
|
|
1718
|
+
//#endregion
|
|
1719
|
+
//#region src/objects/cds/crud-source-object.d.ts
|
|
1720
|
+
/**
|
|
1721
|
+
* Shared implementation for standalone CDS/RAP source objects that support
|
|
1722
|
+
* full CRUD (get, source.main.get/put, post, delete) plus lock/unlock/activate.
|
|
1723
|
+
*
|
|
1724
|
+
* DDL, DCL, BDEF, and SRVD all follow the same lifecycle pattern:
|
|
1725
|
+
* create skeleton → PUT source → activate
|
|
1726
|
+
* This base eliminates the duplicated load/saveMainSource/lock/unlock/activate
|
|
1727
|
+
* boilerplate across those models.
|
|
1728
|
+
*/
|
|
1729
|
+
declare abstract class AdkCrudSourceObject<TMetadata extends Record<string, unknown> = Record<string, unknown>> {
|
|
1730
|
+
abstract readonly kind: string;
|
|
1731
|
+
readonly name: string;
|
|
1732
|
+
protected readonly ctx: AdkContext;
|
|
1733
|
+
private metadata?;
|
|
1734
|
+
protected abstract readonly objectType: string;
|
|
1735
|
+
protected abstract readonly endpoint: string;
|
|
1736
|
+
protected constructor(ctx: AdkContext, name: string);
|
|
1737
|
+
get objectUri(): string;
|
|
1738
|
+
protected abstract get contract(): AdkCrudSourceContract;
|
|
1739
|
+
protected abstract getMetadataKey(): keyof TMetadata & string;
|
|
1740
|
+
get description(): string;
|
|
1741
|
+
get originalLanguage(): string | undefined;
|
|
1742
|
+
get abapLanguageVersion(): string | undefined;
|
|
1743
|
+
get package(): string | undefined;
|
|
1744
|
+
getSource(): Promise<string>;
|
|
1745
|
+
load(): Promise<this>;
|
|
1746
|
+
saveMainSource(source: string, options?: {
|
|
1747
|
+
lockHandle?: string;
|
|
1748
|
+
transport?: string;
|
|
1749
|
+
}): Promise<void>;
|
|
1750
|
+
lock(transport?: string): Promise<{
|
|
1751
|
+
handle: string;
|
|
1752
|
+
}>;
|
|
1753
|
+
unlock(lockHandle: string): Promise<void>;
|
|
1754
|
+
activate(): Promise<this>;
|
|
1755
|
+
protected static resolveContext(ctx?: AdkContext): AdkContext;
|
|
1756
|
+
/**
|
|
1757
|
+
* Get a source object (validates it exists by fetching source).
|
|
1758
|
+
* Generic helper used by static `get()` on subclasses.
|
|
1759
|
+
*/
|
|
1760
|
+
protected static getSourceObject<T extends AdkCrudSourceObject>(this: new (ctx: AdkContext, name: string) => T, name: string, ctx?: AdkContext): Promise<T>;
|
|
1761
|
+
/**
|
|
1762
|
+
* Check if a source object exists.
|
|
1763
|
+
* Generic helper used by static `exists()` on subclasses.
|
|
1764
|
+
*/
|
|
1765
|
+
protected static sourceObjectExists<T extends AdkCrudSourceObject>(this: new (ctx: AdkContext, name: string) => T, name: string, ctx?: AdkContext): Promise<boolean>;
|
|
1766
|
+
/**
|
|
1767
|
+
* Shared skeleton-creation helper. Subclasses pass their contract's `post`
|
|
1768
|
+
* function and the root element name + type that their AFF schema expects.
|
|
1769
|
+
*/
|
|
1770
|
+
protected static createSourceSkeleton<T extends AdkCrudSourceObject>(this: new (ctx: AdkContext, name: string) => T, params: {
|
|
1771
|
+
name: string;
|
|
1772
|
+
description: string;
|
|
1773
|
+
packageName: string;
|
|
1774
|
+
transport?: string;
|
|
1775
|
+
ctx?: AdkContext;
|
|
1776
|
+
rootKey: string;
|
|
1777
|
+
objectTypeCode: string;
|
|
1778
|
+
responsible?: string;
|
|
1779
|
+
}, post: (query: Record<string, string>, body: Record<string, unknown>) => Promise<unknown>): Promise<T>;
|
|
1780
|
+
/**
|
|
1781
|
+
* Shared delete helper. Subclasses pass their contract's `delete` function.
|
|
1782
|
+
*/
|
|
1783
|
+
protected static deleteSource(name: string, options: {
|
|
1784
|
+
transport?: string;
|
|
1785
|
+
lockHandle?: string;
|
|
1786
|
+
} | undefined, deleteFn: (name: string, options: Record<string, string>) => Promise<unknown>): Promise<void>;
|
|
1787
|
+
}
|
|
1788
|
+
//#endregion
|
|
1789
|
+
//#region src/objects/cds/ddl.model.d.ts
|
|
1790
|
+
interface DdlMetadata {
|
|
1791
|
+
ddlSource?: {
|
|
1792
|
+
description?: string;
|
|
1793
|
+
masterLanguage?: string;
|
|
1794
|
+
abapLanguageVersion?: string;
|
|
1795
|
+
packageRef?: {
|
|
1796
|
+
name?: string;
|
|
1797
|
+
};
|
|
1798
|
+
source_origin?: string;
|
|
1799
|
+
source_type?: string;
|
|
1800
|
+
};
|
|
1801
|
+
}
|
|
1802
|
+
declare class AdkDdlSource extends AdkCrudSourceObject<DdlMetadata> {
|
|
1803
|
+
static readonly kind: "DdlSource";
|
|
1804
|
+
readonly kind: "DdlSource";
|
|
1805
|
+
protected readonly objectType = "DDLS";
|
|
1806
|
+
protected readonly endpoint = "ddic/ddl/sources";
|
|
1807
|
+
private get contract();
|
|
1808
|
+
protected getMetadataKey(): 'ddlSource';
|
|
1809
|
+
get sourceOrigin(): string | undefined;
|
|
1810
|
+
get sourceType(): string | undefined;
|
|
1811
|
+
/**
|
|
1812
|
+
* Get a DDL source (does not fetch metadata, just returns handle)
|
|
1813
|
+
*/
|
|
1814
|
+
static get(name: string, ctx?: AdkContext): Promise<AdkDdlSource>;
|
|
1815
|
+
static exists(name: string, ctx?: AdkContext): Promise<boolean>;
|
|
1816
|
+
/**
|
|
1817
|
+
* Create a new CDS DDL source on SAP
|
|
1818
|
+
*
|
|
1819
|
+
* POST /sap/bc/adt/ddic/ddl/sources?corrNr=...
|
|
1820
|
+
* Body matches the `ddl:source` schema (extends abapsource:AbapSourceMainObject).
|
|
1821
|
+
*/
|
|
1822
|
+
static create(name: string, description: string, packageName: string, options?: {
|
|
1823
|
+
transport?: string;
|
|
1824
|
+
}, ctx?: AdkContext): Promise<AdkDdlSource>;
|
|
1825
|
+
static delete(name: string, options?: {
|
|
1826
|
+
transport?: string;
|
|
1827
|
+
lockHandle?: string;
|
|
1828
|
+
}, ctx?: AdkContext): Promise<void>;
|
|
1829
|
+
}
|
|
1830
|
+
//#endregion
|
|
1831
|
+
//#region src/objects/cds/dcl.model.d.ts
|
|
1832
|
+
interface DclMetadata {
|
|
1833
|
+
dclSource?: {
|
|
1834
|
+
description?: string;
|
|
1835
|
+
masterLanguage?: string;
|
|
1836
|
+
packageRef?: {
|
|
1837
|
+
name?: string;
|
|
1838
|
+
};
|
|
1839
|
+
};
|
|
1840
|
+
}
|
|
1841
|
+
declare class AdkDclSource extends AdkCrudSourceObject<DclMetadata> {
|
|
1842
|
+
static readonly kind: "DclSource";
|
|
1843
|
+
readonly kind: "DclSource";
|
|
1844
|
+
protected readonly objectType = "DCLS";
|
|
1845
|
+
protected readonly endpoint = "acm/dcl/sources";
|
|
1846
|
+
private get contract();
|
|
1847
|
+
protected getMetadataKey(): 'dclSource';
|
|
1848
|
+
static get(name: string, ctx?: AdkContext): Promise<AdkDclSource>;
|
|
1849
|
+
static exists(name: string, ctx?: AdkContext): Promise<boolean>;
|
|
1850
|
+
/**
|
|
1851
|
+
* Create a new CDS DCL source on SAP
|
|
1852
|
+
*/
|
|
1853
|
+
static create(name: string, description: string, packageName: string, options?: {
|
|
1854
|
+
transport?: string;
|
|
1855
|
+
}, ctx?: AdkContext): Promise<AdkDclSource>;
|
|
1856
|
+
static delete(name: string, options?: {
|
|
1857
|
+
transport?: string;
|
|
1858
|
+
lockHandle?: string;
|
|
1859
|
+
}, ctx?: AdkContext): Promise<void>;
|
|
1860
|
+
}
|
|
1861
|
+
//#endregion
|
|
1862
|
+
//#region src/objects/cds/ddlx.model.d.ts
|
|
1863
|
+
declare class AdkDdlExtension {
|
|
1864
|
+
static readonly kind: "DdlExtension";
|
|
1865
|
+
readonly kind: "DdlExtension";
|
|
1866
|
+
readonly name: string;
|
|
1867
|
+
protected readonly ctx: AdkContext;
|
|
1868
|
+
private metadata?;
|
|
1869
|
+
constructor(ctx: AdkContext, name: string);
|
|
1870
|
+
get objectUri(): string;
|
|
1871
|
+
get description(): string;
|
|
1872
|
+
get originalLanguage(): string | undefined;
|
|
1873
|
+
get abapLanguageVersion(): string | undefined;
|
|
1874
|
+
get package(): string | undefined;
|
|
1875
|
+
private get contract();
|
|
1876
|
+
getSource(): Promise<string>;
|
|
1877
|
+
load(): Promise<this>;
|
|
1878
|
+
}
|
|
1879
|
+
//#endregion
|
|
1880
|
+
//#region src/objects/cds/source-only-object.d.ts
|
|
1881
|
+
/**
|
|
1882
|
+
* CDS source object without a metadata schema in the connected ABAP release.
|
|
1883
|
+
*
|
|
1884
|
+
* DRAS and DRTY are absent from the reference system's repository search, so their source
|
|
1885
|
+
* endpoint is represented by the ADT DDIC naming convention and exercised
|
|
1886
|
+
* with official ABAP File Formats fixtures. The object is intentionally
|
|
1887
|
+
* source-first: import only needs the immutable source and a safe header.
|
|
1888
|
+
*/
|
|
1889
|
+
declare abstract class AdkSourceOnlyCdsObject {
|
|
1890
|
+
readonly name: string;
|
|
1891
|
+
protected readonly ctx: AdkContext;
|
|
1892
|
+
protected abstract readonly endpoint: string;
|
|
1893
|
+
private source?;
|
|
1894
|
+
protected constructor(ctx: AdkContext, name: string);
|
|
1895
|
+
get objectUri(): string;
|
|
1896
|
+
get description(): string;
|
|
1897
|
+
get originalLanguage(): string;
|
|
1898
|
+
getSource(): Promise<string>;
|
|
1899
|
+
load(): Promise<this>;
|
|
1900
|
+
}
|
|
1901
|
+
//#endregion
|
|
1902
|
+
//#region src/objects/cds/dras.model.d.ts
|
|
1903
|
+
declare class AdkCdsAspect extends AdkSourceOnlyCdsObject {
|
|
1904
|
+
static readonly kind: "CdsAspect";
|
|
1905
|
+
readonly kind: "CdsAspect";
|
|
1906
|
+
protected readonly endpoint = "ddic/dras/sources";
|
|
1907
|
+
constructor(ctx: AdkContext, name: string);
|
|
1908
|
+
}
|
|
1909
|
+
//#endregion
|
|
1910
|
+
//#region src/objects/cds/drty.model.d.ts
|
|
1911
|
+
declare class AdkCdsType extends AdkSourceOnlyCdsObject {
|
|
1912
|
+
static readonly kind: "CdsType";
|
|
1913
|
+
readonly kind: "CdsType";
|
|
1914
|
+
protected readonly endpoint = "ddic/drty/sources";
|
|
1915
|
+
constructor(ctx: AdkContext, name: string);
|
|
1916
|
+
}
|
|
1917
|
+
//#endregion
|
|
1918
|
+
//#region src/objects/cds/dsfd.model.d.ts
|
|
1919
|
+
declare class AdkScalarFunctionDefinition extends AdkCdsSourceObject {
|
|
1920
|
+
static readonly kind: "ScalarFunctionDefinition";
|
|
1921
|
+
readonly kind: "ScalarFunctionDefinition";
|
|
1922
|
+
protected readonly endpoint = "ddic/dsfd/sources";
|
|
1923
|
+
constructor(ctx: AdkContext, name: string);
|
|
1924
|
+
protected get contract(): AdkCdsSourceContract;
|
|
1925
|
+
}
|
|
1926
|
+
//#endregion
|
|
1927
|
+
//#region src/objects/cds/dsfi.model.d.ts
|
|
1928
|
+
declare class AdkScalarFunctionImplementation {
|
|
1929
|
+
static readonly kind: "ScalarFunctionImplementation";
|
|
1930
|
+
readonly kind: "ScalarFunctionImplementation";
|
|
1931
|
+
readonly name: string;
|
|
1932
|
+
protected readonly ctx: AdkContext;
|
|
1933
|
+
private definition?;
|
|
1934
|
+
constructor(ctx: AdkContext, name: string);
|
|
1935
|
+
get objectUri(): string;
|
|
1936
|
+
private get contract();
|
|
1937
|
+
getSource(): Promise<unknown>;
|
|
1938
|
+
load(): Promise<this>;
|
|
1939
|
+
}
|
|
1940
|
+
//#endregion
|
|
1941
|
+
//#region src/objects/cds/dteb.model.d.ts
|
|
1942
|
+
declare class AdkEntityBuffer extends AdkCdsSourceObject {
|
|
1943
|
+
static readonly kind: "EntityBuffer";
|
|
1944
|
+
readonly kind: "EntityBuffer";
|
|
1945
|
+
protected readonly endpoint = "ddic/dteb/sources";
|
|
1946
|
+
constructor(ctx: AdkContext, name: string);
|
|
1947
|
+
protected get contract(): AdkCdsSourceContract;
|
|
1948
|
+
}
|
|
1949
|
+
//#endregion
|
|
1950
|
+
//#region src/objects/cds/dtdc.model.d.ts
|
|
1951
|
+
declare class AdkDynamicCache extends AdkSourceOnlyCdsObject {
|
|
1952
|
+
static readonly kind: "DynamicCache";
|
|
1953
|
+
readonly kind: "DynamicCache";
|
|
1954
|
+
protected readonly endpoint = "ddic/dtdc/sources";
|
|
1955
|
+
constructor(ctx: AdkContext, name: string);
|
|
1956
|
+
}
|
|
1957
|
+
//#endregion
|
|
1958
|
+
//#region src/objects/cds/dtix.model.d.ts
|
|
1959
|
+
declare class AdkTuningIndex extends AdkSourceOnlyCdsObject {
|
|
1960
|
+
static readonly kind: "TuningIndex";
|
|
1961
|
+
readonly kind: "TuningIndex";
|
|
1962
|
+
protected readonly endpoint = "ddic/dtix/sources";
|
|
1963
|
+
constructor(ctx: AdkContext, name: string);
|
|
1964
|
+
}
|
|
1965
|
+
//#endregion
|
|
1966
|
+
//#region src/objects/cds/dtsc.model.d.ts
|
|
1967
|
+
declare class AdkStaticCache extends AdkSourceOnlyCdsObject {
|
|
1968
|
+
static readonly kind: "StaticCache";
|
|
1969
|
+
readonly kind: "StaticCache";
|
|
1970
|
+
protected readonly endpoint = "ddic/dtsc/sources";
|
|
1971
|
+
constructor(ctx: AdkContext, name: string);
|
|
1972
|
+
}
|
|
1973
|
+
//#endregion
|
|
1974
|
+
//#region src/objects/cds/desd.model.d.ts
|
|
1975
|
+
declare class AdkExternalSchema {
|
|
1976
|
+
static readonly kind: "ExternalSchema";
|
|
1977
|
+
readonly kind: "ExternalSchema";
|
|
1978
|
+
readonly name: string;
|
|
1979
|
+
protected readonly ctx: AdkContext;
|
|
1980
|
+
constructor(ctx: AdkContext, name: string);
|
|
1981
|
+
get objectUri(): string;
|
|
1982
|
+
get description(): string;
|
|
1983
|
+
get originalLanguage(): string;
|
|
1984
|
+
load(): Promise<this>;
|
|
1985
|
+
}
|
|
1986
|
+
//#endregion
|
|
1987
|
+
//#region src/objects/repository/bdef/bdef.model.d.ts
|
|
1988
|
+
interface BdefMetadata {
|
|
1989
|
+
blueSource?: {
|
|
1990
|
+
description?: string;
|
|
1991
|
+
masterLanguage?: string;
|
|
1992
|
+
abapLanguageVersion?: string;
|
|
1993
|
+
packageRef?: {
|
|
1994
|
+
name?: string;
|
|
1995
|
+
};
|
|
1996
|
+
};
|
|
1997
|
+
}
|
|
1998
|
+
declare class AdkBehaviorDefinition extends AdkCrudSourceObject<BdefMetadata> {
|
|
1999
|
+
/** Static ADK kind marker — used by abapGit handler registry if needed. */
|
|
2000
|
+
static readonly kind: "BehaviorDefinition";
|
|
2001
|
+
readonly kind: "BehaviorDefinition";
|
|
2002
|
+
protected readonly objectType = "BDEF";
|
|
2003
|
+
protected readonly endpoint = "bo/behaviordefinitions";
|
|
2004
|
+
private get contract();
|
|
2005
|
+
protected getMetadataKey(): 'blueSource';
|
|
2006
|
+
/**
|
|
2007
|
+
* Get a BDEF (validates it exists by fetching source).
|
|
2008
|
+
*/
|
|
2009
|
+
static get(name: string, ctx?: AdkContext): Promise<AdkBehaviorDefinition>;
|
|
2010
|
+
static exists(name: string, ctx?: AdkContext): Promise<boolean>;
|
|
2011
|
+
/**
|
|
2012
|
+
* Create a new BDEF on SAP.
|
|
2013
|
+
*
|
|
2014
|
+
* POST /sap/bc/adt/bo/behaviordefinitions?corrNr=...
|
|
2015
|
+
* Body matches the `blue:blueSource` envelope (extends
|
|
2016
|
+
* abapsource:AbapSourceMainObject).
|
|
2017
|
+
*/
|
|
2018
|
+
static create(name: string, description: string, packageName: string, options?: {
|
|
2019
|
+
transport?: string;
|
|
2020
|
+
}, ctx?: AdkContext): Promise<AdkBehaviorDefinition>;
|
|
2021
|
+
static delete(name: string, options?: {
|
|
2022
|
+
transport?: string;
|
|
2023
|
+
lockHandle?: string;
|
|
2024
|
+
}, ctx?: AdkContext): Promise<void>;
|
|
2025
|
+
}
|
|
2026
|
+
//#endregion
|
|
2027
|
+
//#region src/objects/repository/srvd/srvd.model.d.ts
|
|
2028
|
+
interface SrvdMetadata {
|
|
2029
|
+
srvdSource?: {
|
|
2030
|
+
description?: string;
|
|
2031
|
+
masterLanguage?: string;
|
|
2032
|
+
abapLanguageVersion?: string;
|
|
2033
|
+
packageRef?: {
|
|
2034
|
+
name?: string;
|
|
2035
|
+
};
|
|
2036
|
+
sourceOrigin?: string;
|
|
2037
|
+
srvdSourceType?: string;
|
|
2038
|
+
};
|
|
2039
|
+
}
|
|
2040
|
+
declare class AdkServiceDefinition extends AdkCrudSourceObject<SrvdMetadata> {
|
|
2041
|
+
/** Static ADK kind marker — used by abapGit handler registry if needed. */
|
|
2042
|
+
static readonly kind: "ServiceDefinition";
|
|
2043
|
+
readonly kind: "ServiceDefinition";
|
|
2044
|
+
protected readonly objectType = "SRVD";
|
|
2045
|
+
protected readonly endpoint = "ddic/srvd/sources";
|
|
2046
|
+
private get contract();
|
|
2047
|
+
protected getMetadataKey(): 'srvdSource';
|
|
2048
|
+
get sourceOrigin(): string | undefined;
|
|
2049
|
+
get sourceType(): string | undefined;
|
|
2050
|
+
/**
|
|
2051
|
+
* Get a SRVD (validates it exists by fetching source).
|
|
2052
|
+
*/
|
|
2053
|
+
static get(name: string, ctx?: AdkContext): Promise<AdkServiceDefinition>;
|
|
2054
|
+
static exists(name: string, ctx?: AdkContext): Promise<boolean>;
|
|
2055
|
+
/**
|
|
2056
|
+
* Create a new SRVD on SAP.
|
|
2057
|
+
*
|
|
2058
|
+
* POST /sap/bc/adt/ddic/srvd/sources?corrNr=...
|
|
2059
|
+
* Body matches the `srvd:source` envelope (extends
|
|
2060
|
+
* abapsource:AbapSourceMainObject).
|
|
2061
|
+
*/
|
|
2062
|
+
static create(name: string, description: string, packageName: string, options?: {
|
|
2063
|
+
transport?: string;
|
|
2064
|
+
}, ctx?: AdkContext): Promise<AdkServiceDefinition>;
|
|
2065
|
+
static delete(name: string, options?: {
|
|
2066
|
+
transport?: string;
|
|
2067
|
+
lockHandle?: string;
|
|
2068
|
+
}, ctx?: AdkContext): Promise<void>;
|
|
2069
|
+
}
|
|
2070
|
+
//#endregion
|
|
2071
|
+
//#region src/objects/repository/srvb/srvb.model.d.ts
|
|
2072
|
+
declare class AdkServiceBinding {
|
|
2073
|
+
/** Static ADK kind marker — used by abapGit handler registry if needed. */
|
|
2074
|
+
static readonly kind: "ServiceBinding";
|
|
2075
|
+
readonly kind: "ServiceBinding";
|
|
2076
|
+
readonly name: string;
|
|
2077
|
+
protected readonly ctx: AdkContext;
|
|
2078
|
+
constructor(ctx: AdkContext, name: string);
|
|
2079
|
+
get objectUri(): string;
|
|
2080
|
+
/** Placeholder description — full metadata requires additional SAP fetch */
|
|
2081
|
+
get description(): string;
|
|
2082
|
+
private get contract();
|
|
2083
|
+
/**
|
|
2084
|
+
* Fetch the binding metadata document. SRVB has no source text;
|
|
2085
|
+
* `getSource()` returns an empty string for uniform CLI parity.
|
|
2086
|
+
*/
|
|
2087
|
+
getMetadata(): Promise<unknown>;
|
|
2088
|
+
getSource(): Promise<string>;
|
|
2089
|
+
load(): Promise<this>;
|
|
2090
|
+
lock(transport?: string): Promise<{
|
|
2091
|
+
handle: string;
|
|
2092
|
+
}>;
|
|
2093
|
+
unlock(lockHandle: string): Promise<void>;
|
|
2094
|
+
activate(): Promise<this>;
|
|
2095
|
+
/**
|
|
2096
|
+
* Publish (activate) the binding in the SAP Gateway.
|
|
2097
|
+
* POST {basePath}/{name}/publishedstates
|
|
2098
|
+
*/
|
|
2099
|
+
publish(): Promise<void>;
|
|
2100
|
+
/**
|
|
2101
|
+
* Unpublish (deactivate) the binding.
|
|
2102
|
+
* DELETE {basePath}/{name}/publishedstates
|
|
2103
|
+
*/
|
|
2104
|
+
unpublish(): Promise<void>;
|
|
2105
|
+
/**
|
|
2106
|
+
* Get a SRVB (validates it exists by fetching metadata).
|
|
2107
|
+
*/
|
|
2108
|
+
static get(name: string, ctx?: AdkContext): Promise<AdkServiceBinding>;
|
|
2109
|
+
static exists(name: string, ctx?: AdkContext): Promise<boolean>;
|
|
2110
|
+
/**
|
|
2111
|
+
* Create a new SRVB on SAP.
|
|
2112
|
+
*
|
|
2113
|
+
* POST /sap/bc/adt/businessservices/bindings?corrNr=...
|
|
2114
|
+
* Body matches the `srvb:serviceBinding` envelope.
|
|
2115
|
+
*/
|
|
2116
|
+
static create(name: string, description: string, packageName: string, options?: {
|
|
2117
|
+
transport?: string;
|
|
2118
|
+
}, ctx?: AdkContext): Promise<AdkServiceBinding>;
|
|
2119
|
+
static delete(name: string, options?: {
|
|
2120
|
+
transport?: string;
|
|
2121
|
+
lockHandle?: string;
|
|
2122
|
+
}, ctx?: AdkContext): Promise<void>;
|
|
2123
|
+
static publish(name: string, ctx?: AdkContext): Promise<void>;
|
|
2124
|
+
static unpublish(name: string, ctx?: AdkContext): Promise<void>;
|
|
2125
|
+
}
|
|
2126
|
+
//#endregion
|
|
1634
2127
|
//#region src/base/kinds.d.ts
|
|
1635
2128
|
/**
|
|
1636
2129
|
* ADK Object Kinds
|
|
@@ -1656,10 +2149,25 @@ declare const Structure: "Structure";
|
|
|
1656
2149
|
declare const DataElement: "DataElement";
|
|
1657
2150
|
declare const Domain: "Domain";
|
|
1658
2151
|
declare const TableType: "TableType";
|
|
2152
|
+
declare const DdlSource: "DdlSource";
|
|
2153
|
+
declare const DclSource: "DclSource";
|
|
2154
|
+
declare const DdlExtension: "DdlExtension";
|
|
2155
|
+
declare const CdsAspect: "CdsAspect";
|
|
2156
|
+
declare const CdsType: "CdsType";
|
|
2157
|
+
declare const ScalarFunctionDefinition: "ScalarFunctionDefinition";
|
|
2158
|
+
declare const ScalarFunctionImplementation: "ScalarFunctionImplementation";
|
|
2159
|
+
declare const EntityBuffer: "EntityBuffer";
|
|
2160
|
+
declare const DynamicCache: "DynamicCache";
|
|
2161
|
+
declare const TuningIndex: "TuningIndex";
|
|
2162
|
+
declare const StaticCache: "StaticCache";
|
|
2163
|
+
declare const ExternalSchema: "ExternalSchema";
|
|
2164
|
+
declare const BehaviorDefinition: "BehaviorDefinition";
|
|
2165
|
+
declare const ServiceDefinition: "ServiceDefinition";
|
|
2166
|
+
declare const ServiceBinding: "ServiceBinding";
|
|
1659
2167
|
declare const MessageClass: "MessageClass";
|
|
1660
2168
|
declare const EnhancementSpot: "EnhancementSpot";
|
|
1661
2169
|
/** Union type of all ADK kinds */
|
|
1662
|
-
type AdkKind = typeof TransportRequest | typeof TransportTask$1 | typeof Package | typeof Class | typeof Interface | typeof FunctionGroup | typeof FunctionModule | typeof Program | typeof Include | typeof Table | typeof Structure | typeof DataElement | typeof Domain | typeof TableType | typeof MessageClass | typeof EnhancementSpot;
|
|
2170
|
+
type AdkKind = typeof TransportRequest | typeof TransportTask$1 | typeof Package | typeof Class | typeof Interface | typeof FunctionGroup | typeof FunctionModule | typeof Program | typeof Include | typeof Table | typeof Structure | typeof DataElement | typeof Domain | typeof TableType | typeof DdlSource | typeof DclSource | typeof DdlExtension | typeof CdsAspect | typeof CdsType | typeof ScalarFunctionDefinition | typeof ScalarFunctionImplementation | typeof EntityBuffer | typeof DynamicCache | typeof TuningIndex | typeof StaticCache | typeof ExternalSchema | typeof BehaviorDefinition | typeof ServiceDefinition | typeof ServiceBinding | typeof MessageClass | typeof EnhancementSpot;
|
|
1663
2171
|
/**
|
|
1664
2172
|
* Maps ADK kind to concrete object type
|
|
1665
2173
|
*
|
|
@@ -1669,7 +2177,7 @@ type AdkKind = typeof TransportRequest | typeof TransportTask$1 | typeof Package
|
|
|
1669
2177
|
* const intf = factory.byKind(Interface, 'ZIF'); // → AdkInterface
|
|
1670
2178
|
* ```
|
|
1671
2179
|
*/
|
|
1672
|
-
type AdkObjectForKind<K extends AdkKind> = K extends typeof Class ? AdkClass : K extends typeof Interface ? AdkInterface : K extends typeof Package ? AdkPackage : K extends typeof Program ? AdkProgram : K extends typeof Include ? AdkInclude : K extends typeof FunctionGroup ? AdkFunctionGroup : K extends typeof FunctionModule ? AdkFunctionModule : K extends typeof TransportRequest ? AdkTransportRequest : K extends typeof TransportTask$1 ? AdkTransportTask : K extends typeof Domain ? AdkDomain : K extends typeof DataElement ? AdkDataElement : K extends typeof Table ? AdkTable : K extends typeof Structure ? AdkStructure : K extends typeof TableType ? AdkTableType : AdkObject;
|
|
2180
|
+
type AdkObjectForKind<K extends AdkKind> = K extends typeof Class ? AdkClass : K extends typeof Interface ? AdkInterface : K extends typeof Package ? AdkPackage : K extends typeof Program ? AdkProgram : K extends typeof Include ? AdkInclude : K extends typeof FunctionGroup ? AdkFunctionGroup : K extends typeof FunctionModule ? AdkFunctionModule : K extends typeof TransportRequest ? AdkTransportRequest : K extends typeof TransportTask$1 ? AdkTransportTask : K extends typeof Domain ? AdkDomain : K extends typeof DataElement ? AdkDataElement : K extends typeof Table ? AdkTable : K extends typeof Structure ? AdkStructure : K extends typeof TableType ? AdkTableType : K extends typeof DdlSource ? AdkDdlSource : K extends typeof DclSource ? AdkDclSource : K extends typeof DdlExtension ? AdkDdlExtension : K extends typeof CdsAspect ? AdkCdsAspect : K extends typeof CdsType ? AdkCdsType : K extends typeof ScalarFunctionDefinition ? AdkScalarFunctionDefinition : K extends typeof ScalarFunctionImplementation ? AdkScalarFunctionImplementation : K extends typeof EntityBuffer ? AdkEntityBuffer : K extends typeof DynamicCache ? AdkDynamicCache : K extends typeof TuningIndex ? AdkTuningIndex : K extends typeof StaticCache ? AdkStaticCache : K extends typeof ExternalSchema ? AdkExternalSchema : K extends typeof BehaviorDefinition ? AdkBehaviorDefinition : K extends typeof ServiceDefinition ? AdkServiceDefinition : K extends typeof ServiceBinding ? AdkServiceBinding : AdkObject;
|
|
1673
2181
|
//#endregion
|
|
1674
2182
|
//#region src/base/types.d.ts
|
|
1675
2183
|
/**
|
|
@@ -1700,7 +2208,8 @@ interface BulkSaveResult {
|
|
|
1700
2208
|
/** Details per object */
|
|
1701
2209
|
results: Array<{
|
|
1702
2210
|
object: AdkObject;
|
|
1703
|
-
success: boolean;
|
|
2211
|
+
success: boolean;
|
|
2212
|
+
/** True if object was skipped because source is identical to SAP */
|
|
1704
2213
|
unchanged?: boolean;
|
|
1705
2214
|
error?: string;
|
|
1706
2215
|
}>;
|
|
@@ -1847,7 +2356,9 @@ declare class AdkObjectSet {
|
|
|
1847
2356
|
* @returns Promise resolving to populated AdkObjectSet
|
|
1848
2357
|
*/
|
|
1849
2358
|
static fromGenerator(generator: AsyncGenerator<AdkObject>, ctx: AdkContext, options?: {
|
|
1850
|
-
/** Filter function to include/exclude objects */
|
|
2359
|
+
/** Filter function to include/exclude objects */
|
|
2360
|
+
filter?: (obj: AdkObject) => boolean;
|
|
2361
|
+
/** Callback for each object collected */
|
|
1851
2362
|
onObject?: (obj: AdkObject) => void;
|
|
1852
2363
|
}): Promise<AdkObjectSet>;
|
|
1853
2364
|
}
|
|
@@ -1871,7 +2382,7 @@ declare class AdkObjectSet {
|
|
|
1871
2382
|
* initializeAdk(client);
|
|
1872
2383
|
*
|
|
1873
2384
|
* // Now ADK objects work without context
|
|
1874
|
-
* const transport = await AdkTransportRequest.get('
|
|
2385
|
+
* const transport = await AdkTransportRequest.get('TRLK900001');
|
|
1875
2386
|
* ```
|
|
1876
2387
|
*/
|
|
1877
2388
|
declare function initializeAdk(client: AdtClient, options?: {
|
|
@@ -2065,121 +2576,6 @@ interface AbapFunctionModule extends AbapObject {
|
|
|
2065
2576
|
getSource(): Promise<string>;
|
|
2066
2577
|
}
|
|
2067
2578
|
//#endregion
|
|
2068
|
-
//#region src/objects/cds/ddl.model.d.ts
|
|
2069
|
-
declare class AdkDdlSource {
|
|
2070
|
-
readonly name: string;
|
|
2071
|
-
protected readonly ctx: AdkContext;
|
|
2072
|
-
constructor(ctx: AdkContext, name: string);
|
|
2073
|
-
get objectUri(): string;
|
|
2074
|
-
/** Placeholder description — full metadata requires additional SAP fetch */
|
|
2075
|
-
get description(): string;
|
|
2076
|
-
private get contract();
|
|
2077
|
-
getSource(): Promise<string>;
|
|
2078
|
-
saveMainSource(source: string, options?: {
|
|
2079
|
-
lockHandle?: string;
|
|
2080
|
-
transport?: string;
|
|
2081
|
-
}): Promise<void>;
|
|
2082
|
-
lock(transport?: string): Promise<{
|
|
2083
|
-
handle: string;
|
|
2084
|
-
}>;
|
|
2085
|
-
unlock(lockHandle: string): Promise<void>;
|
|
2086
|
-
activate(): Promise<this>;
|
|
2087
|
-
/**
|
|
2088
|
-
* Get a DDL source (does not fetch metadata, just returns handle)
|
|
2089
|
-
*/
|
|
2090
|
-
static get(name: string, ctx?: AdkContext): Promise<AdkDdlSource>;
|
|
2091
|
-
static exists(name: string, ctx?: AdkContext): Promise<boolean>;
|
|
2092
|
-
/**
|
|
2093
|
-
* Create a new CDS DDL source on SAP
|
|
2094
|
-
*
|
|
2095
|
-
* POST /sap/bc/adt/ddic/ddl/sources?corrNr=...
|
|
2096
|
-
* Body matches the `ddl:source` schema (extends abapsource:AbapSourceMainObject).
|
|
2097
|
-
*/
|
|
2098
|
-
static create(name: string, description: string, packageName: string, options?: {
|
|
2099
|
-
transport?: string;
|
|
2100
|
-
}, ctx?: AdkContext): Promise<AdkDdlSource>;
|
|
2101
|
-
static delete(name: string, options?: {
|
|
2102
|
-
transport?: string;
|
|
2103
|
-
lockHandle?: string;
|
|
2104
|
-
}, ctx?: AdkContext): Promise<void>;
|
|
2105
|
-
}
|
|
2106
|
-
//#endregion
|
|
2107
|
-
//#region src/objects/cds/dcl.model.d.ts
|
|
2108
|
-
declare class AdkDclSource {
|
|
2109
|
-
readonly name: string;
|
|
2110
|
-
protected readonly ctx: AdkContext;
|
|
2111
|
-
constructor(ctx: AdkContext, name: string);
|
|
2112
|
-
get objectUri(): string;
|
|
2113
|
-
/** Placeholder description — full metadata requires additional SAP fetch */
|
|
2114
|
-
get description(): string;
|
|
2115
|
-
private get contract();
|
|
2116
|
-
getSource(): Promise<string>;
|
|
2117
|
-
saveMainSource(source: string, options?: {
|
|
2118
|
-
lockHandle?: string;
|
|
2119
|
-
transport?: string;
|
|
2120
|
-
}): Promise<void>;
|
|
2121
|
-
lock(transport?: string): Promise<{
|
|
2122
|
-
handle: string;
|
|
2123
|
-
}>;
|
|
2124
|
-
unlock(lockHandle: string): Promise<void>;
|
|
2125
|
-
activate(): Promise<this>;
|
|
2126
|
-
static get(name: string, ctx?: AdkContext): Promise<AdkDclSource>;
|
|
2127
|
-
static exists(name: string, ctx?: AdkContext): Promise<boolean>;
|
|
2128
|
-
/**
|
|
2129
|
-
* Create a new CDS DCL source on SAP
|
|
2130
|
-
*/
|
|
2131
|
-
static create(name: string, description: string, packageName: string, options?: {
|
|
2132
|
-
transport?: string;
|
|
2133
|
-
}, ctx?: AdkContext): Promise<AdkDclSource>;
|
|
2134
|
-
static delete(name: string, options?: {
|
|
2135
|
-
transport?: string;
|
|
2136
|
-
lockHandle?: string;
|
|
2137
|
-
}, ctx?: AdkContext): Promise<void>;
|
|
2138
|
-
}
|
|
2139
|
-
//#endregion
|
|
2140
|
-
//#region src/objects/repository/bdef/bdef.model.d.ts
|
|
2141
|
-
declare class AdkBehaviorDefinition {
|
|
2142
|
-
/** Static ADK kind marker — used by abapGit handler registry if needed. */
|
|
2143
|
-
static readonly kind: "BehaviorDefinition";
|
|
2144
|
-
readonly kind: "BehaviorDefinition";
|
|
2145
|
-
readonly name: string;
|
|
2146
|
-
protected readonly ctx: AdkContext;
|
|
2147
|
-
constructor(ctx: AdkContext, name: string);
|
|
2148
|
-
get objectUri(): string;
|
|
2149
|
-
/** Placeholder description — full metadata requires additional SAP fetch */
|
|
2150
|
-
get description(): string;
|
|
2151
|
-
private get contract();
|
|
2152
|
-
getSource(): Promise<string>;
|
|
2153
|
-
saveMainSource(source: string, options?: {
|
|
2154
|
-
lockHandle?: string;
|
|
2155
|
-
transport?: string;
|
|
2156
|
-
}): Promise<void>;
|
|
2157
|
-
lock(transport?: string): Promise<{
|
|
2158
|
-
handle: string;
|
|
2159
|
-
}>;
|
|
2160
|
-
unlock(lockHandle: string): Promise<void>;
|
|
2161
|
-
activate(): Promise<this>;
|
|
2162
|
-
/**
|
|
2163
|
-
* Get a BDEF (validates it exists by fetching source).
|
|
2164
|
-
*/
|
|
2165
|
-
static get(name: string, ctx?: AdkContext): Promise<AdkBehaviorDefinition>;
|
|
2166
|
-
static exists(name: string, ctx?: AdkContext): Promise<boolean>;
|
|
2167
|
-
/**
|
|
2168
|
-
* Create a new BDEF on SAP.
|
|
2169
|
-
*
|
|
2170
|
-
* POST /sap/bc/adt/bo/behaviordefinitions?corrNr=...
|
|
2171
|
-
* Body matches the `blue:blueSource` envelope (extends
|
|
2172
|
-
* abapsource:AbapSourceMainObject).
|
|
2173
|
-
*/
|
|
2174
|
-
static create(name: string, description: string, packageName: string, options?: {
|
|
2175
|
-
transport?: string;
|
|
2176
|
-
}, ctx?: AdkContext): Promise<AdkBehaviorDefinition>;
|
|
2177
|
-
static delete(name: string, options?: {
|
|
2178
|
-
transport?: string;
|
|
2179
|
-
lockHandle?: string;
|
|
2180
|
-
}, ctx?: AdkContext): Promise<void>;
|
|
2181
|
-
}
|
|
2182
|
-
//#endregion
|
|
2183
2579
|
//#region src/objects/repository/badi/badi.model.d.ts
|
|
2184
2580
|
declare class AdkBadi {
|
|
2185
2581
|
/** Static ADK kind marker. */
|
|
@@ -2187,11 +2583,15 @@ declare class AdkBadi {
|
|
|
2187
2583
|
readonly kind: "Badi";
|
|
2188
2584
|
readonly name: string;
|
|
2189
2585
|
protected readonly ctx: AdkContext;
|
|
2586
|
+
private _description?;
|
|
2587
|
+
private _package?;
|
|
2190
2588
|
constructor(ctx: AdkContext, name: string);
|
|
2191
2589
|
/** ADT URI (lowercase path segment — SAP convention). */
|
|
2192
2590
|
get objectUri(): string;
|
|
2193
|
-
/**
|
|
2591
|
+
/** Description from the ENHO metadata, falling back to the object name. */
|
|
2194
2592
|
get description(): string;
|
|
2593
|
+
/** Package name from the ENHO metadata. */
|
|
2594
|
+
get package(): string;
|
|
2195
2595
|
private get contract();
|
|
2196
2596
|
getMetadata(): Promise<unknown>;
|
|
2197
2597
|
getSource(): Promise<string>;
|
|
@@ -2222,102 +2622,43 @@ declare class AdkBadi {
|
|
|
2222
2622
|
}, ctx?: AdkContext): Promise<void>;
|
|
2223
2623
|
}
|
|
2224
2624
|
//#endregion
|
|
2225
|
-
//#region src/objects/repository/
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2625
|
+
//#region src/objects/repository/classic-badi/classic-badi.model.d.ts
|
|
2626
|
+
interface ClassicBadiInput {
|
|
2627
|
+
name: string;
|
|
2628
|
+
ctx?: AdkContext;
|
|
2629
|
+
}
|
|
2630
|
+
declare abstract class AdkClassicBadiBase {
|
|
2230
2631
|
readonly name: string;
|
|
2231
2632
|
protected readonly ctx: AdkContext;
|
|
2232
|
-
constructor(
|
|
2633
|
+
constructor(input: {
|
|
2634
|
+
ctx: AdkContext;
|
|
2635
|
+
name: string;
|
|
2636
|
+
});
|
|
2637
|
+
abstract get kind(): string;
|
|
2638
|
+
abstract get objectUri(): string;
|
|
2639
|
+
abstract getMetadata(): Promise<BasicObjectPropertiesResponse>;
|
|
2640
|
+
static get<T extends AdkClassicBadiBase>(this: {
|
|
2641
|
+
new (input: {
|
|
2642
|
+
ctx: AdkContext;
|
|
2643
|
+
name: string;
|
|
2644
|
+
}): T;
|
|
2645
|
+
}, input: ClassicBadiInput): Promise<T>;
|
|
2646
|
+
static exists<T extends AdkClassicBadiBase>(this: {
|
|
2647
|
+
new (input: {
|
|
2648
|
+
ctx: AdkContext;
|
|
2649
|
+
name: string;
|
|
2650
|
+
}): T;
|
|
2651
|
+
}, input: ClassicBadiInput): Promise<boolean>;
|
|
2652
|
+
}
|
|
2653
|
+
declare class AdkClassicBadiDefinition extends AdkClassicBadiBase {
|
|
2654
|
+
readonly kind: "ClassicBadiDefinition";
|
|
2233
2655
|
get objectUri(): string;
|
|
2234
|
-
|
|
2235
|
-
get description(): string;
|
|
2236
|
-
private get contract();
|
|
2237
|
-
getSource(): Promise<string>;
|
|
2238
|
-
saveMainSource(source: string, options?: {
|
|
2239
|
-
lockHandle?: string;
|
|
2240
|
-
transport?: string;
|
|
2241
|
-
}): Promise<void>;
|
|
2242
|
-
lock(transport?: string): Promise<{
|
|
2243
|
-
handle: string;
|
|
2244
|
-
}>;
|
|
2245
|
-
unlock(lockHandle: string): Promise<void>;
|
|
2246
|
-
activate(): Promise<this>;
|
|
2247
|
-
/**
|
|
2248
|
-
* Get a SRVD (validates it exists by fetching source).
|
|
2249
|
-
*/
|
|
2250
|
-
static get(name: string, ctx?: AdkContext): Promise<AdkServiceDefinition>;
|
|
2251
|
-
static exists(name: string, ctx?: AdkContext): Promise<boolean>;
|
|
2252
|
-
/**
|
|
2253
|
-
* Create a new SRVD on SAP.
|
|
2254
|
-
*
|
|
2255
|
-
* POST /sap/bc/adt/ddic/srvd/sources?corrNr=...
|
|
2256
|
-
* Body matches the `srvd:source` envelope (extends
|
|
2257
|
-
* abapsource:AbapSourceMainObject).
|
|
2258
|
-
*/
|
|
2259
|
-
static create(name: string, description: string, packageName: string, options?: {
|
|
2260
|
-
transport?: string;
|
|
2261
|
-
}, ctx?: AdkContext): Promise<AdkServiceDefinition>;
|
|
2262
|
-
static delete(name: string, options?: {
|
|
2263
|
-
transport?: string;
|
|
2264
|
-
lockHandle?: string;
|
|
2265
|
-
}, ctx?: AdkContext): Promise<void>;
|
|
2656
|
+
getMetadata(): Promise<BasicObjectPropertiesResponse>;
|
|
2266
2657
|
}
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
declare class AdkServiceBinding {
|
|
2270
|
-
/** Static ADK kind marker — used by abapGit handler registry if needed. */
|
|
2271
|
-
static readonly kind: "ServiceBinding";
|
|
2272
|
-
readonly kind: "ServiceBinding";
|
|
2273
|
-
readonly name: string;
|
|
2274
|
-
protected readonly ctx: AdkContext;
|
|
2275
|
-
constructor(ctx: AdkContext, name: string);
|
|
2658
|
+
declare class AdkClassicBadiImplementation extends AdkClassicBadiBase {
|
|
2659
|
+
readonly kind: "ClassicBadiImplementation";
|
|
2276
2660
|
get objectUri(): string;
|
|
2277
|
-
|
|
2278
|
-
get description(): string;
|
|
2279
|
-
private get contract();
|
|
2280
|
-
/**
|
|
2281
|
-
* Fetch the binding metadata document. SRVB has no source text;
|
|
2282
|
-
* `getSource()` returns an empty string for uniform CLI parity.
|
|
2283
|
-
*/
|
|
2284
|
-
getMetadata(): Promise<unknown>;
|
|
2285
|
-
getSource(): Promise<string>;
|
|
2286
|
-
lock(transport?: string): Promise<{
|
|
2287
|
-
handle: string;
|
|
2288
|
-
}>;
|
|
2289
|
-
unlock(lockHandle: string): Promise<void>;
|
|
2290
|
-
activate(): Promise<this>;
|
|
2291
|
-
/**
|
|
2292
|
-
* Publish (activate) the binding in the SAP Gateway.
|
|
2293
|
-
* POST {basePath}/{name}/publishedstates
|
|
2294
|
-
*/
|
|
2295
|
-
publish(): Promise<void>;
|
|
2296
|
-
/**
|
|
2297
|
-
* Unpublish (deactivate) the binding.
|
|
2298
|
-
* DELETE {basePath}/{name}/publishedstates
|
|
2299
|
-
*/
|
|
2300
|
-
unpublish(): Promise<void>;
|
|
2301
|
-
/**
|
|
2302
|
-
* Get a SRVB (validates it exists by fetching metadata).
|
|
2303
|
-
*/
|
|
2304
|
-
static get(name: string, ctx?: AdkContext): Promise<AdkServiceBinding>;
|
|
2305
|
-
static exists(name: string, ctx?: AdkContext): Promise<boolean>;
|
|
2306
|
-
/**
|
|
2307
|
-
* Create a new SRVB on SAP.
|
|
2308
|
-
*
|
|
2309
|
-
* POST /sap/bc/adt/businessservices/bindings?corrNr=...
|
|
2310
|
-
* Body matches the `srvb:serviceBinding` envelope.
|
|
2311
|
-
*/
|
|
2312
|
-
static create(name: string, description: string, packageName: string, options?: {
|
|
2313
|
-
transport?: string;
|
|
2314
|
-
}, ctx?: AdkContext): Promise<AdkServiceBinding>;
|
|
2315
|
-
static delete(name: string, options?: {
|
|
2316
|
-
transport?: string;
|
|
2317
|
-
lockHandle?: string;
|
|
2318
|
-
}, ctx?: AdkContext): Promise<void>;
|
|
2319
|
-
static publish(name: string, ctx?: AdkContext): Promise<void>;
|
|
2320
|
-
static unpublish(name: string, ctx?: AdkContext): Promise<void>;
|
|
2661
|
+
getMetadata(): Promise<BasicObjectPropertiesResponse>;
|
|
2321
2662
|
}
|
|
2322
2663
|
//#endregion
|
|
2323
2664
|
//#region src/objects/cts/transport-import.d.ts
|
|
@@ -2361,6 +2702,7 @@ interface TransportTaskData$1 {
|
|
|
2361
2702
|
desc?: string;
|
|
2362
2703
|
status?: string;
|
|
2363
2704
|
status_text?: string;
|
|
2705
|
+
target?: string;
|
|
2364
2706
|
abap_object?: TransportObjectData$1 | TransportObjectData$1[];
|
|
2365
2707
|
}
|
|
2366
2708
|
/**
|
|
@@ -2450,11 +2792,13 @@ declare class AdkTransportTaskRef {
|
|
|
2450
2792
|
declare class AdkTransport {
|
|
2451
2793
|
private readonly ctx;
|
|
2452
2794
|
private readonly data;
|
|
2795
|
+
private readonly requestedNumber;
|
|
2453
2796
|
private _objects?;
|
|
2454
2797
|
private _tasks?;
|
|
2455
2798
|
private constructor();
|
|
2456
2799
|
/** Transport number */
|
|
2457
2800
|
get number(): string;
|
|
2801
|
+
private get itemData();
|
|
2458
2802
|
/** Transport description */
|
|
2459
2803
|
get description(): string;
|
|
2460
2804
|
/** Transport owner */
|
|
@@ -2553,8 +2897,10 @@ declare class AdkTransport {
|
|
|
2553
2897
|
interface ResolvedTransportObjects {
|
|
2554
2898
|
/** Deduplicated list of transport objects (first-win across TRs). */
|
|
2555
2899
|
objects: AdkTransportObjectRef[];
|
|
2556
|
-
/** Maps each object key to the
|
|
2900
|
+
/** Maps each object key to the concrete request or task that supplied it. */
|
|
2557
2901
|
sourceTransportMap: Map<string, string>;
|
|
2902
|
+
/** Requested roots/tasks plus observed child tasks, in stable order. */
|
|
2903
|
+
scopeTransportNumbers: string[];
|
|
2558
2904
|
}
|
|
2559
2905
|
/**
|
|
2560
2906
|
* Load and resolve objects from one or more transport numbers, with optional
|
|
@@ -2592,6 +2938,101 @@ declare class MergedTransportView {
|
|
|
2592
2938
|
static create(numbers: string[], ctx?: AdkContext): Promise<MergedTransportView>;
|
|
2593
2939
|
}
|
|
2594
2940
|
//#endregion
|
|
2941
|
+
//#region src/transport-source-manifest.d.ts
|
|
2942
|
+
type TransportSourceChangeKind = 'added' | 'modified' | 'deleted' | 'ambiguous' | 'unsupported' | 'failed';
|
|
2943
|
+
type SourceHistoryDiagnosticCode = 'DELETED_SOURCE_BASE_UNAVAILABLE' | 'OBJECT_METADATA_LOAD_FAILED' | 'OBJECT_METADATA_UNAVAILABLE' | 'OBJECT_TYPE_UNSUPPORTED' | 'SOURCE_COMPONENT_NOT_FOUND' | 'SOURCE_COMPONENTS_UNAVAILABLE' | 'SOURCE_COMPONENT_URI_UNSAFE' | 'SOURCE_COMPONENT_VERSIONS_UNAVAILABLE' | 'SOURCE_HISTORY_INTERVENING_VERSION' | 'SOURCE_HISTORY_ORDER_INVALID' | 'SOURCE_HISTORY_PROVENANCE_MISSING' | 'SOURCE_HISTORY_RETRIEVAL_FAILED' | 'SOURCE_HISTORY_SCOPE_VERSION_MISSING';
|
|
2944
|
+
interface SourceHistoryDiagnostic {
|
|
2945
|
+
code: SourceHistoryDiagnosticCode;
|
|
2946
|
+
message: string;
|
|
2947
|
+
}
|
|
2948
|
+
type TransportSourceDiagnostic = SourceHistoryDiagnostic;
|
|
2949
|
+
interface ObjectSourceHistoryIdentity {
|
|
2950
|
+
name: string;
|
|
2951
|
+
type: string;
|
|
2952
|
+
packageName?: string;
|
|
2953
|
+
}
|
|
2954
|
+
interface ListObjectSourceVersionsOptions {
|
|
2955
|
+
component?: string;
|
|
2956
|
+
}
|
|
2957
|
+
type ObjectSourceVersionsComponent = (TransportSourceManifestComponent & {
|
|
2958
|
+
versions: SourceVersionRef[];
|
|
2959
|
+
diagnostic?: never;
|
|
2960
|
+
}) | (TransportSourceManifestComponent & {
|
|
2961
|
+
versions?: never;
|
|
2962
|
+
diagnostic: SourceHistoryDiagnostic;
|
|
2963
|
+
});
|
|
2964
|
+
interface ObjectSourceVersionsResult {
|
|
2965
|
+
object: ObjectSourceHistoryIdentity;
|
|
2966
|
+
components: ObjectSourceVersionsComponent[];
|
|
2967
|
+
}
|
|
2968
|
+
type ObjectSourceHistoryErrorCode = 'OBJECT_METADATA_LOAD_FAILED' | 'OBJECT_METADATA_UNAVAILABLE' | 'OBJECT_TYPE_UNSUPPORTED' | 'SOURCE_COMPONENT_NOT_FOUND' | 'SOURCE_COMPONENTS_UNAVAILABLE';
|
|
2969
|
+
/** Stable public failure for errors that occur before a component result exists. */
|
|
2970
|
+
declare class ObjectSourceHistoryError extends Error {
|
|
2971
|
+
readonly code: ObjectSourceHistoryErrorCode;
|
|
2972
|
+
readonly object: ObjectSourceHistoryIdentity;
|
|
2973
|
+
readonly name = "ObjectSourceHistoryError";
|
|
2974
|
+
constructor(code: ObjectSourceHistoryErrorCode, message: string, object: ObjectSourceHistoryIdentity);
|
|
2975
|
+
}
|
|
2976
|
+
interface TransportSourceVersionSelection {
|
|
2977
|
+
changeKind: TransportSourceChangeKind;
|
|
2978
|
+
exact: boolean;
|
|
2979
|
+
base?: SourceVersionRef;
|
|
2980
|
+
head?: SourceVersionRef;
|
|
2981
|
+
diagnostic?: TransportSourceDiagnostic;
|
|
2982
|
+
}
|
|
2983
|
+
interface TransportSourceManifestObject {
|
|
2984
|
+
pgmid: string;
|
|
2985
|
+
type: string;
|
|
2986
|
+
name: string;
|
|
2987
|
+
packageName?: string;
|
|
2988
|
+
}
|
|
2989
|
+
interface TransportSourceManifestComponent {
|
|
2990
|
+
id: string;
|
|
2991
|
+
sourceUri?: string;
|
|
2992
|
+
versionsUri?: string;
|
|
2993
|
+
}
|
|
2994
|
+
interface TransportSourceManifestEntry extends TransportSourceVersionSelection {
|
|
2995
|
+
object: TransportSourceManifestObject;
|
|
2996
|
+
repositoryObject?: TransportSourceManifestObject;
|
|
2997
|
+
component: TransportSourceManifestComponent;
|
|
2998
|
+
sourceTransport: string;
|
|
2999
|
+
}
|
|
3000
|
+
interface TransportObjectInventoryEntry {
|
|
3001
|
+
pgmid: string;
|
|
3002
|
+
type: string;
|
|
3003
|
+
name: string;
|
|
3004
|
+
wbtype?: string;
|
|
3005
|
+
uri?: string;
|
|
3006
|
+
objFunc: string;
|
|
3007
|
+
sourceTransport: string;
|
|
3008
|
+
}
|
|
3009
|
+
interface TransportSourceManifest {
|
|
3010
|
+
requestedTransports: string[];
|
|
3011
|
+
scopeTransports: string[];
|
|
3012
|
+
inventory: TransportObjectInventoryEntry[];
|
|
3013
|
+
entries: TransportSourceManifestEntry[];
|
|
3014
|
+
}
|
|
3015
|
+
interface BuildTransportSourceManifestOptions {
|
|
3016
|
+
selector?: TransportObjectSelector;
|
|
3017
|
+
concurrency?: number;
|
|
3018
|
+
}
|
|
3019
|
+
/**
|
|
3020
|
+
* Select immutable before/after references using SAP's observed feed ordinal.
|
|
3021
|
+
*/
|
|
3022
|
+
declare function selectTransportSourceVersions(
|
|
3023
|
+
// NOSONAR - SAP feed-order selection is inherently branch-heavy; will be refactored in follow-up
|
|
3024
|
+
versions: readonly SourceVersionRef[], scopeTransportNumbers: readonly string[], deleted?: boolean): TransportSourceVersionSelection;
|
|
3025
|
+
/**
|
|
3026
|
+
* List immutable source-version metadata for every discovered object component.
|
|
3027
|
+
* Source bodies remain lazy and are never read by this operation.
|
|
3028
|
+
*/
|
|
3029
|
+
declare function listObjectSourceVersions(objectName: string, objectType: string, options?: ListObjectSourceVersionsOptions, ctx?: AdkContext): Promise<ObjectSourceVersionsResult>;
|
|
3030
|
+
/**
|
|
3031
|
+
* Resolve transport objects and produce immutable source-history references.
|
|
3032
|
+
* Source bodies remain lazy and are never read while building the manifest.
|
|
3033
|
+
*/
|
|
3034
|
+
declare function buildTransportSourceManifest(requestedTransports: string[], options?: BuildTransportSourceManifestOptions, ctx?: AdkContext): Promise<TransportSourceManifest>;
|
|
3035
|
+
//#endregion
|
|
2595
3036
|
//#region src/factory.d.ts
|
|
2596
3037
|
/**
|
|
2597
3038
|
* Extract ADT type and name from XML
|
|
@@ -2717,8 +3158,19 @@ declare function createAdkFactory(ctx: AdkContext): AdkFactory;
|
|
|
2717
3158
|
declare function createAdk(client: AdtClient$1): AdkFactory;
|
|
2718
3159
|
//#endregion
|
|
2719
3160
|
//#region src/base/registry.d.ts
|
|
3161
|
+
/**
|
|
3162
|
+
* Minimal contract for any object that can be registered.
|
|
3163
|
+
*
|
|
3164
|
+
* Both `AdkObject` subclasses and lightweight source-only CDS/RAP objects
|
|
3165
|
+
* (which do not extend `AdkObject`) satisfy this interface, allowing the
|
|
3166
|
+
* registry to store constructors for both without `as any` casts.
|
|
3167
|
+
*/
|
|
3168
|
+
interface AdkRegistrable {
|
|
3169
|
+
readonly name: string;
|
|
3170
|
+
readonly kind: AdkKind;
|
|
3171
|
+
}
|
|
2720
3172
|
/** Constructor signature for ADK objects */
|
|
2721
|
-
type AdkObjectConstructor<T extends
|
|
3173
|
+
type AdkObjectConstructor<T extends AdkRegistrable = AdkRegistrable> = new (ctx: AdkContext, nameOrData: string | Record<string, unknown>) => T;
|
|
2722
3174
|
/** How to transform object name for the URI path segment */
|
|
2723
3175
|
type NameTransform = 'lowercase' | 'preserve';
|
|
2724
3176
|
/** Registry entry with constructor and kind */
|
|
@@ -2895,5 +3347,5 @@ declare const ADT_TYPE_MAPPINGS: {
|
|
|
2895
3347
|
readonly ENHS: "EnhancementSpot";
|
|
2896
3348
|
};
|
|
2897
3349
|
//#endregion
|
|
2898
|
-
export { ADT_TYPE_MAPPINGS, type AbapClass, type AbapFunctionGroup, type AbapFunctionModule, type AbapInclude, type AbapInterface, type AbapObject, type AbapPackage, type AbapProgram, type ActivationResult, AdkBadi, AdkBehaviorDefinition, AdkClass, type AdkContext, type AdkContract, AdkDataElement, AdkDclSource, AdkDdlSource, AdkDomain, type AdkFactory, AdkFunctionGroup, AdkFunctionModule, AdkGenericObject, AdkInclude, AdkInterface, AdkKind, AdkMainObject, type AdkMainObjectData, AdkObject, type AdkObjectData,
|
|
3350
|
+
export { ADT_TYPE_MAPPINGS, type AbapClass, type AbapFunctionGroup, type AbapFunctionModule, type AbapInclude, type AbapInterface, type AbapObject, type AbapPackage, type AbapProgram, type ActivationResult, AdkBadi, AdkBehaviorDefinition, AdkCdsAspect, AdkCdsType, AdkClass, AdkClassicBadiDefinition, AdkClassicBadiImplementation, type AdkContext, type AdkContract, AdkDataElement, AdkDclSource, AdkDdlExtension, AdkDdlSource, AdkDomain, AdkDynamicCache, AdkEntityBuffer, AdkExternalSchema, type AdkFactory, AdkFunctionGroup, AdkFunctionModule, AdkGenericObject, AdkInclude, AdkInterface, AdkKind, AdkMainObject, type AdkMainObjectData, AdkObject, type AdkObjectData, AdkObjectForKind, AdkObjectSet, AdkPackage, AdkPostCreateLockError, AdkProgram, AdkScalarFunctionDefinition, AdkScalarFunctionImplementation, AdkServiceBinding, AdkServiceDefinition, AdkStaticCache, AdkStructure, AdkTable, AdkTableType, AdkTransport, AdkTransportRequest as AdkTransportItem, AdkTransportRequest, AdkTransportObject, AdkTransportObjectRef, AdkTransportTask, AdkTransportTaskRef, AdkTuningIndex, type AdtClient, type AdtContracts, type AdtObjectReference, type ApplicationComponent, type AtomLink, BehaviorDefinition, type BuildTransportSourceManifestOptions, type BulkActivateOptions, type BulkSaveOptions, type BulkSaveResult, CdsAspect, CdsType, Class, type ClassCategory, type ClassInclude, type ClassIncludeType, type ClassResponse, type ClassVisibility, type ClassXml, DataElement, type DataElementResponse, type DataElementXml, DclSource, DdlExtension, DdlSource, Domain, type DomainResponse, type DomainXml, DynamicCache, EnhancementSpot, EntityBuffer, ExternalSchema, FunctionGroup, type FunctionGroupResponse, type FunctionGroupXml, FunctionModule, type FunctionModuleResponse, type FunctionModuleXml, Include, type IncludeResponse, type IncludeXml, Interface, type InterfaceResponse, type InterfaceXml, type ListObjectSourceVersionsOptions, type LockEntry, type LockHandle, type LockRegistry, type LockService, type LockStore, MergedTransportView, MessageClass, type NameTransform, type ObjectReference, ObjectSourceHistoryError, type ObjectSourceHistoryErrorCode, type ObjectSourceHistoryIdentity, type ObjectSourceVersionsComponent, type ObjectSourceVersionsResult, Package, type PackageAttributes, type PackageResponse, type PackageType, type PackageXml, Program, type ProgramResponse, type ProgramXml, type RegisterObjectTypeOptions, type ReleaseResult, type ResolvedTransportObjects, type SaveOptions, ScalarFunctionDefinition, ScalarFunctionImplementation, ServiceBinding, ServiceDefinition, type SoftwareComponent, type SourceHistoryDiagnostic, type SourceHistoryDiagnosticCode, StaticCache, Structure, Table, TableType, type TableTypeResponse, type TableTypeXml, type TableXml, type TransportConfig, type TransportCreateOptions, type TransportData, type TransportGetResponse, type TransportGetResponse as TransportResponse, type TransportLayer, type TransportObject, type TransportObjectData, type TransportObjectSelector, TransportRequest, type TransportRequestData, type TransportSourceChangeKind, type TransportSourceDiagnostic, type TransportSourceManifest, type TransportSourceManifestComponent, type TransportSourceManifestEntry, type TransportSourceManifestObject, type TransportSourceVersionSelection, type TransportStatus, TransportTask, type TransportTaskData, type TransportType, type TransportUpdateOptions, TuningIndex, buildTransportSourceManifest, clearConfigCache, createAdk, createAdkContract, createAdkFactory, createLockService, getEndpointForType, getGlobalContext, getKindForType, getMainType, getObjectRootUri, getObjectUri, getRegisteredKinds, getRegisteredTypes, getTypeForKind, initializeAdk, isAdkInitialized, isTypeRegistered, listObjectSourceVersions, matchesSelector, normalizeObjectName, parseAdtType, parseXmlIdentity, registerObjectType, resetAdk, resolveKind, resolveTransportObjects, resolveType, selectTransportSourceVersions, tryGetGlobalContext };
|
|
2899
3351
|
//# sourceMappingURL=index.d.mts.map
|