@rebasepro/plugin-ai 0.16.0 → 0.16.1-canary.g2d1aec8

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/api.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AutofillRequest, AutofillResult, AiStatus, SamplePromptsResult } from "./types/data_enhancement_controller";
1
+ import { AutofillRequest, AutofillResult, AiStatus, SamplePromptsResult } from "./types/data_enhancement_controller.js";
2
2
  /**
3
3
  * The hosted service Rebase runs for this plugin.
4
4
  *
@@ -1,5 +1,5 @@
1
1
  import React, { PropsWithChildren } from "react";
2
- import { DataEnhancementController } from "../types/data_enhancement_controller";
2
+ import { DataEnhancementController } from "../types/data_enhancement_controller.js";
3
3
  import { CollectionConfig, User } from "@rebasepro/types";
4
4
  import { PluginFormActionProps } from "@rebasepro/admin-types";
5
5
  type DataEnhancementControllerProviderProps = {
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { useDataEnhancementPlugin } from "./useDataEnhancementPlugin";
2
- export type { DataEnhancementPluginProps } from "./useDataEnhancementPlugin";
3
- export * from "./editor/useEditorAIController";
1
+ export { useDataEnhancementPlugin } from "./useDataEnhancementPlugin.js";
2
+ export type { DataEnhancementPluginProps } from "./useDataEnhancementPlugin.js";
3
+ export * from "./editor/useEditorAIController.js";
@@ -1,3 +1,3 @@
1
1
  import { Properties } from "@rebasepro/types";
2
- import { InputProperty } from "../types/data_enhancement_controller";
2
+ import { InputProperty } from "../types/data_enhancement_controller.js";
3
3
  export declare function getSimplifiedProperties<M extends Record<string, any>>(properties: Properties, values: M, path?: string): Record<string, InputProperty>;
@@ -1,4 +1,4 @@
1
- import { InputProperty } from "../types/data_enhancement_controller";
1
+ import { InputProperty } from "../types/data_enhancement_controller.js";
2
2
  /**
3
3
  * Flatten a record onto the dotted paths the property map uses.
4
4
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rebasepro/plugin-ai",
3
3
  "type": "module",
4
- "version": "0.16.0",
4
+ "version": "0.16.1-canary.g2d1aec8",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.es.js",
7
7
  "module": "./dist/index.es.js",
@@ -16,13 +16,13 @@
16
16
  "./package.json": "./package.json"
17
17
  },
18
18
  "dependencies": {
19
- "@rebasepro/admin": "0.16.0",
20
- "@rebasepro/app": "0.16.0",
21
- "@rebasepro/common": "0.16.0",
22
- "@rebasepro/admin-types": "0.16.0",
23
- "@rebasepro/types": "0.16.0",
24
- "@rebasepro/ui": "0.16.0",
25
- "@rebasepro/utils": "0.16.0"
19
+ "@rebasepro/admin": "0.16.1-canary.g2d1aec8",
20
+ "@rebasepro/admin-types": "0.16.1-canary.g2d1aec8",
21
+ "@rebasepro/app": "0.16.1-canary.g2d1aec8",
22
+ "@rebasepro/common": "0.16.1-canary.g2d1aec8",
23
+ "@rebasepro/utils": "0.16.1-canary.g2d1aec8",
24
+ "@rebasepro/types": "0.16.1-canary.g2d1aec8",
25
+ "@rebasepro/ui": "0.16.1-canary.g2d1aec8"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=19.2.7",
@@ -101,7 +101,7 @@
101
101
  },
102
102
  "scripts": {
103
103
  "dev": "vite",
104
- "build": "vite build && tsc --emitDeclarationOnly -p tsconfig.prod.json && node ../../scripts/assert-build-output.mjs",
104
+ "build": "vite build && tsc --emitDeclarationOnly -p tsconfig.prod.json && node ../../scripts/add-dts-extensions.mjs dist && node ../../scripts/assert-build-output.mjs",
105
105
  "test": "jest --passWithNoTests"
106
106
  }
107
107
  }