pmcf 3.5.0 → 3.5.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -52,7 +52,7 @@
52
52
  "dependencies": {
53
53
  "ip-utilties": "^1.4.7",
54
54
  "npm-pkgbuild": "^18.2.16",
55
- "pacc": "^4.4.0",
55
+ "pacc": "^4.5.1",
56
56
  "package-directory": "^8.1.0"
57
57
  },
58
58
  "devDependencies": {
package/src/base.mjs CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  string_collection_attribute,
8
8
  number_attribute,
9
9
  description_attribute,
10
- boolean_attribute_writeable_false
10
+ boolean_attribute_writable_false
11
11
  } from "pacc";
12
12
  import { addType, primitives, typeFactory } from "./types.mjs";
13
13
  import { asArray } from "./utils.mjs";
@@ -26,7 +26,7 @@ const BaseTypeDefinition = {
26
26
  priority: { ...number_attribute, writable: true },
27
27
  directory: { ...string_attribute, writable: false },
28
28
  packaging: { ...string_attribute, writable: true },
29
- disabled: boolean_attribute_writeable_false,
29
+ disabled: boolean_attribute_writable_false,
30
30
  tags: { ...string_collection_attribute, writable: true }
31
31
  }
32
32
  };
@@ -5,8 +5,8 @@ import { isLinkLocal, reverseArpa } from "ip-utilties";
5
5
  import {
6
6
  string_attribute,
7
7
  string_collection_attribute,
8
- boolean_attribute_writeable_true,
9
- boolean_attribute_writeable_false,
8
+ boolean_attribute_writable_true,
9
+ boolean_attribute_writable_false,
10
10
  number_attribute
11
11
  } from "pacc";
12
12
  import { writeLines, asArray } from "../utils.mjs";
@@ -43,16 +43,16 @@ const BindServiceTypeDefinition = {
43
43
  },
44
44
  protected: { type: address_types, collection: true, writable: true },
45
45
  internal: { type: address_types, collection: true, writable: true },
46
- hasSVRRecords: boolean_attribute_writeable_false,
47
- hasCatalog: boolean_attribute_writeable_true,
48
- hasLinkLocalAdresses: boolean_attribute_writeable_false,
49
- hasLocationRecord: boolean_attribute_writeable_true,
46
+ hasSVRRecords: boolean_attribute_writable_false,
47
+ hasCatalog: boolean_attribute_writable_true,
48
+ hasLinkLocalAdresses: boolean_attribute_writable_false,
49
+ hasLocationRecord: boolean_attribute_writable_true,
50
50
  excludeInterfaceKinds: {
51
51
  ...string_collection_attribute,
52
52
  writable: true
53
53
  },
54
54
  exclude: { type: address_types, collection: true, writable: true },
55
- notify: boolean_attribute_writeable_false,
55
+ notify: boolean_attribute_writable_false,
56
56
  recordTTL: { ...string_attribute, writable: true },
57
57
  serial: { ...number_attribute, writable: true },
58
58
  refresh: { ...string_attribute, writable: true, default: 36000 },
@@ -1,6 +1,6 @@
1
1
  import { join } from "node:path";
2
2
  import { FileContentProvider } from "npm-pkgbuild";
3
- import { boolean_attribute_writeable_true } from "pacc";
3
+ import { boolean_attribute_writable_true } from "pacc";
4
4
  import { writeLines } from "../utils.mjs";
5
5
  import { addType } from "../types.mjs";
6
6
  import { Service, ServiceTypeDefinition } from "../service.mjs";
@@ -13,7 +13,7 @@ const InfluxdbServiceTypeDefinition = {
13
13
  priority: 0.1,
14
14
  properties: {
15
15
  "metrics-disabled": {
16
- ...boolean_attribute_writeable_true,
16
+ ...boolean_attribute_writable_true,
17
17
  isCommonOption: true
18
18
  }
19
19
  },
@@ -4,7 +4,7 @@ import { reverseArpa } from "ip-utilties";
4
4
  import {
5
5
  string_attribute,
6
6
  number_attribute,
7
- boolean_attribute_writeable_true
7
+ boolean_attribute_writable_true
8
8
  } from "pacc";
9
9
  import {
10
10
  Service,
@@ -25,7 +25,7 @@ const KeaServiceTypeDefinition = {
25
25
  priority: 0.1,
26
26
  properties: {
27
27
  "ddns-send-updates": {
28
- ...boolean_attribute_writeable_true,
28
+ ...boolean_attribute_writable_true,
29
29
  isCommonOption: true
30
30
  },
31
31
  "renew-timer": {
@@ -1,10 +1,6 @@
1
1
  import { join } from "node:path";
2
2
  import { FileContentProvider } from "npm-pkgbuild";
3
- import {
4
- boolean_attribute_writeable_true,
5
- boolean_attribute_writeable_false
6
- } from "pacc";
7
-
3
+ import { boolean_attribute_writable_true } from "pacc";
8
4
  import { writeLines } from "../utils.mjs";
9
5
  import { addType } from "../types.mjs";
10
6
  import { Service, ServiceTypeDefinition } from "../service.mjs";
@@ -17,11 +13,11 @@ const MosquittoServiceTypeDefinition = {
17
13
  priority: 0.1,
18
14
  properties: {
19
15
  log_timestamp: {
20
- ...boolean_attribute_writeable_false,
16
+ ...boolean_attribute_writable_true,
21
17
  isCommonOption: true
22
18
  },
23
19
  allow_anonymous: {
24
- ...boolean_attribute_writeable_false,
20
+ ...boolean_attribute_writable_true,
25
21
  isCommonOption: true
26
22
  }
27
23
  },