This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Type { | |
| constructor() { | |
| this.raw = null; | |
| this.valid = undefined; | |
| } | |
| static clone(overrides) { | |
| class cloned extends this {}; | |
| Object.assign(cloned.prototype, overrides); | |
| return cloned; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let OrgType = Enum.of(['Nonprofit', 'SocialEnterprise']) | |
| // let OrgName = String.with(ShorterThan(40), LongerThan(1)) | |
| let Location = Dict({ | |
| autocomplete: Geoid, | |
| fallback: Dict({ | |
| countryGeoid: Geoid, | |
| }) |