pmcf 4.25.9 → 4.25.10

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/location.mjs +8 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "4.25.9",
3
+ "version": "4.25.10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/location.mjs CHANGED
@@ -3,17 +3,15 @@ import { addType } from "pacc";
3
3
  import { Owner } from "pmcf";
4
4
  import { loadHooks } from "./hooks.mjs";
5
5
 
6
- const LocationTypeDefinition = {
7
- name: "location",
8
- priority: 2,
9
- owners: [Owner.typeDefinition, "location", "root"],
10
- extends: Owner.typeDefinition,
11
- key: "name",
12
- attributes: {}
13
- };
14
-
15
6
  export class Location extends Owner {
16
- static typeDefinition = LocationTypeDefinition;
7
+ static name = "location";
8
+ static priority = 2;
9
+ static owners = [Owner.typeDefinition, "location", "root"];
10
+ static extends = Owner.typeDefinition;
11
+ static key = "name";
12
+ static attributes = {};
13
+
14
+ static typeDefinition = this;
17
15
 
18
16
  static {
19
17
  addType(this);