pmcf 4.16.0 → 4.16.2
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 +3 -3
- package/src/host.mjs +0 -1
- package/src/owner.mjs +1 -2
- package/src/service.mjs +2 -3
- package/src/services/systemd-resolved.mjs +0 -1
- package/types/service.d.mts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcf",
|
|
3
|
-
"version": "4.16.
|
|
3
|
+
"version": "4.16.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"content-entry-transform": "^1.6.3",
|
|
57
57
|
"ip-utilties": "^2.0.3",
|
|
58
|
-
"npm-pkgbuild": "^20.
|
|
59
|
-
"pacc": "^8.6.
|
|
58
|
+
"npm-pkgbuild": "^20.3.0",
|
|
59
|
+
"pacc": "^8.6.2",
|
|
60
60
|
"package-directory": "^8.2.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
package/src/host.mjs
CHANGED
package/src/owner.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { normalizeCIDR, familyIP } from "ip-utilties";
|
|
2
2
|
import {
|
|
3
3
|
default_attribute_writable,
|
|
4
|
-
string_collection_attribute_writable,
|
|
5
4
|
string_set_attribute_writable,
|
|
6
5
|
string_attribute_writable,
|
|
7
6
|
boolean_attribute_writable_false,
|
|
@@ -36,7 +35,7 @@ const OwnerTypeDefinition = {
|
|
|
36
35
|
domain: string_attribute_writable,
|
|
37
36
|
domains: string_set_attribute_writable,
|
|
38
37
|
timezone: string_attribute_writable,
|
|
39
|
-
architectures:
|
|
38
|
+
architectures: string_set_attribute_writable,
|
|
40
39
|
locales: string_set_attribute_writable,
|
|
41
40
|
administratorEmail: { ...email_attribute, writable: true },
|
|
42
41
|
template: { ...boolean_attribute_writable_false, private: true }
|
package/src/service.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
string_attribute_writable,
|
|
3
|
-
|
|
4
|
-
string_collection_attribute_writable,
|
|
3
|
+
string_set_attribute,
|
|
5
4
|
number_attribute_writable,
|
|
6
5
|
boolean_attribute_false,
|
|
7
6
|
addType
|
|
@@ -36,7 +35,7 @@ export const endpointAttributes = {
|
|
|
36
35
|
values: ["tcp", "udp"]
|
|
37
36
|
},
|
|
38
37
|
type: string_attribute_writable,
|
|
39
|
-
types:
|
|
38
|
+
types: string_set_attribute,
|
|
40
39
|
tls: boolean_attribute_false
|
|
41
40
|
};
|
|
42
41
|
|
|
@@ -36,7 +36,6 @@ const SystemdResolvedServiceTypeDefinition = {
|
|
|
36
36
|
|
|
37
37
|
domains: { externalName: "Domains", ...string_collection_attribute_writable, configurable: true },
|
|
38
38
|
|
|
39
|
-
|
|
40
39
|
MulticastDNS: { ...yesno_attribute_writable, configurable: true },
|
|
41
40
|
Cache: { ...boolean_attribute_writable, configurable: true },
|
|
42
41
|
CacheFromLocalhost: {
|
package/types/service.d.mts
CHANGED
|
@@ -41,7 +41,7 @@ export namespace endpointAttributes {
|
|
|
41
41
|
additionalValues?: object;
|
|
42
42
|
};
|
|
43
43
|
export { string_attribute_writable as type };
|
|
44
|
-
export {
|
|
44
|
+
export { string_set_attribute as types };
|
|
45
45
|
export { boolean_attribute_false as tls };
|
|
46
46
|
}
|
|
47
47
|
export namespace EndpointTypeDefinition {
|
|
@@ -679,7 +679,7 @@ export function sortAscendingByPriority(a: any, b: any): number;
|
|
|
679
679
|
export function sortDescendingByPriority(a: any, b: any): number;
|
|
680
680
|
import { number_attribute_writable } from "pacc";
|
|
681
681
|
import { string_attribute_writable } from "pacc";
|
|
682
|
-
import {
|
|
682
|
+
import { string_set_attribute } from "pacc";
|
|
683
683
|
import { boolean_attribute_false } from "pacc";
|
|
684
684
|
import { Base } from "pmcf";
|
|
685
685
|
import { Host } from "pmcf";
|