@seed-hypermedia/client 0.0.18 → 0.0.20

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.
@@ -660,7 +660,9 @@ var HMSearchInputSchema = z.object({
660
660
  contextSize: z.number().optional(),
661
661
  perspectiveAccountUid: z.string().optional(),
662
662
  searchType: z.number().optional(),
663
- pageSize: z.number().optional()
663
+ pageSize: z.number().optional(),
664
+ iriFilter: z.string().optional(),
665
+ contentTypeFilter: z.array(z.number()).optional()
664
666
  });
665
667
  var HMSearchResultItemSchema = z.object({
666
668
  id: unpackedHmIdSchema,
@@ -10931,6 +10931,7 @@ export declare const HMAccountContactsRequestSchema: z.ZodObject<{
10931
10931
  export type HMAccountContactsRequest = z.infer<typeof HMAccountContactsRequestSchema>;
10932
10932
  export type HMExistingDraft = {
10933
10933
  id: string;
10934
+ metadata?: HMMetadata;
10934
10935
  };
10935
10936
  export declare const HMCommentDraftSchema: z.ZodObject<{
10936
10937
  blocks: z.ZodArray<z.ZodType<HMBlockNode, z.ZodTypeDef, HMBlockNode>, "many">;
@@ -15541,6 +15542,8 @@ export declare const HMSearchInputSchema: z.ZodObject<{
15541
15542
  perspectiveAccountUid: z.ZodOptional<z.ZodString>;
15542
15543
  searchType: z.ZodOptional<z.ZodNumber>;
15543
15544
  pageSize: z.ZodOptional<z.ZodNumber>;
15545
+ iriFilter: z.ZodOptional<z.ZodString>;
15546
+ contentTypeFilter: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
15544
15547
  }, "strip", z.ZodTypeAny, {
15545
15548
  query: string;
15546
15549
  accountUid?: string | undefined;
@@ -15549,6 +15552,8 @@ export declare const HMSearchInputSchema: z.ZodObject<{
15549
15552
  perspectiveAccountUid?: string | undefined;
15550
15553
  searchType?: number | undefined;
15551
15554
  pageSize?: number | undefined;
15555
+ iriFilter?: string | undefined;
15556
+ contentTypeFilter?: number[] | undefined;
15552
15557
  }, {
15553
15558
  query: string;
15554
15559
  accountUid?: string | undefined;
@@ -15557,6 +15562,8 @@ export declare const HMSearchInputSchema: z.ZodObject<{
15557
15562
  perspectiveAccountUid?: string | undefined;
15558
15563
  searchType?: number | undefined;
15559
15564
  pageSize?: number | undefined;
15565
+ iriFilter?: string | undefined;
15566
+ contentTypeFilter?: number[] | undefined;
15560
15567
  }>;
15561
15568
  export type HMSearchInput = z.infer<typeof HMSearchInputSchema>;
15562
15569
  export declare const HMSearchResultItemSchema: z.ZodObject<{
@@ -16109,6 +16116,8 @@ export declare const HMSearchRequestSchema: z.ZodObject<{
16109
16116
  perspectiveAccountUid: z.ZodOptional<z.ZodString>;
16110
16117
  searchType: z.ZodOptional<z.ZodNumber>;
16111
16118
  pageSize: z.ZodOptional<z.ZodNumber>;
16119
+ iriFilter: z.ZodOptional<z.ZodString>;
16120
+ contentTypeFilter: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
16112
16121
  }, "strip", z.ZodTypeAny, {
16113
16122
  query: string;
16114
16123
  accountUid?: string | undefined;
@@ -16117,6 +16126,8 @@ export declare const HMSearchRequestSchema: z.ZodObject<{
16117
16126
  perspectiveAccountUid?: string | undefined;
16118
16127
  searchType?: number | undefined;
16119
16128
  pageSize?: number | undefined;
16129
+ iriFilter?: string | undefined;
16130
+ contentTypeFilter?: number[] | undefined;
16120
16131
  }, {
16121
16132
  query: string;
16122
16133
  accountUid?: string | undefined;
@@ -16125,6 +16136,8 @@ export declare const HMSearchRequestSchema: z.ZodObject<{
16125
16136
  perspectiveAccountUid?: string | undefined;
16126
16137
  searchType?: number | undefined;
16127
16138
  pageSize?: number | undefined;
16139
+ iriFilter?: string | undefined;
16140
+ contentTypeFilter?: number[] | undefined;
16128
16141
  }>;
16129
16142
  output: z.ZodObject<{
16130
16143
  entities: z.ZodArray<z.ZodObject<{
@@ -16455,6 +16468,8 @@ export declare const HMSearchRequestSchema: z.ZodObject<{
16455
16468
  perspectiveAccountUid?: string | undefined;
16456
16469
  searchType?: number | undefined;
16457
16470
  pageSize?: number | undefined;
16471
+ iriFilter?: string | undefined;
16472
+ contentTypeFilter?: number[] | undefined;
16458
16473
  };
16459
16474
  output: {
16460
16475
  searchQuery: string;
@@ -16515,6 +16530,8 @@ export declare const HMSearchRequestSchema: z.ZodObject<{
16515
16530
  perspectiveAccountUid?: string | undefined;
16516
16531
  searchType?: number | undefined;
16517
16532
  pageSize?: number | undefined;
16533
+ iriFilter?: string | undefined;
16534
+ contentTypeFilter?: number[] | undefined;
16518
16535
  };
16519
16536
  output: {
16520
16537
  searchQuery: string;
@@ -29986,6 +30003,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
29986
30003
  perspectiveAccountUid: z.ZodOptional<z.ZodString>;
29987
30004
  searchType: z.ZodOptional<z.ZodNumber>;
29988
30005
  pageSize: z.ZodOptional<z.ZodNumber>;
30006
+ iriFilter: z.ZodOptional<z.ZodString>;
30007
+ contentTypeFilter: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
29989
30008
  }, "strip", z.ZodTypeAny, {
29990
30009
  query: string;
29991
30010
  accountUid?: string | undefined;
@@ -29994,6 +30013,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
29994
30013
  perspectiveAccountUid?: string | undefined;
29995
30014
  searchType?: number | undefined;
29996
30015
  pageSize?: number | undefined;
30016
+ iriFilter?: string | undefined;
30017
+ contentTypeFilter?: number[] | undefined;
29997
30018
  }, {
29998
30019
  query: string;
29999
30020
  accountUid?: string | undefined;
@@ -30002,6 +30023,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
30002
30023
  perspectiveAccountUid?: string | undefined;
30003
30024
  searchType?: number | undefined;
30004
30025
  pageSize?: number | undefined;
30026
+ iriFilter?: string | undefined;
30027
+ contentTypeFilter?: number[] | undefined;
30005
30028
  }>;
30006
30029
  output: z.ZodObject<{
30007
30030
  entities: z.ZodArray<z.ZodObject<{
@@ -30332,6 +30355,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
30332
30355
  perspectiveAccountUid?: string | undefined;
30333
30356
  searchType?: number | undefined;
30334
30357
  pageSize?: number | undefined;
30358
+ iriFilter?: string | undefined;
30359
+ contentTypeFilter?: number[] | undefined;
30335
30360
  };
30336
30361
  output: {
30337
30362
  searchQuery: string;
@@ -30392,6 +30417,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
30392
30417
  perspectiveAccountUid?: string | undefined;
30393
30418
  searchType?: number | undefined;
30394
30419
  pageSize?: number | undefined;
30420
+ iriFilter?: string | undefined;
30421
+ contentTypeFilter?: number[] | undefined;
30395
30422
  };
30396
30423
  output: {
30397
30424
  searchQuery: string;
@@ -39994,6 +40021,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
39994
40021
  perspectiveAccountUid: z.ZodOptional<z.ZodString>;
39995
40022
  searchType: z.ZodOptional<z.ZodNumber>;
39996
40023
  pageSize: z.ZodOptional<z.ZodNumber>;
40024
+ iriFilter: z.ZodOptional<z.ZodString>;
40025
+ contentTypeFilter: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
39997
40026
  }, "strip", z.ZodTypeAny, {
39998
40027
  query: string;
39999
40028
  accountUid?: string | undefined;
@@ -40002,6 +40031,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
40002
40031
  perspectiveAccountUid?: string | undefined;
40003
40032
  searchType?: number | undefined;
40004
40033
  pageSize?: number | undefined;
40034
+ iriFilter?: string | undefined;
40035
+ contentTypeFilter?: number[] | undefined;
40005
40036
  }, {
40006
40037
  query: string;
40007
40038
  accountUid?: string | undefined;
@@ -40010,6 +40041,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
40010
40041
  perspectiveAccountUid?: string | undefined;
40011
40042
  searchType?: number | undefined;
40012
40043
  pageSize?: number | undefined;
40044
+ iriFilter?: string | undefined;
40045
+ contentTypeFilter?: number[] | undefined;
40013
40046
  }>;
40014
40047
  output: z.ZodObject<{
40015
40048
  entities: z.ZodArray<z.ZodObject<{
@@ -40340,6 +40373,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
40340
40373
  perspectiveAccountUid?: string | undefined;
40341
40374
  searchType?: number | undefined;
40342
40375
  pageSize?: number | undefined;
40376
+ iriFilter?: string | undefined;
40377
+ contentTypeFilter?: number[] | undefined;
40343
40378
  };
40344
40379
  output: {
40345
40380
  searchQuery: string;
@@ -40400,6 +40435,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
40400
40435
  perspectiveAccountUid?: string | undefined;
40401
40436
  searchType?: number | undefined;
40402
40437
  pageSize?: number | undefined;
40438
+ iriFilter?: string | undefined;
40439
+ contentTypeFilter?: number[] | undefined;
40403
40440
  };
40404
40441
  output: {
40405
40442
  searchQuery: string;
package/dist/hm-types.mjs CHANGED
@@ -165,7 +165,7 @@ import {
165
165
  toNumber,
166
166
  unpackHmId,
167
167
  unpackedHmIdSchema
168
- } from "./chunk-E7GQKNCO.mjs";
168
+ } from "./chunk-HPRC2RYX.mjs";
169
169
  export {
170
170
  BlockRangeSchema,
171
171
  BoldAnnotationSchema,
package/dist/index.mjs CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  serializeBlockRange,
17
17
  toNumber,
18
18
  unpackHmId
19
- } from "./chunk-E7GQKNCO.mjs";
19
+ } from "./chunk-HPRC2RYX.mjs";
20
20
 
21
21
  // src/capability.ts
22
22
  import { encode as cborEncode2 } from "@ipld/dag-cbor";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-hypermedia/client",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/seed-hypermedia/seed",