@diagonal-hq/pages 0.6.1 → 0.6.2

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -6967,7 +6967,7 @@ export type SdkHooks = {
6967
6967
  */
6968
6968
  useRecord<
6969
6969
  TReference extends SdkResourceQueryReference<'show'>,
6970
- const TRelations extends readonly SdkReferenceRelationPath<NoInfer<TReference>>[] = readonly []
6970
+ const TRelations extends readonly SdkReferenceRelationPath<TReference>[] = readonly []
6971
6971
  >(
6972
6972
  resource: TReference,
6973
6973
  recordId: string | null | undefined,
@@ -7058,7 +7058,7 @@ export type SdkHooks = {
7058
7058
  */
7059
7059
  useRecords<
7060
7060
  TReference extends SdkResourceQueryReference<'search'>,
7061
- const TRelations extends readonly SdkReferenceRelationPath<NoInfer<TReference>>[] = readonly []
7061
+ const TRelations extends readonly SdkReferenceRelationPath<TReference>[] = readonly []
7062
7062
  >(
7063
7063
  resource: TReference,
7064
7064
  options?: SdkUseRecordsOptions<TRelations, NoInfer<SdkReferenceRecord<TReference, TRelations>>>
@@ -7136,7 +7136,7 @@ export type SdkHooks = {
7136
7136
  */
7137
7137
  useInfiniteRecords<
7138
7138
  TReference extends SdkResourceQueryReference<'search'>,
7139
- const TRelations extends readonly SdkReferenceRelationPath<NoInfer<TReference>>[] = readonly []
7139
+ const TRelations extends readonly SdkReferenceRelationPath<TReference>[] = readonly []
7140
7140
  >(
7141
7141
  resource: TReference,
7142
7142
  options?: SdkUseInfiniteRecordsOptions<TRelations>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diagonal-hq/pages",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "The Page SDK for the pages of file-based Diagonal workspaces.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {