-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: move some utils to common, clean up #1068
Conversation
|
@@ -1,24 +0,0 @@ | |||
/* Autogenerated file. Do not edit manually. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is an unused file and was likely leftover from copy+pasting phaser things (the phaser template removed this file a while back)
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
@@ -0,0 +1,37 @@ | |||
import { Hex, stringToHex, hexToString, sliceHex, concatHex } from "viem"; | |||
|
|||
export class TableId { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we rename this to ResourceSelector
? Or have a base class ResourceSelector
this inherits from? (See #999 (comment))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ohh I like that better, will do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, gonna save this for later! in searching the codebase for TableId
, we have a lot of matches and so might wanna rethink the boundaries of this (i.e. when to use "resource selector" vs "table ID")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment above is not blocking
TableId
andisDefined
/isNotNull
fromutils
tocommon
common
in enables linter for it