@ellipticltd/aml-utils 0.0.12 → 0.1.1-ts.0
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/.idea/codeStyles/Project.xml +24 -0
- package/.idea/dbnavigator.xml +6 -4
- package/.idea/markdown-navigator/profiles_settings.xml +3 -0
- package/.idea/markdown-navigator.xml +86 -0
- package/.idea/workspace.xml +385 -76
- package/dist/errors.d.ts +9 -0
- package/dist/errors.js +32 -0
- package/dist/formatting.d.ts +1 -0
- package/dist/formatting.js +25 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.js +9 -0
- package/dist/middleware.d.ts +1 -0
- package/dist/middleware.js +23 -0
- package/dist/ormHelpers.d.ts +1 -0
- package/dist/ormHelpers.js +25 -0
- package/dist/test.d.ts +1 -0
- package/dist/test.js +2 -0
- package/dist/types.d.ts +1 -0
- package/dist/types.js +207 -0
- package/dist/validations.d.ts +49 -0
- package/dist/validations.js +238 -0
- package/package.json +16 -7
- package/tsconfig.json +80 -0
- package/tslint.json +18 -0
- package/index.js +0 -8
- package/lib/errors.js +0 -53
- package/lib/formatting.js +0 -18
- package/lib/middleware.js +0 -25
- package/lib/ormHelpers.js +0 -19
- package/lib/types.js +0 -211
- package/lib/validations.js +0 -214
|
@@ -24,5 +24,29 @@
|
|
|
24
24
|
<option name="ITERATION_ELEMENTS_WRAPPING" value="chop_down_if_not_single" />
|
|
25
25
|
</formatting-settings>
|
|
26
26
|
</DBN-SQL>
|
|
27
|
+
<DBN-PSQL>
|
|
28
|
+
<case-options enabled="false">
|
|
29
|
+
<option name="KEYWORD_CASE" value="lower" />
|
|
30
|
+
<option name="FUNCTION_CASE" value="lower" />
|
|
31
|
+
<option name="PARAMETER_CASE" value="lower" />
|
|
32
|
+
<option name="DATATYPE_CASE" value="lower" />
|
|
33
|
+
<option name="OBJECT_CASE" value="preserve" />
|
|
34
|
+
</case-options>
|
|
35
|
+
<formatting-settings enabled="false" />
|
|
36
|
+
</DBN-PSQL>
|
|
37
|
+
<DBN-SQL>
|
|
38
|
+
<case-options enabled="false">
|
|
39
|
+
<option name="KEYWORD_CASE" value="lower" />
|
|
40
|
+
<option name="FUNCTION_CASE" value="lower" />
|
|
41
|
+
<option name="PARAMETER_CASE" value="lower" />
|
|
42
|
+
<option name="DATATYPE_CASE" value="lower" />
|
|
43
|
+
<option name="OBJECT_CASE" value="preserve" />
|
|
44
|
+
</case-options>
|
|
45
|
+
<formatting-settings enabled="false">
|
|
46
|
+
<option name="STATEMENT_SPACING" value="one_line" />
|
|
47
|
+
<option name="CLAUSE_CHOP_DOWN" value="chop_down_if_statement_long" />
|
|
48
|
+
<option name="ITERATION_ELEMENTS_WRAPPING" value="chop_down_if_not_single" />
|
|
49
|
+
</formatting-settings>
|
|
50
|
+
</DBN-SQL>
|
|
27
51
|
</code_scheme>
|
|
28
52
|
</component>
|
package/.idea/dbnavigator.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<project version="4">
|
|
3
3
|
<component name="DBNavigator.Project.DataEditorManager">
|
|
4
4
|
<record-view-column-sorting-type value="BY_INDEX" />
|
|
5
|
-
<value-preview-text-wrapping value="
|
|
5
|
+
<value-preview-text-wrapping value="false" />
|
|
6
6
|
<value-preview-pinned value="false" />
|
|
7
7
|
</component>
|
|
8
8
|
<component name="DBNavigator.Project.DataExportManager">
|
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
<show-object-properties value="true" />
|
|
26
26
|
<loaded-nodes />
|
|
27
27
|
</component>
|
|
28
|
+
<component name="DBNavigator.Project.DatabaseFileManager">
|
|
29
|
+
<open-files />
|
|
30
|
+
</component>
|
|
28
31
|
<component name="DBNavigator.Project.EditorStateManager">
|
|
29
32
|
<last-used-providers />
|
|
30
33
|
</component>
|
|
@@ -151,11 +154,11 @@
|
|
|
151
154
|
<data-length-threshold value="100" />
|
|
152
155
|
<popup-delay value="1000" />
|
|
153
156
|
</text-editor-popup>
|
|
154
|
-
<values-
|
|
157
|
+
<values-actions-popup>
|
|
155
158
|
<show-popup-button value="true" />
|
|
156
159
|
<element-count-threshold value="1000" />
|
|
157
160
|
<data-length-threshold value="250" />
|
|
158
|
-
</values-
|
|
161
|
+
</values-actions-popup>
|
|
159
162
|
<general>
|
|
160
163
|
<fetch-block-size value="100" />
|
|
161
164
|
<fetch-timeout value="30" />
|
|
@@ -181,7 +184,6 @@
|
|
|
181
184
|
<content-type name="JavaScript" enabled="true" />
|
|
182
185
|
<content-type name="JSP" enabled="true" />
|
|
183
186
|
<content-type name="JSPx" enabled="true" />
|
|
184
|
-
<content-type name="ASP" enabled="true" />
|
|
185
187
|
<content-type name="YAML" enabled="true" />
|
|
186
188
|
<content-type name="Bash" enabled="true" />
|
|
187
189
|
</content-types>
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="MarkdownProjectSettings" wasCopied="false">
|
|
4
|
+
<PreviewSettings splitEditorLayout="SPLIT" splitEditorPreview="PREVIEW" useGrayscaleRendering="false" zoomFactor="1.0" maxImageWidth="0" showGitHubPageIfSynced="false" allowBrowsingInPreview="false" synchronizePreviewPosition="true" highlightPreviewType="NONE" highlightFadeOut="5" highlightOnTyping="true" synchronizeSourcePosition="true" verticallyAlignSourceAndPreviewSyncPosition="true" showSearchHighlightsInPreview="false" showSelectionInPreview="true" openRemoteLinks="true" replaceUnicodeEmoji="false" lastLayoutSetsDefault="false">
|
|
5
|
+
<PanelProvider>
|
|
6
|
+
<provider providerId="com.vladsch.idea.multimarkdown.editor.swing.html.panel" providerName="Default - Swing" />
|
|
7
|
+
</PanelProvider>
|
|
8
|
+
</PreviewSettings>
|
|
9
|
+
<ParserSettings gitHubSyntaxChange="false" emojiShortcuts="1" emojiImages="0">
|
|
10
|
+
<PegdownExtensions>
|
|
11
|
+
<option name="ABBREVIATIONS" value="false" />
|
|
12
|
+
<option name="ANCHORLINKS" value="true" />
|
|
13
|
+
<option name="ASIDE" value="false" />
|
|
14
|
+
<option name="ATXHEADERSPACE" value="true" />
|
|
15
|
+
<option name="AUTOLINKS" value="false" />
|
|
16
|
+
<option name="DEFINITIONS" value="false" />
|
|
17
|
+
<option name="DEFINITION_BREAK_DOUBLE_BLANK_LINE" value="false" />
|
|
18
|
+
<option name="FENCED_CODE_BLOCKS" value="true" />
|
|
19
|
+
<option name="FOOTNOTES" value="false" />
|
|
20
|
+
<option name="HARDWRAPS" value="false" />
|
|
21
|
+
<option name="HTML_DEEP_PARSER" value="false" />
|
|
22
|
+
<option name="INSERTED" value="false" />
|
|
23
|
+
<option name="QUOTES" value="false" />
|
|
24
|
+
<option name="RELAXEDHRULES" value="true" />
|
|
25
|
+
<option name="SMARTS" value="false" />
|
|
26
|
+
<option name="STRIKETHROUGH" value="true" />
|
|
27
|
+
<option name="SUBSCRIPT" value="false" />
|
|
28
|
+
<option name="SUPERSCRIPT" value="false" />
|
|
29
|
+
<option name="SUPPRESS_HTML_BLOCKS" value="false" />
|
|
30
|
+
<option name="SUPPRESS_INLINE_HTML" value="false" />
|
|
31
|
+
<option name="TABLES" value="true" />
|
|
32
|
+
<option name="TASKLISTITEMS" value="true" />
|
|
33
|
+
<option name="TOC" value="false" />
|
|
34
|
+
<option name="WIKILINKS" value="false" />
|
|
35
|
+
</PegdownExtensions>
|
|
36
|
+
<ParserOptions>
|
|
37
|
+
<option name="ADMONITION_EXT" value="false" />
|
|
38
|
+
<option name="ATTRIBUTES_EXT" value="false" />
|
|
39
|
+
<option name="COMMONMARK_LISTS" value="true" />
|
|
40
|
+
<option name="DUMMY" value="false" />
|
|
41
|
+
<option name="EMOJI_SHORTCUTS" value="true" />
|
|
42
|
+
<option name="ENUMERATED_REFERENCES_EXT" value="false" />
|
|
43
|
+
<option name="FLEXMARK_FRONT_MATTER" value="false" />
|
|
44
|
+
<option name="GFM_LOOSE_BLANK_LINE_AFTER_ITEM_PARA" value="false" />
|
|
45
|
+
<option name="GFM_TABLE_RENDERING" value="true" />
|
|
46
|
+
<option name="GITBOOK_URL_ENCODING" value="false" />
|
|
47
|
+
<option name="GITHUB_LISTS" value="false" />
|
|
48
|
+
<option name="GITHUB_WIKI_LINKS" value="false" />
|
|
49
|
+
<option name="GITLAB_EXT" value="false" />
|
|
50
|
+
<option name="GITLAB_MATH_EXT" value="false" />
|
|
51
|
+
<option name="GITLAB_MERMAID_EXT" value="false" />
|
|
52
|
+
<option name="HEADER_ID_NON_ASCII_TO_LOWERCASE" value="false" />
|
|
53
|
+
<option name="HEADER_ID_NO_DUPED_DASHES" value="false" />
|
|
54
|
+
<option name="JEKYLL_FRONT_MATTER" value="false" />
|
|
55
|
+
<option name="MACROS_EXT" value="false" />
|
|
56
|
+
<option name="NO_TEXT_ATTRIBUTES" value="false" />
|
|
57
|
+
<option name="PARSE_HTML_ANCHOR_ID" value="false" />
|
|
58
|
+
<option name="PLANTUML_FENCED_CODE" value="false" />
|
|
59
|
+
<option name="PUML_FENCED_CODE" value="false" />
|
|
60
|
+
<option name="SIM_TOC_BLANK_LINE_SPACER" value="true" />
|
|
61
|
+
</ParserOptions>
|
|
62
|
+
</ParserSettings>
|
|
63
|
+
<HtmlSettings headerTopEnabled="false" headerBottomEnabled="false" bodyTopEnabled="false" bodyBottomEnabled="false" embedUrlContent="false" addPageHeader="true" embedImages="false" embedHttpImages="false" imageUriSerials="false" addDocTypeHtml="true" noParaTags="false" plantUmlConversion="0" mathConversion="0">
|
|
64
|
+
<GeneratorProvider>
|
|
65
|
+
<provider providerId="com.vladsch.idea.multimarkdown.editor.swing.html.generator" providerName="Default Swing HTML Generator" />
|
|
66
|
+
</GeneratorProvider>
|
|
67
|
+
<headerTop />
|
|
68
|
+
<headerBottom />
|
|
69
|
+
<bodyTop />
|
|
70
|
+
<bodyBottom />
|
|
71
|
+
</HtmlSettings>
|
|
72
|
+
<CssSettings previewScheme="UI_SCHEME" cssUri="" isCssUriEnabled="false" isCssUriSerial="true" isCssTextEnabled="false" isDynamicPageWidth="true">
|
|
73
|
+
<StylesheetProvider>
|
|
74
|
+
<provider providerId="com.vladsch.idea.multimarkdown.editor.swing.html.css" providerName="Default Swing Stylesheet" />
|
|
75
|
+
</StylesheetProvider>
|
|
76
|
+
<ScriptProviders />
|
|
77
|
+
<cssText />
|
|
78
|
+
<cssUriHistory />
|
|
79
|
+
</CssSettings>
|
|
80
|
+
<AnnotatorSettings targetHasSpaces="true" linkCaseMismatch="true" wikiCaseMismatch="true" wikiLinkHasDashes="true" notUnderWikiHome="true" targetNotWikiPageExt="true" notUnderSourceWikiHome="true" targetNameHasAnchor="true" targetPathHasAnchor="true" wikiLinkHasSlash="true" wikiLinkHasSubdir="true" wikiLinkHasOnlyAnchor="true" linkTargetsWikiHasExt="true" linkTargetsWikiHasBadExt="true" notUnderSameRepo="true" targetNotUnderVcs="false" linkNeedsExt="true" linkHasBadExt="true" linkTargetNeedsExt="true" linkTargetHasBadExt="true" wikiLinkNotInWiki="true" imageTargetNotInRaw="true" repoRelativeAcrossVcsRoots="true" multipleWikiTargetsMatch="true" unresolvedLinkReference="true" linkIsIgnored="true" anchorIsIgnored="true" anchorIsUnresolved="true" anchorLineReferenceIsUnresolved="true" anchorLineReferenceFormat="true" anchorHasDuplicates="true" abbreviationDuplicates="true" abbreviationNotUsed="true" attributeIdDuplicateDefinition="true" attributeIdNotUsed="true" footnoteDuplicateDefinition="true" footnoteUnresolved="true" footnoteDuplicates="true" footnoteNotUsed="true" macroDuplicateDefinition="true" macroUnresolved="true" macroDuplicates="true" macroNotUsed="true" referenceDuplicateDefinition="true" referenceUnresolved="true" referenceDuplicates="true" referenceNotUsed="true" referenceUnresolvedNumericId="true" enumRefDuplicateDefinition="true" enumRefUnresolved="true" enumRefDuplicates="true" enumRefNotUsed="true" enumRefLinkUnresolved="true" enumRefLinkDuplicates="true" simTocUpdateNeeded="true" simTocTitleSpaceNeeded="true" />
|
|
81
|
+
<HtmlExportSettings updateOnSave="false" parentDir="" targetDir="" cssDir="css" scriptDir="js" plainHtml="false" imageDir="" copyLinkedImages="false" imageUniquifyType="0" targetPathType="2" targetExt="" useTargetExt="false" noCssNoScripts="false" useElementStyleAttribute="false" linkToExportedHtml="true" exportOnSettingsChange="true" regenerateOnProjectOpen="false" linkFormatType="HTTP_ABSOLUTE" />
|
|
82
|
+
<LinkMapSettings>
|
|
83
|
+
<textMaps />
|
|
84
|
+
</LinkMapSettings>
|
|
85
|
+
</component>
|
|
86
|
+
</project>
|