@casual-simulation/aux-common 3.6.0 → 3.7.0-alpha.16977445547

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.
@@ -1324,7 +1324,7 @@ export declare const requestMissingPermissionMessageSchema: z.ZodObject<{
1324
1324
  reason: z.ZodObject<{
1325
1325
  type: z.ZodLiteral<"missing_permission">;
1326
1326
  recordName: z.ZodString;
1327
- resourceKind: z.ZodEnum<["data", "file", "event", "marker", "role", "inst", "loom", "ai.sloyd", "ai.hume", "ai.openai.realtime", "webhook", "notification", "package", "package.version"]>;
1327
+ resourceKind: z.ZodEnum<["data", "file", "event", "marker", "role", "inst", "loom", "ai.sloyd", "ai.hume", "ai.openai.realtime", "webhook", "notification", "package", "package.version", "search"]>;
1328
1328
  resourceId: z.ZodString;
1329
1329
  action: z.ZodEnum<["create", "read", "update", "updateData", "delete", "list", "sendAction", "assign", "unassign", "grant", "revoke", "increment", "count", "grantPermission", "revokePermission", "run", "send", "subscribe", "unsubscribe", "listSubscriptions"]>;
1330
1330
  subjectType: z.ZodEnum<["user", "inst", "role"]>;
@@ -1332,7 +1332,7 @@ export declare const requestMissingPermissionMessageSchema: z.ZodObject<{
1332
1332
  }, "strip", z.ZodTypeAny, {
1333
1333
  type?: "missing_permission";
1334
1334
  recordName?: string;
1335
- resourceKind?: "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1335
+ resourceKind?: "search" | "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1336
1336
  resourceId?: string;
1337
1337
  action?: "create" | "read" | "update" | "delete" | "assign" | "unassign" | "increment" | "count" | "list" | "grantPermission" | "revokePermission" | "grant" | "revoke" | "sendAction" | "updateData" | "run" | "send" | "subscribe" | "unsubscribe" | "listSubscriptions";
1338
1338
  subjectType?: "inst" | "user" | "role";
@@ -1340,7 +1340,7 @@ export declare const requestMissingPermissionMessageSchema: z.ZodObject<{
1340
1340
  }, {
1341
1341
  type?: "missing_permission";
1342
1342
  recordName?: string;
1343
- resourceKind?: "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1343
+ resourceKind?: "search" | "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1344
1344
  resourceId?: string;
1345
1345
  action?: "create" | "read" | "update" | "delete" | "assign" | "unassign" | "increment" | "count" | "list" | "grantPermission" | "revokePermission" | "grant" | "revoke" | "sendAction" | "updateData" | "run" | "send" | "subscribe" | "unsubscribe" | "listSubscriptions";
1346
1346
  subjectType?: "inst" | "user" | "role";
@@ -1351,7 +1351,7 @@ export declare const requestMissingPermissionMessageSchema: z.ZodObject<{
1351
1351
  reason?: {
1352
1352
  type?: "missing_permission";
1353
1353
  recordName?: string;
1354
- resourceKind?: "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1354
+ resourceKind?: "search" | "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1355
1355
  resourceId?: string;
1356
1356
  action?: "create" | "read" | "update" | "delete" | "assign" | "unassign" | "increment" | "count" | "list" | "grantPermission" | "revokePermission" | "grant" | "revoke" | "sendAction" | "updateData" | "run" | "send" | "subscribe" | "unsubscribe" | "listSubscriptions";
1357
1357
  subjectType?: "inst" | "user" | "role";
@@ -1362,7 +1362,7 @@ export declare const requestMissingPermissionMessageSchema: z.ZodObject<{
1362
1362
  reason?: {
1363
1363
  type?: "missing_permission";
1364
1364
  recordName?: string;
1365
- resourceKind?: "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1365
+ resourceKind?: "search" | "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1366
1366
  resourceId?: string;
1367
1367
  action?: "create" | "read" | "update" | "delete" | "assign" | "unassign" | "increment" | "count" | "list" | "grantPermission" | "revokePermission" | "grant" | "revoke" | "sendAction" | "updateData" | "run" | "send" | "subscribe" | "unsubscribe" | "listSubscriptions";
1368
1368
  subjectType?: "inst" | "user" | "role";
@@ -1402,7 +1402,7 @@ export declare const requestMissingPermissionResponseMessageSchema: z.ZodObject<
1402
1402
  type: z.ZodLiteral<"permission/request/missing/response">;
1403
1403
  success: z.ZodBoolean;
1404
1404
  recordName: z.ZodString;
1405
- resourceKind: z.ZodEnum<["data", "file", "event", "marker", "role", "inst", "loom", "ai.sloyd", "ai.hume", "ai.openai.realtime", "webhook", "notification", "package", "package.version"]>;
1405
+ resourceKind: z.ZodEnum<["data", "file", "event", "marker", "role", "inst", "loom", "ai.sloyd", "ai.hume", "ai.openai.realtime", "webhook", "notification", "package", "package.version", "search"]>;
1406
1406
  resourceId: z.ZodString;
1407
1407
  subjectType: z.ZodEnum<["user", "inst", "role"]>;
1408
1408
  subjectId: z.ZodString;
@@ -1412,7 +1412,7 @@ export declare const requestMissingPermissionResponseMessageSchema: z.ZodObject<
1412
1412
  type?: "permission/request/missing/response";
1413
1413
  success?: boolean;
1414
1414
  recordName?: string;
1415
- resourceKind?: "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1415
+ resourceKind?: "search" | "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1416
1416
  resourceId?: string;
1417
1417
  subjectType?: "inst" | "user" | "role";
1418
1418
  subjectId?: string;
@@ -1422,7 +1422,7 @@ export declare const requestMissingPermissionResponseMessageSchema: z.ZodObject<
1422
1422
  type?: "permission/request/missing/response";
1423
1423
  success?: boolean;
1424
1424
  recordName?: string;
1425
- resourceKind?: "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1425
+ resourceKind?: "search" | "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1426
1426
  resourceId?: string;
1427
1427
  subjectType?: "inst" | "user" | "role";
1428
1428
  subjectId?: string;
@@ -1789,7 +1789,7 @@ export declare const websocketRequestMessageSchema: z.ZodDiscriminatedUnion<"typ
1789
1789
  reason: z.ZodObject<{
1790
1790
  type: z.ZodLiteral<"missing_permission">;
1791
1791
  recordName: z.ZodString;
1792
- resourceKind: z.ZodEnum<["data", "file", "event", "marker", "role", "inst", "loom", "ai.sloyd", "ai.hume", "ai.openai.realtime", "webhook", "notification", "package", "package.version"]>;
1792
+ resourceKind: z.ZodEnum<["data", "file", "event", "marker", "role", "inst", "loom", "ai.sloyd", "ai.hume", "ai.openai.realtime", "webhook", "notification", "package", "package.version", "search"]>;
1793
1793
  resourceId: z.ZodString;
1794
1794
  action: z.ZodEnum<["create", "read", "update", "updateData", "delete", "list", "sendAction", "assign", "unassign", "grant", "revoke", "increment", "count", "grantPermission", "revokePermission", "run", "send", "subscribe", "unsubscribe", "listSubscriptions"]>;
1795
1795
  subjectType: z.ZodEnum<["user", "inst", "role"]>;
@@ -1797,7 +1797,7 @@ export declare const websocketRequestMessageSchema: z.ZodDiscriminatedUnion<"typ
1797
1797
  }, "strip", z.ZodTypeAny, {
1798
1798
  type?: "missing_permission";
1799
1799
  recordName?: string;
1800
- resourceKind?: "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1800
+ resourceKind?: "search" | "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1801
1801
  resourceId?: string;
1802
1802
  action?: "create" | "read" | "update" | "delete" | "assign" | "unassign" | "increment" | "count" | "list" | "grantPermission" | "revokePermission" | "grant" | "revoke" | "sendAction" | "updateData" | "run" | "send" | "subscribe" | "unsubscribe" | "listSubscriptions";
1803
1803
  subjectType?: "inst" | "user" | "role";
@@ -1805,7 +1805,7 @@ export declare const websocketRequestMessageSchema: z.ZodDiscriminatedUnion<"typ
1805
1805
  }, {
1806
1806
  type?: "missing_permission";
1807
1807
  recordName?: string;
1808
- resourceKind?: "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1808
+ resourceKind?: "search" | "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1809
1809
  resourceId?: string;
1810
1810
  action?: "create" | "read" | "update" | "delete" | "assign" | "unassign" | "increment" | "count" | "list" | "grantPermission" | "revokePermission" | "grant" | "revoke" | "sendAction" | "updateData" | "run" | "send" | "subscribe" | "unsubscribe" | "listSubscriptions";
1811
1811
  subjectType?: "inst" | "user" | "role";
@@ -1816,7 +1816,7 @@ export declare const websocketRequestMessageSchema: z.ZodDiscriminatedUnion<"typ
1816
1816
  reason?: {
1817
1817
  type?: "missing_permission";
1818
1818
  recordName?: string;
1819
- resourceKind?: "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1819
+ resourceKind?: "search" | "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1820
1820
  resourceId?: string;
1821
1821
  action?: "create" | "read" | "update" | "delete" | "assign" | "unassign" | "increment" | "count" | "list" | "grantPermission" | "revokePermission" | "grant" | "revoke" | "sendAction" | "updateData" | "run" | "send" | "subscribe" | "unsubscribe" | "listSubscriptions";
1822
1822
  subjectType?: "inst" | "user" | "role";
@@ -1827,7 +1827,7 @@ export declare const websocketRequestMessageSchema: z.ZodDiscriminatedUnion<"typ
1827
1827
  reason?: {
1828
1828
  type?: "missing_permission";
1829
1829
  recordName?: string;
1830
- resourceKind?: "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1830
+ resourceKind?: "search" | "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1831
1831
  resourceId?: string;
1832
1832
  action?: "create" | "read" | "update" | "delete" | "assign" | "unassign" | "increment" | "count" | "list" | "grantPermission" | "revokePermission" | "grant" | "revoke" | "sendAction" | "updateData" | "run" | "send" | "subscribe" | "unsubscribe" | "listSubscriptions";
1833
1833
  subjectType?: "inst" | "user" | "role";
@@ -1837,7 +1837,7 @@ export declare const websocketRequestMessageSchema: z.ZodDiscriminatedUnion<"typ
1837
1837
  type: z.ZodLiteral<"permission/request/missing/response">;
1838
1838
  success: z.ZodBoolean;
1839
1839
  recordName: z.ZodString;
1840
- resourceKind: z.ZodEnum<["data", "file", "event", "marker", "role", "inst", "loom", "ai.sloyd", "ai.hume", "ai.openai.realtime", "webhook", "notification", "package", "package.version"]>;
1840
+ resourceKind: z.ZodEnum<["data", "file", "event", "marker", "role", "inst", "loom", "ai.sloyd", "ai.hume", "ai.openai.realtime", "webhook", "notification", "package", "package.version", "search"]>;
1841
1841
  resourceId: z.ZodString;
1842
1842
  subjectType: z.ZodEnum<["user", "inst", "role"]>;
1843
1843
  subjectId: z.ZodString;
@@ -1847,7 +1847,7 @@ export declare const websocketRequestMessageSchema: z.ZodDiscriminatedUnion<"typ
1847
1847
  type?: "permission/request/missing/response";
1848
1848
  success?: boolean;
1849
1849
  recordName?: string;
1850
- resourceKind?: "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1850
+ resourceKind?: "search" | "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1851
1851
  resourceId?: string;
1852
1852
  subjectType?: "inst" | "user" | "role";
1853
1853
  subjectId?: string;
@@ -1857,7 +1857,7 @@ export declare const websocketRequestMessageSchema: z.ZodDiscriminatedUnion<"typ
1857
1857
  type?: "permission/request/missing/response";
1858
1858
  success?: boolean;
1859
1859
  recordName?: string;
1860
- resourceKind?: "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1860
+ resourceKind?: "search" | "inst" | "data" | "event" | "role" | "file" | "marker" | "loom" | "ai.sloyd" | "ai.hume" | "ai.openai.realtime" | "webhook" | "notification" | "package" | "package.version";
1861
1861
  resourceId?: string;
1862
1862
  subjectType?: "inst" | "user" | "role";
1863
1863
  subjectId?: string;