monacopilot 0.8.3 → 0.8.4
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/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -7,7 +7,7 @@ type EditorBuiltInTheme = Theme;
|
|
|
7
7
|
|
|
8
8
|
declare const _default: readonly ["React", "Angular", "Vue.js", "Express", "Django", "Flask", "Spring Boot", "ASP.NET Core", "Ruby on Rails", "Laravel", "Symfony", "Node.js", "Bootstrap", "Tailwind CSS", "Svelte", "Meteor", "Kotlin", "SwiftUI", "Xamarin", "React Native", "Flutter", "TensorFlow", "PyTorch", "Keras", "Scikit-learn", "FastAPI", "GraphQL", "Redux", "Electron", "QT", "Unity", "Unreal Engine", "Apache Hadoop", "Apache Spark", "Apache Kafka", "Next.js", "Nuxt.js", "Gatsby", "Hugo", "Jekyll", "Strapi", "Drupal", "Magento", "Shopify", "WooCommerce", "Cordova", "Ionic", "Pandas", "NumPy", "VueX", "Three.js", "Anime.js", "Babylon.js", "Backbone.js", "Ember.js", "Mocha", "Jest", "Enzyme", "Chai", "Sinon", "Cypress", "Selenium", "Playwright", "Puppeteer", "GreenSock (GSAP)", "Framer Motion", "Vuetify", "Ant Design", "Material-UI", "Foundation", "Alpine.js", "Akka", "Vert.x", "Quarkus", "Helidon", "Micronaut", "Grails", "Phoenix", "Blazor", "Tornado", "Bottle", "Falcon", "Masonite", "Zurb Foundation", "Bulma", "Milligram", "Stimulus", "Mithril", "Aurelia", "D3.js", "Chart.js", "Highcharts", "Plotly.js", "Leaflet", "OpenLayers", "Thymeleaf", "Mustache.js", "Handlebars", "Freemarker", "Liquid"];
|
|
9
9
|
|
|
10
|
-
type
|
|
10
|
+
type endpointType = string;
|
|
11
11
|
type FrameworkType = (typeof _default)[number];
|
|
12
12
|
/**
|
|
13
13
|
* Themes available for the Rich Monaco Editor.
|
|
@@ -18,7 +18,7 @@ interface EditorProps extends EditorProps$1 {
|
|
|
18
18
|
* The API endpoint where you started the completion service.
|
|
19
19
|
* [Learn more](https://monacopilot.vercel.app/docs/getting-started#endpoint)
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
endpoint?: endpointType;
|
|
22
22
|
/**
|
|
23
23
|
* The framework you want to use for the completion.
|
|
24
24
|
* This can provide framework-specific completions.
|
|
@@ -77,11 +77,11 @@ interface CompletionMetadata {
|
|
|
77
77
|
declare class Completion {
|
|
78
78
|
private apiKey;
|
|
79
79
|
constructor(apiKey: string, options?: CompletionConstructorParams);
|
|
80
|
-
|
|
80
|
+
complete(data: CompletionRequestParams): Promise<GroqCompletion | {
|
|
81
81
|
error: string;
|
|
82
82
|
}>;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
declare const Editor: ({
|
|
85
|
+
declare const Editor: ({ endpoint, framework, theme, ...props }: EditorProps) => React.JSX.Element;
|
|
86
86
|
|
|
87
|
-
export { Completion,
|
|
87
|
+
export { Completion, Editor, type EditorProps, type FrameworkType, type ThemeType as Theme, type endpointType };
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ type EditorBuiltInTheme = Theme;
|
|
|
7
7
|
|
|
8
8
|
declare const _default: readonly ["React", "Angular", "Vue.js", "Express", "Django", "Flask", "Spring Boot", "ASP.NET Core", "Ruby on Rails", "Laravel", "Symfony", "Node.js", "Bootstrap", "Tailwind CSS", "Svelte", "Meteor", "Kotlin", "SwiftUI", "Xamarin", "React Native", "Flutter", "TensorFlow", "PyTorch", "Keras", "Scikit-learn", "FastAPI", "GraphQL", "Redux", "Electron", "QT", "Unity", "Unreal Engine", "Apache Hadoop", "Apache Spark", "Apache Kafka", "Next.js", "Nuxt.js", "Gatsby", "Hugo", "Jekyll", "Strapi", "Drupal", "Magento", "Shopify", "WooCommerce", "Cordova", "Ionic", "Pandas", "NumPy", "VueX", "Three.js", "Anime.js", "Babylon.js", "Backbone.js", "Ember.js", "Mocha", "Jest", "Enzyme", "Chai", "Sinon", "Cypress", "Selenium", "Playwright", "Puppeteer", "GreenSock (GSAP)", "Framer Motion", "Vuetify", "Ant Design", "Material-UI", "Foundation", "Alpine.js", "Akka", "Vert.x", "Quarkus", "Helidon", "Micronaut", "Grails", "Phoenix", "Blazor", "Tornado", "Bottle", "Falcon", "Masonite", "Zurb Foundation", "Bulma", "Milligram", "Stimulus", "Mithril", "Aurelia", "D3.js", "Chart.js", "Highcharts", "Plotly.js", "Leaflet", "OpenLayers", "Thymeleaf", "Mustache.js", "Handlebars", "Freemarker", "Liquid"];
|
|
9
9
|
|
|
10
|
-
type
|
|
10
|
+
type endpointType = string;
|
|
11
11
|
type FrameworkType = (typeof _default)[number];
|
|
12
12
|
/**
|
|
13
13
|
* Themes available for the Rich Monaco Editor.
|
|
@@ -18,7 +18,7 @@ interface EditorProps extends EditorProps$1 {
|
|
|
18
18
|
* The API endpoint where you started the completion service.
|
|
19
19
|
* [Learn more](https://monacopilot.vercel.app/docs/getting-started#endpoint)
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
endpoint?: endpointType;
|
|
22
22
|
/**
|
|
23
23
|
* The framework you want to use for the completion.
|
|
24
24
|
* This can provide framework-specific completions.
|
|
@@ -77,11 +77,11 @@ interface CompletionMetadata {
|
|
|
77
77
|
declare class Completion {
|
|
78
78
|
private apiKey;
|
|
79
79
|
constructor(apiKey: string, options?: CompletionConstructorParams);
|
|
80
|
-
|
|
80
|
+
complete(data: CompletionRequestParams): Promise<GroqCompletion | {
|
|
81
81
|
error: string;
|
|
82
82
|
}>;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
declare const Editor: ({
|
|
85
|
+
declare const Editor: ({ endpoint, framework, theme, ...props }: EditorProps) => React.JSX.Element;
|
|
86
86
|
|
|
87
|
-
export { Completion,
|
|
87
|
+
export { Completion, Editor, type EditorProps, type FrameworkType, type ThemeType as Theme, type endpointType };
|