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 1bf8d00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
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 1bf8d00

Please sign in to comment.