@ai-matrx/records 0.58.7 → 0.58.8

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/index.d.cts CHANGED
@@ -2168,6 +2168,12 @@ declare function keptTableHref(fact: {
2168
2168
  interface TableHomeDestination {
2169
2169
  id: Uuid;
2170
2170
  name: string;
2171
+ /**
2172
+ * The organization's web address (UI-FIX-19). A screen draws it beside a name another
2173
+ * destination also carries, so two organizations with one name can be told apart. `null` when
2174
+ * the store's answer predates it.
2175
+ */
2176
+ slug: string | null;
2171
2177
  /** The person's role there: owner · admin · member. */
2172
2178
  role: string;
2173
2179
  /** False when the store says the Table cannot go there; `why` says why, in its words. */
package/dist/index.d.ts CHANGED
@@ -2168,6 +2168,12 @@ declare function keptTableHref(fact: {
2168
2168
  interface TableHomeDestination {
2169
2169
  id: Uuid;
2170
2170
  name: string;
2171
+ /**
2172
+ * The organization's web address (UI-FIX-19). A screen draws it beside a name another
2173
+ * destination also carries, so two organizations with one name can be told apart. `null` when
2174
+ * the store's answer predates it.
2175
+ */
2176
+ slug: string | null;
2171
2177
  /** The person's role there: owner · admin · member. */
2172
2178
  role: string;
2173
2179
  /** False when the store says the Table cannot go there; `why` says why, in its words. */
package/dist/index.js CHANGED
@@ -688,6 +688,7 @@ function parseTableHome(raw) {
688
688
  destinations: destinations.filter((d) => !!d && typeof d === "object" && !!wordsOf(d.id)).map((d) => ({
689
689
  id: String(d.id),
690
690
  name: wordsOf(d.name) ?? "An organization",
691
+ slug: wordsOf(d.slug),
691
692
  role: wordsOf(d.role) ?? "member",
692
693
  ok: d.ok === true,
693
694
  why: wordsOf(d.why)