@brandlab-digital/site-core 3.3.3 → 3.4.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/dist/geography.d.ts +11 -1
- package/dist/geography.d.ts.map +1 -1
- package/dist/geography.js +978 -0
- package/dist/geography.js.map +1 -1
- package/dist/location-policy.d.ts +89 -0
- package/dist/location-policy.d.ts.map +1 -0
- package/dist/location-policy.js +119 -0
- package/dist/location-policy.js.map +1 -0
- package/dist/locations.d.ts +63 -0
- package/dist/locations.d.ts.map +1 -1
- package/dist/locations.js +111 -0
- package/dist/locations.js.map +1 -1
- package/dist/project.d.ts +34 -0
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +94 -0
- package/dist/project.js.map +1 -1
- package/dist/sitemaps.d.ts +19 -1
- package/dist/sitemaps.d.ts.map +1 -1
- package/dist/sitemaps.js +30 -0
- package/dist/sitemaps.js.map +1 -1
- package/package.json +5 -1
package/dist/geography.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Canonical Brandlab geography registries — generated from:
|
|
3
3
|
* - Sydney: standards/registry/sydney-geography.json v1.5.0 (2026-07-10); standards/registry/sydney-website-location-policy.json v1.1.0 (2026-08-14)
|
|
4
4
|
* - Central Coast: standards/registry/central-coast-geography.json v2.1.0 (2026-07-30); standards/registry/central-coast-website-location-policy.json v1.0.0 (2026-08-14)
|
|
5
|
+
* - Suburb centres: standards/registry/nsw-suburb-centres.json v1.0.0 (2026-10-08)
|
|
5
6
|
*
|
|
6
7
|
* Edit the JSON registries, then run npm run generate:geography.
|
|
7
8
|
* Registry membership supplies geography facts; it never approves a route.
|
|
@@ -10,7 +11,7 @@
|
|
|
10
11
|
* package export refuses browser bundles, so a client component that reaches it
|
|
11
12
|
* fails the build. Build location lists on the server and pass plain props.
|
|
12
13
|
*/
|
|
13
|
-
import type { GeographyRegistry, RegistryOfficialLocality, WebsiteLocationPolicy } from './locations.js';
|
|
14
|
+
import type { GeographyRegistry, RegistryOfficialLocality, SuburbCentre, WebsiteLocationPolicy } from './locations.js';
|
|
14
15
|
/**
|
|
15
16
|
* Canonical Sydney geography facts and location candidates.
|
|
16
17
|
*
|
|
@@ -41,4 +42,13 @@ export declare const centralCoastDefaultExcludedWebsiteSuburbSlugs: readonly ["b
|
|
|
41
42
|
export declare const centralCoastWebsiteSuburbs: import("./locations.js").RegistrySuburb[];
|
|
42
43
|
/** Complete official locality inventory retained by this registry. */
|
|
43
44
|
export declare const centralCoastOfficialLocalities: readonly RegistryOfficialLocality[];
|
|
45
|
+
/**
|
|
46
|
+
* The centre of every registry suburb and locality (nsw-suburb-centres.json
|
|
47
|
+
* v1.0.0): the NSW Spatial Services suburb polygon's label point, which
|
|
48
|
+
* always lies inside the suburb, in GDA2020 degrees. Neighbour lists are ranked
|
|
49
|
+
* by the distance between these centres.
|
|
50
|
+
*/
|
|
51
|
+
export declare const nswSuburbCentres: Readonly<Record<string, SuburbCentre>>;
|
|
52
|
+
/** A registry suburb's or locality's centre, following the registries' legacy slugs; undefined for any other place. */
|
|
53
|
+
export declare function getSuburbCentre(slug: string): SuburbCentre | undefined;
|
|
44
54
|
//# sourceMappingURL=geography.d.ts.map
|
package/dist/geography.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geography.d.ts","sourceRoot":"","sources":["../src/geography.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"geography.d.ts","sourceRoot":"","sources":["../src/geography.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EACV,iBAAiB,EACjB,wBAAwB,EACxB,YAAY,EACZ,qBAAqB,EACtB,MAAM,gBAAgB,CAAA;AAEvB;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,iBA8hN7B,CAAA;AAED,uFAAuF;AACvF,eAAO,MAAM,2BAA2B,EAAE,qBAgKzC,CAAA;AAED,oFAAoF;AACpF,eAAO,MAAM,uCAAuC,sqBA4C1C,CAAA;AAMV,mGAAmG;AACnG,eAAO,MAAM,oBAAoB,2CAEhC,CAAA;AAED,sEAAsE;AACtE,eAAO,MAAM,wBAAwB,EAAE,SAAS,wBAAwB,EAG1B,CAAA;AAE9C;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,EAAE,iBAsnCnC,CAAA;AAED,6FAA6F;AAC7F,eAAO,MAAM,iCAAiC,EAAE,qBA2D/C,CAAA;AAED,oFAAoF;AACpF,eAAO,MAAM,6CAA6C,gXAyBhD,CAAA;AAMV,mGAAmG;AACnG,eAAO,MAAM,0BAA0B,2CAEtC,CAAA;AAED,sEAAsE;AACtE,eAAO,MAAM,8BAA8B,EAAE,SAAS,wBAAwB,EAGhC,CAAA;AAE9C;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CA+7BlE,CAAA;AAIF,uHAAuH;AACvH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAOtE"}
|