nucleus-core-ts 0.10.199 → 0.10.201
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/.build-ok +1 -1
- package/dist/client.js +2 -2
- package/dist/dist/index.d.ts +275 -1
- package/dist/index.js +48 -34
- package/dist/server.js +92 -56
- package/dist/src/Client/ApiCaller/system-tables.d.ts +228 -0
- package/dist/src/Data/EntityStore.d.ts +6 -0
- package/dist/src/Data/StoreQuery.d.ts +5 -19
- package/dist/src/Data/StoreReadQuery.d.ts +21 -0
- package/dist/src/Data/index.d.ts +4 -0
- package/dist/src/Data/journalCapture.d.ts +12 -0
- package/dist/src/Data/journalCollect.d.ts +56 -0
- package/dist/src/Data/journalConfig.d.ts +26 -0
- package/dist/src/Data/journalErase.d.ts +31 -0
- package/dist/src/Data/journalFlush.d.ts +32 -0
- package/dist/src/Data/journalHost.d.ts +42 -0
- package/dist/src/Data/journalImplicit.d.ts +11 -0
- package/dist/src/Data/journalReplayKit.d.ts +14 -0
- package/dist/src/Data/journalRequest.d.ts +30 -0
- package/dist/src/Data/journalTestKit.d.ts +131 -0
- package/dist/src/Data/journalTypes.d.ts +79 -0
- package/dist/src/Data/journalUpsert.d.ts +16 -0
- package/dist/src/Data/nucleusData.d.ts +5 -0
- package/dist/src/Data/storeSession.d.ts +6 -0
- package/dist/src/Data/storeTypes.d.ts +3 -0
- package/dist/src/Data/unitNotify.d.ts +4 -0
- package/dist/src/Data/unitTypes.d.ts +10 -1
- package/dist/src/Nucleus/routes/entity/entityWrite.d.ts +1 -0
- package/dist/src/Nucleus/routes/monitoring/alertHistory.d.ts +18 -0
- package/dist/src/Nucleus/routes/monitoring/history.d.ts +51 -0
- package/dist/src/Nucleus/routes/monitoring/index.d.ts +5 -0
- package/dist/src/Nucleus/routes/monitoring/jobs.d.ts +24 -0
- package/dist/src/Nucleus/routes/notification/index.d.ts +3 -0
- package/dist/src/Nucleus/routes/verification/buildServices.d.ts +3 -0
- package/dist/src/Nucleus/routes/verification/index.d.ts +2 -0
- package/dist/src/Server/createNucleusServer.d.ts +16 -0
- package/dist/src/Server/journalRequestKit.d.ts +30 -0
- package/dist/src/Server/journalRequestRoutes.d.ts +23 -0
- package/dist/src/Server/routeAnswer.d.ts +8 -0
- package/dist/src/Server/routeInput.d.ts +23 -0
- package/dist/src/Server/routeTable.d.ts +34 -0
- package/dist/src/Server/router.d.ts +10 -122
- package/dist/src/Server/routerTypes.d.ts +138 -0
- package/dist/src/Services/Jobs/jobRunHook.d.ts +24 -0
- package/dist/src/Services/Jobs/jobRunSink.d.ts +44 -0
- package/dist/src/Services/Jobs/jobRuns.d.ts +54 -0
- package/dist/src/Services/Jobs/jobRunsTestTables.d.ts +399 -0
- package/dist/src/Services/Jobs/tenantWalk.d.ts +2 -0
- package/dist/src/Services/Monitoring/AlertService.d.ts +36 -20
- package/dist/src/Services/Monitoring/alertEmail.d.ts +11 -0
- package/dist/src/Services/Monitoring/alertMappers.d.ts +10 -0
- package/dist/src/Services/Monitoring/alertRules.d.ts +30 -0
- package/dist/src/Services/Monitoring/alertStore.d.ts +56 -0
- package/dist/src/Services/Monitoring/alertTypes.d.ts +21 -0
- package/dist/src/Services/Monitoring/collectors/ApplicationCollector.d.ts +4 -0
- package/dist/src/Services/Monitoring/collectors/ProbeCollector.d.ts +26 -0
- package/dist/src/Services/Monitoring/collectors/routeGroups.d.ts +48 -0
- package/dist/src/Services/Monitoring/hostOptions.d.ts +3 -0
- package/dist/src/Services/Monitoring/index.d.ts +30 -2
- package/dist/src/Services/Monitoring/metricsStore.d.ts +27 -0
- package/dist/src/Services/Monitoring/series.d.ts +31 -0
- package/dist/src/Services/Monitoring/types.d.ts +92 -2
- package/dist/src/Services/Notification/index.d.ts +7 -0
- package/dist/src/Services/Notification/portalJournal.d.ts +33 -0
- package/dist/src/Services/Tenant/hostWrites.d.ts +1 -1
- package/dist/src/types.d.ts +95 -1
- package/package.json +9 -9
- package/schemas/config.nucleus.json +170 -1
- package/schemas/table.schema.json +2 -1
- package/scripts/schema/columnCode.ts +2 -2
- package/scripts/schema/features.ts +1 -0
- package/scripts/schema/types.ts +1 -0
- package/src/system.tables.json +185 -0
package/dist/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function writeTenantNotifications(tx: any, schemaName: any, rows: any): Promise<
|
|
1
|
+
export function writeTenantNotifications(tx: any, schemaName: any, rows: any): Promise<any[]>;
|
|
2
2
|
export function writeTenantNotification(tx: any, schemaName: any, row: any): Promise<void>;
|
|
3
3
|
export function writeTenantAudit(tx: any, schemaName: any, row: any): Promise<void>;
|
|
4
4
|
export function visibleFieldIds(definitions: any, values: any, party: any): Set<any>;
|
|
@@ -4029,6 +4029,168 @@ export var SYSTEM_TABLES: ({
|
|
|
4029
4029
|
comment?: undefined;
|
|
4030
4030
|
requires?: undefined;
|
|
4031
4031
|
constraints?: undefined;
|
|
4032
|
+
} | {
|
|
4033
|
+
table_name: string;
|
|
4034
|
+
feature_set: string[];
|
|
4035
|
+
add_base_columns: boolean;
|
|
4036
|
+
is_form_data: boolean;
|
|
4037
|
+
available_app_ids: string[];
|
|
4038
|
+
available_schemas: string[];
|
|
4039
|
+
excluded_schemas: never[];
|
|
4040
|
+
excluded_methods: string[];
|
|
4041
|
+
bulk_endpoints_enabled: boolean;
|
|
4042
|
+
group_name: string;
|
|
4043
|
+
columns: ({
|
|
4044
|
+
name: string;
|
|
4045
|
+
type: string;
|
|
4046
|
+
primaryKey: boolean;
|
|
4047
|
+
defaultRaw: string;
|
|
4048
|
+
length?: undefined;
|
|
4049
|
+
notNull?: undefined;
|
|
4050
|
+
comment?: undefined;
|
|
4051
|
+
default?: undefined;
|
|
4052
|
+
} | {
|
|
4053
|
+
name: string;
|
|
4054
|
+
type: string;
|
|
4055
|
+
length: number;
|
|
4056
|
+
notNull: boolean;
|
|
4057
|
+
comment: string;
|
|
4058
|
+
primaryKey?: undefined;
|
|
4059
|
+
defaultRaw?: undefined;
|
|
4060
|
+
default?: undefined;
|
|
4061
|
+
} | {
|
|
4062
|
+
name: string;
|
|
4063
|
+
type: string;
|
|
4064
|
+
length: number;
|
|
4065
|
+
comment: string;
|
|
4066
|
+
primaryKey?: undefined;
|
|
4067
|
+
defaultRaw?: undefined;
|
|
4068
|
+
notNull?: undefined;
|
|
4069
|
+
default?: undefined;
|
|
4070
|
+
} | {
|
|
4071
|
+
name: string;
|
|
4072
|
+
type: string;
|
|
4073
|
+
length: number;
|
|
4074
|
+
notNull: boolean;
|
|
4075
|
+
default: string;
|
|
4076
|
+
comment: string;
|
|
4077
|
+
primaryKey?: undefined;
|
|
4078
|
+
defaultRaw?: undefined;
|
|
4079
|
+
} | {
|
|
4080
|
+
name: string;
|
|
4081
|
+
type: string;
|
|
4082
|
+
notNull: boolean;
|
|
4083
|
+
primaryKey?: undefined;
|
|
4084
|
+
defaultRaw?: undefined;
|
|
4085
|
+
length?: undefined;
|
|
4086
|
+
comment?: undefined;
|
|
4087
|
+
default?: undefined;
|
|
4088
|
+
} | {
|
|
4089
|
+
name: string;
|
|
4090
|
+
type: string;
|
|
4091
|
+
comment: string;
|
|
4092
|
+
primaryKey?: undefined;
|
|
4093
|
+
defaultRaw?: undefined;
|
|
4094
|
+
length?: undefined;
|
|
4095
|
+
notNull?: undefined;
|
|
4096
|
+
default?: undefined;
|
|
4097
|
+
} | {
|
|
4098
|
+
name: string;
|
|
4099
|
+
type: string;
|
|
4100
|
+
primaryKey?: undefined;
|
|
4101
|
+
defaultRaw?: undefined;
|
|
4102
|
+
length?: undefined;
|
|
4103
|
+
notNull?: undefined;
|
|
4104
|
+
comment?: undefined;
|
|
4105
|
+
default?: undefined;
|
|
4106
|
+
})[];
|
|
4107
|
+
indexes: {
|
|
4108
|
+
columns: string[];
|
|
4109
|
+
}[];
|
|
4110
|
+
comment?: undefined;
|
|
4111
|
+
requires?: undefined;
|
|
4112
|
+
constraints?: undefined;
|
|
4113
|
+
} | {
|
|
4114
|
+
table_name: string;
|
|
4115
|
+
feature_set: string[];
|
|
4116
|
+
add_base_columns: boolean;
|
|
4117
|
+
is_form_data: boolean;
|
|
4118
|
+
available_app_ids: string[];
|
|
4119
|
+
available_schemas: string[];
|
|
4120
|
+
excluded_schemas: never[];
|
|
4121
|
+
excluded_methods: string[];
|
|
4122
|
+
bulk_endpoints_enabled: boolean;
|
|
4123
|
+
group_name: string;
|
|
4124
|
+
columns: ({
|
|
4125
|
+
name: string;
|
|
4126
|
+
type: string;
|
|
4127
|
+
primaryKey: boolean;
|
|
4128
|
+
defaultRaw: string;
|
|
4129
|
+
length?: undefined;
|
|
4130
|
+
notNull?: undefined;
|
|
4131
|
+
comment?: undefined;
|
|
4132
|
+
default?: undefined;
|
|
4133
|
+
} | {
|
|
4134
|
+
name: string;
|
|
4135
|
+
type: string;
|
|
4136
|
+
length: number;
|
|
4137
|
+
notNull: boolean;
|
|
4138
|
+
primaryKey?: undefined;
|
|
4139
|
+
defaultRaw?: undefined;
|
|
4140
|
+
comment?: undefined;
|
|
4141
|
+
default?: undefined;
|
|
4142
|
+
} | {
|
|
4143
|
+
name: string;
|
|
4144
|
+
type: string;
|
|
4145
|
+
notNull: boolean;
|
|
4146
|
+
primaryKey?: undefined;
|
|
4147
|
+
defaultRaw?: undefined;
|
|
4148
|
+
length?: undefined;
|
|
4149
|
+
comment?: undefined;
|
|
4150
|
+
default?: undefined;
|
|
4151
|
+
} | {
|
|
4152
|
+
name: string;
|
|
4153
|
+
type: string;
|
|
4154
|
+
notNull: boolean;
|
|
4155
|
+
comment: string;
|
|
4156
|
+
primaryKey?: undefined;
|
|
4157
|
+
defaultRaw?: undefined;
|
|
4158
|
+
length?: undefined;
|
|
4159
|
+
default?: undefined;
|
|
4160
|
+
} | {
|
|
4161
|
+
name: string;
|
|
4162
|
+
type: string;
|
|
4163
|
+
notNull: boolean;
|
|
4164
|
+
default: number;
|
|
4165
|
+
comment: string;
|
|
4166
|
+
primaryKey?: undefined;
|
|
4167
|
+
defaultRaw?: undefined;
|
|
4168
|
+
length?: undefined;
|
|
4169
|
+
} | {
|
|
4170
|
+
name: string;
|
|
4171
|
+
type: string;
|
|
4172
|
+
notNull: boolean;
|
|
4173
|
+
default: number;
|
|
4174
|
+
primaryKey?: undefined;
|
|
4175
|
+
defaultRaw?: undefined;
|
|
4176
|
+
length?: undefined;
|
|
4177
|
+
comment?: undefined;
|
|
4178
|
+
} | {
|
|
4179
|
+
name: string;
|
|
4180
|
+
type: string;
|
|
4181
|
+
comment: string;
|
|
4182
|
+
primaryKey?: undefined;
|
|
4183
|
+
defaultRaw?: undefined;
|
|
4184
|
+
length?: undefined;
|
|
4185
|
+
notNull?: undefined;
|
|
4186
|
+
default?: undefined;
|
|
4187
|
+
})[];
|
|
4188
|
+
indexes: {
|
|
4189
|
+
columns: string[];
|
|
4190
|
+
}[];
|
|
4191
|
+
comment?: undefined;
|
|
4192
|
+
requires?: undefined;
|
|
4193
|
+
constraints?: undefined;
|
|
4032
4194
|
} | {
|
|
4033
4195
|
table_name: string;
|
|
4034
4196
|
feature_set: string[];
|
|
@@ -6576,6 +6738,118 @@ export var SYSTEM_TABLES: ({
|
|
|
6576
6738
|
comment?: undefined;
|
|
6577
6739
|
requires?: undefined;
|
|
6578
6740
|
constraints?: undefined;
|
|
6741
|
+
} | {
|
|
6742
|
+
table_name: string;
|
|
6743
|
+
feature_set: string[];
|
|
6744
|
+
add_base_columns: boolean;
|
|
6745
|
+
is_form_data: boolean;
|
|
6746
|
+
available_app_ids: string[];
|
|
6747
|
+
available_schemas: string[];
|
|
6748
|
+
excluded_schemas: never[];
|
|
6749
|
+
excluded_methods: string[];
|
|
6750
|
+
bulk_endpoints_enabled: boolean;
|
|
6751
|
+
group_name: string;
|
|
6752
|
+
columns: ({
|
|
6753
|
+
name: string;
|
|
6754
|
+
type: string;
|
|
6755
|
+
primaryKey: boolean;
|
|
6756
|
+
defaultRaw: string;
|
|
6757
|
+
notNull?: undefined;
|
|
6758
|
+
unique?: undefined;
|
|
6759
|
+
generatedAlwaysAsIdentity?: undefined;
|
|
6760
|
+
comment?: undefined;
|
|
6761
|
+
length?: undefined;
|
|
6762
|
+
default?: undefined;
|
|
6763
|
+
} | {
|
|
6764
|
+
name: string;
|
|
6765
|
+
type: string;
|
|
6766
|
+
notNull: boolean;
|
|
6767
|
+
unique: boolean;
|
|
6768
|
+
generatedAlwaysAsIdentity: boolean;
|
|
6769
|
+
comment: string;
|
|
6770
|
+
primaryKey?: undefined;
|
|
6771
|
+
defaultRaw?: undefined;
|
|
6772
|
+
length?: undefined;
|
|
6773
|
+
default?: undefined;
|
|
6774
|
+
} | {
|
|
6775
|
+
name: string;
|
|
6776
|
+
type: string;
|
|
6777
|
+
notNull: boolean;
|
|
6778
|
+
comment: string;
|
|
6779
|
+
primaryKey?: undefined;
|
|
6780
|
+
defaultRaw?: undefined;
|
|
6781
|
+
unique?: undefined;
|
|
6782
|
+
generatedAlwaysAsIdentity?: undefined;
|
|
6783
|
+
length?: undefined;
|
|
6784
|
+
default?: undefined;
|
|
6785
|
+
} | {
|
|
6786
|
+
name: string;
|
|
6787
|
+
type: string;
|
|
6788
|
+
length: number;
|
|
6789
|
+
comment: string;
|
|
6790
|
+
primaryKey?: undefined;
|
|
6791
|
+
defaultRaw?: undefined;
|
|
6792
|
+
notNull?: undefined;
|
|
6793
|
+
unique?: undefined;
|
|
6794
|
+
generatedAlwaysAsIdentity?: undefined;
|
|
6795
|
+
default?: undefined;
|
|
6796
|
+
} | {
|
|
6797
|
+
name: string;
|
|
6798
|
+
type: string;
|
|
6799
|
+
length: number;
|
|
6800
|
+
notNull: boolean;
|
|
6801
|
+
comment: string;
|
|
6802
|
+
primaryKey?: undefined;
|
|
6803
|
+
defaultRaw?: undefined;
|
|
6804
|
+
unique?: undefined;
|
|
6805
|
+
generatedAlwaysAsIdentity?: undefined;
|
|
6806
|
+
default?: undefined;
|
|
6807
|
+
} | {
|
|
6808
|
+
name: string;
|
|
6809
|
+
type: string;
|
|
6810
|
+
comment: string;
|
|
6811
|
+
primaryKey?: undefined;
|
|
6812
|
+
defaultRaw?: undefined;
|
|
6813
|
+
notNull?: undefined;
|
|
6814
|
+
unique?: undefined;
|
|
6815
|
+
generatedAlwaysAsIdentity?: undefined;
|
|
6816
|
+
length?: undefined;
|
|
6817
|
+
default?: undefined;
|
|
6818
|
+
} | {
|
|
6819
|
+
name: string;
|
|
6820
|
+
type: string;
|
|
6821
|
+
length: number;
|
|
6822
|
+
notNull: boolean;
|
|
6823
|
+
default: string;
|
|
6824
|
+
comment: string;
|
|
6825
|
+
primaryKey?: undefined;
|
|
6826
|
+
defaultRaw?: undefined;
|
|
6827
|
+
unique?: undefined;
|
|
6828
|
+
generatedAlwaysAsIdentity?: undefined;
|
|
6829
|
+
} | {
|
|
6830
|
+
name: string;
|
|
6831
|
+
type: string;
|
|
6832
|
+
notNull: boolean;
|
|
6833
|
+
primaryKey?: undefined;
|
|
6834
|
+
defaultRaw?: undefined;
|
|
6835
|
+
unique?: undefined;
|
|
6836
|
+
generatedAlwaysAsIdentity?: undefined;
|
|
6837
|
+
comment?: undefined;
|
|
6838
|
+
length?: undefined;
|
|
6839
|
+
default?: undefined;
|
|
6840
|
+
})[];
|
|
6841
|
+
indexes: ({
|
|
6842
|
+
columns: string[];
|
|
6843
|
+
where?: undefined;
|
|
6844
|
+
name?: undefined;
|
|
6845
|
+
} | {
|
|
6846
|
+
columns: string[];
|
|
6847
|
+
where: string;
|
|
6848
|
+
name: string;
|
|
6849
|
+
})[];
|
|
6850
|
+
comment?: undefined;
|
|
6851
|
+
requires?: undefined;
|
|
6852
|
+
constraints?: undefined;
|
|
6579
6853
|
})[];
|
|
6580
6854
|
export var RESERVED_IDS: string[];
|
|
6581
6855
|
export var REFERENCE_PATTERN: RegExp;
|