@abaplint/runtime 2.7.89 → 2.7.90
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/LICENSE +21 -0
- package/build/src/statements/read_table.js +4 -3
- package/package.json +1 -1
- package/build/src/abap_regex.d.ts +0 -4
- package/build/src/binary_search.d.ts +0 -7
- package/build/src/builtin/abs.d.ts +0 -5
- package/build/src/builtin/boolc.d.ts +0 -4
- package/build/src/builtin/ceil.d.ts +0 -5
- package/build/src/builtin/concat_lines_of.d.ts +0 -7
- package/build/src/builtin/condense.d.ts +0 -9
- package/build/src/builtin/contains.d.ts +0 -15
- package/build/src/builtin/cos.d.ts +0 -5
- package/build/src/builtin/count.d.ts +0 -12
- package/build/src/builtin/count_any_of.d.ts +0 -8
- package/build/src/builtin/escape.d.ts +0 -7
- package/build/src/builtin/find.d.ts +0 -13
- package/build/src/builtin/floor.d.ts +0 -5
- package/build/src/builtin/frac.d.ts +0 -6
- package/build/src/builtin/index.d.ts +0 -54
- package/build/src/builtin/insert.d.ts +0 -9
- package/build/src/builtin/ipow.d.ts +0 -6
- package/build/src/builtin/lines.d.ts +0 -4
- package/build/src/builtin/match.d.ts +0 -5
- package/build/src/builtin/matches.d.ts +0 -6
- package/build/src/builtin/nmax.d.ts +0 -14
- package/build/src/builtin/nmin.d.ts +0 -14
- package/build/src/builtin/numofchar.d.ts +0 -5
- package/build/src/builtin/repeat.d.ts +0 -6
- package/build/src/builtin/replace.d.ts +0 -13
- package/build/src/builtin/reverse.d.ts +0 -5
- package/build/src/builtin/round.d.ts +0 -8
- package/build/src/builtin/segment.d.ts +0 -8
- package/build/src/builtin/shift_left.d.ts +0 -9
- package/build/src/builtin/shift_right.d.ts +0 -9
- package/build/src/builtin/sign.d.ts +0 -5
- package/build/src/builtin/sin.d.ts +0 -5
- package/build/src/builtin/sqrt.d.ts +0 -5
- package/build/src/builtin/strlen.d.ts +0 -5
- package/build/src/builtin/substring.d.ts +0 -8
- package/build/src/builtin/substring_after.d.ts +0 -6
- package/build/src/builtin/substring_before.d.ts +0 -6
- package/build/src/builtin/sy.d.ts +0 -2
- package/build/src/builtin/tan.d.ts +0 -5
- package/build/src/builtin/to_lower.d.ts +0 -4
- package/build/src/builtin/to_mixed.d.ts +0 -9
- package/build/src/builtin/to_upper.d.ts +0 -4
- package/build/src/builtin/translate.d.ts +0 -6
- package/build/src/builtin/trunc.d.ts +0 -5
- package/build/src/builtin/xstrlen.d.ts +0 -5
- package/build/src/classic_error.d.ts +0 -6
- package/build/src/clone.d.ts +0 -1
- package/build/src/compare/assigned.d.ts +0 -2
- package/build/src/compare/between.d.ts +0 -2
- package/build/src/compare/ca.d.ts +0 -4
- package/build/src/compare/cn.d.ts +0 -3
- package/build/src/compare/co.d.ts +0 -4
- package/build/src/compare/cp.d.ts +0 -4
- package/build/src/compare/cs.d.ts +0 -3
- package/build/src/compare/eq.d.ts +0 -4
- package/build/src/compare/ge.d.ts +0 -3
- package/build/src/compare/gt.d.ts +0 -4
- package/build/src/compare/in.d.ts +0 -4
- package/build/src/compare/index.d.ts +0 -22
- package/build/src/compare/initial.d.ts +0 -4
- package/build/src/compare/instance_of.d.ts +0 -2
- package/build/src/compare/le.d.ts +0 -3
- package/build/src/compare/lt.d.ts +0 -4
- package/build/src/compare/m.d.ts +0 -3
- package/build/src/compare/na.d.ts +0 -3
- package/build/src/compare/ne.d.ts +0 -3
- package/build/src/compare/np.d.ts +0 -3
- package/build/src/compare/ns.d.ts +0 -3
- package/build/src/compare/o.d.ts +0 -2
- package/build/src/compare/z.d.ts +0 -2
- package/build/src/console/console.d.ts +0 -7
- package/build/src/console/memory_console.d.ts +0 -9
- package/build/src/console/standard_out_console.d.ts +0 -9
- package/build/src/context.d.ts +0 -13
- package/build/src/db/db.d.ts +0 -55
- package/build/src/expand_dynamic.d.ts +0 -2
- package/build/src/expand_in.d.ts +0 -2
- package/build/src/index.d.ts +0 -67
- package/build/src/offset_length.d.ts +0 -16
- package/build/src/operators/_bit_operations.d.ts +0 -6
- package/build/src/operators/_parse.d.ts +0 -4
- package/build/src/operators/add.d.ts +0 -4
- package/build/src/operators/bit-and.d.ts +0 -2
- package/build/src/operators/bit-not.d.ts +0 -2
- package/build/src/operators/bit-or.d.ts +0 -2
- package/build/src/operators/bit-xor.d.ts +0 -2
- package/build/src/operators/concat.d.ts +0 -4
- package/build/src/operators/div.d.ts +0 -4
- package/build/src/operators/divide.d.ts +0 -4
- package/build/src/operators/index.d.ts +0 -12
- package/build/src/operators/minus.d.ts +0 -4
- package/build/src/operators/mod.d.ts +0 -4
- package/build/src/operators/multiply.d.ts +0 -4
- package/build/src/operators/power.d.ts +0 -4
- package/build/src/prefix.d.ts +0 -1
- package/build/src/rfc.d.ts +0 -25
- package/build/src/statements/append.d.ts +0 -13
- package/build/src/statements/assert.d.ts +0 -1
- package/build/src/statements/assign.d.ts +0 -12
- package/build/src/statements/call_function.d.ts +0 -16
- package/build/src/statements/call_transaction.d.ts +0 -1
- package/build/src/statements/cast.d.ts +0 -2
- package/build/src/statements/clear.d.ts +0 -4
- package/build/src/statements/collect.d.ts +0 -3
- package/build/src/statements/commit.d.ts +0 -1
- package/build/src/statements/concatenate.d.ts +0 -11
- package/build/src/statements/condense.d.ts +0 -4
- package/build/src/statements/convert.d.ts +0 -14
- package/build/src/statements/create_data.d.ts +0 -17
- package/build/src/statements/delete_database.d.ts +0 -13
- package/build/src/statements/delete_internal.d.ts +0 -12
- package/build/src/statements/describe.d.ts +0 -13
- package/build/src/statements/find.d.ts +0 -17
- package/build/src/statements/get_bit.d.ts +0 -4
- package/build/src/statements/get_locale.d.ts +0 -2
- package/build/src/statements/get_parameter.d.ts +0 -2
- package/build/src/statements/get_run_time.d.ts +0 -2
- package/build/src/statements/get_time.d.ts +0 -9
- package/build/src/statements/index.d.ts +0 -106
- package/build/src/statements/insert_database.d.ts +0 -13
- package/build/src/statements/insert_internal.d.ts +0 -14
- package/build/src/statements/loop.d.ts +0 -15
- package/build/src/statements/message.d.ts +0 -17
- package/build/src/statements/modify_database.d.ts +0 -12
- package/build/src/statements/modify_internal.d.ts +0 -9
- package/build/src/statements/move_corresponding.d.ts +0 -2
- package/build/src/statements/overlay.d.ts +0 -3
- package/build/src/statements/raise_event.d.ts +0 -1
- package/build/src/statements/read_report.d.ts +0 -8
- package/build/src/statements/read_table.d.ts +0 -27
- package/build/src/statements/receive.d.ts +0 -9
- package/build/src/statements/replace.d.ts +0 -14
- package/build/src/statements/rollback.d.ts +0 -1
- package/build/src/statements/select.d.ts +0 -8
- package/build/src/statements/set_bit.d.ts +0 -4
- package/build/src/statements/set_handler.d.ts +0 -3
- package/build/src/statements/set_locale.d.ts +0 -2
- package/build/src/statements/shift.d.ts +0 -12
- package/build/src/statements/sort.d.ts +0 -10
- package/build/src/statements/split.d.ts +0 -9
- package/build/src/statements/translate.d.ts +0 -2
- package/build/src/statements/update_database.d.ts +0 -14
- package/build/src/statements/wait.d.ts +0 -5
- package/build/src/statements/write.d.ts +0 -17
- package/build/src/template_formatting.d.ts +0 -14
- package/build/src/throw_error.d.ts +0 -1
- package/build/src/types/_abstract_type_data.d.ts +0 -5
- package/build/src/types/_character.d.ts +0 -11
- package/build/src/types/_date_helper.d.ts +0 -2
- package/build/src/types/_numeric.d.ts +0 -5
- package/build/src/types/abap_object.d.ts +0 -14
- package/build/src/types/character.d.ts +0 -27
- package/build/src/types/data_reference.d.ts +0 -29
- package/build/src/types/date.d.ts +0 -20
- package/build/src/types/decfloat34.d.ts +0 -11
- package/build/src/types/field_symbol.d.ts +0 -32
- package/build/src/types/float.d.ts +0 -15
- package/build/src/types/hex.d.ts +0 -20
- package/build/src/types/index.d.ts +0 -18
- package/build/src/types/integer.d.ts +0 -15
- package/build/src/types/integer8.d.ts +0 -16
- package/build/src/types/numc.d.ts +0 -21
- package/build/src/types/packed.d.ts +0 -19
- package/build/src/types/string.d.ts +0 -19
- package/build/src/types/structure.d.ts +0 -31
- package/build/src/types/table.d.ts +0 -114
- package/build/src/types/time.d.ts +0 -20
- package/build/src/types/utc_long.d.ts +0 -18
- package/build/src/types/xstring.d.ts +0 -18
- package/build/src/unit_test.d.ts +0 -26
package/build/src/compare/m.d.ts
DELETED
package/build/src/compare/o.d.ts
DELETED
package/build/src/compare/z.d.ts
DELETED
package/build/src/context.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Console } from "./console/console";
|
|
2
|
-
import { DatabaseClient } from "./db/db";
|
|
3
|
-
import * as RFC from "./rfc";
|
|
4
|
-
export declare class Context {
|
|
5
|
-
console: Console;
|
|
6
|
-
databaseConnections: {
|
|
7
|
-
[name: string]: DatabaseClient;
|
|
8
|
-
};
|
|
9
|
-
RFCDestinations: {
|
|
10
|
-
[name: string]: RFC.RFCClient;
|
|
11
|
-
};
|
|
12
|
-
defaultDB(): DatabaseClient;
|
|
13
|
-
}
|
package/build/src/db/db.d.ts
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
export interface DeleteDatabaseOptions {
|
|
2
|
-
table: string;
|
|
3
|
-
where: string;
|
|
4
|
-
}
|
|
5
|
-
export interface UpdateDatabaseOptions {
|
|
6
|
-
table: string;
|
|
7
|
-
where: string;
|
|
8
|
-
set: string[];
|
|
9
|
-
}
|
|
10
|
-
export interface InsertDatabaseOptions {
|
|
11
|
-
table: string;
|
|
12
|
-
columns: string[];
|
|
13
|
-
values: string[];
|
|
14
|
-
}
|
|
15
|
-
export interface SelectDatabaseOptions {
|
|
16
|
-
/** select statement, in ABAP SQL syntax */
|
|
17
|
-
select: string;
|
|
18
|
-
/** list of primary key fields, in lower case, if known */
|
|
19
|
-
primaryKey?: string[];
|
|
20
|
-
}
|
|
21
|
-
export interface SelectRuntimeOptions {
|
|
22
|
-
appending?: boolean;
|
|
23
|
-
}
|
|
24
|
-
export type DatabaseValue = number | string | Uint8Array | null;
|
|
25
|
-
export type DatabaseRow = {
|
|
26
|
-
[name: string]: DatabaseValue;
|
|
27
|
-
};
|
|
28
|
-
export type DatabaseRows = DatabaseRow[];
|
|
29
|
-
export interface SelectDatabaseResult {
|
|
30
|
-
rows: DatabaseRows;
|
|
31
|
-
}
|
|
32
|
-
export interface DatabaseClient {
|
|
33
|
-
/*** the type/name/identifier of the database */
|
|
34
|
-
name: string;
|
|
35
|
-
connect(): Promise<void>;
|
|
36
|
-
disconnect(): Promise<void>;
|
|
37
|
-
/*** execute any native SQL command */
|
|
38
|
-
execute(sql: string | string[]): Promise<void>;
|
|
39
|
-
beginTransaction(): Promise<void>;
|
|
40
|
-
commit(): Promise<void>;
|
|
41
|
-
rollback(): Promise<void>;
|
|
42
|
-
delete(options: DeleteDatabaseOptions): Promise<{
|
|
43
|
-
subrc: number;
|
|
44
|
-
dbcnt: number;
|
|
45
|
-
}>;
|
|
46
|
-
update(options: UpdateDatabaseOptions): Promise<{
|
|
47
|
-
subrc: number;
|
|
48
|
-
dbcnt: number;
|
|
49
|
-
}>;
|
|
50
|
-
insert(options: InsertDatabaseOptions): Promise<{
|
|
51
|
-
subrc: number;
|
|
52
|
-
dbcnt: number;
|
|
53
|
-
}>;
|
|
54
|
-
select(options: SelectDatabaseOptions): Promise<SelectDatabaseResult>;
|
|
55
|
-
}
|
package/build/src/expand_in.d.ts
DELETED
package/build/src/index.d.ts
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { Context } from "./context";
|
|
2
|
-
import { OffsetLength } from "./offset_length";
|
|
3
|
-
import { Statements } from "./statements";
|
|
4
|
-
import { templateFormatting } from "./template_formatting";
|
|
5
|
-
import { UnitTestResult } from "./unit_test";
|
|
6
|
-
import * as builtin from "./builtin";
|
|
7
|
-
import * as compare from "./compare";
|
|
8
|
-
import * as DB from "./db/db";
|
|
9
|
-
import * as operators from "./operators";
|
|
10
|
-
import * as RFC from "./rfc";
|
|
11
|
-
import * as types from "./types";
|
|
12
|
-
import { expandIN } from "./expand_in";
|
|
13
|
-
import { expandDynamic } from "./expand_dynamic";
|
|
14
|
-
import { ClassicError } from "./classic_error";
|
|
15
|
-
import { Console } from "./console/console";
|
|
16
|
-
import { MemoryConsole } from "./console/memory_console";
|
|
17
|
-
import { buildDbTableName } from "./prefix";
|
|
18
|
-
export { UnitTestResult, RFC, types, DB, MemoryConsole };
|
|
19
|
-
export type RuntimeDatabaseOptions = {
|
|
20
|
-
schemaPrefix?: string;
|
|
21
|
-
tablePrefix?: string;
|
|
22
|
-
};
|
|
23
|
-
export type RuntimeOptions = {
|
|
24
|
-
console?: Console;
|
|
25
|
-
database?: RuntimeDatabaseOptions;
|
|
26
|
-
};
|
|
27
|
-
export declare class ABAP {
|
|
28
|
-
Classes: {
|
|
29
|
-
[name: string]: any;
|
|
30
|
-
};
|
|
31
|
-
DDIC: {
|
|
32
|
-
[name: string]: any;
|
|
33
|
-
};
|
|
34
|
-
FunctionModules: {
|
|
35
|
-
[name: string]: any;
|
|
36
|
-
};
|
|
37
|
-
Interfaces: {
|
|
38
|
-
[name: string]: any;
|
|
39
|
-
};
|
|
40
|
-
MSAG: {
|
|
41
|
-
[name: string]: any;
|
|
42
|
-
};
|
|
43
|
-
SMIM: {
|
|
44
|
-
[name: string]: any;
|
|
45
|
-
};
|
|
46
|
-
TypePools: {
|
|
47
|
-
[name: string]: any;
|
|
48
|
-
};
|
|
49
|
-
W3MI: {
|
|
50
|
-
[name: string]: any;
|
|
51
|
-
};
|
|
52
|
-
statements: Statements;
|
|
53
|
-
types: typeof types;
|
|
54
|
-
builtin: typeof builtin;
|
|
55
|
-
operators: typeof operators;
|
|
56
|
-
compare: typeof compare;
|
|
57
|
-
readonly console: Console;
|
|
58
|
-
OffsetLength: typeof OffsetLength;
|
|
59
|
-
templateFormatting: typeof templateFormatting;
|
|
60
|
-
expandIN: typeof expandIN;
|
|
61
|
-
expandDynamic: typeof expandDynamic;
|
|
62
|
-
buildDbTableName: typeof buildDbTableName;
|
|
63
|
-
ClassicError: typeof ClassicError;
|
|
64
|
-
readonly context: Context;
|
|
65
|
-
readonly dbo: RuntimeDatabaseOptions;
|
|
66
|
-
constructor(input?: RuntimeOptions);
|
|
67
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Character, Hex, Structure, XString } from "./types";
|
|
2
|
-
import { ICharacter } from "./types/_character";
|
|
3
|
-
import { INumeric } from "./types/_numeric";
|
|
4
|
-
export interface IOffsetLengthOptions {
|
|
5
|
-
length?: INumeric | number;
|
|
6
|
-
offset?: INumeric | number;
|
|
7
|
-
}
|
|
8
|
-
export declare class OffsetLength {
|
|
9
|
-
private readonly obj;
|
|
10
|
-
private readonly offset?;
|
|
11
|
-
private readonly length?;
|
|
12
|
-
private readonly isHex;
|
|
13
|
-
constructor(obj: ICharacter | Character | Hex | XString | Structure, options: IOffsetLengthOptions);
|
|
14
|
-
get(): string;
|
|
15
|
-
set(value: ICharacter | string): void;
|
|
16
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { FieldSymbol, Float, Hex, Integer } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export declare function add(left: INumeric | ICharacter | string | number | Float | Integer | Hex | FieldSymbol, right: INumeric | ICharacter | string | number | Float | Integer | Hex | FieldSymbol): Integer | Float;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { String } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export declare function concat(left: INumeric | ICharacter | string | number | any[], right: INumeric | ICharacter | string | number): String;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Integer, Integer8 } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export declare function div(left: INumeric | ICharacter | string | number, right: INumeric | ICharacter | string | number): Integer | Integer8;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export * from "./add";
|
|
2
|
-
export * from "./div";
|
|
3
|
-
export * from "./divide";
|
|
4
|
-
export * from "./minus";
|
|
5
|
-
export * from "./mod";
|
|
6
|
-
export * from "./multiply";
|
|
7
|
-
export * from "./power";
|
|
8
|
-
export * from "./bit-and";
|
|
9
|
-
export * from "./bit-not";
|
|
10
|
-
export * from "./bit-or";
|
|
11
|
-
export * from "./bit-xor";
|
|
12
|
-
export * from "./concat";
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { FieldSymbol, Float, Integer } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export declare function minus(left: INumeric | ICharacter | string | number | Integer | Float | FieldSymbol, right: INumeric | ICharacter | string | number | Integer | Float | FieldSymbol): Integer | Float;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Integer, Integer8 } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export declare function mod(left: INumeric | ICharacter | string | number, right: INumeric | ICharacter | string | number): Integer | Integer8;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Float, Integer } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export declare function multiply(left: INumeric | ICharacter | string | number, right: INumeric | ICharacter | string | number): Float | Integer;
|
package/build/src/prefix.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function buildDbTableName(table: string): string;
|
package/build/src/rfc.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { FieldSymbol, Structure, Table } from "./types";
|
|
2
|
-
import { ICharacter } from "./types/_character";
|
|
3
|
-
import { INumeric } from "./types/_numeric";
|
|
4
|
-
type TypeType = INumeric | Table | ICharacter | Structure | FieldSymbol;
|
|
5
|
-
export type RFCCallSignature = {
|
|
6
|
-
exporting?: {
|
|
7
|
-
[name: string]: TypeType;
|
|
8
|
-
};
|
|
9
|
-
importing?: {
|
|
10
|
-
[name: string]: TypeType;
|
|
11
|
-
};
|
|
12
|
-
tables?: {
|
|
13
|
-
[name: string]: TypeType;
|
|
14
|
-
};
|
|
15
|
-
changing?: {
|
|
16
|
-
[name: string]: TypeType;
|
|
17
|
-
};
|
|
18
|
-
exceptions?: {
|
|
19
|
-
[name: string]: number;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export interface RFCClient {
|
|
23
|
-
call(name: string, signature: RFCCallSignature): Promise<void>;
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DataReference, FieldSymbol, Table, TableRowType } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export interface IAppendOptions {
|
|
5
|
-
source: TableRowType | FieldSymbol | Table;
|
|
6
|
-
target: Table | FieldSymbol | undefined;
|
|
7
|
-
lines?: boolean;
|
|
8
|
-
assigning?: FieldSymbol;
|
|
9
|
-
referenceInto?: DataReference;
|
|
10
|
-
from?: ICharacter | INumeric;
|
|
11
|
-
to?: ICharacter | INumeric;
|
|
12
|
-
}
|
|
13
|
-
export declare function append(input: IAppendOptions): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function assert(input: boolean): void;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { DataReference, FieldSymbol, Structure, Table } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export interface IAssignInput {
|
|
5
|
-
source?: INumeric | ICharacter | Table | Structure | DataReference;
|
|
6
|
-
target: FieldSymbol;
|
|
7
|
-
dynamicName?: string;
|
|
8
|
-
dynamicSource?: ICharacter;
|
|
9
|
-
casting?: boolean;
|
|
10
|
-
component?: string | ICharacter;
|
|
11
|
-
}
|
|
12
|
-
export declare function assign(input: IAssignInput): void;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Context } from "../context";
|
|
2
|
-
export interface ICallFunctionOptions {
|
|
3
|
-
name: string;
|
|
4
|
-
destination?: string;
|
|
5
|
-
calling?: (INPUT: any) => any;
|
|
6
|
-
exporting?: any;
|
|
7
|
-
importing?: any;
|
|
8
|
-
tables?: any;
|
|
9
|
-
changing?: any;
|
|
10
|
-
exceptions?: any;
|
|
11
|
-
}
|
|
12
|
-
export declare class CallFunction {
|
|
13
|
-
private readonly context;
|
|
14
|
-
constructor(context: Context);
|
|
15
|
-
callFunction(options: ICallFunctionOptions): Promise<void>;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function callTransaction(): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function commit(): void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { INumeric } from "../types/_numeric";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { Table } from "../types";
|
|
4
|
-
export interface IConcatenateInput {
|
|
5
|
-
source: (number | string | INumeric | ICharacter | Table)[];
|
|
6
|
-
target: ICharacter;
|
|
7
|
-
separatedBy?: number | string | INumeric | ICharacter;
|
|
8
|
-
respectingBlanks?: boolean;
|
|
9
|
-
lines?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare function concatenate(input: IConcatenateInput): void;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ICharacter } from "../types/_character";
|
|
2
|
-
import { INumeric } from "../types/_numeric";
|
|
3
|
-
export interface IConvertSource {
|
|
4
|
-
date?: ICharacter | string;
|
|
5
|
-
time?: ICharacter | string;
|
|
6
|
-
stamp?: ICharacter | INumeric | string;
|
|
7
|
-
zone: ICharacter | string;
|
|
8
|
-
}
|
|
9
|
-
export interface IConvertTarget {
|
|
10
|
-
stamp?: ICharacter;
|
|
11
|
-
date?: ICharacter;
|
|
12
|
-
time?: ICharacter;
|
|
13
|
-
}
|
|
14
|
-
export declare function convert(source: IConvertSource, target: IConvertTarget): void;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ABAPObject, DataReference, FieldSymbol, Structure, Table } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { INumeric } from "../types/_numeric";
|
|
4
|
-
type PointerType = INumeric | Table | ICharacter | ABAPObject | undefined | Structure | FieldSymbol;
|
|
5
|
-
export interface ICreateDataOptions {
|
|
6
|
-
table?: boolean;
|
|
7
|
-
name?: string;
|
|
8
|
-
type?: PointerType;
|
|
9
|
-
typeName?: string;
|
|
10
|
-
length?: INumeric;
|
|
11
|
-
decimals?: INumeric;
|
|
12
|
-
likeLineOf?: FieldSymbol | Table;
|
|
13
|
-
typeLineOf?: boolean;
|
|
14
|
-
like?: any;
|
|
15
|
-
}
|
|
16
|
-
export declare function createData(target: DataReference | FieldSymbol, options?: ICreateDataOptions): void;
|
|
17
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Context } from "../context";
|
|
2
|
-
import { FieldSymbol, Structure, Table } from "../types";
|
|
3
|
-
import { ICharacter } from "../types/_character";
|
|
4
|
-
export interface IDeleteDatabaseOptions {
|
|
5
|
-
from?: Structure | FieldSymbol;
|
|
6
|
-
where?: string;
|
|
7
|
-
table?: Table | FieldSymbol;
|
|
8
|
-
}
|
|
9
|
-
export declare class DeleteDatabase {
|
|
10
|
-
private readonly context;
|
|
11
|
-
constructor(context: Context);
|
|
12
|
-
deleteDatabase(table: string | ICharacter, options: IDeleteDatabaseOptions): Promise<void>;
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FieldSymbol, HashedTable, Table } from "../types";
|
|
2
|
-
import { INumeric } from "../types/_numeric";
|
|
3
|
-
export interface IDeleteInternalOptions {
|
|
4
|
-
where?: (i: any) => boolean;
|
|
5
|
-
index?: INumeric;
|
|
6
|
-
adjacent?: boolean;
|
|
7
|
-
comparing?: string[];
|
|
8
|
-
fromValue?: any;
|
|
9
|
-
from?: any;
|
|
10
|
-
to?: any;
|
|
11
|
-
}
|
|
12
|
-
export declare function deleteInternal(target: Table | HashedTable | FieldSymbol, options?: IDeleteInternalOptions): Promise<void>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Table } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export interface IDescribeOptions {
|
|
5
|
-
field: any;
|
|
6
|
-
type?: ICharacter;
|
|
7
|
-
length?: INumeric;
|
|
8
|
-
decimals?: INumeric;
|
|
9
|
-
lines?: INumeric;
|
|
10
|
-
table?: Table;
|
|
11
|
-
mode?: "BYTE" | "CHARACTER";
|
|
12
|
-
}
|
|
13
|
-
export declare function describe(input: IDescribeOptions): void;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ABAPObject, Structure, Table } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export interface IFindOptions {
|
|
5
|
-
find?: ICharacter | string;
|
|
6
|
-
first?: boolean;
|
|
7
|
-
regex?: string | ICharacter | ABAPObject;
|
|
8
|
-
offset?: INumeric;
|
|
9
|
-
sectionOffset?: INumeric;
|
|
10
|
-
byteMode?: boolean;
|
|
11
|
-
length?: INumeric;
|
|
12
|
-
count?: INumeric;
|
|
13
|
-
results?: Table | Structure;
|
|
14
|
-
ignoringCase?: boolean;
|
|
15
|
-
submatches?: ICharacter[];
|
|
16
|
-
}
|
|
17
|
-
export declare function find(input: ICharacter | Table, options: IFindOptions): void;
|