@api-client/core 0.18.56 → 0.18.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/build/src/modeling/helpers/Intelisense.d.ts +1 -0
  2. package/build/src/modeling/helpers/Intelisense.d.ts.map +1 -1
  3. package/build/src/modeling/helpers/Intelisense.js +23 -0
  4. package/build/src/modeling/helpers/Intelisense.js.map +1 -1
  5. package/build/tsconfig.tsbuildinfo +1 -1
  6. package/data/models/example-generator-api.json +6 -6
  7. package/package.json +2 -7
  8. package/src/modeling/helpers/Intelisense.ts +23 -0
  9. package/tests/unit/modeling/helpers/intellisense.spec.ts +46 -0
  10. package/build/src/modeling/templates/index.d.ts +0 -21
  11. package/build/src/modeling/templates/index.d.ts.map +0 -1
  12. package/build/src/modeling/templates/index.js +0 -176
  13. package/build/src/modeling/templates/index.js.map +0 -1
  14. package/build/src/modeling/templates/meta/blog-publishing-platform.json +0 -1
  15. package/build/src/modeling/templates/meta/ecommerce-platform.json +0 -1
  16. package/build/src/modeling/templates/meta/education-management-platform.json +0 -1
  17. package/build/src/modeling/templates/meta/financial-services-platform.json +0 -1
  18. package/build/src/modeling/templates/meta/gaming-platform.json +0 -1
  19. package/build/src/modeling/templates/meta/healthcare-management-platform.json +0 -1
  20. package/build/src/modeling/templates/meta/hospitality-platform.json +0 -1
  21. package/build/src/modeling/templates/meta/index.d.ts +0 -64
  22. package/build/src/modeling/templates/meta/index.d.ts.map +0 -1
  23. package/build/src/modeling/templates/meta/index.js +0 -150
  24. package/build/src/modeling/templates/meta/index.js.map +0 -1
  25. package/build/src/modeling/templates/meta/iot-smart-home-platform.json +0 -1
  26. package/build/src/modeling/templates/meta/legal-services-platform.json +0 -1
  27. package/build/src/modeling/templates/meta/manufacturing-platform.json +0 -1
  28. package/build/src/modeling/templates/meta/non-profit-platform.json +0 -1
  29. package/build/src/modeling/templates/meta/real-estate-management-platform.json +0 -1
  30. package/build/src/modeling/templates/template-registry.d.ts +0 -55
  31. package/build/src/modeling/templates/template-registry.d.ts.map +0 -1
  32. package/build/src/modeling/templates/template-registry.js +0 -111
  33. package/build/src/modeling/templates/template-registry.js.map +0 -1
  34. package/build/src/modeling/templates/types.d.ts +0 -167
  35. package/build/src/modeling/templates/types.d.ts.map +0 -1
  36. package/build/src/modeling/templates/types.js +0 -2
  37. package/build/src/modeling/templates/types.js.map +0 -1
  38. package/build/src/modeling/templates/verticals/business-services/ecommerce-domain.d.ts +0 -39
  39. package/build/src/modeling/templates/verticals/business-services/ecommerce-domain.d.ts.map +0 -1
  40. package/build/src/modeling/templates/verticals/business-services/ecommerce-domain.js +0 -672
  41. package/build/src/modeling/templates/verticals/business-services/ecommerce-domain.js.map +0 -1
  42. package/build/src/modeling/templates/verticals/business-services/financial-services-domain.d.ts +0 -40
  43. package/build/src/modeling/templates/verticals/business-services/financial-services-domain.d.ts.map +0 -1
  44. package/build/src/modeling/templates/verticals/business-services/financial-services-domain.js +0 -942
  45. package/build/src/modeling/templates/verticals/business-services/financial-services-domain.js.map +0 -1
  46. package/build/src/modeling/templates/verticals/business-services/hospitality-domain.d.ts +0 -45
  47. package/build/src/modeling/templates/verticals/business-services/hospitality-domain.d.ts.map +0 -1
  48. package/build/src/modeling/templates/verticals/business-services/hospitality-domain.js +0 -797
  49. package/build/src/modeling/templates/verticals/business-services/hospitality-domain.js.map +0 -1
  50. package/build/src/modeling/templates/verticals/business-services/index.d.ts +0 -21
  51. package/build/src/modeling/templates/verticals/business-services/index.d.ts.map +0 -1
  52. package/build/src/modeling/templates/verticals/business-services/index.js +0 -50
  53. package/build/src/modeling/templates/verticals/business-services/index.js.map +0 -1
  54. package/build/src/modeling/templates/verticals/business-services/legal-services-domain.d.ts +0 -46
  55. package/build/src/modeling/templates/verticals/business-services/legal-services-domain.d.ts.map +0 -1
  56. package/build/src/modeling/templates/verticals/business-services/legal-services-domain.js +0 -837
  57. package/build/src/modeling/templates/verticals/business-services/legal-services-domain.js.map +0 -1
  58. package/build/src/modeling/templates/verticals/education-training/education-domain.d.ts +0 -40
  59. package/build/src/modeling/templates/verticals/education-training/education-domain.d.ts.map +0 -1
  60. package/build/src/modeling/templates/verticals/education-training/education-domain.js +0 -725
  61. package/build/src/modeling/templates/verticals/education-training/education-domain.js.map +0 -1
  62. package/build/src/modeling/templates/verticals/education-training/index.d.ts +0 -18
  63. package/build/src/modeling/templates/verticals/education-training/index.d.ts.map +0 -1
  64. package/build/src/modeling/templates/verticals/education-training/index.js +0 -21
  65. package/build/src/modeling/templates/verticals/education-training/index.js.map +0 -1
  66. package/build/src/modeling/templates/verticals/healthcare-life-sciences/healthcare-domain.d.ts +0 -40
  67. package/build/src/modeling/templates/verticals/healthcare-life-sciences/healthcare-domain.d.ts.map +0 -1
  68. package/build/src/modeling/templates/verticals/healthcare-life-sciences/healthcare-domain.js +0 -859
  69. package/build/src/modeling/templates/verticals/healthcare-life-sciences/healthcare-domain.js.map +0 -1
  70. package/build/src/modeling/templates/verticals/healthcare-life-sciences/index.d.ts +0 -18
  71. package/build/src/modeling/templates/verticals/healthcare-life-sciences/index.d.ts.map +0 -1
  72. package/build/src/modeling/templates/verticals/healthcare-life-sciences/index.js +0 -21
  73. package/build/src/modeling/templates/verticals/healthcare-life-sciences/index.js.map +0 -1
  74. package/build/src/modeling/templates/verticals/index.d.ts +0 -79
  75. package/build/src/modeling/templates/verticals/index.d.ts.map +0 -1
  76. package/build/src/modeling/templates/verticals/index.js +0 -186
  77. package/build/src/modeling/templates/verticals/index.js.map +0 -1
  78. package/build/src/modeling/templates/verticals/manufacturing-logistics/index.d.ts +0 -18
  79. package/build/src/modeling/templates/verticals/manufacturing-logistics/index.d.ts.map +0 -1
  80. package/build/src/modeling/templates/verticals/manufacturing-logistics/index.js +0 -22
  81. package/build/src/modeling/templates/verticals/manufacturing-logistics/index.js.map +0 -1
  82. package/build/src/modeling/templates/verticals/manufacturing-logistics/manufacturing-domain.d.ts +0 -45
  83. package/build/src/modeling/templates/verticals/manufacturing-logistics/manufacturing-domain.d.ts.map +0 -1
  84. package/build/src/modeling/templates/verticals/manufacturing-logistics/manufacturing-domain.js +0 -710
  85. package/build/src/modeling/templates/verticals/manufacturing-logistics/manufacturing-domain.js.map +0 -1
  86. package/build/src/modeling/templates/verticals/public-sector/index.d.ts +0 -18
  87. package/build/src/modeling/templates/verticals/public-sector/index.d.ts.map +0 -1
  88. package/build/src/modeling/templates/verticals/public-sector/index.js +0 -22
  89. package/build/src/modeling/templates/verticals/public-sector/index.js.map +0 -1
  90. package/build/src/modeling/templates/verticals/public-sector/non-profit-domain.d.ts +0 -47
  91. package/build/src/modeling/templates/verticals/public-sector/non-profit-domain.d.ts.map +0 -1
  92. package/build/src/modeling/templates/verticals/public-sector/non-profit-domain.js +0 -864
  93. package/build/src/modeling/templates/verticals/public-sector/non-profit-domain.js.map +0 -1
  94. package/build/src/modeling/templates/verticals/real-estate-construction/index.d.ts +0 -18
  95. package/build/src/modeling/templates/verticals/real-estate-construction/index.d.ts.map +0 -1
  96. package/build/src/modeling/templates/verticals/real-estate-construction/index.js +0 -21
  97. package/build/src/modeling/templates/verticals/real-estate-construction/index.js.map +0 -1
  98. package/build/src/modeling/templates/verticals/real-estate-construction/real-estate-domain.d.ts +0 -40
  99. package/build/src/modeling/templates/verticals/real-estate-construction/real-estate-domain.d.ts.map +0 -1
  100. package/build/src/modeling/templates/verticals/real-estate-construction/real-estate-domain.js +0 -727
  101. package/build/src/modeling/templates/verticals/real-estate-construction/real-estate-domain.js.map +0 -1
  102. package/build/src/modeling/templates/verticals/technology-media/blog-domain.d.ts +0 -40
  103. package/build/src/modeling/templates/verticals/technology-media/blog-domain.d.ts.map +0 -1
  104. package/build/src/modeling/templates/verticals/technology-media/blog-domain.js +0 -629
  105. package/build/src/modeling/templates/verticals/technology-media/blog-domain.js.map +0 -1
  106. package/build/src/modeling/templates/verticals/technology-media/gaming-domain.d.ts +0 -46
  107. package/build/src/modeling/templates/verticals/technology-media/gaming-domain.d.ts.map +0 -1
  108. package/build/src/modeling/templates/verticals/technology-media/gaming-domain.js +0 -1033
  109. package/build/src/modeling/templates/verticals/technology-media/gaming-domain.js.map +0 -1
  110. package/build/src/modeling/templates/verticals/technology-media/index.d.ts +0 -21
  111. package/build/src/modeling/templates/verticals/technology-media/index.d.ts.map +0 -1
  112. package/build/src/modeling/templates/verticals/technology-media/index.js +0 -42
  113. package/build/src/modeling/templates/verticals/technology-media/index.js.map +0 -1
  114. package/build/src/modeling/templates/verticals/technology-media/iot-smart-home-domain.d.ts +0 -47
  115. package/build/src/modeling/templates/verticals/technology-media/iot-smart-home-domain.d.ts.map +0 -1
  116. package/build/src/modeling/templates/verticals/technology-media/iot-smart-home-domain.js +0 -1029
  117. package/build/src/modeling/templates/verticals/technology-media/iot-smart-home-domain.js.map +0 -1
  118. package/src/modeling/templates/meta/blog-publishing-platform.json +0 -1
  119. package/src/modeling/templates/meta/ecommerce-platform.json +0 -1
  120. package/src/modeling/templates/meta/education-management-platform.json +0 -1
  121. package/src/modeling/templates/meta/financial-services-platform.json +0 -1
  122. package/src/modeling/templates/meta/gaming-platform.json +0 -1
  123. package/src/modeling/templates/meta/healthcare-management-platform.json +0 -1
  124. package/src/modeling/templates/meta/hospitality-platform.json +0 -1
  125. package/src/modeling/templates/meta/iot-smart-home-platform.json +0 -1
  126. package/src/modeling/templates/meta/legal-services-platform.json +0 -1
  127. package/src/modeling/templates/meta/manufacturing-platform.json +0 -1
  128. package/src/modeling/templates/meta/non-profit-platform.json +0 -1
  129. package/src/modeling/templates/meta/real-estate-management-platform.json +0 -1
  130. package/src/modeling/templates/readme.md +0 -260
  131. package/src/modeling/templates/template-registry.ts +0 -140
  132. package/src/modeling/templates/types.ts +0 -175
  133. package/src/modeling/templates/verticals/README.md +0 -122
  134. package/src/modeling/templates/verticals/business-services/ecommerce-domain.ts +0 -844
  135. package/src/modeling/templates/verticals/business-services/financial-services-domain.ts +0 -1177
  136. package/src/modeling/templates/verticals/business-services/hospitality-domain.ts +0 -994
  137. package/src/modeling/templates/verticals/business-services/legal-services-domain.ts +0 -1059
  138. package/src/modeling/templates/verticals/education-training/education-domain.ts +0 -922
  139. package/src/modeling/templates/verticals/healthcare-life-sciences/healthcare-domain.ts +0 -1111
  140. package/src/modeling/templates/verticals/manufacturing-logistics/manufacturing-domain.ts +0 -895
  141. package/src/modeling/templates/verticals/public-sector/non-profit-domain.ts +0 -1109
  142. package/src/modeling/templates/verticals/real-estate-construction/real-estate-domain.ts +0 -944
  143. package/src/modeling/templates/verticals/technology-media/blog-domain.ts +0 -796
  144. package/src/modeling/templates/verticals/technology-media/gaming-domain.ts +0 -1290
  145. package/src/modeling/templates/verticals/technology-media/iot-smart-home-domain.ts +0 -1289
