Skip to content

Commit

Permalink
Cleaned up
Browse files Browse the repository at this point in the history
  • Loading branch information
ajthinking committed Jul 24, 2019
1 parent a31ed2e commit 483380a
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
.vscode
yarn.lock
.idea
45 changes: 40 additions & 5 deletions src/ExampleFileFactory.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,46 @@
import { BaseFileFactory } from 'core'

export default class ExampleFileFactory extends BaseFileFactory {
export default class ExampleFileFactory {
constructor() {
this.pipes = []
}

static get name() {
return "Just an Example"
static get title() {
return "ExampleFileFactory"
}

static templates() {
return {}
}

static version() {
return require('../package.json').version;
}

static settings() {
return [
{
name: "ExampleFileFactory dummy setting",
default: "Anything here...",
dataType: String,
}
]
}

static pipes() {
return [

]
}

static defaultPreferences() {
return {}
}

static from(objectModelCollection) {
return new this(objectModelCollection)
}

withPipes(pipes) {
this.pipes = pipes
return this
}
}

0 comments on commit 483380a

Please sign in to comment.