Skip to content

Flat Collections#499

Open
underscope wants to merge 49 commits intomainfrom
task/support-flat-structure
Open

Flat Collections#499
underscope wants to merge 49 commits intomainfrom
task/support-flat-structure

Conversation

@underscope
Copy link
Collaborator

@underscope underscope commented Jun 24, 2025

  • Enables creation of flat records
  • Provides decorators for simple entity definition
  • Meta inputs and Content Element inputs can be used to specify the entity/record structure
  • Provides flat listing of repository items
  • Provides base container for record items
  • Provides groundwork for Content Library

Example

class Article {
  @Prop()
  @IsInput(MetaInputType.Textarea)
  description: string;

  @Prop()
  @IsContentElement(ContentElementType.Html)
  html: ContentElement;

  @Prop({ label: 'Overview Video' })
  @IsContentElement(ContentElementType.Video)
  video: ContentElement;

  @Prop()
  @IsContentElement(ContentElementType.MultipleChoice)
  question: ContentElement;
}

export const exampleCollection = new TailorCollection(Article);
image image

rkusan00 and others added 11 commits November 11, 2024 12:23
# Conflicts:
#	apps/frontend/app/components/repository/Outline/OutlineCard.vue
#	apps/frontend/app/pages/repository/[[id]]/root/structure.vue
#	apps/frontend/app/stores/current-repository.ts
#	packages/tailor-interfaces/schema.ts
@underscope underscope changed the title Flat collections Flat collections & Content Library groundwork Jul 8, 2025
@underscope underscope changed the title Flat collections & Content Library groundwork POC - Flat collections & Content Library groundwork Jul 8, 2025
@rkusan00 rkusan00 force-pushed the task/support-flat-structure branch from bc07ccd to 1801b38 Compare January 8, 2026 09:36
@rkusan00 rkusan00 force-pushed the task/support-flat-structure branch from 1801b38 to c69d183 Compare January 8, 2026 09:42
@rkusan00 rkusan00 force-pushed the task/support-flat-structure branch from c570b98 to 58bc304 Compare January 22, 2026 10:06
@rkusan00 rkusan00 changed the title POC - Flat collections & Content Library groundwork Flat Collections Feb 6, 2026
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