@@ -1 +0,0 @@
1
- {"version":3,"file":"blog-domain.js","sourceRoot":"","sources":["../../../../../../src/modeling/templates/verticals/technology-media/blog-domain.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAA;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAA;AAC/D,OAAO,EACL,UAAU,EACV,YAAY,EACZ,mBAAmB,EACnB,wBAAwB,EACxB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,gBAAgB,GACjB,MAAM,iCAAiC,CAAA;AAGxC,SAAS,YAAY;IACnB,OAAO,IAAI,UAAU,CAAC;QACpB,IAAI,EAAE;YACJ,IAAI,EAAE,0BAA0B;YAChC,WAAW,EAAE,0BAA0B;YACvC,WAAW,EACT,2GAA2G;SAC9G;KACF,CAAC,CAAA;AACJ,CAAC;AAED;;;;;;;;;;;GAWG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,EAAE,IAAI;QACd,QAAQ,EAAE,KAAK;KAChB,CACF,CAAA;IAED,OAAO,MAAM,CAAA;AACf,CAAC","sourcesContent":["/**\n * Blog/Publishing Data Domain Example\n *\n * This file demonstrates how to create a comprehensive blog/publishing data domain\n * using the API Client Core modeling system. It follows the business-first approach\n * and demonstrates proper use of namespaces, models, entities, properties,\n * associations, and semantic annotations.\n *\n * The example includes:\n * - Content Management with posts, pages, and media\n * - User Management with authors, editors, and subscribers\n * - Publishing Workflow with drafts, reviews, and publication\n * - Social Features with comments, likes, and sharing\n * - Analytics and SEO with metadata and tracking\n * - Multi-tenant support for multiple blogs/publications\n *\n * @example\n * ```typescript\n * import { createBlogDomain } from './blog-domain.js'\n *\n * const domain = createBlogDomain()\n * console.log('Blog domain created with', domain.graph.nodeCount(), 'nodes')\n * ```\n */\n\nimport { DataDomain } from '../../../DataDomain.js'\nimport { SemanticType } from '../../../Semantics.js'\nimport { createCalculatedSemantic } from '../../../definitions/Calculated.js'\nimport { createURLSemantic } from '../../../definitions/URL.js'\nimport {\n addIdField,\n addNameField,\n addDescriptionField,\n addPublicUniqueNameField,\n addCustomStatusField,\n addCreatedAtField,\n addUpdatedAtField,\n addEmailField,\n addPasswordField,\n addFirstNameField,\n addLastNameField,\n addAvatarUrlField,\n addBooleanField,\n addQuantityField,\n} from '../../../helpers/Intelisense.js'\nimport type { CreateTemplateOptions } from '../../types.js'\n\nfunction createDomain(): DataDomain {\n return new DataDomain({\n info: {\n name: 'Blog Publishing Platform',\n displayName: 'Blog Publishing Platform',\n description:\n 'A comprehensive content management and publishing platform for blogs, magazines, and digital publications',\n },\n })\n}\n\n/**\n * Creates a comprehensive blog/publishing data domain following domain-driven design principles.\n *\n * This function demonstrates the proper hierarchy and organization for a publishing platform:\n * 1. Creates the root DataDomain for the publishing platform\n * 2. Organizes functionality into logical namespaces (Content, Users, Publishing, etc.)\n * 3. Groups related entities into models within each namespace\n * 4. Defines entities with proper semantic annotations for publishing workflows\n * 5. Establishes associations with appropriate cardinality for content relationships\n *\n * @returns A fully configured DataDomain with all blog/publishing entities and relationships\n */\nexport default function createBlogDomain(options: CreateTemplateOptions = {}): DataDomain {\n // Ensure the root data domain\n const domain = options.domain ?? createDomain()\n\n //\n // 1. CONTENT MANAGEMENT NAMESPACE\n //\n const contentManagement = domain.addNamespace({\n info: {\n name: 'ContentManagement',\n displayName: 'Content Management',\n description: 'Core content creation, editing, and organization features',\n },\n })\n\n // Publication Model - Multi-tenant support\n const publicationModel = contentManagement.addModel({\n info: {\n name: 'Publications',\n displayName: 'Publications Management',\n description: 'Individual blogs, magazines, or publications within the platform',\n },\n })\n\n // Publication Entity - Represents individual blogs/publications\n const publicationEntity = publicationModel.addEntity({\n info: {\n name: 'publication',\n displayName: 'Publication',\n description: 'Individual blog or publication site',\n },\n })\n\n addIdField(publicationEntity, { displayName: 'Publication ID', description: 'Unique identifier for the publication' })\n\n addNameField(publicationEntity, { displayName: 'Publication Name', description: 'Display name of the publication' })\n\n addPublicUniqueNameField(publicationEntity, {\n name: 'slug',\n displayName: 'URL Slug',\n description: 'URL-friendly identifier for the publication',\n })\n\n addDescriptionField(publicationEntity, { description: 'Publication description and tagline' })\n\n publicationEntity.addProperty({\n info: { name: 'domain', displayName: 'Custom Domain', description: 'Custom domain name for the publication' },\n type: 'string',\n // semantics: [{ id: SemanticType.DomainName }],\n })\n\n publicationEntity.addProperty({\n info: { name: 'logo_url', displayName: 'Logo URL', description: 'URL to publication logo image' },\n type: 'string',\n semantics: [{ id: SemanticType.ImageURL }],\n })\n\n addCustomStatusField(publicationEntity, ['active', 'suspended', 'archived'], {\n displayName: 'Publication Status',\n description: 'Current status of the publication',\n })\n\n addCreatedAtField(publicationEntity, { description: 'When the publication was created' })\n\n // Content Model\n const contentModel = contentManagement.addModel({\n info: {\n name: 'Content',\n displayName: 'Content Management',\n description: 'Posts, pages, and other content types',\n },\n })\n\n // Category Entity\n const categoryEntity = contentModel.addEntity({\n info: {\n name: 'category',\n displayName: 'Content Category',\n description: 'Content categorization for organization and navigation',\n },\n })\n\n addIdField(categoryEntity, { displayName: 'Category ID', description: 'Unique identifier for the category' })\n\n addNameField(categoryEntity, { displayName: 'Category Name', description: 'Display name of the category' })\n\n addPublicUniqueNameField(categoryEntity, {\n name: 'slug',\n displayName: 'URL Slug',\n description: 'URL-friendly identifier for the category',\n })\n\n addDescriptionField(categoryEntity, { description: 'Category description' })\n\n categoryEntity.addProperty({\n info: { name: 'color', displayName: 'Color', description: 'Theme color for the category' },\n type: 'string',\n // semantics: [{ id: SemanticType.Color }],\n })\n\n // Category-Publication Association (Many-to-One)\n categoryEntity.addAssociation(\n { key: publicationEntity.key },\n {\n info: { name: 'publication', displayName: 'Publication', description: 'Publication this category belongs to' },\n required: true,\n multiple: false,\n }\n )\n\n // Self-referencing association for category hierarchy\n categoryEntity.addAssociation(\n { key: categoryEntity.key },\n {\n info: {\n name: 'parentCategory',\n displayName: 'Parent Category',\n description: 'Parent category for hierarchical organization',\n },\n required: false,\n multiple: false,\n }\n )\n\n // Tag Entity\n const tagEntity = contentModel.addEntity({\n info: {\n name: 'Tag',\n displayName: 'Content Tag',\n description: 'Tags for flexible content labeling and discovery',\n },\n })\n\n addIdField(tagEntity, { displayName: 'Tag ID', description: 'Unique identifier for the tag' })\n\n addNameField(tagEntity, { displayName: 'Tag Name', description: 'Display name of the tag' })\n\n addPublicUniqueNameField(tagEntity, {\n name: 'slug',\n displayName: 'URL Slug',\n description: 'URL-friendly identifier for the tag',\n })\n\n // Tag-Publication Association (Many-to-One)\n tagEntity.addAssociation(\n { key: publicationEntity.key },\n {\n info: { name: 'publication', displayName: 'Publication', description: 'Publication this tag belongs to' },\n required: true,\n multiple: false,\n }\n )\n\n // Post Entity - Main content type\n const postEntity = contentModel.addEntity({\n info: {\n name: 'Post',\n displayName: 'Blog Post',\n description: 'Individual blog posts and articles',\n },\n })\n\n addIdField(postEntity, { displayName: 'Post ID', description: 'Unique identifier for the post' })\n\n postEntity.addProperty({\n info: { name: 'title', displayName: 'Post Title', description: 'Title of the blog post' },\n type: 'string',\n required: true,\n semantics: [{ id: SemanticType.Title }],\n })\n\n addPublicUniqueNameField(postEntity, {\n name: 'slug',\n displayName: 'URL Slug',\n description: 'URL-friendly identifier for the post',\n })\n\n postEntity.addProperty({\n info: { name: 'excerpt', displayName: 'Excerpt', description: 'Brief summary or excerpt of the post' },\n type: 'string',\n semantics: [{ id: SemanticType.Summary }],\n })\n\n const postContent = postEntity.addProperty({\n info: { name: 'content', displayName: 'Content', description: 'Full content of the post in HTML or Markdown' },\n type: 'string',\n required: true,\n semantics: [{ id: SemanticType.HTML }],\n })\n\n postEntity.addProperty({\n info: {\n name: 'content_format',\n displayName: 'Content Format',\n description: 'Format of the content (HTML, Markdown, etc.)',\n },\n type: 'string',\n required: true,\n schema: {\n enum: ['html', 'markdown', 'richtext'],\n defaultValue: { type: 'literal', value: 'markdown' },\n },\n })\n\n postEntity.addProperty({\n info: { name: 'featured_image_url', displayName: 'Featured Image URL', description: 'URL to featured image' },\n type: 'string',\n semantics: [{ id: SemanticType.ImageURL }],\n })\n\n addCustomStatusField(postEntity, ['draft', 'pending_review', 'scheduled', 'published', 'archived'], {\n displayName: 'Post Status',\n description: 'Current publishing status of the post',\n })\n\n addCreatedAtField(postEntity, {\n name: 'published_at',\n displayName: 'Published At',\n description: 'When the post was published',\n })\n\n postEntity.addProperty({\n info: {\n name: 'scheduled_at',\n displayName: 'Scheduled At',\n description: 'When the post is scheduled to be published',\n },\n type: 'datetime',\n })\n\n addQuantityField(postEntity, {\n name: 'view_count',\n displayName: 'View Count',\n description: 'Number of times the post has been viewed',\n })\n\n postEntity.addProperty({\n info: { name: 'reading_time', displayName: 'Reading Time', description: 'Estimated reading time in minutes' },\n type: 'number',\n readOnly: true,\n semantics: [\n createCalculatedSemantic({\n formula: `CEIL(LENGTH(REPLACE({{${postContent.key}}}, \" \", \"\")) / 250)`,\n dependencies: [postContent.key],\n recalculateOnUpdate: true,\n }),\n ],\n })\n\n postEntity.addProperty({\n info: { name: 'word_count', displayName: 'Word Count', description: 'Number of words in the post content' },\n type: 'number',\n readOnly: true,\n semantics: [\n createCalculatedSemantic({\n formula: `LENGTH({{${postContent.key}}}) - LENGTH(REPLACE({{${postContent.key}}}, \" \", \"\")) + 1`,\n dependencies: [postContent.key],\n recalculateOnUpdate: true,\n }),\n ],\n })\n\n postEntity.addProperty({\n info: { name: 'meta_title', displayName: 'Meta Title', description: 'SEO meta title' },\n type: 'string',\n // semantics: [{ id: SemanticType.SEOTitle }],\n })\n\n postEntity.addProperty({\n info: { name: 'meta_description', displayName: 'Meta Description', description: 'SEO meta description' },\n type: 'string',\n // semantics: [{ id: SemanticType.SEODescription }],\n })\n\n addCreatedAtField(postEntity, { description: 'When the post was created' })\n addUpdatedAtField(postEntity, { description: 'When the post was last updated' })\n\n // Post-Publication Association (Many-to-One)\n postEntity.addAssociation(\n { key: publicationEntity.key },\n {\n info: { name: 'publication', displayName: 'Publication', description: 'Publication this post belongs to' },\n required: true,\n multiple: false,\n }\n )\n\n // Post-Category Association (Many-to-Many)\n postEntity.addAssociation(\n { key: categoryEntity.key },\n {\n info: { name: 'categories', displayName: 'Post Categories', description: 'Categories this post belongs to' },\n required: false,\n multiple: true,\n semantics: [{ id: SemanticType.Categories }],\n }\n )\n\n // Post-Tag Association (Many-to-Many)\n postEntity.addAssociation(\n { key: tagEntity.key },\n {\n info: { name: 'tags', displayName: 'Post Tags', description: 'Tags associated with this post' },\n required: false,\n multiple: true,\n semantics: [{ id: SemanticType.Tags }],\n }\n )\n\n //\n // 2. USER MANAGEMENT NAMESPACE\n //\n const userManagement = domain.addNamespace({\n info: {\n name: 'UserManagement',\n displayName: 'User Management',\n description: 'Authors, editors, subscribers, and user roles management',\n },\n })\n\n // User Model\n const userModel = userManagement.addModel({\n info: {\n name: 'Users',\n displayName: 'User Management',\n description: 'User accounts and authentication',\n },\n })\n\n // User Entity\n const userEntity = userModel.addEntity({\n info: {\n name: 'user',\n displayName: 'User Account',\n description: 'User account for authors, editors, and subscribers',\n },\n semantics: [{ id: SemanticType.User }],\n })\n\n addIdField(userEntity, { displayName: 'User ID', description: 'Unique identifier for the user' })\n\n addEmailField(userEntity, { description: 'User email address for login and communication' })\n\n addPasswordField(userEntity, { description: 'Encrypted password for authentication' })\n\n userEntity.addProperty({\n info: { name: 'username', displayName: 'Username', description: 'Unique username for the user' },\n type: 'string',\n required: true,\n unique: true,\n semantics: [{ id: SemanticType.PublicUniqueName }],\n })\n\n userEntity.addProperty({\n info: { name: 'display_name', displayName: 'Display Name', description: 'Public display name for the user' },\n type: 'string',\n required: true,\n })\n\n addFirstNameField(userEntity, { description: 'User first name' })\n addLastNameField(userEntity, { description: 'User last name' })\n\n userEntity.addProperty({\n info: { name: 'bio', displayName: 'Biography', description: 'User biography and description' },\n type: 'string',\n semantics: [{ id: SemanticType.Description }],\n })\n\n addAvatarUrlField(userEntity, { description: 'URL to user profile picture' })\n\n userEntity.addProperty({\n info: { name: 'website', displayName: 'Website', description: 'User personal website URL' },\n type: 'string',\n semantics: [createURLSemantic()],\n })\n\n // userEntity.addProperty({\n // info: {\n // name: 'social_links',\n // displayName: 'Social Links',\n // description: 'JSON object containing social media links',\n // },\n // type: 'string',\n // // semantics: [{ id: SemanticType.SocialMediaLinks }],\n // })\n\n userEntity.addProperty({\n info: { name: 'role', displayName: 'User Role', description: 'User role for permission management' },\n type: 'string',\n required: true,\n schema: {\n enum: ['subscriber', 'author', 'editor', 'admin', 'super_admin'],\n defaultValue: {\n type: 'literal',\n value: 'subscriber',\n },\n },\n semantics: [{ id: SemanticType.UserRole }],\n })\n\n addCustomStatusField(userEntity, ['active', 'inactive', 'suspended', 'pending_verification'], {\n displayName: 'User Status',\n description: 'Current status of the user account',\n })\n\n addBooleanField(userEntity, 'emailVerified', 'false', {\n displayName: 'Email Verified',\n description: 'Whether the user has verified their email',\n })\n\n // userEntity.addProperty({\n // info: { name: 'last_login_at', displayName: 'Last Login At', description: 'When the user last logged in' },\n // type: 'datetime',\n // readOnly: true,\n // semantics: [{ id: SemanticType.LastLoginTimestamp }],\n // })\n\n addCreatedAtField(userEntity, { description: 'When the user account was created' })\n\n // Post-Author Association (Many-to-One)\n postEntity.addAssociation(\n { key: userEntity.key },\n {\n info: { name: 'author', displayName: 'Post Author', description: 'Author who wrote this post' },\n required: true,\n multiple: false,\n semantics: [{ id: SemanticType.ResourceOwnerIdentifier }],\n }\n )\n\n //\n // 3. SOCIAL FEATURES NAMESPACE\n //\n const socialFeatures = domain.addNamespace({\n info: {\n name: 'SocialFeatures',\n displayName: 'Social Features',\n description: 'Comments, likes, shares, and social interactions',\n },\n })\n\n // Comment Model\n const commentModel = socialFeatures.addModel({\n info: {\n name: 'Comments',\n displayName: 'Comment System',\n description: 'Post comments and replies',\n },\n })\n\n // Comment Entity\n const commentEntity = commentModel.addEntity({\n info: {\n name: 'comment',\n displayName: 'Comment',\n description: 'User comments on posts',\n },\n })\n\n addIdField(commentEntity, { displayName: 'Comment ID', description: 'Unique identifier for the comment' })\n\n commentEntity.addProperty({\n info: { name: 'content', displayName: 'Comment Content', description: 'Content of the comment' },\n type: 'string',\n required: true,\n })\n\n commentEntity.addProperty({\n info: {\n name: 'author_name',\n displayName: 'Author Name',\n description: 'Name of the comment author (for guest comments)',\n },\n type: 'string',\n })\n\n addEmailField(commentEntity, {\n name: 'author_email',\n displayName: 'Author Email',\n description: 'Email of the comment author (for guest comments)',\n })\n\n addCustomStatusField(commentEntity, ['pending', 'approved', 'rejected', 'spam'], {\n displayName: 'Comment Status',\n description: 'Moderation status of the comment',\n })\n\n // commentEntity.addProperty({\n // info: { name: 'ip_address', displayName: 'IP Address', description: 'IP address of the commenter' },\n // type: 'string',\n // semantics: [{ id: SemanticType.IPAddress }],\n // })\n\n commentEntity.addProperty({\n info: { name: 'user_agent', displayName: 'User Agent', description: 'Browser user agent string' },\n type: 'string',\n })\n\n addCreatedAtField(commentEntity, { description: 'When the comment was created' })\n\n // Comment-Post Association (Many-to-One)\n commentEntity.addAssociation(\n { key: postEntity.key },\n {\n info: { name: 'post', displayName: 'Post', description: 'Post this comment belongs to' },\n required: true,\n multiple: false,\n }\n )\n\n // Comment-User Association (Many-to-One) - Optional for guest comments\n commentEntity.addAssociation(\n { key: userEntity.key },\n {\n info: { name: 'author', displayName: 'Comment Author', description: 'Registered user who wrote this comment' },\n required: false,\n multiple: false,\n semantics: [{ id: SemanticType.ResourceOwnerIdentifier }],\n }\n )\n\n // Self-referencing association for comment replies\n commentEntity.addAssociation(\n { key: commentEntity.key },\n {\n info: { name: 'parent_comment', displayName: 'Parent Comment', description: 'Parent comment for replies' },\n required: false,\n multiple: false,\n }\n )\n\n //\n // 4. ANALYTICS NAMESPACE\n //\n const analytics = domain.addNamespace({\n info: {\n name: 'Analytics',\n displayName: 'Analytics & Tracking',\n description: 'Analytics, metrics, and performance tracking',\n },\n })\n\n // Analytics Model\n const analyticsModel = analytics.addModel({\n info: {\n name: 'Analytics',\n displayName: 'Content Analytics',\n description: 'Content performance and user engagement metrics',\n },\n })\n\n // Page View Entity\n const pageViewEntity = analyticsModel.addEntity({\n info: {\n name: 'page_view',\n displayName: 'Page View',\n description: 'Individual page view tracking record',\n },\n })\n\n addIdField(pageViewEntity, { displayName: 'Page View ID', description: 'Unique identifier for the page view' })\n\n pageViewEntity.addProperty({\n info: { name: 'path', displayName: 'Page Path', description: 'URL path of the viewed page' },\n type: 'string',\n required: true,\n })\n\n pageViewEntity.addProperty({\n info: { name: 'referrer', displayName: 'Referrer', description: 'Referring URL' },\n type: 'string',\n semantics: [createURLSemantic()],\n })\n\n pageViewEntity.addProperty({\n info: { name: 'ip_address', displayName: 'IP Address', description: 'Visitor IP address' },\n type: 'string',\n semantics: [{ id: SemanticType.ClientIPAddress }],\n })\n\n pageViewEntity.addProperty({\n info: { name: 'user_agent', displayName: 'User Agent', description: 'Browser user agent string' },\n type: 'string',\n })\n\n pageViewEntity.addProperty({\n info: { name: 'session_id', displayName: 'Session ID', description: 'Visitor session identifier' },\n type: 'string',\n })\n\n addCreatedAtField(pageViewEntity, {\n name: 'viewed_at',\n displayName: 'Viewed At',\n description: 'When the page was viewed',\n })\n\n // PageView-Post Association (Many-to-One) - Optional, only for post views\n pageViewEntity.addAssociation(\n { key: postEntity.key },\n {\n info: { name: 'post', displayName: 'Viewed Post', description: 'Post that was viewed (if applicable)' },\n required: false,\n multiple: false,\n }\n )\n\n // PageView-Publication Association (Many-to-One)\n pageViewEntity.addAssociation(\n { key: publicationEntity.key },\n {\n info: { name: 'publication', displayName: 'Publication', description: 'Publication this page view belongs to' },\n required: true,\n multiple: false,\n }\n )\n\n //\n // 5. MEDIA MANAGEMENT NAMESPACE\n //\n const mediaManagement = domain.addNamespace({\n info: {\n name: 'MediaManagement',\n displayName: 'Media Management',\n description: 'Image, video, and file upload management',\n },\n })\n\n // Media Model\n const mediaModel = mediaManagement.addModel({\n info: {\n name: 'Media',\n displayName: 'Media Library',\n description: 'Uploaded files, images, and media assets',\n },\n })\n\n // Media File Entity\n const mediaFileEntity = mediaModel.addEntity({\n info: {\n name: 'media_file',\n displayName: 'Media File',\n description: 'Uploaded media files (images, videos, documents)',\n },\n })\n\n addIdField(mediaFileEntity, { displayName: 'Media File ID', description: 'Unique identifier for the media file' })\n\n mediaFileEntity.addProperty({\n info: { name: 'filename', displayName: 'File Name', description: 'Original filename of the uploaded file' },\n type: 'string',\n required: true,\n })\n\n mediaFileEntity.addProperty({\n info: { name: 'storage_key', displayName: 'Storage Key', description: 'Unique storage key for the file' },\n type: 'string',\n required: true,\n unique: true,\n })\n\n mediaFileEntity.addProperty({\n info: { name: 'url', displayName: 'File URL', description: 'Public URL to access the file' },\n type: 'string',\n required: true,\n semantics: [createURLSemantic()],\n })\n\n mediaFileEntity.addProperty({\n info: { name: 'mime_type', displayName: 'MIME Type', description: 'MIME type of the file' },\n type: 'string',\n required: true,\n })\n\n addQuantityField(mediaFileEntity, {\n name: 'file_size',\n displayName: 'File Size',\n description: 'File size in bytes',\n })\n\n addQuantityField(mediaFileEntity, {\n name: 'width',\n displayName: 'Image Width',\n description: 'Width in pixels (for images)',\n })\n\n addQuantityField(mediaFileEntity, {\n name: 'height',\n displayName: 'Image Height',\n description: 'Height in pixels (for images)',\n })\n\n mediaFileEntity.addProperty({\n info: { name: 'alt_text', displayName: 'Alt Text', description: 'Alternative text for accessibility' },\n type: 'string',\n // semantics: [{ id: SemanticType.ImageAltText }],\n })\n\n addCreatedAtField(mediaFileEntity, {\n name: 'uploaded_at',\n displayName: 'Uploaded At',\n description: 'When the file was uploaded',\n })\n\n // MediaFile-User Association (Many-to-One)\n mediaFileEntity.addAssociation(\n { key: userEntity.key },\n {\n info: { name: 'uploader', displayName: 'File Uploader', description: 'User who uploaded this file' },\n required: true,\n multiple: false,\n semantics: [{ id: SemanticType.ResourceOwnerIdentifier }],\n }\n )\n\n // MediaFile-Publication Association (Many-to-One)\n mediaFileEntity.addAssociation(\n { key: publicationEntity.key },\n {\n info: { name: 'publication', displayName: 'Publication', description: 'Publication this media file belongs to' },\n required: true,\n multiple: false,\n }\n )\n\n return domain\n}\n"]}
@@ -1,46 +0,0 @@
1
- /**
2
- * Gaming Domain Template
3
- *
4
- * A comprehensive gaming data domain following domain-driven design principles.
5
- * This template covers the complete gaming ecosystem lifecycle including:
6
- *
7
- * - Player Management: Player profiles, achievements, statistics
8
- * - Game Content: Levels, items, characters, assets
9
- * - Matchmaking: Multiplayer, teams, tournaments
10
- * - Monetization: In-app purchases, subscriptions, advertising
11
- * - Analytics: Player behavior, engagement, retention
12
- * - Social Features: Friends, chat, leaderboards
13
- *
14
- * Key Features:
15
- * - Complete player lifecycle management
16
- * - Game content and asset management
17
- * - Multiplayer matchmaking system
18
- * - Monetization and revenue tracking
19
- * - Player analytics and insights
20
- * - Social gaming features
21
- * - Gaming ecosystem management
22
- *
23
- * Use Cases:
24
- * - Video game platforms
25
- * - Mobile gaming apps
26
- * - Online multiplayer games
27
- * - Game development studios
28
- * - Gaming analytics
29
- * - Social gaming networks
30
- */
31
- import { DataDomain } from '../../../DataDomain.js';
32
- import type { CreateTemplateOptions } from '../../types.js';
33
- /**
34
- * Creates a comprehensive gaming data domain following domain-driven design principles.
35
- *
36
- * This function demonstrates the proper hierarchy and organization for a gaming platform:
37
- * 1. Creates the root DataDomain for the gaming platform
38
- * 2. Organizes functionality into logical namespaces (Player Management, Game Content, etc.)
39
- * 3. Groups related entities into models within each namespace
40
- * 4. Defines entities with proper semantic annotations for gaming workflows
41
- * 5. Establishes associations with appropriate cardinality for gaming relationships
42
- *
43
- * @returns A fully configured DataDomain with all gaming entities and relationships
44
- */
45
- export default function createGamingDomain(options?: CreateTemplateOptions): DataDomain;
46
- //# sourceMappingURL=gaming-domain.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"gaming-domain.d.ts","sourceRoot":"","sources":["../../../../../../src/modeling/templates/verticals/technology-media/gaming-domain.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAWnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAA;AAc3D;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,OAAO,GAAE,qBAA0B,GAAG,UAAU,CAqsC1F"}