Skip to content

Commit

Permalink
move settings to tab
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanhandy committed May 26, 2024
1 parent 1c75827 commit 3ce743e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-cloudinary-uploader",
"version": "0.3.0",
"version": "0.3.1",
"description": "This plugin uploads the media files in your clipboard (or drag and drop) to Cloudinary as unsigned uploads",
"main": "lib/main.js",
"license": "MIT",
Expand Down
4 changes: 1 addition & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ import objectPath from 'object-path'

// Settings tab import
import CloudinaryUploaderSettingTab from './settings-tab'
import CloudinarySettings from './settings-tab';
import { DEFAULT_SETTINGS } from "./settings-tab";

import { DEFAULT_SETTINGS, CloudinarySettings } from "./settings-tab";
export default class CloudinaryUploader extends Plugin {
settings: CloudinarySettings;

Expand Down
2 changes: 1 addition & 1 deletion src/settings-tab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
import CloudinaryUploader from './main'

//Define Cloudinary Settings
interface CloudinarySettings {
export interface CloudinarySettings {
cloudName: string;
uploadPreset: string;
folder: string;
Expand Down

0 comments on commit 3ce743e

Please sign in to comment.