@scalemule/news-publication 0.0.60 → 0.0.61

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.
@@ -232,6 +232,17 @@ var NETWORK_PARENT = {
232
232
  principles: EDITORIAL_PRINCIPLES
233
233
  };
234
234
  var localPublications = [
235
+ {
236
+ slug: "lazytensor",
237
+ name: "Lazy Tensor",
238
+ url: "https://lazytensor.com",
239
+ area: "Silicon Valley \xB7 AI & Technology",
240
+ focus: "AI & Technology",
241
+ kind: "topical",
242
+ slogan: "Technology, Intelligence & Everything in Between.",
243
+ description: "The network's technology publication: artificial intelligence, computing, science, startups and what technology means for the people and communities of Silicon Valley and the Bay Area.",
244
+ aboutIntro: "Lazy Tensor is the Bay Area News Network's dedicated technology publication. We report on artificial intelligence, computing, science and the companies, researchers and founders of Silicon Valley, and we explain what those developments mean for readers' lives, work and communities. Our principle is simple: understand the technology, question the hype, explain what matters. Lazy Tensor also gathers the technology reporting of the network's local newsrooms in one place, always with credit to the paper that reported the story first."
245
+ },
235
246
  {
236
247
  slug: "bayareachronicle",
237
248
  name: "Bay Area Chronicle",
@@ -337,7 +348,10 @@ var listedPublications = localPublications.filter(
337
348
  (publication) => !("listed" in publication) || publication.listed
338
349
  );
339
350
  var communityPublications = listedPublications.filter(
340
- (publication) => publication.slug !== "bayareachronicle"
351
+ (publication) => publication.slug !== "bayareachronicle" && publication.kind !== "topical"
352
+ );
353
+ var topicalPublications = listedPublications.filter(
354
+ (publication) => publication.kind === "topical"
341
355
  );
342
356
  function findPublicationBySlug(slug) {
343
357
  return localPublications.find((p) => p.slug === slug);
@@ -369,4 +383,4 @@ function isNetworkHostname(hostname) {
369
383
  return clean === "bayareanewsnetwork.com" || clean.endsWith(".bayareanewsnetwork.com") || NETWORK_HOSTNAMES.has(clean) || clean.endsWith(".bayareachronicle.com") || clean.endsWith(".napsite.com") || clean.endsWith(".site.scalemule.com");
370
384
  }
371
385
 
372
- export { COOKIE_CATEGORIES, EDITORIAL_PRINCIPLES, NETWORK_PARENT, communityPublications, findPublicationByHost, findPublicationBySlug, getNetworkPublicationUrl, isNetworkHostname, listedPublications, localPublications, recordConsentToCompliance, setupNetworkConsentDelegation };
386
+ export { COOKIE_CATEGORIES, EDITORIAL_PRINCIPLES, NETWORK_PARENT, communityPublications, findPublicationByHost, findPublicationBySlug, getNetworkPublicationUrl, isNetworkHostname, listedPublications, localPublications, recordConsentToCompliance, setupNetworkConsentDelegation, topicalPublications };
@@ -1,4 +1,4 @@
1
- import { NETWORK_PARENT } from './chunk-JV76ZEIA.js';
1
+ import { NETWORK_PARENT } from './chunk-6S5FARL3.js';
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
3
 
4
4
  function NetworkCopyrightNotice({
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { setupNetworkConsentDelegation, COOKIE_CONSENT_EVENT, listedPublications, decorateNetworkUrl } from './chunk-JV76ZEIA.js';
2
+ import { setupNetworkConsentDelegation, COOKIE_CONSENT_EVENT, listedPublications, decorateNetworkUrl } from './chunk-6S5FARL3.js';
3
3
  import { useState, useId, useRef, useEffect } from 'react';
4
4
  import { jsx, jsxs } from 'react/jsx-runtime';
5
5
 
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { getCookieConsent, DEFAULT_PREFERENCES_ACCEPTED, COOKIE_CATEGORIES, setCookieConsent, recordConsentToCompliance, DEFAULT_PREFERENCES_REJECTED } from './chunk-JV76ZEIA.js';
2
+ import { getCookieConsent, DEFAULT_PREFERENCES_ACCEPTED, COOKIE_CATEGORIES, setCookieConsent, recordConsentToCompliance, DEFAULT_PREFERENCES_REJECTED } from './chunk-6S5FARL3.js';
3
3
  import { useState, useEffect } from 'react';
4
4
  import { jsxs, jsx } from 'react/jsx-runtime';
5
5
 
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { hasConsented, rejectOptionalCookies, DEFAULT_CONSENT_HUB_URL, isGpcActive, COOKIE_CONSENT_EVENT, acceptAllCookies, recordConsentToCompliance } from './chunk-JV76ZEIA.js';
2
+ import { hasConsented, rejectOptionalCookies, DEFAULT_CONSENT_HUB_URL, isGpcActive, COOKIE_CONSENT_EVENT, acceptAllCookies, recordConsentToCompliance } from './chunk-6S5FARL3.js';
3
3
  import { useState, useEffect } from 'react';
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
5
 
@@ -7,6 +7,17 @@ var jsxRuntime = require('react/jsx-runtime');
7
7
 
8
8
  // src/network.ts
9
9
  var localPublications = [
10
+ {
11
+ slug: "lazytensor",
12
+ name: "Lazy Tensor",
13
+ url: "https://lazytensor.com",
14
+ area: "Silicon Valley \xB7 AI & Technology",
15
+ focus: "AI & Technology",
16
+ kind: "topical",
17
+ slogan: "Technology, Intelligence & Everything in Between.",
18
+ description: "The network's technology publication: artificial intelligence, computing, science, startups and what technology means for the people and communities of Silicon Valley and the Bay Area.",
19
+ aboutIntro: "Lazy Tensor is the Bay Area News Network's dedicated technology publication. We report on artificial intelligence, computing, science and the companies, researchers and founders of Silicon Valley, and we explain what those developments mean for readers' lives, work and communities. Our principle is simple: understand the technology, question the hype, explain what matters. Lazy Tensor also gathers the technology reporting of the network's local newsrooms in one place, always with credit to the paper that reported the story first."
20
+ },
10
21
  {
11
22
  slug: "bayareachronicle",
12
23
  name: "Bay Area Chronicle",
@@ -112,7 +123,10 @@ var listedPublications = localPublications.filter(
112
123
  (publication) => !("listed" in publication) || publication.listed
113
124
  );
114
125
  listedPublications.filter(
115
- (publication) => publication.slug !== "bayareachronicle"
126
+ (publication) => publication.slug !== "bayareachronicle" && publication.kind !== "topical"
127
+ );
128
+ listedPublications.filter(
129
+ (publication) => publication.kind === "topical"
116
130
  );
117
131
  new Set(
118
132
  localPublications.map((p) => {
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- export { CookieConsentBanner } from './chunk-GOWOYMSG.js';
3
- import './chunk-JV76ZEIA.js';
2
+ export { CookieConsentBanner } from './chunk-XPOZGZTM.js';
3
+ import './chunk-6S5FARL3.js';
@@ -7,6 +7,17 @@ var jsxRuntime = require('react/jsx-runtime');
7
7
 
8
8
  // src/network.ts
9
9
  var localPublications = [
10
+ {
11
+ slug: "lazytensor",
12
+ name: "Lazy Tensor",
13
+ url: "https://lazytensor.com",
14
+ area: "Silicon Valley \xB7 AI & Technology",
15
+ focus: "AI & Technology",
16
+ kind: "topical",
17
+ slogan: "Technology, Intelligence & Everything in Between.",
18
+ description: "The network's technology publication: artificial intelligence, computing, science, startups and what technology means for the people and communities of Silicon Valley and the Bay Area.",
19
+ aboutIntro: "Lazy Tensor is the Bay Area News Network's dedicated technology publication. We report on artificial intelligence, computing, science and the companies, researchers and founders of Silicon Valley, and we explain what those developments mean for readers' lives, work and communities. Our principle is simple: understand the technology, question the hype, explain what matters. Lazy Tensor also gathers the technology reporting of the network's local newsrooms in one place, always with credit to the paper that reported the story first."
20
+ },
10
21
  {
11
22
  slug: "bayareachronicle",
12
23
  name: "Bay Area Chronicle",
@@ -112,7 +123,10 @@ var listedPublications = localPublications.filter(
112
123
  (publication) => !("listed" in publication) || publication.listed
113
124
  );
114
125
  listedPublications.filter(
115
- (publication) => publication.slug !== "bayareachronicle"
126
+ (publication) => publication.slug !== "bayareachronicle" && publication.kind !== "topical"
127
+ );
128
+ listedPublications.filter(
129
+ (publication) => publication.kind === "topical"
116
130
  );
117
131
  new Set(
118
132
  localPublications.map((p) => {
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- export { CookieSettingsView } from './chunk-UL2Q3N26.js';
3
- import './chunk-JV76ZEIA.js';
2
+ export { CookieSettingsView } from './chunk-GYYUJYI4.js';
3
+ import './chunk-6S5FARL3.js';
package/dist/index.cjs CHANGED
@@ -1314,6 +1314,17 @@ var NETWORK_PARENT = {
1314
1314
  principles: EDITORIAL_PRINCIPLES
1315
1315
  };
1316
1316
  var localPublications = [
1317
+ {
1318
+ slug: "lazytensor",
1319
+ name: "Lazy Tensor",
1320
+ url: "https://lazytensor.com",
1321
+ area: "Silicon Valley \xB7 AI & Technology",
1322
+ focus: "AI & Technology",
1323
+ kind: "topical",
1324
+ slogan: "Technology, Intelligence & Everything in Between.",
1325
+ description: "The network's technology publication: artificial intelligence, computing, science, startups and what technology means for the people and communities of Silicon Valley and the Bay Area.",
1326
+ aboutIntro: "Lazy Tensor is the Bay Area News Network's dedicated technology publication. We report on artificial intelligence, computing, science and the companies, researchers and founders of Silicon Valley, and we explain what those developments mean for readers' lives, work and communities. Our principle is simple: understand the technology, question the hype, explain what matters. Lazy Tensor also gathers the technology reporting of the network's local newsrooms in one place, always with credit to the paper that reported the story first."
1327
+ },
1317
1328
  {
1318
1329
  slug: "bayareachronicle",
1319
1330
  name: "Bay Area Chronicle",
@@ -1419,7 +1430,10 @@ var listedPublications = localPublications.filter(
1419
1430
  (publication) => !("listed" in publication) || publication.listed
1420
1431
  );
1421
1432
  var communityPublications = listedPublications.filter(
1422
- (publication) => publication.slug !== "bayareachronicle"
1433
+ (publication) => publication.slug !== "bayareachronicle" && publication.kind !== "topical"
1434
+ );
1435
+ var topicalPublications = listedPublications.filter(
1436
+ (publication) => publication.kind === "topical"
1423
1437
  );
1424
1438
  function findPublicationBySlug(slug) {
1425
1439
  return localPublications.find((p) => p.slug === slug);
@@ -3735,6 +3749,7 @@ exports.storyTowns = storyTowns;
3735
3749
  exports.subscribeTheme = subscribeTheme;
3736
3750
  exports.syncPublication = syncPublication;
3737
3751
  exports.themeInitScript = themeInitScript;
3752
+ exports.topicalPublications = topicalPublications;
3738
3753
  exports.townSlug = townSlug;
3739
3754
  exports.validCalendarDate = validCalendarDate;
3740
3755
  exports.walnutCreekTimes = walnutCreekTimes;
package/dist/index.d.cts CHANGED
@@ -8,7 +8,7 @@ export { COOKIE_CONSENT_BACKUP_KEY, COOKIE_CONSENT_EVENT, COOKIE_CONSENT_KEY, CO
8
8
  export { CookieConsentBanner, CookieConsentBannerProps } from './cookie-consent-banner.cjs';
9
9
  export { CookieSettingsView, CookieSettingsViewProps } from './cookie-settings-view.cjs';
10
10
  export { ThemeToggle, ThemeToggleProps } from './theme-toggle.cjs';
11
- export { EDITORIAL_PRINCIPLES, EditorialPrinciple, NETWORK_PARENT, NetworkParent, PublicationNetworkItem, communityPublications, findPublicationByHost, findPublicationBySlug, getNetworkPublicationUrl, listedPublications, localPublications } from './network.cjs';
11
+ export { EDITORIAL_PRINCIPLES, EditorialPrinciple, NETWORK_PARENT, NetworkParent, PublicationNetworkItem, communityPublications, findPublicationByHost, findPublicationBySlug, getNetworkPublicationUrl, listedPublications, localPublications, topicalPublications } from './network.cjs';
12
12
  export { LocalNetworkBar, LocalNetworkBarProps } from './network-bar.cjs';
13
13
  export { NetworkCopyrightNotice, NetworkCopyrightNoticeProps } from './network-copyright.cjs';
14
14
  import * as React from 'react';
package/dist/index.d.ts CHANGED
@@ -8,7 +8,7 @@ export { COOKIE_CONSENT_BACKUP_KEY, COOKIE_CONSENT_EVENT, COOKIE_CONSENT_KEY, CO
8
8
  export { CookieConsentBanner, CookieConsentBannerProps } from './cookie-consent-banner.js';
9
9
  export { CookieSettingsView, CookieSettingsViewProps } from './cookie-settings-view.js';
10
10
  export { ThemeToggle, ThemeToggleProps } from './theme-toggle.js';
11
- export { EDITORIAL_PRINCIPLES, EditorialPrinciple, NETWORK_PARENT, NetworkParent, PublicationNetworkItem, communityPublications, findPublicationByHost, findPublicationBySlug, getNetworkPublicationUrl, listedPublications, localPublications } from './network.js';
11
+ export { EDITORIAL_PRINCIPLES, EditorialPrinciple, NETWORK_PARENT, NetworkParent, PublicationNetworkItem, communityPublications, findPublicationByHost, findPublicationBySlug, getNetworkPublicationUrl, listedPublications, localPublications, topicalPublications } from './network.js';
12
12
  export { LocalNetworkBar, LocalNetworkBarProps } from './network-bar.js';
13
13
  export { NetworkCopyrightNotice, NetworkCopyrightNoticeProps } from './network-copyright.js';
14
14
  import * as React from 'react';
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- export { NetworkCopyrightNotice } from './chunk-WAC6ATNP.js';
1
+ export { NetworkCopyrightNotice } from './chunk-DM4KQNJH.js';
2
2
  export { CURATED_COMMUNITY_CARDS, VerifiedCardComponent, VerifiedCardSection, getArticleCards, isSafeActionUrl } from './chunk-FMCHQI7K.js';
3
3
  export { MEET_ACTIVITIES, activityLabel, canHostMeetup, isAdult, prepareMeetup, screenMessage } from './chunk-AMLVCZDP.js';
4
- export { CookieConsentBanner } from './chunk-GOWOYMSG.js';
5
- export { CookieSettingsView } from './chunk-UL2Q3N26.js';
4
+ export { CookieConsentBanner } from './chunk-XPOZGZTM.js';
5
+ export { CookieSettingsView } from './chunk-GYYUJYI4.js';
6
6
  export { THEME_COOKIE, THEME_EVENT, THEME_MAX_AGE_SECONDS, THEME_STORAGE_KEY, ThemeToggle, applyTheme, clearTheme, getStoredTheme, getSystemTheme, resolveEffectiveTheme, setTheme, subscribeTheme, themeInitScript } from './chunk-NQD3M7ZY.js';
7
- export { LocalNetworkBar } from './chunk-2XSW7JZS.js';
8
- import { localPublications } from './chunk-JV76ZEIA.js';
9
- export { COOKIE_CATEGORIES, COOKIE_CONSENT_BACKUP_KEY, COOKIE_CONSENT_EVENT, COOKIE_CONSENT_KEY, COOKIE_CONSENT_MAX_AGE_SECONDS, DEFAULT_CONSENT_HUB_URL, DEFAULT_PREFERENCES_ACCEPTED, DEFAULT_PREFERENCES_REJECTED, EDITORIAL_PRINCIPLES, EU_EEA_UK_COUNTRIES, NETWORK_CONSENT_STORAGE_KEY, NETWORK_PARENT, acceptAllCookies, checkUrlConsentBridge, clearCookieConsent, communityPublications, decorateNetworkUrl, findPublicationByHost, findPublicationBySlug, getCookieConsent, getNetworkPublicationUrl, hasConsented, isCategoryAllowed, isGeoConsentRequired, listedPublications, localPublications, queryNetworkConsentHub, recordConsentToCompliance, rejectOptionalCookies, setCookieConsent, setNetworkConsentHub } from './chunk-JV76ZEIA.js';
7
+ export { LocalNetworkBar } from './chunk-F53CPZQO.js';
8
+ import { localPublications } from './chunk-6S5FARL3.js';
9
+ export { COOKIE_CATEGORIES, COOKIE_CONSENT_BACKUP_KEY, COOKIE_CONSENT_EVENT, COOKIE_CONSENT_KEY, COOKIE_CONSENT_MAX_AGE_SECONDS, DEFAULT_CONSENT_HUB_URL, DEFAULT_PREFERENCES_ACCEPTED, DEFAULT_PREFERENCES_REJECTED, EDITORIAL_PRINCIPLES, EU_EEA_UK_COUNTRIES, NETWORK_CONSENT_STORAGE_KEY, NETWORK_PARENT, acceptAllCookies, checkUrlConsentBridge, clearCookieConsent, communityPublications, decorateNetworkUrl, findPublicationByHost, findPublicationBySlug, getCookieConsent, getNetworkPublicationUrl, hasConsented, isCategoryAllowed, isGeoConsentRequired, listedPublications, localPublications, queryNetworkConsentHub, recordConsentToCompliance, rejectOptionalCookies, setCookieConsent, setNetworkConsentHub, topicalPublications } from './chunk-6S5FARL3.js';
10
10
  export { communityMapEmbeds } from './chunk-IMYBSG7J.js';
11
11
  export { formatArtworkCaption, parseDocumentBlocks, renderArticleBlocksToHtml, sanitizeInlineMarkdown } from './chunk-OISLCYER.js';
12
12
  import { definePublication } from './chunk-57YVL6BD.js';
@@ -36,6 +36,17 @@ function setupNetworkConsentDelegation() {
36
36
 
37
37
  // src/network.ts
38
38
  var localPublications = [
39
+ {
40
+ slug: "lazytensor",
41
+ name: "Lazy Tensor",
42
+ url: "https://lazytensor.com",
43
+ area: "Silicon Valley \xB7 AI & Technology",
44
+ focus: "AI & Technology",
45
+ kind: "topical",
46
+ slogan: "Technology, Intelligence & Everything in Between.",
47
+ description: "The network's technology publication: artificial intelligence, computing, science, startups and what technology means for the people and communities of Silicon Valley and the Bay Area.",
48
+ aboutIntro: "Lazy Tensor is the Bay Area News Network's dedicated technology publication. We report on artificial intelligence, computing, science and the companies, researchers and founders of Silicon Valley, and we explain what those developments mean for readers' lives, work and communities. Our principle is simple: understand the technology, question the hype, explain what matters. Lazy Tensor also gathers the technology reporting of the network's local newsrooms in one place, always with credit to the paper that reported the story first."
49
+ },
39
50
  {
40
51
  slug: "bayareachronicle",
41
52
  name: "Bay Area Chronicle",
@@ -141,7 +152,10 @@ var listedPublications = localPublications.filter(
141
152
  (publication) => !("listed" in publication) || publication.listed
142
153
  );
143
154
  listedPublications.filter(
144
- (publication) => publication.slug !== "bayareachronicle"
155
+ (publication) => publication.slug !== "bayareachronicle" && publication.kind !== "topical"
156
+ );
157
+ listedPublications.filter(
158
+ (publication) => publication.kind === "topical"
145
159
  );
146
160
  var NETWORK_HOSTNAMES = new Set(
147
161
  localPublications.map((p) => {
@@ -1,2 +1,2 @@
1
- export { LocalNetworkBar } from './chunk-2XSW7JZS.js';
2
- import './chunk-JV76ZEIA.js';
1
+ export { LocalNetworkBar } from './chunk-F53CPZQO.js';
2
+ import './chunk-6S5FARL3.js';
@@ -9,6 +9,17 @@ var NETWORK_PARENT = {
9
9
  url: "https://bayareanewsnetwork.com",
10
10
  brandSlogan: "Bringing communities closer."};
11
11
  var localPublications = [
12
+ {
13
+ slug: "lazytensor",
14
+ name: "Lazy Tensor",
15
+ url: "https://lazytensor.com",
16
+ area: "Silicon Valley \xB7 AI & Technology",
17
+ focus: "AI & Technology",
18
+ kind: "topical",
19
+ slogan: "Technology, Intelligence & Everything in Between.",
20
+ description: "The network's technology publication: artificial intelligence, computing, science, startups and what technology means for the people and communities of Silicon Valley and the Bay Area.",
21
+ aboutIntro: "Lazy Tensor is the Bay Area News Network's dedicated technology publication. We report on artificial intelligence, computing, science and the companies, researchers and founders of Silicon Valley, and we explain what those developments mean for readers' lives, work and communities. Our principle is simple: understand the technology, question the hype, explain what matters. Lazy Tensor also gathers the technology reporting of the network's local newsrooms in one place, always with credit to the paper that reported the story first."
22
+ },
12
23
  {
13
24
  slug: "bayareachronicle",
14
25
  name: "Bay Area Chronicle",
@@ -114,7 +125,10 @@ var listedPublications = localPublications.filter(
114
125
  (publication) => !("listed" in publication) || publication.listed
115
126
  );
116
127
  listedPublications.filter(
117
- (publication) => publication.slug !== "bayareachronicle"
128
+ (publication) => publication.slug !== "bayareachronicle" && publication.kind !== "topical"
129
+ );
130
+ listedPublications.filter(
131
+ (publication) => publication.kind === "topical"
118
132
  );
119
133
  new Set(
120
134
  localPublications.map((p) => {
@@ -1,2 +1,2 @@
1
- export { NetworkCopyrightNotice } from './chunk-WAC6ATNP.js';
2
- import './chunk-JV76ZEIA.js';
1
+ export { NetworkCopyrightNotice } from './chunk-DM4KQNJH.js';
2
+ import './chunk-6S5FARL3.js';
package/dist/network.cjs CHANGED
@@ -109,6 +109,17 @@ var NETWORK_PARENT = {
109
109
  principles: EDITORIAL_PRINCIPLES
110
110
  };
111
111
  var localPublications = [
112
+ {
113
+ slug: "lazytensor",
114
+ name: "Lazy Tensor",
115
+ url: "https://lazytensor.com",
116
+ area: "Silicon Valley \xB7 AI & Technology",
117
+ focus: "AI & Technology",
118
+ kind: "topical",
119
+ slogan: "Technology, Intelligence & Everything in Between.",
120
+ description: "The network's technology publication: artificial intelligence, computing, science, startups and what technology means for the people and communities of Silicon Valley and the Bay Area.",
121
+ aboutIntro: "Lazy Tensor is the Bay Area News Network's dedicated technology publication. We report on artificial intelligence, computing, science and the companies, researchers and founders of Silicon Valley, and we explain what those developments mean for readers' lives, work and communities. Our principle is simple: understand the technology, question the hype, explain what matters. Lazy Tensor also gathers the technology reporting of the network's local newsrooms in one place, always with credit to the paper that reported the story first."
122
+ },
112
123
  {
113
124
  slug: "bayareachronicle",
114
125
  name: "Bay Area Chronicle",
@@ -214,7 +225,10 @@ var listedPublications = localPublications.filter(
214
225
  (publication) => !("listed" in publication) || publication.listed
215
226
  );
216
227
  var communityPublications = listedPublications.filter(
217
- (publication) => publication.slug !== "bayareachronicle"
228
+ (publication) => publication.slug !== "bayareachronicle" && publication.kind !== "topical"
229
+ );
230
+ var topicalPublications = listedPublications.filter(
231
+ (publication) => publication.kind === "topical"
218
232
  );
219
233
  function findPublicationBySlug(slug) {
220
234
  return localPublications.find((p) => p.slug === slug);
@@ -255,3 +269,4 @@ exports.getNetworkPublicationUrl = getNetworkPublicationUrl;
255
269
  exports.isNetworkHostname = isNetworkHostname;
256
270
  exports.listedPublications = listedPublications;
257
271
  exports.localPublications = localPublications;
272
+ exports.topicalPublications = topicalPublications;
@@ -34,6 +34,14 @@ interface PublicationNetworkItem {
34
34
  slogan?: string;
35
35
  aboutIntro?: string;
36
36
  listed?: boolean;
37
+ /**
38
+ * `local` (default) papers cover towns; a `topical` publication covers a
39
+ * subject for the whole network (Lazy Tensor: AI & technology). Topical
40
+ * titles sit in the network bar but not among the community papers.
41
+ */
42
+ kind?: "local" | "topical";
43
+ /** Short subject line shown beside the name in directories, e.g. "AI & Technology". */
44
+ focus?: string;
37
45
  }
38
46
  /**
39
47
  * Public directory of all ScaleMule local news publications in the Bay Area network.
@@ -42,6 +50,8 @@ interface PublicationNetworkItem {
42
50
  declare const localPublications: readonly PublicationNetworkItem[];
43
51
  declare const listedPublications: readonly PublicationNetworkItem[];
44
52
  declare const communityPublications: readonly PublicationNetworkItem[];
53
+ /** Subject publications that serve the whole network (currently Lazy Tensor). */
54
+ declare const topicalPublications: readonly PublicationNetworkItem[];
45
55
  /** Find a publication in the network by its slug. */
46
56
  declare function findPublicationBySlug(slug: string): PublicationNetworkItem | undefined;
47
57
  /** Find a publication in the network by its hostname or full origin URL. */
@@ -51,4 +61,4 @@ declare function getNetworkPublicationUrl(slug: string): string | null;
51
61
  /** Check whether a given hostname belongs to any publication in the ScaleMule news network. */
52
62
  declare function isNetworkHostname(hostname: string): boolean;
53
63
 
54
- export { EDITORIAL_PRINCIPLES, type EditorialPrinciple, NETWORK_PARENT, type NetworkParent, type PublicationNetworkItem, communityPublications, findPublicationByHost, findPublicationBySlug, getNetworkPublicationUrl, isNetworkHostname, listedPublications, localPublications };
64
+ export { EDITORIAL_PRINCIPLES, type EditorialPrinciple, NETWORK_PARENT, type NetworkParent, type PublicationNetworkItem, communityPublications, findPublicationByHost, findPublicationBySlug, getNetworkPublicationUrl, isNetworkHostname, listedPublications, localPublications, topicalPublications };
package/dist/network.d.ts CHANGED
@@ -34,6 +34,14 @@ interface PublicationNetworkItem {
34
34
  slogan?: string;
35
35
  aboutIntro?: string;
36
36
  listed?: boolean;
37
+ /**
38
+ * `local` (default) papers cover towns; a `topical` publication covers a
39
+ * subject for the whole network (Lazy Tensor: AI & technology). Topical
40
+ * titles sit in the network bar but not among the community papers.
41
+ */
42
+ kind?: "local" | "topical";
43
+ /** Short subject line shown beside the name in directories, e.g. "AI & Technology". */
44
+ focus?: string;
37
45
  }
38
46
  /**
39
47
  * Public directory of all ScaleMule local news publications in the Bay Area network.
@@ -42,6 +50,8 @@ interface PublicationNetworkItem {
42
50
  declare const localPublications: readonly PublicationNetworkItem[];
43
51
  declare const listedPublications: readonly PublicationNetworkItem[];
44
52
  declare const communityPublications: readonly PublicationNetworkItem[];
53
+ /** Subject publications that serve the whole network (currently Lazy Tensor). */
54
+ declare const topicalPublications: readonly PublicationNetworkItem[];
45
55
  /** Find a publication in the network by its slug. */
46
56
  declare function findPublicationBySlug(slug: string): PublicationNetworkItem | undefined;
47
57
  /** Find a publication in the network by its hostname or full origin URL. */
@@ -51,4 +61,4 @@ declare function getNetworkPublicationUrl(slug: string): string | null;
51
61
  /** Check whether a given hostname belongs to any publication in the ScaleMule news network. */
52
62
  declare function isNetworkHostname(hostname: string): boolean;
53
63
 
54
- export { EDITORIAL_PRINCIPLES, type EditorialPrinciple, NETWORK_PARENT, type NetworkParent, type PublicationNetworkItem, communityPublications, findPublicationByHost, findPublicationBySlug, getNetworkPublicationUrl, isNetworkHostname, listedPublications, localPublications };
64
+ export { EDITORIAL_PRINCIPLES, type EditorialPrinciple, NETWORK_PARENT, type NetworkParent, type PublicationNetworkItem, communityPublications, findPublicationByHost, findPublicationBySlug, getNetworkPublicationUrl, isNetworkHostname, listedPublications, localPublications, topicalPublications };
package/dist/network.js CHANGED
@@ -1 +1 @@
1
- export { EDITORIAL_PRINCIPLES, NETWORK_PARENT, communityPublications, findPublicationByHost, findPublicationBySlug, getNetworkPublicationUrl, isNetworkHostname, listedPublications, localPublications } from './chunk-JV76ZEIA.js';
1
+ export { EDITORIAL_PRINCIPLES, NETWORK_PARENT, communityPublications, findPublicationByHost, findPublicationBySlug, getNetworkPublicationUrl, isNetworkHostname, listedPublications, localPublications, topicalPublications } from './chunk-6S5FARL3.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scalemule/news-publication",
3
- "version": "0.0.60",
3
+ "version": "0.0.61",
4
4
  "description": "Shared server framework for ScaleMule local news publications. Walnut Creek Times is the broadsheet default; each paper supplies its own identity and feature flags.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",