Skip to content

Commit

Permalink
Release: 0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Teamcity committed May 16, 2024
1 parent e50894f commit 064af89
Show file tree
Hide file tree
Showing 23 changed files with 89 additions and 93 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/fake-pr-tests.yml

This file was deleted.

1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
save-exact=true
2 changes: 1 addition & 1 deletion central_pane/dtdAbbreviation.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
"bool": "{0/1}",
"bytes": "{BYTES}",
"null": "{null}"
}
}
Empty file added forward_engineering/api.js
Empty file.
11 changes: 9 additions & 2 deletions jsonSchemaProperties.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{
"unneededFieldProps": ["collectionName", "name", "users", "indexes", "collectionUsers", "additionalPropertieserties"],
"unneededFieldProps": [
"collectionName",
"name",
"users",
"indexes",
"collectionUsers",
"additionalPropertieserties"
],
"removeIfPropsNegative": ["partitionKey", "sortKey"]
}
}
2 changes: 1 addition & 1 deletion localization/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,4 @@
"DOCUMENTATION___DB_DEFINITIONS": "Model Definitions",
"CONTEXT_MENU___CONVERT_TO_PATTERN_FIELD": "Convert to Pattern Field",
"CONTEXT_MENU___CONVERT_PATTERN_TO_REGULAR_FIELD": "Convert to Regular Field"
}
}
27 changes: 25 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Firestore",
"version": "0.1.4",
"version": "0.1.5",
"versionDate": "2020-01-10",
"author": "hackolade",
"engines": {
Expand All @@ -26,5 +26,28 @@
}
},
"description": "Hackolade plugin for Google Cloud Firestore",
"disabled": false
"disabled": false,
"lint-staged": {
"*.{js,json}": "prettier --write"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"pre-push": "npx eslint ."
},
"scripts": {
"lint": "eslint . --max-warnings=0",
"package": "node esbuild.package.js"
},
"devDependencies": {
"@hackolade/hck-esbuild-plugins-pack": "0.0.1",
"esbuild": "0.21.3",
"esbuild-plugin-clean": "1.0.1",
"eslint": "9.2.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.1.3",
"lint-staged": "14.0.1",
"prettier": "3.2.5",
"simple-git-hooks": "2.11.1"
},
"release": true
}
34 changes: 17 additions & 17 deletions properties_pane/container_level/containerLevelConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,23 +83,23 @@ making sure that you maintain a proper JSON format.
[
{
"lowerTab": "Details",
"containerLevelKeys": [{
"labelName": "Document id",
"propertyName": "Document ID",
"propertyKeyword": "documentId",
"defaultName": "^[a-zA-Z0-9_.-]{20}$",
"propertyPrimaryKey": true,
"propertyType": "text",
"typeName": "Data type",
"typeOptions": [
"object"
],
"defaultType": "object",
"valueType": "object",
"disabledFieldOption": true,
"entityType": "patternField",
"propertiesRoot": true
}],
"containerLevelKeys": [
{
"labelName": "Document id",
"propertyName": "Document ID",
"propertyKeyword": "documentId",
"defaultName": "^[a-zA-Z0-9_.-]{20}$",
"propertyPrimaryKey": true,
"propertyType": "text",
"typeName": "Data type",
"typeOptions": ["object"],
"defaultType": "object",
"valueType": "object",
"disabledFieldOption": true,
"entityType": "patternField",
"propertiesRoot": true
}
],
"structure": [
{
"propertyName": "Description",
Expand Down
2 changes: 1 addition & 1 deletion properties_pane/defaultData.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
"viewOn": "",
"pipeline": ""
}
}
}
2 changes: 1 addition & 1 deletion properties_pane/entity_level/entityLevelConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ making sure that you maintain a proper JSON format.
}
]
}
]
]
8 changes: 5 additions & 3 deletions properties_pane/field_level/fieldLevelConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,12 @@ making sure that you maintain a proper JSON format.
"propertyType": "text",
"arrayItemDisabled": true,
"enableForReference": true,
"disabledOnCondition": [{
"disabledOnCondition": [
{
"key": "key",
"value": true
}, {
},
{
"key": "documentKind",
"value": true
}
Expand Down Expand Up @@ -147,4 +149,4 @@ making sure that you maintain a proper JSON format.
"array": "array",
"null": "null"
}
}
}
9 changes: 3 additions & 6 deletions properties_pane/model_level/modelLevelConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,7 @@ making sure that you maintain a proper JSON format.
"shouldValidate": false,
"propertyTooltip": "DB vendor",
"propertyType": "select",
"options": [
"Cloud Firestore"
],
"options": ["Cloud Firestore"],
"disabledOption": true
},
{
Expand All @@ -101,8 +99,7 @@ making sure that you maintain a proper JSON format.
"shouldValidate": false,
"propertyTooltip": "DB version",
"propertyType": "select",
"options": [
],
"options": [],
"disabledOption": true
},
{
Expand All @@ -127,4 +124,4 @@ making sure that you maintain a proper JSON format.
}
]
}
]
]
2 changes: 1 addition & 1 deletion properties_pane/view_level/viewLevelConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ making sure that you maintain a proper JSON format.
}
]
}
]
]
16 changes: 1 addition & 15 deletions reverse_engineering/api.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion reverse_engineering/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"WRONG_CONNECTION": "Can not connect to Google Cloud Firestore instance"
},
"excludeDocKind": ["id"]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"inputKeyword": "name",
"inputType": "text",
"inputPlaceholder": "Name"

},
{
"inputLabel": "Host",
Expand All @@ -21,4 +20,4 @@
}
]
}
]
]
10 changes: 5 additions & 5 deletions reverse_engineering/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "FIRESTORE",
"version": "1.0.0",
"description": "",
"author": "Hackolade",
"installed": true
"name": "FIRESTORE",
"version": "1.0.0",
"description": "",
"author": "Hackolade",
"installed": true
}
17 changes: 10 additions & 7 deletions snippets/geopoint-object.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"name": "geopoint-object",
"parentType": "document",
"properties": [{
"name": "lat",
"type": "number"
}, {
"name": "lon",
"type": "number"
}]
"properties": [
{
"name": "lat",
"type": "number"
},
{
"name": "lon",
"type": "number"
}
]
}
6 changes: 2 additions & 4 deletions types/geopoint.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"maxProperties": "",
"additionalProperties": false,
"enum": [],
"subTypes": [
{ "name": "object", "snippet": "geopoint-object" }
]
"subTypes": [{ "name": "object", "snippet": "geopoint-object" }]
}
}
}
2 changes: 1 addition & 1 deletion types/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
"additionalProperties": false,
"enum": []
}
}
}
2 changes: 1 addition & 1 deletion types/string.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
"enum": [],
"sample": ""
}
}
}
2 changes: 1 addition & 1 deletion types/timestamp.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
"default": "",
"sample": ""
}
}
}
4 changes: 1 addition & 3 deletions validation/validationRegularExpressions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
{

}
{}

0 comments on commit 064af89

Please sign in to comment.