precedent 1.0.6 → 1.0.7
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/.config/code-server/config.yaml +4 -0
- package/.config/configstore/update-notifier-npm-check-updates.json +4 -0
- package/.config/configstore/update-notifier-npm.json +4 -0
- package/.config/luxury-extras/.vscode/launch.json +46 -0
- package/.config/luxury-extras/Dockerfile +32 -0
- package/.config/luxury-extras/Dockerfile_LUXURYCode +45 -0
- package/.config/luxury-extras/MySQL/Dockerfile +51 -0
- package/.config/luxury-extras/MySQL/Dockerfile_LUXURYCODE +65 -0
- package/.config/luxury-extras/MySQL/MySQL-Laden-Entry.sh +17 -0
- package/.config/luxury-extras/MySQL/MySQL-Security.sql +5 -0
- package/.config/luxury-extras/model/ddl/BookStore.ddl +66 -0
- package/.config/luxury-extras/model/documentation/Dictionary.md +18 -0
- package/.config/luxury-extras/model/documentation/Model-Author.md +20 -0
- package/.config/luxury-extras/model/documentation/Model-Book.md +26 -0
- package/.config/luxury-extras/model/documentation/Model-BookAuthorJoin.md +14 -0
- package/.config/luxury-extras/model/documentation/Model-BookPrice.md +25 -0
- package/.config/luxury-extras/model/documentation/Model-Review.md +22 -0
- package/.config/luxury-extras/model/documentation/ModelChangeTracking.md +17 -0
- package/.config/luxury-extras/model/documentation/README.md +1 -0
- package/.config/luxury-extras/model/documentation/diagram/README.md +1 -0
- package/.config/luxury-extras/model/documentation/diagram/Stricture_Output.dot +13 -0
- package/.config/luxury-extras/model/documentation/diagram/Stricture_Output.png +0 -0
- package/.config/luxury-extras/model/json_schema_entities/BookStore-MeadowSchema-Author.json +220 -0
- package/.config/luxury-extras/model/json_schema_entities/BookStore-MeadowSchema-Book.json +268 -0
- package/.config/luxury-extras/model/json_schema_entities/BookStore-MeadowSchema-BookAuthorJoin.json +172 -0
- package/.config/luxury-extras/model/json_schema_entities/BookStore-MeadowSchema-BookPrice.json +260 -0
- package/.config/luxury-extras/model/json_schema_entities/BookStore-MeadowSchema-Review.json +236 -0
- package/.config/luxury-extras/model/json_schema_entities/README.md +1 -0
- package/.config/luxury-extras/model/json_schema_model/BookStore-Extended.json +915 -0
- package/.config/luxury-extras/model/json_schema_model/BookStore-PICT.json +1 -0
- package/.config/luxury-extras/model/json_schema_model/BookStore.json +280 -0
- package/.config/luxury-extras/model/json_schema_model/README.md +1 -0
- package/.config/luxury-extras/model/mysql_create/BookStore-CreateDatabase.mysql.sql +116 -0
- package/.config/luxury-extras/model/mysql_create/README.md +1 -0
- package/.vscode/launch.json +46 -0
- package/DockerfileLUXURYCode +45 -0
- package/{harness/Debug.js → debug/Harness.js} +0 -0
- package/dist/precedent.js +322 -0
- package/dist/precedent.min.js +37 -0
- package/dist/precedent.min.js.map +1 -0
- package/gulpfile.js +56 -62
- package/package.json +19 -14
- package/source/Precedent-Browser-Shim.js +8 -2
- package/.c9/.nakignore +0 -17
- package/.c9/metadata/tab0 +0 -1
- package/.c9/metadata/tab3 +0 -1
- package/.c9/metadata/workspace/.travis.yml +0 -1
- package/.c9/metadata/workspace/Ideas.md +0 -1
- package/.c9/metadata/workspace/Precedent-Command.js +0 -1
- package/.c9/metadata/workspace/Precident-Command.js +0 -1
- package/.c9/metadata/workspace/README.md +0 -1
- package/.c9/metadata/workspace/bin/Precedent +0 -1
- package/.c9/metadata/workspace/bin/Precident +0 -1
- package/.c9/metadata/workspace/bower.json +0 -1
- package/.c9/metadata/workspace/dist/precedent.latest.min.js +0 -1
- package/.c9/metadata/workspace/fs.js +0 -1
- package/.c9/metadata/workspace/gulpfile.js +0 -1
- package/.c9/metadata/workspace/harness/Debug.js +0 -1
- package/.c9/metadata/workspace/internal/module.js +0 -1
- package/.c9/metadata/workspace/module.js +0 -1
- package/.c9/metadata/workspace/package.json +0 -1
- package/.c9/metadata/workspace/source/Precedent-Browser-Shim.js +0 -1
- package/.c9/metadata/workspace/source/Precedent-Options.js +0 -1
- package/.c9/metadata/workspace/source/Precedent.js +0 -1
- package/.c9/metadata/workspace/source/StringParser.js +0 -1
- package/.c9/metadata/workspace/source/WordTree.js +0 -1
- package/.c9/metadata/workspace/test/Precedent_tests.js +0 -1
- package/.c9/project.settings +0 -91
- package/.npmignore +0 -37
- package/dist/precedent.1.0.5.js +0 -339
- package/dist/precedent.1.0.5.min.js +0 -2
- package/dist/precedent.1.0.5.min.js.map +0 -1
- package/dist/precedent.latest.min.js +0 -2
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
// Use IntelliSense to learn about possible attributes.
|
|
3
|
+
// Hover to view descriptions of existing attributes.
|
|
4
|
+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
5
|
+
"version": "0.2.0",
|
|
6
|
+
"configurations": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Launch Debug Harness",
|
|
9
|
+
"type": "pwa-node",
|
|
10
|
+
"request": "launch",
|
|
11
|
+
"outputCapture": "std",
|
|
12
|
+
"skipFiles": [
|
|
13
|
+
"<node_internals>/**"
|
|
14
|
+
],
|
|
15
|
+
"program": "${workspaceFolder}/debug/Harness.js",
|
|
16
|
+
"presentation": {
|
|
17
|
+
"hidden": false,
|
|
18
|
+
"group": "",
|
|
19
|
+
"order": 1
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Mocha Tests",
|
|
24
|
+
"args": [
|
|
25
|
+
"-u",
|
|
26
|
+
"tdd",
|
|
27
|
+
"--timeout",
|
|
28
|
+
"999999",
|
|
29
|
+
"--colors",
|
|
30
|
+
"${workspaceFolder}/test"
|
|
31
|
+
],
|
|
32
|
+
"internalConsoleOptions": "openOnSessionStart",
|
|
33
|
+
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
|
|
34
|
+
"request": "launch",
|
|
35
|
+
"skipFiles": [
|
|
36
|
+
"<node_internals>/**"
|
|
37
|
+
],
|
|
38
|
+
"type": "pwa-node",
|
|
39
|
+
"presentation": {
|
|
40
|
+
"hidden": false,
|
|
41
|
+
"group": "",
|
|
42
|
+
"order": 2
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Use the codercom/code-server image
|
|
2
|
+
FROM codercom/code-server:latest
|
|
3
|
+
MAINTAINER steven velozo
|
|
4
|
+
|
|
5
|
+
VOLUME /home/coder/.config
|
|
6
|
+
VOLUME /home/coder/.vscode
|
|
7
|
+
|
|
8
|
+
RUN echo "...installing debian dependencies..."
|
|
9
|
+
RUN sudo apt update
|
|
10
|
+
RUN sudo apt install vim curl tmux -y
|
|
11
|
+
|
|
12
|
+
RUN echo "Building development image..."
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
RUN echo "...mapping library specific volumes..."
|
|
16
|
+
# Volume mappings for code
|
|
17
|
+
VOLUME /home/coder/YOURLIBRARYNAMEHERE
|
|
18
|
+
# VOLUME /home/coder/YOURLIBRARYNAMEHERE/node_modules
|
|
19
|
+
|
|
20
|
+
SHELL ["/bin/bash", "-c"]
|
|
21
|
+
USER coder
|
|
22
|
+
|
|
23
|
+
RUN echo "...installing node version manager..."
|
|
24
|
+
# Because there is a .bashrc chicken/egg problem, we will create one here to simulate logging in. This is not great.
|
|
25
|
+
RUN touch ~/.bashrc && chmod +x ~/.bashrc
|
|
26
|
+
RUN curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
|
|
27
|
+
|
|
28
|
+
RUN echo "...installing node version 14 as the default..."
|
|
29
|
+
RUN . ~/.nvm/nvm.sh && source ~/.bashrc && nvm install 14
|
|
30
|
+
RUN . ~/.nvm/nvm.sh && source ~/.bashrc && nvm alias default 14
|
|
31
|
+
|
|
32
|
+
WORKDIR /home/coder/YOURLIBRARYNAMEHERE
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Use the codercom/code-server image
|
|
2
|
+
FROM codercom/code-server:latest
|
|
3
|
+
MAINTAINER steven velozo
|
|
4
|
+
|
|
5
|
+
VOLUME /home/coder/.config
|
|
6
|
+
VOLUME /home/coder/.vscode
|
|
7
|
+
|
|
8
|
+
RUN echo "...installing debian dependencies..."
|
|
9
|
+
RUN sudo apt update
|
|
10
|
+
RUN sudo apt install vim curl tmux -y
|
|
11
|
+
|
|
12
|
+
RUN echo "Building development image..."
|
|
13
|
+
|
|
14
|
+
RUN echo "...installing vscode extensions..."
|
|
15
|
+
RUN code-server --install-extension ritwickdey.LiveServer \
|
|
16
|
+
code-server --install-extension hbenl.vscode-mocha-test-adapter \
|
|
17
|
+
code-server --install-extension hbenl.vscode-test-explorer \
|
|
18
|
+
code-server --install-extension hbenl.test-adapter-converter \
|
|
19
|
+
code-server --install-extension daylerees.rainglow \
|
|
20
|
+
code-server --install-extension oderwat.indent-rainbow \
|
|
21
|
+
code-server --install-extension evan-buss.font-switcher \
|
|
22
|
+
code-server --install-extension vscode-icons-team.vscode-icons \
|
|
23
|
+
code-server --install-extension bengreenier.vscode-node-readme \
|
|
24
|
+
code-server --install-extension bierner.color-info \
|
|
25
|
+
code-server --install-extension dbaeumer.vscode-eslint \
|
|
26
|
+
code-server --install-extension PKief.material-icon-theme
|
|
27
|
+
|
|
28
|
+
RUN echo "...mapping library specific volumes..."
|
|
29
|
+
# Volume mappings for code
|
|
30
|
+
VOLUME /home/coder/YOURLIBRARYNAMEHERE
|
|
31
|
+
# VOLUME /home/coder/YOURLIBRARYNAMEHERE/node_modules
|
|
32
|
+
|
|
33
|
+
SHELL ["/bin/bash", "-c"]
|
|
34
|
+
USER coder
|
|
35
|
+
|
|
36
|
+
RUN echo "...installing node version manager..."
|
|
37
|
+
# Because there is a .bashrc chicken/egg problem, we will create one here to simulate logging in. This is not great.
|
|
38
|
+
RUN touch ~/.bashrc && chmod +x ~/.bashrc
|
|
39
|
+
RUN curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
|
|
40
|
+
|
|
41
|
+
RUN echo "...installing node version 14 as the default..."
|
|
42
|
+
RUN . ~/.nvm/nvm.sh && source ~/.bashrc && nvm install 14
|
|
43
|
+
RUN . ~/.nvm/nvm.sh && source ~/.bashrc && nvm alias default 14
|
|
44
|
+
|
|
45
|
+
WORKDIR /home/coder/YOURLIBRARYNAMEHERE
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Use the codercom/code-server image
|
|
2
|
+
FROM codercom/code-server:latest
|
|
3
|
+
MAINTAINER steven velozo
|
|
4
|
+
|
|
5
|
+
VOLUME /home/coder/.config
|
|
6
|
+
VOLUME /home/coder/.vscode
|
|
7
|
+
|
|
8
|
+
RUN echo "...installing debian dependencies..."
|
|
9
|
+
RUN sudo apt update
|
|
10
|
+
RUN sudo apt install vim curl tmux -y
|
|
11
|
+
RUN sudo apt install default-mysql-server default-mysql-client -y
|
|
12
|
+
# RUN sudo apt install sysv-rc-conf -y
|
|
13
|
+
|
|
14
|
+
RUN echo "Building RETOLD development image..."
|
|
15
|
+
|
|
16
|
+
RUN echo "...configuring mariadb (mysql) server..."
|
|
17
|
+
RUN sudo sed -i "s|bind-address|#bind-address|g" /etc/mysql/mariadb.conf.d/50-server.cnf
|
|
18
|
+
ADD ./.config/luxury-extras/MySQL/MySQL-Security.sql /home/coder/MySQL-Configure-Security.sql
|
|
19
|
+
ADD ./.config/luxury-extras/MySQL/MySQL-Laden-Entry.sh /usr/bin/MySQL-Laden-Entry.sh
|
|
20
|
+
RUN sudo chmod +x /usr/bin/MySQL-Laden-Entry.sh
|
|
21
|
+
RUN ( sudo mysqld_safe --skip-grant-tables --skip-networking & ) && sleep 5 && mysql -u root < /home/coder/MySQL-Configure-Security.sql
|
|
22
|
+
|
|
23
|
+
# Enable MariaDB even without systemd
|
|
24
|
+
# RUN sudo sysv-rc-conf --level 0123456S mariadb on
|
|
25
|
+
|
|
26
|
+
# Import the initial database
|
|
27
|
+
RUN sudo service mariadb restart && sleep 5 && mysql -u root -p"123456789" -e "CREATE DATABASE YOURDATABASENAMEHERE;"
|
|
28
|
+
|
|
29
|
+
SHELL ["/bin/bash", "-c"]
|
|
30
|
+
USER coder
|
|
31
|
+
|
|
32
|
+
# Copy any default configs for the coding environment we want (e.g. dark theme)
|
|
33
|
+
# COPY ./.config/.default_home/ /home/coder/
|
|
34
|
+
|
|
35
|
+
RUN echo "...mapping library specific volumes..."
|
|
36
|
+
# Volume mappings for code
|
|
37
|
+
VOLUME /home/coder/YOURLIBRARYNAMEHERE
|
|
38
|
+
# VOLUME /home/coder/YOURLIBRARYNAMEHERE/node_modules
|
|
39
|
+
|
|
40
|
+
RUN echo "...installing node version manager..."
|
|
41
|
+
# Because there is a .bashrc chicken/egg problem, we will create one here to simulate logging in. This is not great.
|
|
42
|
+
RUN touch ~/.bashrc && chmod +x ~/.bashrc
|
|
43
|
+
RUN curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
|
|
44
|
+
|
|
45
|
+
RUN echo "...installing node version 14 as the default..."
|
|
46
|
+
RUN . ~/.nvm/nvm.sh && source ~/.bashrc && nvm install 14
|
|
47
|
+
RUN . ~/.nvm/nvm.sh && source ~/.bashrc && nvm alias default 14
|
|
48
|
+
|
|
49
|
+
WORKDIR /home/coder/YOURLIBRARYNAMEHERE
|
|
50
|
+
|
|
51
|
+
ENTRYPOINT ["/usr/bin/MySQL-Laden-Entry.sh"]
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Use the codercom/code-server image
|
|
2
|
+
FROM codercom/code-server:latest
|
|
3
|
+
MAINTAINER steven velozo
|
|
4
|
+
|
|
5
|
+
VOLUME /home/coder/.config
|
|
6
|
+
VOLUME /home/coder/.vscode
|
|
7
|
+
|
|
8
|
+
RUN echo "...installing debian dependencies..."
|
|
9
|
+
RUN sudo apt update
|
|
10
|
+
RUN sudo apt install vim curl tmux -y
|
|
11
|
+
RUN sudo apt install default-mysql-server default-mysql-client -y
|
|
12
|
+
# RUN sudo apt install sysv-rc-conf -y
|
|
13
|
+
|
|
14
|
+
RUN echo "Building RETOLD development image..."
|
|
15
|
+
|
|
16
|
+
RUN echo "...configuring mariadb (mysql) server..."
|
|
17
|
+
RUN sudo sed -i "s|bind-address|#bind-address|g" /etc/mysql/mariadb.conf.d/50-server.cnf
|
|
18
|
+
ADD ./.config/luxury-extras/MySQL/MySQL-Security.sql /home/coder/MySQL-Configure-Security.sql
|
|
19
|
+
ADD ./.config/luxury-extras/MySQL/MySQL-Laden-Entry.sh /usr/bin/MySQL-Laden-Entry.sh
|
|
20
|
+
RUN sudo chmod +x /usr/bin/MySQL-Laden-Entry.sh
|
|
21
|
+
RUN ( sudo mysqld_safe --skip-grant-tables --skip-networking & ) && sleep 5 && mysql -u root < /home/coder/MySQL-Configure-Security.sql
|
|
22
|
+
|
|
23
|
+
# Enable MariaDB even without systemd
|
|
24
|
+
# RUN sudo sysv-rc-conf --level 0123456S mariadb on
|
|
25
|
+
|
|
26
|
+
# Import the initial database
|
|
27
|
+
RUN sudo service mariadb restart && sleep 5 && mysql -u root -p"123456789" -e "CREATE DATABASE YOURDATABASENAMEHERE;"
|
|
28
|
+
|
|
29
|
+
RUN echo "...installing vscode extensions..."
|
|
30
|
+
RUN code-server --install-extension ritwickdey.LiveServer \
|
|
31
|
+
code-server --install-extension hbenl.vscode-mocha-test-adapter \
|
|
32
|
+
code-server --install-extension hbenl.vscode-test-explorer \
|
|
33
|
+
code-server --install-extension hbenl.test-adapter-converter \
|
|
34
|
+
code-server --install-extension daylerees.rainglow \
|
|
35
|
+
code-server --install-extension oderwat.indent-rainbow \
|
|
36
|
+
code-server --install-extension evan-buss.font-switcher \
|
|
37
|
+
code-server --install-extension vscode-icons-team.vscode-icons \
|
|
38
|
+
code-server --install-extension bengreenier.vscode-node-readme \
|
|
39
|
+
code-server --install-extension bierner.color-info \
|
|
40
|
+
code-server --install-extension dbaeumer.vscode-eslint \
|
|
41
|
+
code-server --install-extension PKief.material-icon-theme
|
|
42
|
+
|
|
43
|
+
SHELL ["/bin/bash", "-c"]
|
|
44
|
+
USER coder
|
|
45
|
+
|
|
46
|
+
# Copy any default configs for the coding environment we want (e.g. dark theme)
|
|
47
|
+
# COPY ./.config/.default_home/ /home/coder/
|
|
48
|
+
|
|
49
|
+
RUN echo "...mapping library specific volumes..."
|
|
50
|
+
# Volume mappings for code
|
|
51
|
+
VOLUME /home/coder/YOURLIBRARYNAMEHERE
|
|
52
|
+
# VOLUME /home/coder/YOURLIBRARYNAMEHERE/node_modules
|
|
53
|
+
|
|
54
|
+
RUN echo "...installing node version manager..."
|
|
55
|
+
# Because there is a .bashrc chicken/egg problem, we will create one here to simulate logging in. This is not great.
|
|
56
|
+
RUN touch ~/.bashrc && chmod +x ~/.bashrc
|
|
57
|
+
RUN curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
|
|
58
|
+
|
|
59
|
+
RUN echo "...installing node version 14 as the default..."
|
|
60
|
+
RUN . ~/.nvm/nvm.sh && source ~/.bashrc && nvm install 14
|
|
61
|
+
RUN . ~/.nvm/nvm.sh && source ~/.bashrc && nvm alias default 14
|
|
62
|
+
|
|
63
|
+
WORKDIR /home/coder/YOURLIBRARYNAMEHERE
|
|
64
|
+
|
|
65
|
+
ENTRYPOINT ["/usr/bin/MySQL-Laden-Entry.sh"]
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
trap 'kill -TERM $PID' TERM INT
|
|
4
|
+
|
|
5
|
+
/usr/bin/entrypoint.sh --bind-addr "0.0.0.0:8080" . &
|
|
6
|
+
|
|
7
|
+
PID=$!
|
|
8
|
+
|
|
9
|
+
sleep 2
|
|
10
|
+
|
|
11
|
+
sudo service mariadb restart
|
|
12
|
+
|
|
13
|
+
wait $PID
|
|
14
|
+
trap - TERM INT
|
|
15
|
+
wait $PID
|
|
16
|
+
EXIT_STATUS=$?
|
|
17
|
+
echo "Service exited with status ${EXIT_STATUS}"
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
!Book
|
|
2
|
+
@IDBook
|
|
3
|
+
%GUIDBook
|
|
4
|
+
&CreateDate
|
|
5
|
+
#CreatingIDUser
|
|
6
|
+
&UpdateDate
|
|
7
|
+
#UpdatingIDUser
|
|
8
|
+
^Deleted
|
|
9
|
+
&DeleteDate
|
|
10
|
+
#DeletingIDUser
|
|
11
|
+
$Title 200
|
|
12
|
+
$Type 32
|
|
13
|
+
$Genre 128
|
|
14
|
+
$ISBN 64
|
|
15
|
+
$Language 12
|
|
16
|
+
$ImageURL 254
|
|
17
|
+
#PublicationYear
|
|
18
|
+
|
|
19
|
+
!BookAuthorJoin
|
|
20
|
+
@IDBookAuthorJoin
|
|
21
|
+
%GUIDBookAuthorJoin
|
|
22
|
+
#IDBook -> IDBook
|
|
23
|
+
#IDAuthor -> IDAuthor
|
|
24
|
+
|
|
25
|
+
!Author
|
|
26
|
+
@IDAuthor
|
|
27
|
+
%GUIDAuthor
|
|
28
|
+
&CreateDate
|
|
29
|
+
#CreatingIDUser
|
|
30
|
+
&UpdateDate
|
|
31
|
+
#UpdatingIDUser
|
|
32
|
+
^Deleted
|
|
33
|
+
&DeleteDate
|
|
34
|
+
#DeletingIDUser
|
|
35
|
+
$Name 200
|
|
36
|
+
|
|
37
|
+
!BookPrice
|
|
38
|
+
@IDBookPrice
|
|
39
|
+
%GUIDBookPrice
|
|
40
|
+
&CreateDate
|
|
41
|
+
#CreatingIDUser
|
|
42
|
+
&UpdateDate
|
|
43
|
+
#UpdatingIDUser
|
|
44
|
+
^Deleted
|
|
45
|
+
&DeleteDate
|
|
46
|
+
#DeletingIDUser
|
|
47
|
+
.Price 8,2
|
|
48
|
+
&StartDate
|
|
49
|
+
&EndDate
|
|
50
|
+
^Discountable
|
|
51
|
+
$CouponCode 16
|
|
52
|
+
#IDBook -> IDBook
|
|
53
|
+
|
|
54
|
+
!Review
|
|
55
|
+
@IDReviews
|
|
56
|
+
%GUIDReviews
|
|
57
|
+
&CreateDate
|
|
58
|
+
#CreatingIDUser
|
|
59
|
+
&UpdateDate
|
|
60
|
+
#UpdatingIDUser
|
|
61
|
+
^Deleted
|
|
62
|
+
&DeleteDate
|
|
63
|
+
#DeletingIDUser
|
|
64
|
+
*Text
|
|
65
|
+
#Rating
|
|
66
|
+
#IDBook -> IDBook
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
##### {DocumentationIndex|Home} > {Model/DataModel|Data Model} > {Model/Dictionary/Dictionary|Data Dictionary}
|
|
2
|
+
|
|
3
|
+
Data Dictionary
|
|
4
|
+
=========================
|
|
5
|
+
|
|
6
|
+
Each entry below describes a single table in the database.
|
|
7
|
+
|
|
8
|
+
Table | Column Count
|
|
9
|
+
----- | -----------:
|
|
10
|
+
{Model/Dictionary/Model-Book|Book} | 16
|
|
11
|
+
{Model/Dictionary/Model-BookAuthorJoin|BookAuthorJoin} | 4
|
|
12
|
+
{Model/Dictionary/Model-Author|Author} | 10
|
|
13
|
+
{Model/Dictionary/Model-BookPrice|BookPrice} | 15
|
|
14
|
+
{Model/Dictionary/Model-Review|Review} | 12
|
|
15
|
+
|
|
16
|
+
- - -
|
|
17
|
+
|
|
18
|
+
Generated on 2022-03-29 at 11:36
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
##### {DocumentationIndex|Home} > {Model/DataModel|Data Model} > {Model/Dictionary/Dictionary|Data Dictionary} > {Model/Dictionary/Model-Author|Author Table}
|
|
2
|
+
|
|
3
|
+
Author
|
|
4
|
+
===
|
|
5
|
+
|
|
6
|
+
Column Name | Size | Data Type | Join
|
|
7
|
+
----------- | ---: | --------- | ----
|
|
8
|
+
IDAuthor | | ID |
|
|
9
|
+
GUIDAuthor | | GUID |
|
|
10
|
+
CreateDate | | DateTime |
|
|
11
|
+
CreatingIDUser | | Numeric |
|
|
12
|
+
UpdateDate | | DateTime |
|
|
13
|
+
UpdatingIDUser | | Numeric |
|
|
14
|
+
Deleted | | Boolean |
|
|
15
|
+
DeleteDate | | DateTime |
|
|
16
|
+
DeletingIDUser | | Numeric |
|
|
17
|
+
Name | 200 | String |
|
|
18
|
+
- - -
|
|
19
|
+
|
|
20
|
+
Generated on 2022-03-29 at 11:36
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
##### {DocumentationIndex|Home} > {Model/DataModel|Data Model} > {Model/Dictionary/Dictionary|Data Dictionary} > {Model/Dictionary/Model-Book|Book Table}
|
|
2
|
+
|
|
3
|
+
Book
|
|
4
|
+
===
|
|
5
|
+
|
|
6
|
+
Column Name | Size | Data Type | Join
|
|
7
|
+
----------- | ---: | --------- | ----
|
|
8
|
+
IDBook | | ID |
|
|
9
|
+
GUIDBook | | GUID |
|
|
10
|
+
CreateDate | | DateTime |
|
|
11
|
+
CreatingIDUser | | Numeric |
|
|
12
|
+
UpdateDate | | DateTime |
|
|
13
|
+
UpdatingIDUser | | Numeric |
|
|
14
|
+
Deleted | | Boolean |
|
|
15
|
+
DeleteDate | | DateTime |
|
|
16
|
+
DeletingIDUser | | Numeric |
|
|
17
|
+
Title | 200 | String |
|
|
18
|
+
Type | 32 | String |
|
|
19
|
+
Genre | 128 | String |
|
|
20
|
+
ISBN | 64 | String |
|
|
21
|
+
Language | 12 | String |
|
|
22
|
+
ImageURL | 254 | String |
|
|
23
|
+
PublicationYear | | Numeric |
|
|
24
|
+
- - -
|
|
25
|
+
|
|
26
|
+
Generated on 2022-03-29 at 11:36
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
##### {DocumentationIndex|Home} > {Model/DataModel|Data Model} > {Model/Dictionary/Dictionary|Data Dictionary} > {Model/Dictionary/Model-BookAuthorJoin|BookAuthorJoin Table}
|
|
2
|
+
|
|
3
|
+
BookAuthorJoin
|
|
4
|
+
===
|
|
5
|
+
|
|
6
|
+
Column Name | Size | Data Type | Join
|
|
7
|
+
----------- | ---: | --------- | ----
|
|
8
|
+
IDBookAuthorJoin | | ID |
|
|
9
|
+
GUIDBookAuthorJoin | | GUID |
|
|
10
|
+
IDBook | | Numeric | Book.IDBook
|
|
11
|
+
IDAuthor | | Numeric | Author.IDAuthor
|
|
12
|
+
- - -
|
|
13
|
+
|
|
14
|
+
Generated on 2022-03-29 at 11:36
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
##### {DocumentationIndex|Home} > {Model/DataModel|Data Model} > {Model/Dictionary/Dictionary|Data Dictionary} > {Model/Dictionary/Model-BookPrice|BookPrice Table}
|
|
2
|
+
|
|
3
|
+
BookPrice
|
|
4
|
+
===
|
|
5
|
+
|
|
6
|
+
Column Name | Size | Data Type | Join
|
|
7
|
+
----------- | ---: | --------- | ----
|
|
8
|
+
IDBookPrice | | ID |
|
|
9
|
+
GUIDBookPrice | | GUID |
|
|
10
|
+
CreateDate | | DateTime |
|
|
11
|
+
CreatingIDUser | | Numeric |
|
|
12
|
+
UpdateDate | | DateTime |
|
|
13
|
+
UpdatingIDUser | | Numeric |
|
|
14
|
+
Deleted | | Boolean |
|
|
15
|
+
DeleteDate | | DateTime |
|
|
16
|
+
DeletingIDUser | | Numeric |
|
|
17
|
+
Price | 8,2 | Decimal |
|
|
18
|
+
StartDate | | DateTime |
|
|
19
|
+
EndDate | | DateTime |
|
|
20
|
+
Discountable | | Boolean |
|
|
21
|
+
CouponCode | 16 | String |
|
|
22
|
+
IDBook | | Numeric | Book.IDBook
|
|
23
|
+
- - -
|
|
24
|
+
|
|
25
|
+
Generated on 2022-03-29 at 11:36
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
##### {DocumentationIndex|Home} > {Model/DataModel|Data Model} > {Model/Dictionary/Dictionary|Data Dictionary} > {Model/Dictionary/Model-Review|Review Table}
|
|
2
|
+
|
|
3
|
+
Review
|
|
4
|
+
===
|
|
5
|
+
|
|
6
|
+
Column Name | Size | Data Type | Join
|
|
7
|
+
----------- | ---: | --------- | ----
|
|
8
|
+
IDReviews | | ID |
|
|
9
|
+
GUIDReviews | | GUID |
|
|
10
|
+
CreateDate | | DateTime |
|
|
11
|
+
CreatingIDUser | | Numeric |
|
|
12
|
+
UpdateDate | | DateTime |
|
|
13
|
+
UpdatingIDUser | | Numeric |
|
|
14
|
+
Deleted | | Boolean |
|
|
15
|
+
DeleteDate | | DateTime |
|
|
16
|
+
DeletingIDUser | | Numeric |
|
|
17
|
+
Text | | Text |
|
|
18
|
+
Rating | | Numeric |
|
|
19
|
+
IDBook | | Numeric | Book.IDBook
|
|
20
|
+
- - -
|
|
21
|
+
|
|
22
|
+
Generated on 2022-03-29 at 11:36
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
##### {DocumentationIndex|Home} > {Model/DataModel|Data Model} > {Model/Dictionary/ModelChangeTracking|Table Change Tracking}
|
|
2
|
+
|
|
3
|
+
Table Change Tracking
|
|
4
|
+
=====================
|
|
5
|
+
|
|
6
|
+
The following table describes which tables have implicit create, update and delete change tracking (provided by the meadow endpoints API architecture). This does not include any kind of media archival or record longitudinal backups; just timestamps and user stamps for the last action of each type.
|
|
7
|
+
|
|
8
|
+
Table | Create | Update | Delete
|
|
9
|
+
----- | :----: | :----: | :----:
|
|
10
|
+
Book | X | X | X
|
|
11
|
+
BookAuthorJoin | | |
|
|
12
|
+
Author | X | X | X
|
|
13
|
+
BookPrice | X | X | X
|
|
14
|
+
Review | X | X | X
|
|
15
|
+
- - -
|
|
16
|
+
|
|
17
|
+
Generated on 2022-03-29 at 11:36
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
This is where the auto compiled markdown documentation of the data model will generate.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
This is where the auto compiled diagram of the data model will generate.
|