Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

ScopeType enforced #9271

Merged
merged 18 commits into from
Nov 22, 2023
Merged

ScopeType enforced #9271

merged 18 commits into from
Nov 22, 2023

Conversation

AmadeusMoon
Copy link
Contributor

Summary

  • Changed interface ScopeType to interface ScopeTypeInterface
  • Added ScopeType opaque type to scope.schema.ts
  • scopeType is now ScopeType

References

#7094

Checklist

✔️ Ran npm run check-errors, no related problems
✔️ Ran npm run check, no related problems

- Changed name of `interface ScopeType` to `interface ScopeTypeInterface`
@HexaField HexaField merged commit d49f5a1 into EtherealEngine:dev Nov 22, 2023
13 checks passed
@@ -35,7 +37,9 @@ export const scopeTypeMethods = ['find', 'get'] as const
// Main data model schema
export const scopeTypeSchema = Type.Object(
{
type: Type.String(),
type: TypedString<ScopeType>({
format: 'uuid'
Copy link
Member

Choose a reason for hiding this comment

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

@HexaField this shouldnt be uuid?

Copy link
Member

Choose a reason for hiding this comment

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

Oh, perhaps. Does that affect the database?

Copy link
Member

Choose a reason for hiding this comment

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

It doesn't but maybe at some time in future it will. I have made the fix in #9331

@AmadeusMoon AmadeusMoon deleted the ScopeType branch November 23, 2023 14:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants