Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions types/nginstack__datasource/lib/DataSourceFieldDef.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,13 @@ declare class DataSourceFieldDef {
onlyVisible: boolean;
onlyIncludedFieldNames: boolean;
};
displayFormat:
| DateFormat
| LatitudeFormat
| LongitudeFormat
| AngleFormat
| string
| number
| null;
displayFormat: DateFormat | LatitudeFormat | LongitudeFormat | AngleFormat | NumberFormat;
}
declare namespace DataSourceFieldDef {
export { AngleFormat, DateFormat, LatitudeFormat, LongitudeFormat };
export { AngleFormat, DateFormat, LatitudeFormat, LongitudeFormat, NumberFormat };
}
type DateFormat = typeof import("@nginstack/engine/lib/date/DateFormat");
type LatitudeFormat = typeof import("@nginstack/engine/lib/geo/LatitudeFormat");
type LongitudeFormat = typeof import("@nginstack/engine/lib/geo/LongitudeFormat");
type AngleFormat = typeof import("@nginstack/engine/lib/geo/AngleFormat");
type NumberFormat = typeof import("@nginstack/engine/lib/number/NumberFormat");
9 changes: 5 additions & 4 deletions types/nginstack__datasource/lib/DataSourceFilter.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ declare class DataSourceFilter {
classKey: number;
lookupType: number;
displayFormat:
| typeof import("@nginstack/engine/lib/date/DateFormat.js")
| typeof import("@nginstack/engine/lib/geo/LatitudeFormat.js")
| typeof import("@nginstack/engine/lib/geo/LongitudeFormat.js")
| typeof import("@nginstack/engine/lib/geo/AngleFormat.js");
| import("@nginstack/engine/lib/date/DateFormat.js").DateFormatType
| import("@nginstack/engine/lib/geo/LatitudeFormat.js").LatitudeFormatType
| import("@nginstack/engine/lib/geo/LongitudeFormat.js").LongitudeFormatType
| import("@nginstack/engine/lib/geo/AngleFormat.js").AngleFormatType
| import("@nginstack/engine/lib/number/NumberFormat.js").NumberFormatType;
stringIfTrue: string;
}
declare namespace DataSourceFilter {
Expand Down
2 changes: 1 addition & 1 deletion types/nginstack__datasource/nginstack__datasource-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ datasource.createColumns(columnDefs); // $ExpectType DataSourceColumns
datasource.getDataSet(filters, columns); // $ExpectType DataSet

function getVersion(): string {
return "72.0.5";
return "81.0.1";
}
getVersion(); // $ExpectType string
4 changes: 2 additions & 2 deletions types/nginstack__datasource/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"private": true,
"name": "@types/nginstack__datasource",
"version": "72.0.9999",
"version": "81.0.9999",
"projects": [
"https://dev.azure.com/nginstack/nginstack"
"https://github.com/nginstack/nginstack"
],
"dependencies": {
"@types/nginstack__engine": "*",
Expand Down
2 changes: 1 addition & 1 deletion types/nginstack__dev-tools/nginstack__dev-tools-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ QueryAnalyzer.getTxtExecutionPlan("query", { disableHeader: true }); // $ExpectT
QueryAnalyzer.getHtmlExecutionPlan("query", { disableHeader: true }); // $ExpectType string

function getVersion(): string {
return "72.0.1";
return "81.0.1";
}
getVersion(); // $ExpectType string
4 changes: 2 additions & 2 deletions types/nginstack__dev-tools/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"private": true,
"name": "@types/nginstack__dev-tools",
"version": "72.0.9999",
"version": "81.0.9999",
"projects": [
"https://dev.azure.com/nginstack/nginstack"
"https://github.com/nginstack/nginstack"
],
"dependencies": {
"@types/nginstack__engine": "*",
Expand Down
2 changes: 1 addition & 1 deletion types/nginstack__devops/lib/update/UpdateOptions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ declare class UpdateOptions {
emailSubject: string;
trackingId: string;
validate(): void;
private tryLoginByAuthToken_;
private loginByAuthToken_;
private authorize_;
private formatReferrer_;
private newDatabase_;
Expand Down
2 changes: 1 addition & 1 deletion types/nginstack__devops/nginstack__devops-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ script.fail(new Error("*")); // $ExpectType void
script.copyChildrenViewPermissions(-1); // $ExpectType number

function getVersion(): string {
return "72.0.14";
return "81.0.1";
}
getVersion(); // $ExpectType string
4 changes: 2 additions & 2 deletions types/nginstack__devops/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"private": true,
"name": "@types/nginstack__devops",
"version": "72.0.9999",
"version": "81.0.9999",
"projects": [
"https://dev.azure.com/nginstack/nginstack"
"https://github.com/nginstack/nginstack"
],
"dependencies": {
"@types/nginstack__datasource": "*",
Expand Down
14 changes: 11 additions & 3 deletions types/nginstack__engine/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,16 @@
/// <reference path="lib/classdef/SourceType.d.ts" />
/// <reference path="lib/classdef/StrictModeEvaluator.d.ts" />
/// <reference path="lib/classdef/TableCacheStrategy.d.ts" />
/// <reference path="lib/classdef/ValidationType.d.ts" />
/// <reference path="lib/cloud/getStorageServiceFromLobClass.d.ts" />
/// <reference path="lib/cloud/ObjectStorage.d.ts" />
/// <reference path="lib/cluster/EngineCluster.d.ts" />
/// <reference path="lib/compiler/ijs/JSScanner.d.ts" />
/// <reference path="lib/compiler/ijs/JSSpecialWord.d.ts" />
/// <reference path="lib/compiler/ijs/JSTokenType.d.ts" />
/// <reference path="lib/compiler/ijs/JSTokenWord.d.ts" />
/// <reference path="lib/compress/GzipFile.d.ts" />
/// <reference path="lib/compress/ImageCompressor.d.ts" />
/// <reference path="lib/compress/ImageCompressorProfile.d.ts" />
/// <reference path="lib/compress/jsmin.d.ts" />
/// <reference path="lib/compress/ZipFile.d.ts" />
/// <reference path="lib/compress/Zlib.d.ts" />
Expand Down Expand Up @@ -123,6 +125,7 @@
/// <reference path="lib/database/KeyReplacer.d.ts" />
/// <reference path="lib/database/KeysUtilities.d.ts" />
/// <reference path="lib/database/LargeObject.d.ts" />
/// <reference path="lib/database/LargeObjectContent.d.ts" />
/// <reference path="lib/database/Limits.d.ts" />
/// <reference path="lib/database/LobRecordIterator.d.ts" />
/// <reference path="lib/database/LobStorage.d.ts" />
Expand Down Expand Up @@ -211,6 +214,7 @@
/// <reference path="lib/email/EmailMessage.d.ts" />
/// <reference path="lib/email/EmailMessageHeader.d.ts" />
/// <reference path="lib/email/EmailMessagePart.d.ts" />
/// <reference path="lib/email/ImapClient.d.ts" />
/// <reference path="lib/email/Pop3.d.ts" />
/// <reference path="lib/encoding/Base32.d.ts" />
/// <reference path="lib/encoding/Base64.d.ts" />
Expand Down Expand Up @@ -269,12 +273,12 @@
/// <reference path="lib/http/Response.d.ts" />
/// <reference path="lib/http/ServerId.d.ts" />
/// <reference path="lib/http/Status.d.ts" />
/// <reference path="lib/i18n/NumberFormat.d.ts" />
/// <reference path="lib/i18n/ResourceString.d.ts" />
/// <reference path="lib/i18n/symbols/pt-BR.d.ts" />
/// <reference path="lib/ido/IdoDB.d.ts" />
/// <reference path="lib/ido/IdoDBManager.d.ts" />
/// <reference path="lib/image/getMainImageUrl.d.ts" />
/// <reference path="lib/image/ImageInfo.d.ts" />
/// <reference path="lib/io/File.d.ts" />
/// <reference path="lib/io/MemoryStream.d.ts" />
/// <reference path="lib/io/SearchRecord.d.ts" />
Expand All @@ -298,9 +302,9 @@
/// <reference path="lib/mime/guessFileMimeType.d.ts" />
/// <reference path="lib/mime/isTextualType.d.ts" />
/// <reference path="lib/monitoring/AlertCodes.d.ts" />
/// <reference path="lib/monitoring/AlertSeverity.d.ts" />
/// <reference path="lib/monitoring/ApplicationSessionInfo.d.ts" />
/// <reference path="lib/monitoring/EngineInfo.d.ts" />
/// <reference path="lib/monitoring/SeverityLevel.d.ts" />
/// <reference path="lib/monitoring/SystemMonitor.d.ts" />
/// <reference path="lib/multipart/MultipartFormData.d.ts" />
/// <reference path="lib/multipart/MultipartFormDataOptions.d.ts" />
Expand All @@ -312,6 +316,9 @@
/// <reference path="lib/net/Socket.d.ts" />
/// <reference path="lib/net/WebSocket.d.ts" />
/// <reference path="lib/net/XMLHttpRequest.d.ts" />
/// <reference path="lib/number/formatNumber.d.ts" />
/// <reference path="lib/number/NumberFormat.d.ts" />
/// <reference path="lib/number/parseNumber.d.ts" />
/// <reference path="lib/oauth2/OAuth2Client.d.ts" />
/// <reference path="lib/object/createSet.d.ts" />
/// <reference path="lib/object/declareProperty.d.ts" />
Expand Down Expand Up @@ -454,6 +461,7 @@
/// <reference path="lib/vendor/VendorInfo.d.ts" />
/// <reference path="lib/version/compareVersions.d.ts" />
/// <reference path="lib/vfs/VirtualFileSystem.d.ts" />
/// <reference path="lib/xlsx/XLSXWriter.d.ts" />
/// <reference path="lib/xml/formatCDATA.d.ts" />
/// <reference path="lib/xml/removeUnsupportedChars.d.ts" />
/// <reference path="lib/xml/TokenType.d.ts" />
Expand Down
11 changes: 6 additions & 5 deletions types/nginstack__engine/keys/AuthScopes.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
export let LICENSING: number;
export let ALTER_SCHEMA: number;
export let FILE_SYNCHRONIZER: number;
export let DISCARD_DATABASE_CACHES: number;
export let ENGINE_SHUTDOWN: number;
export let CHANGE_USER_PASSWORD: number;
export let CHANGE_USER_PROFILE_IMAGE: number;
export let DISCARD_DATABASE_CACHES: number;
export let ENGINE_SHUTDOWN: number;
export let EXTERNAL_ACCESS: number;
export let FILE_SYNCHRONIZER: number;
export let ISSUE_IMPERSONATION_TOKENS: number;
export let LICENSING: number;
export let MANAGE_PERMISSIONS: number;
export let VIEW_TECHNICAL_INFO: number;
export let SYSTEM_UPDATE: number;
export let VIEW_TECHNICAL_INFO: number;
6 changes: 4 additions & 2 deletions types/nginstack__engine/keys/Classes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ export let AZURE_SERVICE_ACCOUNTS: number;
export let BLOCKED_SUPPORT_USERS: number;
export let CLASSDEF_MANAGER_STARTUP: number;
export let CLASSES: number;
export let CLUSTERS_AND_ENGINES: number;
export let CLUSTERS: number;
export let COMPRESSION_ALGORITHMS: number;
export let COMPUTER_SECURITY_POLICIES: number;
export let CRYPTO_KEY_ALGORITHMS: number;
Expand Down Expand Up @@ -44,6 +42,8 @@ export let HOSTS: number;
export let HTTP_ROUTES: number;
export let IDENTITY_PROVIDERS_ICONS: number;
export let IDENTITY_PROVIDERS: number;
export let IMAGE_COMPRESSION_PROFILES: number;
export let IMAGE_COMPRESSION_RULES: number;
export let IMAGE_MIME_TYPES: number;
export let IMAGE_RELATIONS: number;
export let INDEXES: number;
Expand Down Expand Up @@ -80,6 +80,7 @@ export let SECURITY_POLICIES: number;
export let SERVERS: number;
export let SERVICE_ACCOUNTS: number;
export let SERVICES: number;
export let SEVERITY_LEVELS: number;
export let SIGNING_ALGORITHMS: number;
export let SMTP_SECURITY_MODES: number;
export let SMTP_SERVERS: number;
Expand All @@ -94,6 +95,7 @@ export let SYSTEM_TABLES: number;
export let SYSTEM: number;
export let TESTS: number;
export let TEXT_MIME_TYPES: number;
export let TRANSACTION_LOG_RETENTION_RULES: number;
export let USER_ACCOUNT_TYPES: number;
export let USER_SECURITY_POLICIES: number;
export let USER_STATUSES: number;
Expand Down
61 changes: 46 additions & 15 deletions types/nginstack__engine/lib/classdef/Field.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ declare class Field {
dataSetType: typeof DataSetDataType;
charLength: number | null;
private defaultDisplayFormats_;
dateFormat: typeof DateFormat;
private defaultDisplayFormatsByName_;
dateFormat: DateFormat;
size: number;
order: number;
readOnly: typeof ReadOnlyMode | boolean;
Expand Down Expand Up @@ -54,25 +55,27 @@ declare class Field {
detailFieldNames: string;
masterDeleteAction: typeof MasterDeleteAction;
detailFilter: string;
private _propertiesToAssign;
private _ownControlledProperties;
protected _notifyObjectPropertyChange(name: string): void;
private propertiesToAssign_;
private propertiesToAssignWithDeepClone_;
private ownControlledProperties_;
protected notifyObjectPropertyChange_(name: string): void;
private _notifyObjectPropertyChange;
private groupName;
group: FieldGroup;
validationType: ValidationType;
private validationType_;
protected inheritedClassDefEvents_: string[];
protected init_(name: string, type: string, opt_size?: number): void;
private suggestValidationType_;
protected registerEvents_(): void;
protected changeFieldType_(type: string, fieldName: string): void;
private type_;
clone(NewClass: (...args: any[]) => void): Field;
assignObjectsTo(field: any): void;
assign(field: Field): void;
assignTo(field: Field): void;
displayFormat:
| typeof DateFormat
| typeof LatitudeFormat
| typeof LongitudeFormat
| typeof AngleFormat;
displayFormat: DateFormat | LatitudeFormat | LongitudeFormat | AngleFormat | NumberFormat;
private displayFormat_;
onGetOptions: Event;
onLookupDisplay: Event;
onBeforeLookupAddResult: Event;
Expand All @@ -81,7 +84,6 @@ declare class Field {
onBeforeChange: Event;
onAfterChange: Event;
onValidate: Event;
private checkCoordinateRange_;
protected loadClassDefIfNeeded_(): void;
classDef: any;
private checkOptions_;
Expand All @@ -103,17 +105,46 @@ declare class Field {
isTime(): boolean;
}
declare namespace Field {
export { Event, AdapterDescriptor, Limit };
export {
Event,
AdapterDescriptor,
Limit,
DateFormat,
LatitudeFormat,
LongitudeFormat,
AngleFormat,
NumberFormat,
ValidationType,
};
}
import DatabaseDataType = require('../database/DatabaseDataType.js');
import DataSetDataType = require('../dataset/DataSetDataType.js');
import DateFormat = require('../date/DateFormat.js');
import ReadOnlyMode = require('./ReadOnlyMode.js');
import MasterDeleteAction = require('./MasterDeleteAction.js');
import FieldGroup = require('./FieldGroup.js');
import LatitudeFormat = require('../geo/LatitudeFormat.js');
import LongitudeFormat = require('../geo/LongitudeFormat.js');
import AngleFormat = require('../geo/AngleFormat.js');
type Event = import('../event/Event');
type AdapterDescriptor = import('../event/AdapterDescriptor');
type Limit = typeof import('../range/Limit');
type DateFormat = import('../date/DateFormat').DateFormatType;
type LatitudeFormat = import('../geo/LatitudeFormat').LatitudeFormatType;
type LongitudeFormat = import('../geo/LongitudeFormat').LongitudeFormatType;
type AngleFormat = import('../geo/AngleFormat').AngleFormatType;
type NumberFormat = import('../number/NumberFormat').NumberFormatType;
type ValidationType =
| 'string'
| 'int64'
| 'int32'
| 'number'
| 'date'
| 'email'
| 'cep'
| 'time'
| 'phone'
| 'pis'
| 'cpf'
| 'cnpj'
| 'cpfcnpj'
| 'latitude'
| 'longitude'
| 'angle'
| 'boolean';
4 changes: 4 additions & 0 deletions types/nginstack__engine/lib/classdef/FieldGroup.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,20 @@ declare class FieldGroup {
label: string;
id: number;
name: string;
private label_;
parent: any;
private css;
collapsed: boolean;
autoSanitize: boolean;
private unnamed;
private unnamed_;
private setFieldsProperties;
private reservedWords;
private parseStylePropertyName;
private getStyleText;
stringify(): string;
private toString;
private toObject;
private order;
private createId_;
assign(obj: FieldGroup): void;
Expand Down
6 changes: 3 additions & 3 deletions types/nginstack__engine/lib/classdef/FieldGroupSet.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ export = FieldGroupSet;
declare function FieldGroupSet(): void;
declare class FieldGroupSet {
items: any;
add(fieldGroup: any): void;
add(fieldGroup: import('@nginstack/engine/lib/classdef/FieldGroup')): void;
private _find;
findByName(name: string): any;
assign(obj: any): void;
findByName(name: string): import('@nginstack/engine/lib/classdef/FieldGroup');
assign(obj: FieldGroupSet): void;
clone(): FieldGroupSet;
}
17 changes: 17 additions & 0 deletions types/nginstack__engine/lib/classdef/ValidationType.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
export const ANGLE = 'angle';
export const BOOLEAN = 'boolean';
export const CEP = 'cep';
export const CNPJ = 'cnpj';
export const CPF = 'cpf';
export const CPF_CNPJ = 'cpfcnpj';
export const DATE = 'date';
export const EMAIL = 'email';
export const INT32 = 'int32';
export const INT64 = 'int64';
export const LATITUDE = 'latitude';
export const LONGITUDE = 'longitude';
export const NUMBER = 'number';
export const PHONE = 'phone';
export const PIS = 'pis';
export const STRING = 'string';
export const TIME = 'time';
Loading