@sanity/embeddings-index-ui 1.1.7 → 2.0.0

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 Sanity
3
+ Copyright (c) 2024 Sanity
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -0,0 +1,8 @@
1
+ import cjs from './index.js';
2
+
3
+ export const deleteIndex = cjs.deleteIndex;
4
+ export const embeddingsIndexDashboard = cjs.embeddingsIndexDashboard;
5
+ export const embeddingsIndexReferenceInput = cjs.embeddingsIndexReferenceInput;
6
+ export const getIndexes = cjs.getIndexes;
7
+ export const queryIndex = cjs.queryIndex;
8
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/embeddings-index-ui",
3
- "version": "1.1.7",
3
+ "version": "2.0.0",
4
4
  "description": "Various Sanity Studio plugins for integrating with the embeddings index API",
5
5
  "keywords": [
6
6
  "sanity",
@@ -21,6 +21,10 @@
21
21
  "types": "./dist/index.d.ts",
22
22
  "source": "./src/index.ts",
23
23
  "require": "./dist/index.js",
24
+ "node": {
25
+ "module": "./dist/index.esm.js",
26
+ "import": "./dist/index.cjs.mjs"
27
+ },
24
28
  "import": "./dist/index.esm.js",
25
29
  "default": "./dist/index.esm.js"
26
30
  },
@@ -49,7 +53,7 @@
49
53
  "dependencies": {
50
54
  "@sanity/icons": "^2.4.1",
51
55
  "@sanity/incompatible-plugin": "^1.0.4",
52
- "@sanity/ui": "^1.7.11"
56
+ "@sanity/ui": "^2.0.0"
53
57
  },
54
58
  "devDependencies": {
55
59
  "@commitlint/cli": "^17.7.1",