Skip to content
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

Missing Theme #212

Closed
Tracked by #188
vikiival opened this issue Apr 4, 2023 · 1 comment · Fixed by #241
Closed
Tracked by #188

Missing Theme #212

vikiival opened this issue Apr 4, 2023 · 1 comment · Fixed by #241
Assignees
Labels
V2 Implementation of RMRK::2.0.0 wontfix This will not be worked on

Comments

@vikiival
Copy link
Member

vikiival commented Apr 4, 2023

@vikiival vikiival added wontfix This will not be worked on V2 Implementation of RMRK::2.0.0 labels Apr 4, 2023
@vikiival
Copy link
Member Author

vikiival commented Apr 12, 2023

type BaseTheme @entity {
    name: String!
    theme: String!
    base: Base!
}

Where remark defines it as

export class Themeadd {
  baseId: string;
  themeId: string;
  theme: Theme;
}

// where theme is 
export type Theme = Record<string, string | boolean>;

and endpoint

query themes {
 base_themes(limit: 10) {
   id
   theme_color_1
   theme_color_2
   theme_color_3
   theme_color_4
   resources_base_themes {
     theme_id
     resource_id
   }
 }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V2 Implementation of RMRK::2.0.0 wontfix This will not be worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant