@abapify/adt-plugin-abapgit 0.4.15 → 0.4.18
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 +0 -14
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +299 -598
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -2,10 +2,7 @@ import { AbapObjectType, AdtPlugin, AdtPlugin as AdtPlugin$1, ExportContext, Exp
|
|
|
2
2
|
import { AdkObject } from "@abapify/adk";
|
|
3
3
|
import { SchemaLike, TypedSchema } from "@abapify/ts-xsd";
|
|
4
4
|
import { adtUriToAbapGitPath, createAbapGitResolver as createFindingResolver } from "@abapify/adt-atc";
|
|
5
|
-
//#region src/lib/format-plugin.d.ts
|
|
6
5
|
declare const abapgitFormatPlugin: FormatPlugin;
|
|
7
|
-
//#endregion
|
|
8
|
-
//#region src/lib/folder-logic.d.ts
|
|
9
6
|
/**
|
|
10
7
|
* abapGit Folder Logic
|
|
11
8
|
*
|
|
@@ -50,16 +47,12 @@ declare function resolvePackageFromDir(dirPath: string, folderLogic: FolderLogic
|
|
|
50
47
|
* @returns Root package name, or undefined if it cannot be derived
|
|
51
48
|
*/
|
|
52
49
|
declare function reverseResolveRootPackage(sapPackage: string, relDir: string, folderLogic: FolderLogic): string | undefined;
|
|
53
|
-
//#endregion
|
|
54
|
-
//#region src/lib/abapgit.d.ts
|
|
55
50
|
/**
|
|
56
51
|
* abapGit Plugin
|
|
57
52
|
*
|
|
58
53
|
* Provides import/export of ADK objects to abapGit repository format.
|
|
59
54
|
*/
|
|
60
55
|
declare const abapGitPlugin: AdtPlugin$1;
|
|
61
|
-
//#endregion
|
|
62
|
-
//#region src/lib/handlers/abapgit-schema.d.ts
|
|
63
56
|
/**
|
|
64
57
|
* AbapGit schema instance with both full type and values type
|
|
65
58
|
*
|
|
@@ -73,8 +66,6 @@ interface AbapGitSchema<TFull, TValues, S extends SchemaLike = SchemaLike> exten
|
|
|
73
66
|
}
|
|
74
67
|
/** Extract the values type from an AbapGitSchema */
|
|
75
68
|
type InferValuesType<S> = S extends AbapGitSchema<unknown, infer V> ? V : unknown;
|
|
76
|
-
//#endregion
|
|
77
|
-
//#region src/lib/handlers/base.d.ts
|
|
78
69
|
/**
|
|
79
70
|
* Extract the data type (D) from an AdkObject<K, D>
|
|
80
71
|
* This allows us to infer the payload type from the ADK class itself
|
|
@@ -153,8 +144,6 @@ declare function isSupported(type: AbapObjectType$1): boolean;
|
|
|
153
144
|
* Get all supported object types
|
|
154
145
|
*/
|
|
155
146
|
declare function getSupportedTypes(): AbapObjectType$1[];
|
|
156
|
-
//#endregion
|
|
157
|
-
//#region src/lib/filename-parser.d.ts
|
|
158
147
|
/**
|
|
159
148
|
* abapGit filename parsing utilities.
|
|
160
149
|
*
|
|
@@ -181,8 +170,6 @@ declare function parseAbapGitFilename(filename: string): {
|
|
|
181
170
|
suffix?: string;
|
|
182
171
|
extension: string;
|
|
183
172
|
} | null;
|
|
184
|
-
//#endregion
|
|
185
|
-
//#region src/lib/handlers/xml-format.d.ts
|
|
186
173
|
/**
|
|
187
174
|
* XML formatting utilities for abapGit serialization.
|
|
188
175
|
*
|
|
@@ -219,6 +206,5 @@ declare function moveNamespaceToAbap(xml: string): string;
|
|
|
219
206
|
* 2. Move xmlns:asx to asx:abap element
|
|
220
207
|
*/
|
|
221
208
|
declare function formatAbapGitXml(xml: string): string;
|
|
222
|
-
//#endregion
|
|
223
209
|
export { abapGitPlugin as AbapGitPlugin, abapGitPlugin, abapGitPlugin as default, type AbapObjectType, type AdtPlugin, type ExportContext, type ExportResult, type FolderLogic, type FormatMaterializationInput, type FormatMaterializationResult, type ImportContext, type ImportResult, type MaterializedFormatFile, type ObjectHandler, type SerializedFile, abapgitFormatPlugin, adtUriToAbapGitPath, createFindingResolver, formatAbapGitXml, formatXmlAttributes, getHandler, getSupportedTypes, isSupported, moveNamespaceToAbap, parseAbapGitFilename, parseAbapGitMetadata, resolvePackageFromDir, reverseResolveRootPackage };
|
|
224
210
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/lib/format-plugin.ts","../src/lib/folder-logic.ts","../src/lib/abapgit.ts","../src/lib/handlers/abapgit-schema.ts","../src/lib/handlers/base.ts","../src/lib/filename-parser.ts","../src/lib/handlers/xml-format.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":["AdtPlugin","AbapObjectType"],"sources":["../src/lib/format-plugin.ts","../src/lib/folder-logic.ts","../src/lib/abapgit.ts","../src/lib/handlers/abapgit-schema.ts","../src/lib/handlers/base.ts","../src/lib/filename-parser.ts","../src/lib/handlers/xml-format.ts"],"mappings":";;;;cAgGa,qBAAqB;;;;;;;;;KCvFtB;;;;iBA6CI,qBAAqB;EACnC,aAAa;EACb;;;;;;;;;;;;;;;;iBAsBc,sBACd,iBACA,aAAa,aACb;;;;;;;;;;;;;iBA2Cc,0BACd,oBACA,gBACA,aAAa;;;;;;cCwBF,eAAeA;;;;;;;;UClIX,cACf,OACA,SACA,UAAU,aAAa,oBACf,YAAY,OAAO;;WAElB,SAAS;;;KA2CR,gBAAgB,KAC1B,UAAU,6BAA6B,KAAK;;;;;KC/ClC,aAAa,KACvB,UAAU,gBAAgB,UAAU,KAAK;;;;KAsB/BC;;;;UAKK;;EAEf;;EAEA;;EAEA,WAAW;;;;;;;;UASI,cACf,UAAU,YAAY,WACtB,gBAAgB,kCAAkC;;WAMzC,MAAMA;;WAEN;;WAEA,QAAQ;;WAER,oBAAoB;;WAEpB;;EAET,UACE,QAAQ,GACR,UAAU,yBACT,QAAQ;;;;;EAKX,aACE,QAAQ,gBAAgB,WACvB,QAAQ,aAAa;IAAQ;;;;;;;EAOhC,aAAa,MAAM,0BAA0B,QAAQ,aAAa;IAChE;;;;;;EAOF,YAAY,QAAQ,GAAG,SAAS;;;;;;;;;iBAyBlB,WAAW,MAAMA,mBAAiB;;;;;;iBASlC,YAAY,MAAMA;;;;iBAOlB,qBAAqBA;;;;;;;;;;;;;;;;;;;;;iBCjIrB,qBAAqB;EACnC;EACA;EACA;EACA;;;;;;;;;;;;;;;;;;;;;;;;iBC+Bc,oBAAoB;;;;;;;iBA8DpB,oBAAoB;;;;;;iBA8BpB,iBAAiB"}
|