@galadrim/galadmin 0.1.140 → 0.1.141
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/tsconfig.tsbuildinfo +1 -1
- package/dist/types/config.d.ts +8 -8
- package/package.json +1 -1
- package/src/front/ckeditor5-build/node_modules/.bin/semver +12 -0
- package/src/front/ckeditor5-build/node_modules/.bin/semver.cmd +17 -0
- package/src/front/ckeditor5-build/node_modules/.bin/semver.ps1 +28 -0
- package/src/front/ckeditor5-build/node_modules/semver/bin/semver.js +0 -0
- package/src/types/config.ts +339 -331
package/dist/types/config.d.ts
CHANGED
|
@@ -86,12 +86,12 @@ export type TextareaColumn = {
|
|
|
86
86
|
name: string;
|
|
87
87
|
};
|
|
88
88
|
export type RichTextColumn = {
|
|
89
|
-
dataType:
|
|
89
|
+
dataType: 'richText';
|
|
90
90
|
htmlField: string;
|
|
91
91
|
contentField?: string;
|
|
92
92
|
};
|
|
93
93
|
export type BetterRichTextColumn = {
|
|
94
|
-
dataType:
|
|
94
|
+
dataType: 'betterRichText';
|
|
95
95
|
htmlField: string;
|
|
96
96
|
fileUploadProperties?: FileUploadProperties;
|
|
97
97
|
};
|
|
@@ -207,7 +207,7 @@ export type CreateConfig = {
|
|
|
207
207
|
redirectToCreatedItems?: boolean;
|
|
208
208
|
};
|
|
209
209
|
export type TablePanel = {
|
|
210
|
-
type:
|
|
210
|
+
type: 'table';
|
|
211
211
|
query: string;
|
|
212
212
|
formattedQuery?: string;
|
|
213
213
|
canDownload?: boolean;
|
|
@@ -216,7 +216,7 @@ export type TablePanel = {
|
|
|
216
216
|
canCreate?: boolean;
|
|
217
217
|
canImport?: boolean;
|
|
218
218
|
importFileTypes?: string[];
|
|
219
|
-
parseImportFile?: (file: FormDataFile, id?:
|
|
219
|
+
parseImportFile?: (file: FormDataFile, id?: any) => Promise<any[]>;
|
|
220
220
|
createConfig?: CreateConfig;
|
|
221
221
|
tableName?: string;
|
|
222
222
|
primaryId?: string;
|
|
@@ -237,14 +237,14 @@ export type TablePanel = {
|
|
|
237
237
|
}) => void;
|
|
238
238
|
};
|
|
239
239
|
export type MapPanel = {
|
|
240
|
-
type:
|
|
240
|
+
type: 'map';
|
|
241
241
|
query: string;
|
|
242
242
|
latitudeField: string;
|
|
243
243
|
longitudeField: string;
|
|
244
244
|
zoom?: number;
|
|
245
245
|
};
|
|
246
246
|
export type GalleryPanel = {
|
|
247
|
-
type:
|
|
247
|
+
type: 'gallery';
|
|
248
248
|
query: string;
|
|
249
249
|
canDelete?: boolean;
|
|
250
250
|
canCreate?: boolean;
|
|
@@ -260,13 +260,13 @@ export type GalleryPanel = {
|
|
|
260
260
|
data: any;
|
|
261
261
|
}) => void;
|
|
262
262
|
deleteCallback?: string;
|
|
263
|
-
deleteCallbackFunction?: ({ id, deletedRecord }: {
|
|
263
|
+
deleteCallbackFunction?: ({ id, deletedRecord, }: {
|
|
264
264
|
id: number;
|
|
265
265
|
deletedRecord?: any;
|
|
266
266
|
}) => void;
|
|
267
267
|
};
|
|
268
268
|
export type ChatPanel = {
|
|
269
|
-
type:
|
|
269
|
+
type: 'chat';
|
|
270
270
|
getMessagesQuery: string;
|
|
271
271
|
postMessageUrl: string;
|
|
272
272
|
messageField: string;
|
package/package.json
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
+
esac
|
|
7
|
+
|
|
8
|
+
if [ -x "$basedir/node" ]; then
|
|
9
|
+
exec "$basedir/node" "$basedir/../semver/bin/semver.js" "$@"
|
|
10
|
+
else
|
|
11
|
+
exec node "$basedir/../semver/bin/semver.js" "$@"
|
|
12
|
+
fi
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@ECHO off
|
|
2
|
+
GOTO start
|
|
3
|
+
:find_dp0
|
|
4
|
+
SET dp0=%~dp0
|
|
5
|
+
EXIT /b
|
|
6
|
+
:start
|
|
7
|
+
SETLOCAL
|
|
8
|
+
CALL :find_dp0
|
|
9
|
+
|
|
10
|
+
IF EXIST "%dp0%\node.exe" (
|
|
11
|
+
SET "_prog=%dp0%\node.exe"
|
|
12
|
+
) ELSE (
|
|
13
|
+
SET "_prog=node"
|
|
14
|
+
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver.js" %*
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#!/usr/bin/env pwsh
|
|
2
|
+
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
3
|
+
|
|
4
|
+
$exe=""
|
|
5
|
+
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
6
|
+
# Fix case when both the Windows and Linux builds of Node
|
|
7
|
+
# are installed in the same directory
|
|
8
|
+
$exe=".exe"
|
|
9
|
+
}
|
|
10
|
+
$ret=0
|
|
11
|
+
if (Test-Path "$basedir/node$exe") {
|
|
12
|
+
# Support pipeline input
|
|
13
|
+
if ($MyInvocation.ExpectingInput) {
|
|
14
|
+
$input | & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
|
|
15
|
+
} else {
|
|
16
|
+
& "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
|
|
17
|
+
}
|
|
18
|
+
$ret=$LASTEXITCODE
|
|
19
|
+
} else {
|
|
20
|
+
# Support pipeline input
|
|
21
|
+
if ($MyInvocation.ExpectingInput) {
|
|
22
|
+
$input | & "node$exe" "$basedir/../semver/bin/semver.js" $args
|
|
23
|
+
} else {
|
|
24
|
+
& "node$exe" "$basedir/../semver/bin/semver.js" $args
|
|
25
|
+
}
|
|
26
|
+
$ret=$LASTEXITCODE
|
|
27
|
+
}
|
|
28
|
+
exit $ret
|
|
File without changes
|