@voyantjs/identity 0.6.5 → 0.6.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.
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,oBAAoB,4HAU/B,CAAA;AAEF,eAAO,MAAM,gBAAgB,6HAS3B,CAAA;AAEF,eAAO,MAAM,oBAAoB,gKAW/B,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BjC,CAAA;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2B7B,CAAA;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiC7B,CAAA;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCjC,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,OAAO,qBAAqB,CAAC,YAAY,CAAA;AAC5E,MAAM,MAAM,uBAAuB,GAAG,OAAO,qBAAqB,CAAC,YAAY,CAAA;AAC/E,MAAM,MAAM,eAAe,GAAG,OAAO,iBAAiB,CAAC,YAAY,CAAA;AACnE,MAAM,MAAM,kBAAkB,GAAG,OAAO,iBAAiB,CAAC,YAAY,CAAA;AACtE,MAAM,MAAM,oBAAoB,GAAG,OAAO,qBAAqB,CAAC,YAAY,CAAA;AAC5E,MAAM,MAAM,uBAAuB,GAAG,OAAO,qBAAqB,CAAC,YAAY,CAAA"}
package/dist/schema.js CHANGED
@@ -48,6 +48,8 @@ export const identityContactPoints = pgTable("identity_contact_points", {
48
48
  updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
49
49
  }, (table) => [
50
50
  index("idx_identity_contact_points_entity").on(table.entityType, table.entityId),
51
+ index("idx_identity_contact_points_entity_primary_created").on(table.entityType, table.entityId, table.isPrimary, table.createdAt),
52
+ index("idx_identity_contact_points_entity_kind_primary_created").on(table.entityType, table.entityId, table.kind, table.isPrimary, table.createdAt),
51
53
  index("idx_identity_contact_points_kind").on(table.kind),
52
54
  index("idx_identity_contact_points_normalized").on(table.normalizedValue),
53
55
  uniqueIndex("uidx_identity_contact_points_entity_kind_value").on(table.entityType, table.entityId, table.kind, table.value),
@@ -74,6 +76,7 @@ export const identityAddresses = pgTable("identity_addresses", {
74
76
  updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
75
77
  }, (table) => [
76
78
  index("idx_identity_addresses_entity").on(table.entityType, table.entityId),
79
+ index("idx_identity_addresses_entity_primary_created").on(table.entityType, table.entityId, table.isPrimary, table.createdAt),
77
80
  index("idx_identity_addresses_label").on(table.label),
78
81
  ]);
79
82
  export const identityNamedContacts = pgTable("identity_named_contacts", {
@@ -92,6 +95,8 @@ export const identityNamedContacts = pgTable("identity_named_contacts", {
92
95
  updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
93
96
  }, (table) => [
94
97
  index("idx_identity_named_contacts_entity").on(table.entityType, table.entityId),
98
+ index("idx_identity_named_contacts_entity_primary_created").on(table.entityType, table.entityId, table.isPrimary, table.createdAt),
99
+ index("idx_identity_named_contacts_entity_role_primary_created").on(table.entityType, table.entityId, table.role, table.isPrimary, table.createdAt),
95
100
  index("idx_identity_named_contacts_role").on(table.role),
96
101
  index("idx_identity_named_contacts_primary").on(table.isPrimary),
97
102
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/identity",
3
- "version": "0.6.5",
3
+ "version": "0.6.8",
4
4
  "license": "FSL-1.1-Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -29,9 +29,9 @@
29
29
  "drizzle-orm": "^0.45.2",
30
30
  "hono": "^4.12.10",
31
31
  "zod": "^4.3.6",
32
- "@voyantjs/core": "0.6.5",
33
- "@voyantjs/db": "0.6.5",
34
- "@voyantjs/hono": "0.6.5"
32
+ "@voyantjs/core": "0.6.8",
33
+ "@voyantjs/db": "0.6.8",
34
+ "@voyantjs/hono": "0.6.8"
35
35
  },
36
36
  "devDependencies": {
37
37
  "typescript": "^6.0.2",