Skip to content

Commit

Permalink
style: renaming class
Browse files Browse the repository at this point in the history
  • Loading branch information
yy4382 committed Jan 5, 2024
1 parent 8851637 commit eaccfac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion src/Settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { S3Client, GetObjectCommand, NoSuchKey, PutObjectCommand, ListObjectsCom
import Ob2StaticPlugin from 'src/main';


export interface PostProcessSettings {
export interface StaticExporterSettings {
endpoint: string;
region: string;
bucket: string;
Expand Down Expand Up @@ -44,6 +44,11 @@ export class Ob2StaticSettingTab extends PluginSettingTab {

containerEl.empty();

new Setting(containerEl)
.setHeading()
.setName('S3 API')
.setDesc('Or S3 compatible API')

new Setting(containerEl)
.setName('S3 API ENDPOINT')
.setDesc('no bucket name in it')
Expand Down
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function hashArrayBuffer(arrayBuffer: ArrayBuffer) {


export default class Ob2StaticPlugin extends Plugin {
settings: PostProcessSettings;
settings: StaticExporterSettings;
postsTFiles: TFile[];
allTFiles: TFile[];
client: S3Client;
Expand All @@ -36,7 +36,7 @@ export default class Ob2StaticPlugin extends Plugin {
new Notice('Sended GitHub Action deploy Webhook');
});
// Perform additional things with the ribbon
ribbonIconEl.addClass('my-plugin-ribbon-class');
// ribbonIconEl.addClass('my-plugin-ribbon-class');

// This adds a status bar item to the bottom of the app. Does not work on mobile apps.
// const statusBarItemEl = this.addStatusBarItem();
Expand Down

0 comments on commit eaccfac

Please sign in to comment.