Skip to content

Refactor Lake Model#3096

Merged
jameskerr merged 6 commits intomainfrom
lake-model
Jun 14, 2024
Merged

Refactor Lake Model#3096
jameskerr merged 6 commits intomainfrom
lake-model

Conversation

@jameskerr
Copy link
Contributor

  • Change the Lake type to LakeAttrs
  • Rename LakeModel to just Lake
  • Convert to Domain Model
  • Update lake model usage
  • Move lake.ts to src/models

get version() {
return this.attrs.version
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the I file I changed and moved. Everything else is just updating references and slight usage.

}
},
}
}
Copy link
Contributor Author

@jameskerr jameskerr Jun 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what the lake.ts model used to look like. Now it looks like the code in the next comment.

@jameskerr jameskerr merged commit 2473666 into main Jun 14, 2024
@jameskerr jameskerr deleted the lake-model branch June 14, 2024 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants