@stndrds/schema 1.0.0-alpha.178 → 1.0.0-alpha.179

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.mts CHANGED
@@ -39,7 +39,6 @@ type CountMode = "none" | "estimated" | "exact";
39
39
  interface PageInfo {
40
40
  limit: number;
41
41
  hasMore: boolean;
42
- nextCursor: string | null;
43
42
  total: number | null;
44
43
  countMode: CountMode;
45
44
  }
@@ -49,7 +48,7 @@ interface PageResponse<T> {
49
48
  }
50
49
  interface PageOptions {
51
50
  limit?: number;
52
- cursor?: string;
51
+ offset?: number;
53
52
  countMode?: CountMode;
54
53
  }
55
54
 
@@ -1097,6 +1096,14 @@ interface AuditChange {
1097
1096
  oldValue: unknown;
1098
1097
  /** New value (undefined for deleted fields) */
1099
1098
  newValue: unknown;
1099
+ /** Resolved label for oldValue when the field is a relation. */
1100
+ oldLabel?: string;
1101
+ /** Resolved label for newValue when the field is a relation. */
1102
+ newLabel?: string;
1103
+ /** Resolved labels for oldValue array, aligned by index. */
1104
+ oldLabels?: string[];
1105
+ /** Resolved labels for newValue array, aligned by index. */
1106
+ newLabels?: string[];
1100
1107
  }
1101
1108
  /**
1102
1109
  * Audit log entry - immutable record of an action
package/dist/index.d.ts CHANGED
@@ -39,7 +39,6 @@ type CountMode = "none" | "estimated" | "exact";
39
39
  interface PageInfo {
40
40
  limit: number;
41
41
  hasMore: boolean;
42
- nextCursor: string | null;
43
42
  total: number | null;
44
43
  countMode: CountMode;
45
44
  }
@@ -49,7 +48,7 @@ interface PageResponse<T> {
49
48
  }
50
49
  interface PageOptions {
51
50
  limit?: number;
52
- cursor?: string;
51
+ offset?: number;
53
52
  countMode?: CountMode;
54
53
  }
55
54
 
@@ -1097,6 +1096,14 @@ interface AuditChange {
1097
1096
  oldValue: unknown;
1098
1097
  /** New value (undefined for deleted fields) */
1099
1098
  newValue: unknown;
1099
+ /** Resolved label for oldValue when the field is a relation. */
1100
+ oldLabel?: string;
1101
+ /** Resolved label for newValue when the field is a relation. */
1102
+ newLabel?: string;
1103
+ /** Resolved labels for oldValue array, aligned by index. */
1104
+ oldLabels?: string[];
1105
+ /** Resolved labels for newValue array, aligned by index. */
1106
+ newLabels?: string[];
1100
1107
  }
1101
1108
  /**
1102
1109
  * Audit log entry - immutable record of an action
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stndrds/schema",
3
- "version": "1.0.0-alpha.178",
3
+ "version": "1.0.0-alpha.179",
4
4
  "description": "Standard schema definitions and utilities",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -131,7 +131,7 @@
131
131
  "expr-eval": "^2.0.2",
132
132
  "libphonenumber-js": "^1.12.31",
133
133
  "zod": "^4.2.1",
134
- "@stndrds/constants": "1.0.0-alpha.178"
134
+ "@stndrds/constants": "1.0.0-alpha.179"
135
135
  },
136
136
  "devDependencies": {
137
137
  "@types/node": "^25.0.3",