@happyvertical/smrt-properties 0.46.0 → 0.47.0
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.
- package/dist/index.js +1 -1
- package/dist/manifest.json +40 -16
- package/dist/smrt-knowledge.json +158 -14
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
14
14
|
};
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/__smrt-register__.ts
|
|
17
|
-
ObjectRegistry.registerPackageManifest(JSON.parse("{\"version\":\"1.0.0\",\"timestamp\":0,\"packageName\":\"@happyvertical/smrt-properties\",\"packageVersion\":\"0.46.0\",\"objects\":{\"@happyvertical/smrt-properties:PropertyCollection\":{\"name\":\"propertycollection\",\"className\":\"PropertyCollection\",\"qualifiedName\":\"@happyvertical/smrt-properties:PropertyCollection\",\"collection\":\"properties\",\"filePath\":\"/home/runner/work/smrt/smrt/packages/properties/src/collections/Properties.ts\",\"packageName\":\"@happyvertical/smrt-properties\",\"fields\":{},\"methods\":{\"findByDomain\":{\"name\":\"findByDomain\",\"async\":true,\"parameters\":[{\"name\":\"domain\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Property | null>\",\"isStatic\":false,\"isPublic\":true},\"findByRepository\":{\"name\":\"findByRepository\",\"async\":true,\"parameters\":[{\"name\":\"repositoryId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Property[]>\",\"isStatic\":false,\"isPublic\":true},\"findByOwner\":{\"name\":\"findByOwner\",\"async\":true,\"parameters\":[{\"name\":\"ownerId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Property[]>\",\"isStatic\":false,\"isPublic\":true},\"findActive\":{\"name\":\"findActive\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<Property[]>\",\"isStatic\":false,\"isPublic\":true},\"findByStatus\":{\"name\":\"findByStatus\",\"async\":true,\"parameters\":[{\"name\":\"status\",\"type\":\"PropertyStatus\",\"optional\":false}],\"returnType\":\"Promise<Property[]>\",\"isStatic\":false,\"isPublic\":true},\"getOrCreateByDomain\":{\"name\":\"getOrCreateByDomain\",\"async\":true,\"parameters\":[{\"name\":\"domain\",\"type\":\"string\",\"optional\":false},{\"name\":\"defaults\",\"type\":\"object\",\"optional\":true}],\"returnType\":\"Promise<Property>\",\"isStatic\":false,\"isPublic\":true},\"countByStatus\":{\"name\":\"countByStatus\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<Record<PropertyStatus, number>>\",\"isStatic\":false,\"isPublic\":true},\"findByTenant\":{\"name\":\"findByTenant\",\"async\":true,\"parameters\":[{\"name\":\"tenantId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Property[]>\",\"isStatic\":false,\"isPublic\":true},\"findGlobal\":{\"name\":\"findGlobal\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<Property[]>\",\"isStatic\":false,\"isPublic\":true},\"findWithGlobals\":{\"name\":\"findWithGlobals\",\"async\":true,\"parameters\":[{\"name\":\"tenantId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Property[]>\",\"isStatic\":false,\"isPublic\":true}},\"decoratorConfig\":{},\"extends\":\"SmrtCollection\",\"extendsTypeArg\":\"Property\",\"exportName\":\"PropertyCollection\",\"collectionExportName\":\"PropertyCollectionCollection\",\"schema\":{\"tableName\":\"property_collections\",\"ddl\":\"CREATE TABLE IF NOT EXISTS \\\"property_collections\\\" (\\n \\\"id\\\" UUID PRIMARY KEY NOT NULL,\\n \\\"slug\\\" TEXT NOT NULL,\\n \\\"context\\\" TEXT NOT NULL DEFAULT '',\\n \\\"created_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"updated_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp\\n);\",\"columns\":{\"id\":{\"type\":\"UUID\",\"primaryKey\":true,\"referenceKind\":\"id\",\"notNull\":true},\"slug\":{\"type\":\"TEXT\",\"notNull\":true},\"context\":{\"type\":\"TEXT\",\"notNull\":true,\"default\":\"\"},\"created_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"updated_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"}},\"indexes\":[{\"name\":\"property_collections_slug_context_idx\",\"columns\":[\"slug\",\"context\"],\"unique\":true},{\"name\":\"property_collections_created_at_idx\",\"columns\":[\"created_at\"]}],\"version\":\"755c73e0\"}},\"@happyvertical/smrt-properties:ZoneCollection\":{\"name\":\"zonecollection\",\"className\":\"ZoneCollection\",\"qualifiedName\":\"@happyvertical/smrt-properties:ZoneCollection\",\"collection\":\"zones\",\"filePath\":\"/home/runner/work/smrt/smrt/packages/properties/src/collections/Zones.ts\",\"packageName\":\"@happyvertical/smrt-properties\",\"fields\":{},\"methods\":{\"findByProperty\":{\"name\":\"findByProperty\",\"async\":true,\"parameters\":[{\"name\":\"propertyId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"findTopLevel\":{\"name\":\"findTopLevel\",\"async\":true,\"parameters\":[{\"name\":\"propertyId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"findChildren\":{\"name\":\"findChildren\",\"async\":true,\"parameters\":[{\"name\":\"parentId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"findByPath\":{\"name\":\"findByPath\",\"async\":true,\"parameters\":[{\"name\":\"propertyId\",\"type\":\"string\",\"optional\":false},{\"name\":\"path\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"findByType\":{\"name\":\"findByType\",\"async\":true,\"parameters\":[{\"name\":\"propertyId\",\"type\":\"string\",\"optional\":false},{\"name\":\"type\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"getTree\":{\"name\":\"getTree\",\"async\":true,\"parameters\":[{\"name\":\"propertyId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<ZoneTree<Zone>>\",\"isStatic\":false,\"isPublic\":true},\"getAncestors\":{\"name\":\"getAncestors\",\"async\":true,\"parameters\":[{\"name\":\"zoneId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"getDescendants\":{\"name\":\"getDescendants\",\"async\":true,\"parameters\":[{\"name\":\"zoneId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"getMaxDepth\":{\"name\":\"getMaxDepth\",\"async\":true,\"parameters\":[{\"name\":\"propertyId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<number>\",\"isStatic\":false,\"isPublic\":true},\"findByDimensions\":{\"name\":\"findByDimensions\",\"async\":true,\"parameters\":[{\"name\":\"propertyId\",\"type\":\"string\",\"optional\":false},{\"name\":\"width\",\"type\":\"number\",\"optional\":false},{\"name\":\"height\",\"type\":\"number\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"findByAllowedFormat\":{\"name\":\"findByAllowedFormat\",\"async\":true,\"parameters\":[{\"name\":\"propertyId\",\"type\":\"string\",\"optional\":false},{\"name\":\"format\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"moveZone\":{\"name\":\"moveZone\",\"async\":true,\"parameters\":[{\"name\":\"zoneId\",\"type\":\"string\",\"optional\":false},{\"name\":\"newParentId\",\"type\":\"string | null\",\"optional\":false}],\"returnType\":\"Promise<Zone | null>\",\"isStatic\":false,\"isPublic\":true},\"deleteZone\":{\"name\":\"deleteZone\",\"async\":true,\"parameters\":[{\"name\":\"zoneId\",\"type\":\"string\",\"optional\":false},{\"name\":\"cascade\",\"type\":\"boolean\",\"optional\":true}],\"returnType\":\"Promise<number>\",\"isStatic\":false,\"isPublic\":true},\"findByTenant\":{\"name\":\"findByTenant\",\"async\":true,\"parameters\":[{\"name\":\"tenantId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"findGlobal\":{\"name\":\"findGlobal\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"findWithGlobals\":{\"name\":\"findWithGlobals\",\"async\":true,\"parameters\":[{\"name\":\"tenantId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true}},\"decoratorConfig\":{},\"extends\":\"SmrtCollection\",\"extendsTypeArg\":\"Zone\",\"exportName\":\"ZoneCollection\",\"collectionExportName\":\"ZoneCollectionCollection\",\"schema\":{\"tableName\":\"zone_collections\",\"ddl\":\"CREATE TABLE IF NOT EXISTS \\\"zone_collections\\\" (\\n \\\"id\\\" UUID PRIMARY KEY NOT NULL,\\n \\\"slug\\\" TEXT NOT NULL,\\n \\\"context\\\" TEXT NOT NULL DEFAULT '',\\n \\\"created_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"updated_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp\\n);\",\"columns\":{\"id\":{\"type\":\"UUID\",\"primaryKey\":true,\"referenceKind\":\"id\",\"notNull\":true},\"slug\":{\"type\":\"TEXT\",\"notNull\":true},\"context\":{\"type\":\"TEXT\",\"notNull\":true,\"default\":\"\"},\"created_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"updated_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"}},\"indexes\":[{\"name\":\"zone_collections_slug_context_idx\",\"columns\":[\"slug\",\"context\"],\"unique\":true},{\"name\":\"zone_collections_created_at_idx\",\"columns\":[\"created_at\"]}],\"version\":\"5bed4522\"}},\"@happyvertical/smrt-properties:Property\":{\"name\":\"property\",\"className\":\"Property\",\"qualifiedName\":\"@happyvertical/smrt-properties:Property\",\"collection\":\"properties\",\"filePath\":\"/home/runner/work/smrt/smrt/packages/properties/src/models/Property.ts\",\"packageName\":\"@happyvertical/smrt-properties\",\"fields\":{\"created_at\":{\"type\":\"datetime\",\"required\":false},\"updated_at\":{\"type\":\"datetime\",\"required\":false},\"tenantId\":{\"type\":\"text\",\"required\":false,\"_meta\":{\"sqlType\":\"UUID\",\"nullable\":true,\"__tenancy\":{\"isTenantIdField\":true,\"autoFilter\":true,\"required\":false,\"autoPopulate\":true,\"nullable\":true,\"mode\":\"optional\",\"field\":\"tenantId\",\"allowSuperAdminBypass\":false}}},\"name\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"domain\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"url\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"description\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"repositoryId\":{\"type\":\"crossPackageRef\",\"required\":false,\"related\":\"@happyvertical/smrt-projects:Repository\"},\"ownerId\":{\"type\":\"crossPackageRef\",\"required\":false,\"related\":\"@happyvertical/smrt-profiles:Profile\"},\"status\":{\"type\":\"text\",\"required\":false,\"default\":\"active\"},\"metadata\":{\"type\":\"json\",\"required\":false,\"default\":{}}},\"methods\":{\"getZones\":{\"name\":\"getZones\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise\",\"isStatic\":false,\"isPublic\":true},\"getZoneTree\":{\"name\":\"getZoneTree\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise\",\"isStatic\":false,\"isPublic\":true},\"createZone\":{\"name\":\"createZone\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"Omit<'propertyId'>\",\"optional\":false}],\"returnType\":\"Promise\",\"isStatic\":false,\"isPublic\":true},\"isActive\":{\"name\":\"isActive\",\"async\":false,\"parameters\":[],\"returnType\":\"boolean\",\"isStatic\":false,\"isPublic\":true},\"summarize\":{\"name\":\"summarize\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<string>\",\"isStatic\":false,\"isPublic\":true}},\"decoratorConfig\":{\"tableStrategy\":\"sti\",\"api\":{\"include\":[\"list\",\"get\",\"create\",\"update\",\"delete\"]},\"mcp\":{\"include\":[\"list\",\"get\",\"create\"]},\"cli\":{\"skipApiCheck\":true},\"tenantScoped\":{\"mode\":\"optional\"},\"conflictColumns\":[\"tenant_id\",\"slug\",\"context\",\"_meta_type\"]},\"extends\":\"SmrtObject\",\"exportName\":\"Property\",\"collectionExportName\":\"PropertyCollection\",\"schema\":{\"tableName\":\"properties\",\"ddl\":\"CREATE TABLE IF NOT EXISTS \\\"properties\\\" (\\n \\\"id\\\" UUID PRIMARY KEY NOT NULL,\\n \\\"slug\\\" TEXT NOT NULL,\\n \\\"context\\\" TEXT NOT NULL DEFAULT '',\\n \\\"_meta_type\\\" TEXT NOT NULL,\\n \\\"_meta_data\\\" JSON,\\n \\\"created_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"updated_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"tenant_id\\\" UUID,\\n \\\"name\\\" TEXT DEFAULT '',\\n \\\"domain\\\" TEXT DEFAULT '',\\n \\\"url\\\" TEXT DEFAULT '',\\n \\\"description\\\" TEXT DEFAULT '',\\n \\\"repository_id\\\" UUID,\\n \\\"owner_id\\\" UUID,\\n \\\"status\\\" TEXT DEFAULT 'active',\\n \\\"metadata\\\" JSON DEFAULT '{}'\\n);\",\"columns\":{\"id\":{\"type\":\"UUID\",\"primaryKey\":true,\"referenceKind\":\"id\",\"notNull\":true},\"slug\":{\"type\":\"TEXT\",\"notNull\":true},\"context\":{\"type\":\"TEXT\",\"notNull\":true,\"default\":\"\"},\"_meta_type\":{\"type\":\"TEXT\",\"notNull\":true},\"_meta_data\":{\"type\":\"JSON\",\"notNull\":false},\"created_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"updated_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"tenant_id\":{\"type\":\"UUID\",\"referenceKind\":\"tenantId\",\"notNull\":false},\"name\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"\"},\"domain\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"\"},\"url\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"\"},\"description\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"\"},\"repository_id\":{\"type\":\"UUID\",\"referenceKind\":\"crossPackageRef\",\"notNull\":false},\"owner_id\":{\"type\":\"UUID\",\"referenceKind\":\"crossPackageRef\",\"notNull\":false},\"status\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"active\"},\"metadata\":{\"type\":\"JSON\",\"notNull\":false,\"default\":{}}},\"indexes\":[{\"name\":\"properties_slug_context_meta_type_idx\",\"columns\":[\"tenant_id\",\"slug\",\"context\",\"_meta_type\"],\"unique\":true},{\"name\":\"properties_meta_type_idx\",\"columns\":[\"_meta_type\"]},{\"name\":\"properties_tenant_id_created_at_idx\",\"columns\":[\"tenant_id\",\"created_at\"]},{\"name\":\"properties_repository_id_idx\",\"columns\":[\"repository_id\"]},{\"name\":\"properties_owner_id_idx\",\"columns\":[\"owner_id\"]}],\"version\":\"6431d246\"}},\"@happyvertical/smrt-properties:Zone\":{\"name\":\"zone\",\"className\":\"Zone\",\"qualifiedName\":\"@happyvertical/smrt-properties:Zone\",\"collection\":\"zones\",\"filePath\":\"/home/runner/work/smrt/smrt/packages/properties/src/models/Zone.ts\",\"packageName\":\"@happyvertical/smrt-properties\",\"fields\":{\"parentId\":{\"type\":\"foreignKey\",\"required\":false,\"related\":\"Zone\",\"_meta\":{\"nullable\":true}},\"tenantId\":{\"type\":\"text\",\"required\":false,\"_meta\":{\"sqlType\":\"UUID\",\"nullable\":true,\"__tenancy\":{\"isTenantIdField\":true,\"autoFilter\":true,\"required\":false,\"autoPopulate\":true,\"nullable\":true,\"mode\":\"optional\",\"field\":\"tenantId\",\"allowSuperAdminBypass\":false}}},\"propertyId\":{\"type\":\"foreignKey\",\"required\":false,\"related\":\"Property\"},\"name\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"type\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"path\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"selector\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"position\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"width\":{\"type\":\"integer\",\"required\":false},\"height\":{\"type\":\"integer\",\"required\":false},\"allowedFormats\":{\"type\":\"json\",\"required\":false,\"default\":[]},\"defaultContentId\":{\"type\":\"text\",\"required\":false},\"metadata\":{\"type\":\"json\",\"required\":false,\"default\":{}}},\"methods\":{\"getParent\":{\"name\":\"getParent\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<null>\",\"isStatic\":false,\"isPublic\":true},\"getChildren\":{\"name\":\"getChildren\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise\",\"isStatic\":false,\"isPublic\":true},\"getAncestors\":{\"name\":\"getAncestors\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise\",\"isStatic\":false,\"isPublic\":true},\"getDescendants\":{\"name\":\"getDescendants\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise\",\"isStatic\":false,\"isPublic\":true},\"getHierarchy\":{\"name\":\"getHierarchy\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<HierarchyView>\",\"isStatic\":false,\"isPublic\":true},\"moveTo\":{\"name\":\"moveTo\",\"async\":true,\"parameters\":[{\"name\":\"newParent\",\"type\":\"string | null\",\"optional\":false}],\"returnType\":\"Promise<void>\",\"isStatic\":false,\"isPublic\":true},\"isTopLevel\":{\"name\":\"isTopLevel\",\"async\":false,\"parameters\":[],\"returnType\":\"boolean\",\"isStatic\":false,\"isPublic\":true},\"hasDimensions\":{\"name\":\"hasDimensions\",\"async\":false,\"parameters\":[],\"returnType\":\"boolean\",\"isStatic\":false,\"isPublic\":true},\"getDimensionString\":{\"name\":\"getDimensionString\",\"async\":false,\"parameters\":[],\"returnType\":\"string | null\",\"isStatic\":false,\"isPublic\":true},\"getProperty\":{\"name\":\"getProperty\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<null>\",\"isStatic\":false,\"isPublic\":true},\"getFullPath\":{\"name\":\"getFullPath\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<string>\",\"isStatic\":false,\"isPublic\":true},\"getDepth\":{\"name\":\"getDepth\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<number>\",\"isStatic\":false,\"isPublic\":true},\"createChild\":{\"name\":\"createChild\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"Omit<ZoneOptions, 'propertyId' | 'parentId'>\",\"optional\":false}],\"returnType\":\"Promise<Zone>\",\"isStatic\":false,\"isPublic\":true},\"toTreeNode\":{\"name\":\"toTreeNode\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<ZoneTreeNode<Zone>>\",\"isStatic\":false,\"isPublic\":true},\"isFormatAllowed\":{\"name\":\"isFormatAllowed\",\"async\":false,\"parameters\":[{\"name\":\"format\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"boolean\",\"isStatic\":false,\"isPublic\":true}},\"decoratorConfig\":{\"api\":{\"include\":[\"list\",\"get\",\"create\",\"update\",\"delete\"]},\"mcp\":{\"include\":[\"list\",\"get\",\"create\"]},\"cli\":{\"skipApiCheck\":true},\"tenantScoped\":{\"mode\":\"optional\"},\"conflictColumns\":[\"tenant_id\",\"slug\",\"context\"]},\"extends\":\"SmrtHierarchical\",\"exportName\":\"Zone\",\"collectionExportName\":\"ZoneCollection\",\"schema\":{\"tableName\":\"zones\",\"ddl\":\"CREATE TABLE IF NOT EXISTS \\\"zones\\\" (\\n \\\"id\\\" UUID PRIMARY KEY NOT NULL,\\n \\\"slug\\\" TEXT NOT NULL,\\n \\\"context\\\" TEXT NOT NULL DEFAULT '',\\n \\\"created_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"updated_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"parent_id\\\" UUID,\\n \\\"tenant_id\\\" UUID,\\n \\\"property_id\\\" UUID,\\n \\\"name\\\" TEXT DEFAULT '',\\n \\\"type\\\" TEXT DEFAULT '',\\n \\\"path\\\" TEXT DEFAULT '',\\n \\\"selector\\\" TEXT DEFAULT '',\\n \\\"position\\\" TEXT DEFAULT '',\\n \\\"width\\\" INTEGER,\\n \\\"height\\\" INTEGER,\\n \\\"allowed_formats\\\" JSON DEFAULT '[]',\\n \\\"default_content_id\\\" TEXT,\\n \\\"metadata\\\" JSON DEFAULT '{}'\\n);\",\"columns\":{\"id\":{\"type\":\"UUID\",\"primaryKey\":true,\"referenceKind\":\"id\",\"notNull\":true},\"slug\":{\"type\":\"TEXT\",\"notNull\":true},\"context\":{\"type\":\"TEXT\",\"notNull\":true,\"default\":\"\"},\"created_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"updated_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"parent_id\":{\"type\":\"UUID\",\"referenceKind\":\"foreignKey\",\"notNull\":false,\"unique\":false,\"foreignKey\":{\"table\":\"zones\",\"column\":\"id\",\"onDelete\":\"NO ACTION\",\"onUpdate\":\"CASCADE\"}},\"tenant_id\":{\"type\":\"UUID\",\"referenceKind\":\"tenantId\",\"notNull\":false,\"unique\":false},\"property_id\":{\"type\":\"UUID\",\"referenceKind\":\"foreignKey\",\"notNull\":false,\"unique\":false,\"foreignKey\":{\"table\":\"properties\",\"column\":\"id\",\"onDelete\":\"NO ACTION\",\"onUpdate\":\"CASCADE\"}},\"name\":{\"type\":\"TEXT\",\"notNull\":false,\"unique\":false,\"default\":\"\"},\"type\":{\"type\":\"TEXT\",\"notNull\":false,\"unique\":false,\"default\":\"\"},\"path\":{\"type\":\"TEXT\",\"notNull\":false,\"unique\":false,\"default\":\"\"},\"selector\":{\"type\":\"TEXT\",\"notNull\":false,\"unique\":false,\"default\":\"\"},\"position\":{\"type\":\"TEXT\",\"notNull\":false,\"unique\":false,\"default\":\"\"},\"width\":{\"type\":\"INTEGER\",\"notNull\":false,\"unique\":false},\"height\":{\"type\":\"INTEGER\",\"notNull\":false,\"unique\":false},\"allowed_formats\":{\"type\":\"JSON\",\"notNull\":false,\"unique\":false,\"default\":[]},\"default_content_id\":{\"type\":\"TEXT\",\"notNull\":false,\"unique\":false},\"metadata\":{\"type\":\"JSON\",\"notNull\":false,\"unique\":false,\"default\":{}}},\"indexes\":[{\"name\":\"zones_slug_context_idx\",\"columns\":[\"tenant_id\",\"slug\",\"context\"],\"unique\":true},{\"name\":\"zones_tenant_id_created_at_idx\",\"columns\":[\"tenant_id\",\"created_at\"]},{\"name\":\"zones_parent_id_idx\",\"columns\":[\"parent_id\"]},{\"name\":\"zones_property_id_idx\",\"columns\":[\"property_id\"]}],\"version\":\"a9fed5be\"}}},\"moduleType\":\"smrt\",\"smrtDependencies\":[\"@happyvertical/smrt-core\",\"@happyvertical/smrt-prompts\",\"@happyvertical/smrt-tenancy\"]}"));
|
|
17
|
+
ObjectRegistry.registerPackageManifest(JSON.parse("{\"version\":\"1.0.0\",\"timestamp\":0,\"packageName\":\"@happyvertical/smrt-properties\",\"packageVersion\":\"0.47.0\",\"objects\":{\"@happyvertical/smrt-properties:PropertyCollection\":{\"name\":\"propertycollection\",\"className\":\"PropertyCollection\",\"qualifiedName\":\"@happyvertical/smrt-properties:PropertyCollection\",\"collection\":\"properties\",\"filePath\":\"/home/runner/work/smrt/smrt/packages/properties/src/collections/Properties.ts\",\"packageName\":\"@happyvertical/smrt-properties\",\"fields\":{},\"methods\":{\"findByDomain\":{\"name\":\"findByDomain\",\"async\":true,\"parameters\":[{\"name\":\"domain\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Property | null>\",\"isStatic\":false,\"isPublic\":true},\"findByRepository\":{\"name\":\"findByRepository\",\"async\":true,\"parameters\":[{\"name\":\"repositoryId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Property[]>\",\"isStatic\":false,\"isPublic\":true},\"findByOwner\":{\"name\":\"findByOwner\",\"async\":true,\"parameters\":[{\"name\":\"ownerId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Property[]>\",\"isStatic\":false,\"isPublic\":true},\"findActive\":{\"name\":\"findActive\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<Property[]>\",\"isStatic\":false,\"isPublic\":true},\"findByStatus\":{\"name\":\"findByStatus\",\"async\":true,\"parameters\":[{\"name\":\"status\",\"type\":\"PropertyStatus\",\"optional\":false}],\"returnType\":\"Promise<Property[]>\",\"isStatic\":false,\"isPublic\":true},\"getOrCreateByDomain\":{\"name\":\"getOrCreateByDomain\",\"async\":true,\"parameters\":[{\"name\":\"domain\",\"type\":\"string\",\"optional\":false},{\"name\":\"defaults\",\"type\":\"object\",\"optional\":true,\"memberTypes\":[\"string\",\"string | null\"]}],\"returnType\":\"Promise<Property>\",\"isStatic\":false,\"isPublic\":true},\"countByStatus\":{\"name\":\"countByStatus\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<Record<PropertyStatus, number>>\",\"isStatic\":false,\"isPublic\":true},\"findByTenant\":{\"name\":\"findByTenant\",\"async\":true,\"parameters\":[{\"name\":\"tenantId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Property[]>\",\"isStatic\":false,\"isPublic\":true},\"findGlobal\":{\"name\":\"findGlobal\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<Property[]>\",\"isStatic\":false,\"isPublic\":true},\"findWithGlobals\":{\"name\":\"findWithGlobals\",\"async\":true,\"parameters\":[{\"name\":\"tenantId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Property[]>\",\"isStatic\":false,\"isPublic\":true}},\"decoratorConfig\":{},\"extends\":\"SmrtCollection\",\"extendsTypeArg\":\"Property\",\"exportName\":\"PropertyCollection\",\"collectionExportName\":\"PropertyCollectionCollection\",\"schema\":{\"tableName\":\"property_collections\",\"ddl\":\"CREATE TABLE IF NOT EXISTS \\\"property_collections\\\" (\\n \\\"id\\\" UUID PRIMARY KEY NOT NULL,\\n \\\"slug\\\" TEXT NOT NULL,\\n \\\"context\\\" TEXT NOT NULL DEFAULT '',\\n \\\"created_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"updated_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp\\n);\",\"columns\":{\"id\":{\"type\":\"UUID\",\"primaryKey\":true,\"referenceKind\":\"id\",\"notNull\":true},\"slug\":{\"type\":\"TEXT\",\"notNull\":true},\"context\":{\"type\":\"TEXT\",\"notNull\":true,\"default\":\"\"},\"created_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"updated_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"}},\"indexes\":[{\"name\":\"property_collections_slug_context_idx\",\"columns\":[\"slug\",\"context\"],\"unique\":true},{\"name\":\"property_collections_created_at_idx\",\"columns\":[\"created_at\"]}],\"version\":\"755c73e0\"}},\"@happyvertical/smrt-properties:ZoneCollection\":{\"name\":\"zonecollection\",\"className\":\"ZoneCollection\",\"qualifiedName\":\"@happyvertical/smrt-properties:ZoneCollection\",\"collection\":\"zones\",\"filePath\":\"/home/runner/work/smrt/smrt/packages/properties/src/collections/Zones.ts\",\"packageName\":\"@happyvertical/smrt-properties\",\"fields\":{},\"methods\":{\"findByProperty\":{\"name\":\"findByProperty\",\"async\":true,\"parameters\":[{\"name\":\"propertyId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"findTopLevel\":{\"name\":\"findTopLevel\",\"async\":true,\"parameters\":[{\"name\":\"propertyId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"findChildren\":{\"name\":\"findChildren\",\"async\":true,\"parameters\":[{\"name\":\"parentId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"findByPath\":{\"name\":\"findByPath\",\"async\":true,\"parameters\":[{\"name\":\"propertyId\",\"type\":\"string\",\"optional\":false},{\"name\":\"path\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"findByType\":{\"name\":\"findByType\",\"async\":true,\"parameters\":[{\"name\":\"propertyId\",\"type\":\"string\",\"optional\":false},{\"name\":\"type\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"getTree\":{\"name\":\"getTree\",\"async\":true,\"parameters\":[{\"name\":\"propertyId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<ZoneTree<Zone>>\",\"isStatic\":false,\"isPublic\":true},\"getAncestors\":{\"name\":\"getAncestors\",\"async\":true,\"parameters\":[{\"name\":\"zoneId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"getDescendants\":{\"name\":\"getDescendants\",\"async\":true,\"parameters\":[{\"name\":\"zoneId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"getMaxDepth\":{\"name\":\"getMaxDepth\",\"async\":true,\"parameters\":[{\"name\":\"propertyId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<number>\",\"isStatic\":false,\"isPublic\":true},\"findByDimensions\":{\"name\":\"findByDimensions\",\"async\":true,\"parameters\":[{\"name\":\"propertyId\",\"type\":\"string\",\"optional\":false},{\"name\":\"width\",\"type\":\"number\",\"optional\":false},{\"name\":\"height\",\"type\":\"number\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"findByAllowedFormat\":{\"name\":\"findByAllowedFormat\",\"async\":true,\"parameters\":[{\"name\":\"propertyId\",\"type\":\"string\",\"optional\":false},{\"name\":\"format\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"moveZone\":{\"name\":\"moveZone\",\"async\":true,\"parameters\":[{\"name\":\"zoneId\",\"type\":\"string\",\"optional\":false},{\"name\":\"newParentId\",\"type\":\"string | null\",\"optional\":false,\"unionBranches\":[{\"type\":\"string\"},{\"type\":\"null\"}]}],\"returnType\":\"Promise<Zone | null>\",\"isStatic\":false,\"isPublic\":true},\"deleteZone\":{\"name\":\"deleteZone\",\"async\":true,\"parameters\":[{\"name\":\"zoneId\",\"type\":\"string\",\"optional\":false},{\"name\":\"cascade\",\"type\":\"boolean\",\"optional\":true}],\"returnType\":\"Promise<number>\",\"isStatic\":false,\"isPublic\":true},\"findByTenant\":{\"name\":\"findByTenant\",\"async\":true,\"parameters\":[{\"name\":\"tenantId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"findGlobal\":{\"name\":\"findGlobal\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true},\"findWithGlobals\":{\"name\":\"findWithGlobals\",\"async\":true,\"parameters\":[{\"name\":\"tenantId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<Zone[]>\",\"isStatic\":false,\"isPublic\":true}},\"decoratorConfig\":{},\"extends\":\"SmrtCollection\",\"extendsTypeArg\":\"Zone\",\"exportName\":\"ZoneCollection\",\"collectionExportName\":\"ZoneCollectionCollection\",\"schema\":{\"tableName\":\"zone_collections\",\"ddl\":\"CREATE TABLE IF NOT EXISTS \\\"zone_collections\\\" (\\n \\\"id\\\" UUID PRIMARY KEY NOT NULL,\\n \\\"slug\\\" TEXT NOT NULL,\\n \\\"context\\\" TEXT NOT NULL DEFAULT '',\\n \\\"created_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"updated_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp\\n);\",\"columns\":{\"id\":{\"type\":\"UUID\",\"primaryKey\":true,\"referenceKind\":\"id\",\"notNull\":true},\"slug\":{\"type\":\"TEXT\",\"notNull\":true},\"context\":{\"type\":\"TEXT\",\"notNull\":true,\"default\":\"\"},\"created_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"updated_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"}},\"indexes\":[{\"name\":\"zone_collections_slug_context_idx\",\"columns\":[\"slug\",\"context\"],\"unique\":true},{\"name\":\"zone_collections_created_at_idx\",\"columns\":[\"created_at\"]}],\"version\":\"5bed4522\"}},\"@happyvertical/smrt-properties:Property\":{\"name\":\"property\",\"className\":\"Property\",\"qualifiedName\":\"@happyvertical/smrt-properties:Property\",\"collection\":\"properties\",\"filePath\":\"/home/runner/work/smrt/smrt/packages/properties/src/models/Property.ts\",\"packageName\":\"@happyvertical/smrt-properties\",\"fields\":{\"created_at\":{\"type\":\"datetime\",\"required\":false},\"updated_at\":{\"type\":\"datetime\",\"required\":false},\"tenantId\":{\"type\":\"text\",\"required\":false,\"_meta\":{\"sqlType\":\"UUID\",\"nullable\":true,\"__tenancy\":{\"isTenantIdField\":true,\"autoFilter\":true,\"required\":false,\"autoPopulate\":true,\"nullable\":true,\"mode\":\"optional\",\"field\":\"tenantId\",\"allowSuperAdminBypass\":false}}},\"name\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"domain\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"url\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"description\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"repositoryId\":{\"type\":\"crossPackageRef\",\"required\":false,\"related\":\"@happyvertical/smrt-projects:Repository\"},\"ownerId\":{\"type\":\"crossPackageRef\",\"required\":false,\"related\":\"@happyvertical/smrt-profiles:Profile\"},\"status\":{\"type\":\"text\",\"required\":false,\"default\":\"active\"},\"metadata\":{\"type\":\"json\",\"required\":false,\"default\":{}}},\"methods\":{\"getZones\":{\"name\":\"getZones\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getZoneTree\":{\"name\":\"getZoneTree\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"createZone\":{\"name\":\"createZone\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"any\",\"optional\":false,\"typeUnresolved\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"isActive\":{\"name\":\"isActive\",\"async\":false,\"parameters\":[],\"returnType\":\"boolean\",\"isStatic\":false,\"isPublic\":true},\"summarize\":{\"name\":\"summarize\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<string>\",\"isStatic\":false,\"isPublic\":true}},\"decoratorConfig\":{\"tableStrategy\":\"sti\",\"api\":{\"include\":[\"list\",\"get\",\"create\",\"update\",\"delete\"]},\"mcp\":{\"include\":[\"list\",\"get\",\"create\"]},\"cli\":{\"skipApiCheck\":true},\"tenantScoped\":{\"mode\":\"optional\"},\"conflictColumns\":[\"tenant_id\",\"slug\",\"context\",\"_meta_type\"]},\"extends\":\"SmrtObject\",\"exportName\":\"Property\",\"collectionExportName\":\"PropertyCollection\",\"schema\":{\"tableName\":\"properties\",\"ddl\":\"CREATE TABLE IF NOT EXISTS \\\"properties\\\" (\\n \\\"id\\\" UUID PRIMARY KEY NOT NULL,\\n \\\"slug\\\" TEXT NOT NULL,\\n \\\"context\\\" TEXT NOT NULL DEFAULT '',\\n \\\"_meta_type\\\" TEXT NOT NULL,\\n \\\"_meta_data\\\" JSON,\\n \\\"created_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"updated_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"tenant_id\\\" UUID,\\n \\\"name\\\" TEXT DEFAULT '',\\n \\\"domain\\\" TEXT DEFAULT '',\\n \\\"url\\\" TEXT DEFAULT '',\\n \\\"description\\\" TEXT DEFAULT '',\\n \\\"repository_id\\\" UUID,\\n \\\"owner_id\\\" UUID,\\n \\\"status\\\" TEXT DEFAULT 'active',\\n \\\"metadata\\\" JSON DEFAULT '{}'\\n);\",\"columns\":{\"id\":{\"type\":\"UUID\",\"primaryKey\":true,\"referenceKind\":\"id\",\"notNull\":true},\"slug\":{\"type\":\"TEXT\",\"notNull\":true},\"context\":{\"type\":\"TEXT\",\"notNull\":true,\"default\":\"\"},\"_meta_type\":{\"type\":\"TEXT\",\"notNull\":true},\"_meta_data\":{\"type\":\"JSON\",\"notNull\":false},\"created_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"updated_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"tenant_id\":{\"type\":\"UUID\",\"referenceKind\":\"tenantId\",\"notNull\":false},\"name\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"\"},\"domain\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"\"},\"url\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"\"},\"description\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"\"},\"repository_id\":{\"type\":\"UUID\",\"referenceKind\":\"crossPackageRef\",\"notNull\":false},\"owner_id\":{\"type\":\"UUID\",\"referenceKind\":\"crossPackageRef\",\"notNull\":false},\"status\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"active\"},\"metadata\":{\"type\":\"JSON\",\"notNull\":false,\"default\":{}}},\"indexes\":[{\"name\":\"properties_slug_context_meta_type_idx\",\"columns\":[\"tenant_id\",\"slug\",\"context\",\"_meta_type\"],\"unique\":true},{\"name\":\"properties_meta_type_idx\",\"columns\":[\"_meta_type\"]},{\"name\":\"properties_tenant_id_created_at_idx\",\"columns\":[\"tenant_id\",\"created_at\"]},{\"name\":\"properties_repository_id_idx\",\"columns\":[\"repository_id\"]},{\"name\":\"properties_owner_id_idx\",\"columns\":[\"owner_id\"]}],\"version\":\"6431d246\"}},\"@happyvertical/smrt-properties:Zone\":{\"name\":\"zone\",\"className\":\"Zone\",\"qualifiedName\":\"@happyvertical/smrt-properties:Zone\",\"collection\":\"zones\",\"filePath\":\"/home/runner/work/smrt/smrt/packages/properties/src/models/Zone.ts\",\"packageName\":\"@happyvertical/smrt-properties\",\"fields\":{\"parentId\":{\"type\":\"foreignKey\",\"required\":false,\"related\":\"Zone\",\"_meta\":{\"nullable\":true}},\"tenantId\":{\"type\":\"text\",\"required\":false,\"_meta\":{\"sqlType\":\"UUID\",\"nullable\":true,\"__tenancy\":{\"isTenantIdField\":true,\"autoFilter\":true,\"required\":false,\"autoPopulate\":true,\"nullable\":true,\"mode\":\"optional\",\"field\":\"tenantId\",\"allowSuperAdminBypass\":false}}},\"propertyId\":{\"type\":\"foreignKey\",\"required\":false,\"related\":\"Property\"},\"name\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"type\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"path\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"selector\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"position\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"width\":{\"type\":\"integer\",\"required\":false},\"height\":{\"type\":\"integer\",\"required\":false},\"allowedFormats\":{\"type\":\"json\",\"required\":false,\"default\":[]},\"defaultContentId\":{\"type\":\"text\",\"required\":false},\"metadata\":{\"type\":\"json\",\"required\":false,\"default\":{}}},\"methods\":{\"getParent\":{\"name\":\"getParent\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<this | null>\",\"isStatic\":false,\"isPublic\":true},\"getChildren\":{\"name\":\"getChildren\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<this[]>\",\"isStatic\":false,\"isPublic\":true},\"getAncestors\":{\"name\":\"getAncestors\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<this[]>\",\"isStatic\":false,\"isPublic\":true},\"getDescendants\":{\"name\":\"getDescendants\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<this[]>\",\"isStatic\":false,\"isPublic\":true},\"getHierarchy\":{\"name\":\"getHierarchy\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<HierarchyView<this>>\",\"isStatic\":false,\"isPublic\":true},\"moveTo\":{\"name\":\"moveTo\",\"async\":true,\"parameters\":[{\"name\":\"newParent\",\"type\":\"this | string | null\",\"optional\":false,\"unionBranches\":[{\"type\":\"this\"},{\"type\":\"string\"},{\"type\":\"null\"}]}],\"returnType\":\"Promise<void>\",\"isStatic\":false,\"isPublic\":true},\"isTopLevel\":{\"name\":\"isTopLevel\",\"async\":false,\"parameters\":[],\"returnType\":\"boolean\",\"isStatic\":false,\"isPublic\":true},\"hasDimensions\":{\"name\":\"hasDimensions\",\"async\":false,\"parameters\":[],\"returnType\":\"boolean\",\"isStatic\":false,\"isPublic\":true},\"getDimensionString\":{\"name\":\"getDimensionString\",\"async\":false,\"parameters\":[],\"returnType\":\"string | null\",\"isStatic\":false,\"isPublic\":true},\"getProperty\":{\"name\":\"getProperty\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getFullPath\":{\"name\":\"getFullPath\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<string>\",\"isStatic\":false,\"isPublic\":true},\"getDepth\":{\"name\":\"getDepth\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<number>\",\"isStatic\":false,\"isPublic\":true},\"createChild\":{\"name\":\"createChild\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"Omit<ZoneOptions, 'propertyId' | 'parentId'>\",\"optional\":false}],\"returnType\":\"Promise<Zone>\",\"isStatic\":false,\"isPublic\":true},\"toTreeNode\":{\"name\":\"toTreeNode\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<ZoneTreeNode<Zone>>\",\"isStatic\":false,\"isPublic\":true},\"isFormatAllowed\":{\"name\":\"isFormatAllowed\",\"async\":false,\"parameters\":[{\"name\":\"format\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"boolean\",\"isStatic\":false,\"isPublic\":true}},\"decoratorConfig\":{\"api\":{\"include\":[\"list\",\"get\",\"create\",\"update\",\"delete\"]},\"mcp\":{\"include\":[\"list\",\"get\",\"create\"]},\"cli\":{\"skipApiCheck\":true},\"tenantScoped\":{\"mode\":\"optional\"},\"conflictColumns\":[\"tenant_id\",\"slug\",\"context\"]},\"extends\":\"SmrtHierarchical\",\"exportName\":\"Zone\",\"collectionExportName\":\"ZoneCollection\",\"schema\":{\"tableName\":\"zones\",\"ddl\":\"CREATE TABLE IF NOT EXISTS \\\"zones\\\" (\\n \\\"id\\\" UUID PRIMARY KEY NOT NULL,\\n \\\"slug\\\" TEXT NOT NULL,\\n \\\"context\\\" TEXT NOT NULL DEFAULT '',\\n \\\"created_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"updated_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"parent_id\\\" UUID,\\n \\\"tenant_id\\\" UUID,\\n \\\"property_id\\\" UUID,\\n \\\"name\\\" TEXT DEFAULT '',\\n \\\"type\\\" TEXT DEFAULT '',\\n \\\"path\\\" TEXT DEFAULT '',\\n \\\"selector\\\" TEXT DEFAULT '',\\n \\\"position\\\" TEXT DEFAULT '',\\n \\\"width\\\" INTEGER,\\n \\\"height\\\" INTEGER,\\n \\\"allowed_formats\\\" JSON DEFAULT '[]',\\n \\\"default_content_id\\\" TEXT,\\n \\\"metadata\\\" JSON DEFAULT '{}'\\n);\",\"columns\":{\"id\":{\"type\":\"UUID\",\"primaryKey\":true,\"referenceKind\":\"id\",\"notNull\":true},\"slug\":{\"type\":\"TEXT\",\"notNull\":true},\"context\":{\"type\":\"TEXT\",\"notNull\":true,\"default\":\"\"},\"created_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"updated_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"parent_id\":{\"type\":\"UUID\",\"referenceKind\":\"foreignKey\",\"notNull\":false,\"unique\":false,\"foreignKey\":{\"table\":\"zones\",\"column\":\"id\",\"onDelete\":\"NO ACTION\",\"onUpdate\":\"CASCADE\"}},\"tenant_id\":{\"type\":\"UUID\",\"referenceKind\":\"tenantId\",\"notNull\":false,\"unique\":false},\"property_id\":{\"type\":\"UUID\",\"referenceKind\":\"foreignKey\",\"notNull\":false,\"unique\":false,\"foreignKey\":{\"table\":\"properties\",\"column\":\"id\",\"onDelete\":\"NO ACTION\",\"onUpdate\":\"CASCADE\"}},\"name\":{\"type\":\"TEXT\",\"notNull\":false,\"unique\":false,\"default\":\"\"},\"type\":{\"type\":\"TEXT\",\"notNull\":false,\"unique\":false,\"default\":\"\"},\"path\":{\"type\":\"TEXT\",\"notNull\":false,\"unique\":false,\"default\":\"\"},\"selector\":{\"type\":\"TEXT\",\"notNull\":false,\"unique\":false,\"default\":\"\"},\"position\":{\"type\":\"TEXT\",\"notNull\":false,\"unique\":false,\"default\":\"\"},\"width\":{\"type\":\"INTEGER\",\"notNull\":false,\"unique\":false},\"height\":{\"type\":\"INTEGER\",\"notNull\":false,\"unique\":false},\"allowed_formats\":{\"type\":\"JSON\",\"notNull\":false,\"unique\":false,\"default\":[]},\"default_content_id\":{\"type\":\"TEXT\",\"notNull\":false,\"unique\":false},\"metadata\":{\"type\":\"JSON\",\"notNull\":false,\"unique\":false,\"default\":{}}},\"indexes\":[{\"name\":\"zones_slug_context_idx\",\"columns\":[\"tenant_id\",\"slug\",\"context\"],\"unique\":true},{\"name\":\"zones_tenant_id_created_at_idx\",\"columns\":[\"tenant_id\",\"created_at\"]},{\"name\":\"zones_parent_id_idx\",\"columns\":[\"parent_id\"]},{\"name\":\"zones_property_id_idx\",\"columns\":[\"property_id\"]}],\"version\":\"a9fed5be\"}}},\"moduleType\":\"smrt\",\"smrtDependencies\":[\"@happyvertical/smrt-core\",\"@happyvertical/smrt-prompts\",\"@happyvertical/smrt-tenancy\"]}"));
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region src/prompts.ts
|
|
20
20
|
var smrtPropertiesSummarizePrompt = definePrompt({
|
package/dist/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-properties",
|
|
5
|
-
"packageVersion": "0.
|
|
5
|
+
"packageVersion": "0.47.0",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-properties:PropertyCollection": {
|
|
8
8
|
"name": "propertycollection",
|
|
@@ -89,7 +89,11 @@
|
|
|
89
89
|
{
|
|
90
90
|
"name": "defaults",
|
|
91
91
|
"type": "object",
|
|
92
|
-
"optional": true
|
|
92
|
+
"optional": true,
|
|
93
|
+
"memberTypes": [
|
|
94
|
+
"string",
|
|
95
|
+
"string | null"
|
|
96
|
+
]
|
|
93
97
|
}
|
|
94
98
|
],
|
|
95
99
|
"returnType": "Promise<Property>",
|
|
@@ -395,7 +399,15 @@
|
|
|
395
399
|
{
|
|
396
400
|
"name": "newParentId",
|
|
397
401
|
"type": "string | null",
|
|
398
|
-
"optional": false
|
|
402
|
+
"optional": false,
|
|
403
|
+
"unionBranches": [
|
|
404
|
+
{
|
|
405
|
+
"type": "string"
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"type": "null"
|
|
409
|
+
}
|
|
410
|
+
]
|
|
399
411
|
}
|
|
400
412
|
],
|
|
401
413
|
"returnType": "Promise<Zone | null>",
|
|
@@ -592,7 +604,7 @@
|
|
|
592
604
|
"name": "getZones",
|
|
593
605
|
"async": true,
|
|
594
606
|
"parameters": [],
|
|
595
|
-
"returnType": "
|
|
607
|
+
"returnType": "any",
|
|
596
608
|
"isStatic": false,
|
|
597
609
|
"isPublic": true
|
|
598
610
|
},
|
|
@@ -600,7 +612,7 @@
|
|
|
600
612
|
"name": "getZoneTree",
|
|
601
613
|
"async": true,
|
|
602
614
|
"parameters": [],
|
|
603
|
-
"returnType": "
|
|
615
|
+
"returnType": "any",
|
|
604
616
|
"isStatic": false,
|
|
605
617
|
"isPublic": true
|
|
606
618
|
},
|
|
@@ -610,11 +622,12 @@
|
|
|
610
622
|
"parameters": [
|
|
611
623
|
{
|
|
612
624
|
"name": "options",
|
|
613
|
-
"type": "
|
|
614
|
-
"optional": false
|
|
625
|
+
"type": "any",
|
|
626
|
+
"optional": false,
|
|
627
|
+
"typeUnresolved": true
|
|
615
628
|
}
|
|
616
629
|
],
|
|
617
|
-
"returnType": "
|
|
630
|
+
"returnType": "any",
|
|
618
631
|
"isStatic": false,
|
|
619
632
|
"isPublic": true
|
|
620
633
|
},
|
|
@@ -884,7 +897,7 @@
|
|
|
884
897
|
"name": "getParent",
|
|
885
898
|
"async": true,
|
|
886
899
|
"parameters": [],
|
|
887
|
-
"returnType": "Promise<null>",
|
|
900
|
+
"returnType": "Promise<this | null>",
|
|
888
901
|
"isStatic": false,
|
|
889
902
|
"isPublic": true
|
|
890
903
|
},
|
|
@@ -892,7 +905,7 @@
|
|
|
892
905
|
"name": "getChildren",
|
|
893
906
|
"async": true,
|
|
894
907
|
"parameters": [],
|
|
895
|
-
"returnType": "Promise",
|
|
908
|
+
"returnType": "Promise<this[]>",
|
|
896
909
|
"isStatic": false,
|
|
897
910
|
"isPublic": true
|
|
898
911
|
},
|
|
@@ -900,7 +913,7 @@
|
|
|
900
913
|
"name": "getAncestors",
|
|
901
914
|
"async": true,
|
|
902
915
|
"parameters": [],
|
|
903
|
-
"returnType": "Promise",
|
|
916
|
+
"returnType": "Promise<this[]>",
|
|
904
917
|
"isStatic": false,
|
|
905
918
|
"isPublic": true
|
|
906
919
|
},
|
|
@@ -908,7 +921,7 @@
|
|
|
908
921
|
"name": "getDescendants",
|
|
909
922
|
"async": true,
|
|
910
923
|
"parameters": [],
|
|
911
|
-
"returnType": "Promise",
|
|
924
|
+
"returnType": "Promise<this[]>",
|
|
912
925
|
"isStatic": false,
|
|
913
926
|
"isPublic": true
|
|
914
927
|
},
|
|
@@ -916,7 +929,7 @@
|
|
|
916
929
|
"name": "getHierarchy",
|
|
917
930
|
"async": true,
|
|
918
931
|
"parameters": [],
|
|
919
|
-
"returnType": "Promise<HierarchyView
|
|
932
|
+
"returnType": "Promise<HierarchyView<this>>",
|
|
920
933
|
"isStatic": false,
|
|
921
934
|
"isPublic": true
|
|
922
935
|
},
|
|
@@ -926,8 +939,19 @@
|
|
|
926
939
|
"parameters": [
|
|
927
940
|
{
|
|
928
941
|
"name": "newParent",
|
|
929
|
-
"type": "string | null",
|
|
930
|
-
"optional": false
|
|
942
|
+
"type": "this | string | null",
|
|
943
|
+
"optional": false,
|
|
944
|
+
"unionBranches": [
|
|
945
|
+
{
|
|
946
|
+
"type": "this"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"type": "string"
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"type": "null"
|
|
953
|
+
}
|
|
954
|
+
]
|
|
931
955
|
}
|
|
932
956
|
],
|
|
933
957
|
"returnType": "Promise<void>",
|
|
@@ -962,7 +986,7 @@
|
|
|
962
986
|
"name": "getProperty",
|
|
963
987
|
"async": true,
|
|
964
988
|
"parameters": [],
|
|
965
|
-
"returnType": "
|
|
989
|
+
"returnType": "any",
|
|
966
990
|
"isStatic": false,
|
|
967
991
|
"isPublic": true
|
|
968
992
|
},
|
package/dist/smrt-knowledge.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"sensitiveFieldsExcluded": true,
|
|
4
4
|
"generatedAt": "1970-01-01T00:00:00.000Z",
|
|
5
5
|
"packageName": "@happyvertical/smrt-properties",
|
|
6
|
-
"packageVersion": "0.
|
|
6
|
+
"packageVersion": "0.47.0",
|
|
7
7
|
"sourceManifestPath": "dist/manifest.json",
|
|
8
8
|
"agentDocPath": "AGENTS.md",
|
|
9
9
|
"sourceHashes": {
|
|
10
|
-
"manifest": "
|
|
11
|
-
"packageJson": "
|
|
10
|
+
"manifest": "e253a1074ac3c2ea54f6a30f74ebf9ee643b91ab2242ba70275436b904d171fa",
|
|
11
|
+
"packageJson": "80f5162b8d40f33ea96eb9ca80045bc9c51be01734b0d24857340b218079cd1d",
|
|
12
12
|
"agents": "a0f6fb35fa6c32a8c94158511c5f1722e1a96c2fcc01e790ec4b424d02845743"
|
|
13
13
|
},
|
|
14
14
|
"exports": [
|
|
@@ -945,19 +945,19 @@
|
|
|
945
945
|
"name": "createZone",
|
|
946
946
|
"async": true,
|
|
947
947
|
"params": [
|
|
948
|
-
"options:
|
|
948
|
+
"options: any"
|
|
949
949
|
],
|
|
950
|
-
"returns": "
|
|
950
|
+
"returns": "any"
|
|
951
951
|
},
|
|
952
952
|
{
|
|
953
953
|
"name": "getZones",
|
|
954
954
|
"async": true,
|
|
955
|
-
"returns": "
|
|
955
|
+
"returns": "any"
|
|
956
956
|
},
|
|
957
957
|
{
|
|
958
958
|
"name": "getZoneTree",
|
|
959
959
|
"async": true,
|
|
960
|
-
"returns": "
|
|
960
|
+
"returns": "any"
|
|
961
961
|
},
|
|
962
962
|
{
|
|
963
963
|
"name": "isActive",
|
|
@@ -1101,6 +1101,43 @@
|
|
|
1101
1101
|
"objectName": "@happyvertical/smrt-properties:Property"
|
|
1102
1102
|
}
|
|
1103
1103
|
],
|
|
1104
|
+
"withheldSurfaces": [
|
|
1105
|
+
{
|
|
1106
|
+
"kind": "api",
|
|
1107
|
+
"operation": "createZone",
|
|
1108
|
+
"code": "not-included",
|
|
1109
|
+
"reason": "not listed in api.include",
|
|
1110
|
+
"objectName": "@happyvertical/smrt-properties:Property"
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"kind": "api",
|
|
1114
|
+
"operation": "getZones",
|
|
1115
|
+
"code": "not-included",
|
|
1116
|
+
"reason": "not listed in api.include",
|
|
1117
|
+
"objectName": "@happyvertical/smrt-properties:Property"
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"kind": "api",
|
|
1121
|
+
"operation": "getZoneTree",
|
|
1122
|
+
"code": "not-included",
|
|
1123
|
+
"reason": "not listed in api.include",
|
|
1124
|
+
"objectName": "@happyvertical/smrt-properties:Property"
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
"kind": "api",
|
|
1128
|
+
"operation": "isActive",
|
|
1129
|
+
"code": "not-included",
|
|
1130
|
+
"reason": "not listed in api.include",
|
|
1131
|
+
"objectName": "@happyvertical/smrt-properties:Property"
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"kind": "api",
|
|
1135
|
+
"operation": "summarize",
|
|
1136
|
+
"code": "not-included",
|
|
1137
|
+
"reason": "not listed in api.include",
|
|
1138
|
+
"objectName": "@happyvertical/smrt-properties:Property"
|
|
1139
|
+
}
|
|
1140
|
+
],
|
|
1104
1141
|
"relationshipFeatures": [
|
|
1105
1142
|
"crossPackageRef",
|
|
1106
1143
|
"uuidColumns"
|
|
@@ -1249,12 +1286,12 @@
|
|
|
1249
1286
|
{
|
|
1250
1287
|
"name": "getAncestors",
|
|
1251
1288
|
"async": true,
|
|
1252
|
-
"returns": "Promise"
|
|
1289
|
+
"returns": "Promise<this[]>"
|
|
1253
1290
|
},
|
|
1254
1291
|
{
|
|
1255
1292
|
"name": "getChildren",
|
|
1256
1293
|
"async": true,
|
|
1257
|
-
"returns": "Promise"
|
|
1294
|
+
"returns": "Promise<this[]>"
|
|
1258
1295
|
},
|
|
1259
1296
|
{
|
|
1260
1297
|
"name": "getDepth",
|
|
@@ -1264,7 +1301,7 @@
|
|
|
1264
1301
|
{
|
|
1265
1302
|
"name": "getDescendants",
|
|
1266
1303
|
"async": true,
|
|
1267
|
-
"returns": "Promise"
|
|
1304
|
+
"returns": "Promise<this[]>"
|
|
1268
1305
|
},
|
|
1269
1306
|
{
|
|
1270
1307
|
"name": "getDimensionString",
|
|
@@ -1278,17 +1315,17 @@
|
|
|
1278
1315
|
{
|
|
1279
1316
|
"name": "getHierarchy",
|
|
1280
1317
|
"async": true,
|
|
1281
|
-
"returns": "Promise<HierarchyView
|
|
1318
|
+
"returns": "Promise<HierarchyView<this>>"
|
|
1282
1319
|
},
|
|
1283
1320
|
{
|
|
1284
1321
|
"name": "getParent",
|
|
1285
1322
|
"async": true,
|
|
1286
|
-
"returns": "Promise<null>"
|
|
1323
|
+
"returns": "Promise<this | null>"
|
|
1287
1324
|
},
|
|
1288
1325
|
{
|
|
1289
1326
|
"name": "getProperty",
|
|
1290
1327
|
"async": true,
|
|
1291
|
-
"returns": "
|
|
1328
|
+
"returns": "any"
|
|
1292
1329
|
},
|
|
1293
1330
|
{
|
|
1294
1331
|
"name": "hasDimensions",
|
|
@@ -1309,7 +1346,7 @@
|
|
|
1309
1346
|
"name": "moveTo",
|
|
1310
1347
|
"async": true,
|
|
1311
1348
|
"params": [
|
|
1312
|
-
"newParent: string | null"
|
|
1349
|
+
"newParent: this | string | null"
|
|
1313
1350
|
],
|
|
1314
1351
|
"returns": "Promise<void>"
|
|
1315
1352
|
},
|
|
@@ -1509,6 +1546,113 @@
|
|
|
1509
1546
|
"objectName": "@happyvertical/smrt-properties:Zone"
|
|
1510
1547
|
}
|
|
1511
1548
|
],
|
|
1549
|
+
"withheldSurfaces": [
|
|
1550
|
+
{
|
|
1551
|
+
"kind": "api",
|
|
1552
|
+
"operation": "createChild",
|
|
1553
|
+
"code": "not-included",
|
|
1554
|
+
"reason": "not listed in api.include",
|
|
1555
|
+
"objectName": "@happyvertical/smrt-properties:Zone"
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
"kind": "api",
|
|
1559
|
+
"operation": "getAncestors",
|
|
1560
|
+
"code": "not-included",
|
|
1561
|
+
"reason": "not listed in api.include",
|
|
1562
|
+
"objectName": "@happyvertical/smrt-properties:Zone"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"kind": "api",
|
|
1566
|
+
"operation": "getChildren",
|
|
1567
|
+
"code": "not-included",
|
|
1568
|
+
"reason": "not listed in api.include",
|
|
1569
|
+
"objectName": "@happyvertical/smrt-properties:Zone"
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
"kind": "api",
|
|
1573
|
+
"operation": "getDepth",
|
|
1574
|
+
"code": "not-included",
|
|
1575
|
+
"reason": "not listed in api.include",
|
|
1576
|
+
"objectName": "@happyvertical/smrt-properties:Zone"
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
"kind": "api",
|
|
1580
|
+
"operation": "getDescendants",
|
|
1581
|
+
"code": "not-included",
|
|
1582
|
+
"reason": "not listed in api.include",
|
|
1583
|
+
"objectName": "@happyvertical/smrt-properties:Zone"
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
"kind": "api",
|
|
1587
|
+
"operation": "getDimensionString",
|
|
1588
|
+
"code": "not-included",
|
|
1589
|
+
"reason": "not listed in api.include",
|
|
1590
|
+
"objectName": "@happyvertical/smrt-properties:Zone"
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
"kind": "api",
|
|
1594
|
+
"operation": "getFullPath",
|
|
1595
|
+
"code": "not-included",
|
|
1596
|
+
"reason": "not listed in api.include",
|
|
1597
|
+
"objectName": "@happyvertical/smrt-properties:Zone"
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
"kind": "api",
|
|
1601
|
+
"operation": "getHierarchy",
|
|
1602
|
+
"code": "not-included",
|
|
1603
|
+
"reason": "not listed in api.include",
|
|
1604
|
+
"objectName": "@happyvertical/smrt-properties:Zone"
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
"kind": "api",
|
|
1608
|
+
"operation": "getParent",
|
|
1609
|
+
"code": "not-included",
|
|
1610
|
+
"reason": "not listed in api.include",
|
|
1611
|
+
"objectName": "@happyvertical/smrt-properties:Zone"
|
|
1612
|
+
},
|
|
1613
|
+
{
|
|
1614
|
+
"kind": "api",
|
|
1615
|
+
"operation": "getProperty",
|
|
1616
|
+
"code": "not-included",
|
|
1617
|
+
"reason": "not listed in api.include",
|
|
1618
|
+
"objectName": "@happyvertical/smrt-properties:Zone"
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
"kind": "api",
|
|
1622
|
+
"operation": "hasDimensions",
|
|
1623
|
+
"code": "not-included",
|
|
1624
|
+
"reason": "not listed in api.include",
|
|
1625
|
+
"objectName": "@happyvertical/smrt-properties:Zone"
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
"kind": "api",
|
|
1629
|
+
"operation": "isFormatAllowed",
|
|
1630
|
+
"code": "not-included",
|
|
1631
|
+
"reason": "not listed in api.include",
|
|
1632
|
+
"objectName": "@happyvertical/smrt-properties:Zone"
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
"kind": "api",
|
|
1636
|
+
"operation": "isTopLevel",
|
|
1637
|
+
"code": "not-included",
|
|
1638
|
+
"reason": "not listed in api.include",
|
|
1639
|
+
"objectName": "@happyvertical/smrt-properties:Zone"
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
"kind": "api",
|
|
1643
|
+
"operation": "moveTo",
|
|
1644
|
+
"code": "not-included",
|
|
1645
|
+
"reason": "not listed in api.include",
|
|
1646
|
+
"objectName": "@happyvertical/smrt-properties:Zone"
|
|
1647
|
+
},
|
|
1648
|
+
{
|
|
1649
|
+
"kind": "api",
|
|
1650
|
+
"operation": "toTreeNode",
|
|
1651
|
+
"code": "not-included",
|
|
1652
|
+
"reason": "not listed in api.include",
|
|
1653
|
+
"objectName": "@happyvertical/smrt-properties:Zone"
|
|
1654
|
+
}
|
|
1655
|
+
],
|
|
1512
1656
|
"relationshipFeatures": [
|
|
1513
1657
|
"SmrtHierarchical",
|
|
1514
1658
|
"foreignKey",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-properties",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.0",
|
|
4
4
|
"description": "Digital property and zone management models for SMRT framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -19,19 +19,19 @@
|
|
|
19
19
|
"./manifest.json": "./dist/manifest.json"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@happyvertical/smrt-
|
|
23
|
-
"@happyvertical/smrt-
|
|
24
|
-
"@happyvertical/smrt-
|
|
22
|
+
"@happyvertical/smrt-core": "0.47.0",
|
|
23
|
+
"@happyvertical/smrt-prompts": "0.47.0",
|
|
24
|
+
"@happyvertical/smrt-tenancy": "0.47.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
+
"@happyvertical/smrt-cli": "0.47.0",
|
|
28
|
+
"@happyvertical/smrt-vitest": "0.47.0",
|
|
27
29
|
"@happyvertical/sql": "^0.89.4",
|
|
28
30
|
"@types/node": "24.13.2",
|
|
29
31
|
"fast-glob": "3.3.3",
|
|
30
32
|
"typescript": "5.9.3",
|
|
31
33
|
"vite": "8.1.4",
|
|
32
|
-
"vitest": "4.1.10"
|
|
33
|
-
"@happyvertical/smrt-cli": "0.46.0",
|
|
34
|
-
"@happyvertical/smrt-vitest": "0.46.0"
|
|
34
|
+
"vitest": "4.1.10"
|
|
35
35
|
},
|
|
36
36
|
"keywords": [
|
|
37
37
|
"ai",
|