Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
6258dcdff1 | |||
605b050177 | |||
c97c8e711a | |||
d5654a7bc7 |
11
changelog.md
11
changelog.md
@ -1,5 +1,16 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2024-12-31 - 1.1.3 - fix(core)
|
||||||
|
Added missing license file for project completeness.
|
||||||
|
|
||||||
|
- Introduced a LICENSE file to the project, ensuring clarity on software usage permissions.
|
||||||
|
|
||||||
|
## 2024-12-31 - 1.1.2 - fix(GermanBusinessData)
|
||||||
|
Ensure unique ID generation for BusinessRecord
|
||||||
|
|
||||||
|
- Added generation of a new ID for each BusinessRecord in GermanBusinessData.
|
||||||
|
- Ensures each business record has a unique identifier.
|
||||||
|
|
||||||
## 2024-12-31 - 1.1.1 - fix(dependencies)
|
## 2024-12-31 - 1.1.1 - fix(dependencies)
|
||||||
Update dependencies and devDependencies to newer versions.
|
Update dependencies and devDependencies to newer versions.
|
||||||
|
|
||||||
|
19
license
Normal file
19
license
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
Copyright (c) 2022 Task Venture Capital GmbH (hello@task.vc)
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fin.cx/opendata",
|
"name": "@fin.cx/opendata",
|
||||||
"version": "1.1.1",
|
"version": "1.1.3",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "A TypeScript-based library for accessing and managing open business data, specifically for German companies.",
|
"description": "A TypeScript-based library for accessing and managing open business data, specifically for German companies.",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@fin.cx/opendata',
|
name: '@fin.cx/opendata',
|
||||||
version: '1.1.1',
|
version: '1.1.3',
|
||||||
description: 'A TypeScript-based library for accessing and managing open business data, specifically for German companies.'
|
description: 'A TypeScript-based library for accessing and managing open business data, specifically for German companies.'
|
||||||
}
|
}
|
||||||
|
@ -57,6 +57,7 @@ export class GermanBusinessData {
|
|||||||
totalRecordsCounter++;
|
totalRecordsCounter++;
|
||||||
if (totalRecordsCounter % 10000 === 0) console.log(`${totalRecordsCounter} total records.`);
|
if (totalRecordsCounter % 10000 === 0) console.log(`${totalRecordsCounter} total records.`);
|
||||||
const businessRecord = new this.openDataRef.CBusinessRecord();
|
const businessRecord = new this.openDataRef.CBusinessRecord();
|
||||||
|
businessRecord.id = await this.openDataRef.CBusinessRecord.getNewId();
|
||||||
businessRecord.data.name = entry.name;
|
businessRecord.data.name = entry.name;
|
||||||
await businessRecord.save();
|
await businessRecord.save();
|
||||||
// console.log(`stored ${businessRecord.data.name}`);
|
// console.log(`stored ${businessRecord.data.name}`);
|
||||||
|
Reference in New Issue
Block a user