@budibase/shared-core 2.12.1 → 2.12.3
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/constants.d.ts +1 -0
- package/dist/index.js +44 -0
- package/dist/index.js.map +2 -2
- package/dist/index.js.meta.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/dist/constants.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -4239,6 +4239,7 @@ __export(src_exports, {
|
|
|
4239
4239
|
SocketSessionTTL: () => SocketSessionTTL,
|
|
4240
4240
|
SqlNumberTypeRangeMap: () => SqlNumberTypeRangeMap,
|
|
4241
4241
|
ValidColumnNameRegex: () => ValidColumnNameRegex,
|
|
4242
|
+
ValidFileExtensions: () => ValidFileExtensions,
|
|
4242
4243
|
ValidQueryNameRegex: () => ValidQueryNameRegex,
|
|
4243
4244
|
canBeDisplayColumn: () => canBeDisplayColumn,
|
|
4244
4245
|
canBeSortColumn: () => canBeSortColumn,
|
|
@@ -4346,6 +4347,48 @@ var BuilderSocketEvent = /* @__PURE__ */ ((BuilderSocketEvent2) => {
|
|
|
4346
4347
|
var SocketSessionTTL = 60;
|
|
4347
4348
|
var ValidQueryNameRegex = /^[^()]*$/;
|
|
4348
4349
|
var ValidColumnNameRegex = /^[_a-zA-Z0-9\s]*$/g;
|
|
4350
|
+
var ValidFileExtensions = [
|
|
4351
|
+
"avif",
|
|
4352
|
+
"css",
|
|
4353
|
+
"csv",
|
|
4354
|
+
"docx",
|
|
4355
|
+
"drawio",
|
|
4356
|
+
"editorconfig",
|
|
4357
|
+
"edl",
|
|
4358
|
+
"enc",
|
|
4359
|
+
"export",
|
|
4360
|
+
"geojson",
|
|
4361
|
+
"gif",
|
|
4362
|
+
"htm",
|
|
4363
|
+
"html",
|
|
4364
|
+
"ics",
|
|
4365
|
+
"iqy",
|
|
4366
|
+
"jfif",
|
|
4367
|
+
"jpeg",
|
|
4368
|
+
"jpg",
|
|
4369
|
+
"json",
|
|
4370
|
+
"log",
|
|
4371
|
+
"md",
|
|
4372
|
+
"mid",
|
|
4373
|
+
"odt",
|
|
4374
|
+
"pdf",
|
|
4375
|
+
"png",
|
|
4376
|
+
"ris",
|
|
4377
|
+
"rtf",
|
|
4378
|
+
"svg",
|
|
4379
|
+
"tex",
|
|
4380
|
+
"toml",
|
|
4381
|
+
"twig",
|
|
4382
|
+
"txt",
|
|
4383
|
+
"url",
|
|
4384
|
+
"wav",
|
|
4385
|
+
"webp",
|
|
4386
|
+
"xls",
|
|
4387
|
+
"xlsx",
|
|
4388
|
+
"xml",
|
|
4389
|
+
"yaml",
|
|
4390
|
+
"yml"
|
|
4391
|
+
];
|
|
4349
4392
|
|
|
4350
4393
|
// src/filters.ts
|
|
4351
4394
|
var filters_exports = {};
|
|
@@ -5057,6 +5100,7 @@ function canBeSortColumn(type) {
|
|
|
5057
5100
|
SocketSessionTTL,
|
|
5058
5101
|
SqlNumberTypeRangeMap,
|
|
5059
5102
|
ValidColumnNameRegex,
|
|
5103
|
+
ValidFileExtensions,
|
|
5060
5104
|
ValidQueryNameRegex,
|
|
5061
5105
|
canBeDisplayColumn,
|
|
5062
5106
|
canBeSortColumn,
|