Skip to content

Conversation

@foxriver76
Copy link
Collaborator

@foxriver76 foxriver76 commented May 28, 2024

Link the feature issue which is closed by this PR

This allows us to export zipFiles etc by tools while still using db types

Implementation details

swapped the logic of common packages

  • common-db is now the package for the database packages
  • common is now the general package

Tests

  • I have added tests to test this feature
  • It is not possible to test this feature

Documentation

  • I have documented the new feature

If no tests added, please specify why it was not possible

Refactor it is already tested implicitly

…t content

- to allow ESM and avoid additional fixer run
- common-db is now the package for the database packages
- common is now the general package
@foxriver76 foxriver76 requested a review from Apollon77 May 28, 2024 19:34
const inst: ioBroker.InstanceObject | null | undefined = await adapter.getForeignObjectAsync(
'system.adapter.admin.0'
);
const inst: ioBroker.InstanceObject | null | undefined =

Check notice

Code scanning / CodeQL

Unused variable, import, function or class

Unused variable inst.
const adptr: ioBroker.AdapterObject | null | undefined = await adapter.getForeignObjectAsync(
'system.adapter.admin'
);
const adptr: ioBroker.AdapterObject | null | undefined =

Check notice

Code scanning / CodeQL

Unused variable, import, function or class

Unused variable adptr.
const group: ioBroker.GroupObject | null | undefined = await adapter.getForeignObjectAsync(
'system.group.admin.faz'
);
const group: ioBroker.GroupObject | null | undefined =

Check notice

Code scanning / CodeQL

Unused variable, import, function or class

Unused variable group.
const config: (ioBroker.OtherObject & { type: 'config' }) | null | undefined = await adapter.getForeignObjectAsync(
'system.certificates'
);
const config: (ioBroker.OtherObject & { type: 'config' }) | null | undefined =

Check notice

Code scanning / CodeQL

Unused variable, import, function or class

Unused variable config.
const sysConfig: ioBroker.SystemConfigObject | null | undefined = await adapter.getForeignObjectAsync(
'system.config'
);
const sysConfig: ioBroker.SystemConfigObject | null | undefined =

Check notice

Code scanning / CodeQL

Unused variable, import, function or class

Unused variable sysConfig.
const systemRepo: ioBroker.RepositoryObject | null | undefined = await adapter.getForeignObjectAsync(
'system.repositories'
);
const systemRepo: ioBroker.RepositoryObject | null | undefined =

Check notice

Code scanning / CodeQL

Unused variable, import, function or class

Unused variable systemRepo.
@foxriver76 foxriver76 merged commit 9dbeeb6 into master May 28, 2024
@foxriver76 foxriver76 deleted the common-package-refactor branch May 28, 2024 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants