Skip to content

Commit

Permalink
fix: rdf.type usages
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Jan 26, 2024
1 parent 9ec6ba8 commit 30a8608
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/www/src/automation.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function createKeyDimensions(view, pointer, client, { findKeyDimensions })
for (const [dimension, { label, sources }] of dimensions) {
view.addOut(ns.view.dimension, (viewDim) => {
viewDim
.addOut(rdf.type, ns.view.Dimension)
.addOut(rdf.ns.rdf.type, ns.view.Dimension)
.addOut(ns.viewBuilder.generated, true)
.addOut(ns.view.from, (from) => {
from.addOut(ns.view.source, sources)
Expand Down Expand Up @@ -59,7 +59,7 @@ async function createMeasureDimensions(view, sources, client, { findMeasureDimen
for (const { dimension, label } of measures) {
view.addOut(ns.view.dimension, (viewDim) => {
viewDim
.addOut(rdf.type, ns.view.Dimension)
.addOut(rdf.ns.rdf.type, ns.view.Dimension)
.addOut(ns.viewBuilder.generated, true)
.addOut(ns.view.from, (from) => {
from.addOut(ns.view.source, source)
Expand All @@ -76,7 +76,7 @@ async function createMeasureDimensions(view, sources, client, { findMeasureDimen

function clearGeneratedDimensions(view) {
const generatedDimensions = view.any()
.has(rdf.type, ns.view.Dimension)
.has(rdf.ns.rdf.type, ns.view.Dimension)
.has(ns.viewBuilder.generated, true)

generatedDimensions.forEach((dim) => {
Expand Down

0 comments on commit 30a8608

Please sign in to comment.