notes-to-strapi-export-article-ai 1.0.20 → 1.0.21

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/manifest.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "notes-to-strapi-export-article-ai",
3
3
  "name": "Strapi Exporter AI",
4
- "version": "1.0.20",
4
+ "version": "1.0.21",
5
5
  "minAppVersion": "1.5.0",
6
6
  "description": "Effortlessly export your notes to Strapi CMS with AI-powered handling and SEO optimization.",
7
7
  "author": "Cinquin Andy",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notes-to-strapi-export-article-ai",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "Effortlessly export your Obsidian notes to Strapi CMS with AI-powered image handling and SEO optimization. Replace all the images in your notes by uploaded images in Strapi, and add SEO metadata to uploaded images.",
5
5
  "main": "main.js",
6
6
  "scripts": {
package/src/settings.ts CHANGED
@@ -14,6 +14,19 @@ export class StrapiExporterSettingTab extends PluginSettingTab {
14
14
  const { containerEl } = this
15
15
  containerEl.empty()
16
16
 
17
+ new Setting(containerEl)
18
+ .setName('Strapi URL')
19
+ .setDesc('Enter your Strapi instance URL')
20
+ .addText(text =>
21
+ text
22
+ .setPlaceholder('https://your-strapi-url')
23
+ .setValue(this.plugin.settings.strapiUrl)
24
+ .onChange(async value => {
25
+ this.plugin.settings.strapiUrl = value
26
+ await this.plugin.saveSettings()
27
+ })
28
+ )
29
+
17
30
  new Setting(containerEl)
18
31
  .setName('Strapi API token')
19
32
  .setDesc('Enter your Strapi API token')
@@ -57,19 +70,6 @@ export class StrapiExporterSettingTab extends PluginSettingTab {
57
70
 
58
71
  new Setting(containerEl).setName('Strapi settings - Call 1').setHeading()
59
72
 
60
- new Setting(containerEl)
61
- .setName('Strapi URL')
62
- .setDesc('Enter your Strapi instance URL')
63
- .addText(text =>
64
- text
65
- .setPlaceholder('https://your-strapi-url')
66
- .setValue(this.plugin.settings.strapiUrl)
67
- .onChange(async value => {
68
- this.plugin.settings.strapiUrl = value
69
- await this.plugin.saveSettings()
70
- })
71
- )
72
-
73
73
  new Setting(containerEl)
74
74
  .setName('Strapi article create URL')
75
75
  .setDesc('Enter the URL to create articles in Strapi')
package/versions.json CHANGED
@@ -16,5 +16,6 @@
16
16
  "1.0.17": "1.5.0",
17
17
  "1.0.18": "1.5.0",
18
18
  "1.0.19": "1.5.0",
19
- "1.0.20": "1.5.0"
19
+ "1.0.20": "1.5.0",
20
+ "1.0.21": "1.5.0"
20
21
  }