From eaab8253cdbee9b8d22632dba7bb90047d7f1b56 Mon Sep 17 00:00:00 2001 From: Tanner Stirrat Date: Tue, 5 Nov 2024 10:36:42 -0700 Subject: [PATCH] Add generated expected schemas --- .../compiler/importer-test/nested-local/expected.zed | 6 ++++++ .../importer-test/nested-two-layer-local/expected.zed | 6 ++++++ .../importer-test/simple-local-with-hop/expected.zed | 6 ++++++ .../compiler/importer-test/simple-local/expected.zed | 6 ++++++ 4 files changed, 24 insertions(+) create mode 100644 pkg/composableschemadsl/compiler/importer-test/nested-local/expected.zed create mode 100644 pkg/composableschemadsl/compiler/importer-test/nested-two-layer-local/expected.zed create mode 100644 pkg/composableschemadsl/compiler/importer-test/simple-local-with-hop/expected.zed create mode 100644 pkg/composableschemadsl/compiler/importer-test/simple-local/expected.zed diff --git a/pkg/composableschemadsl/compiler/importer-test/nested-local/expected.zed b/pkg/composableschemadsl/compiler/importer-test/nested-local/expected.zed new file mode 100644 index 0000000000..b7f82df684 --- /dev/null +++ b/pkg/composableschemadsl/compiler/importer-test/nested-local/expected.zed @@ -0,0 +1,6 @@ +definition user {} + +definition resource { + relation viewer: user + permission view = viewer +} \ No newline at end of file diff --git a/pkg/composableschemadsl/compiler/importer-test/nested-two-layer-local/expected.zed b/pkg/composableschemadsl/compiler/importer-test/nested-two-layer-local/expected.zed new file mode 100644 index 0000000000..b7f82df684 --- /dev/null +++ b/pkg/composableschemadsl/compiler/importer-test/nested-two-layer-local/expected.zed @@ -0,0 +1,6 @@ +definition user {} + +definition resource { + relation viewer: user + permission view = viewer +} \ No newline at end of file diff --git a/pkg/composableschemadsl/compiler/importer-test/simple-local-with-hop/expected.zed b/pkg/composableschemadsl/compiler/importer-test/simple-local-with-hop/expected.zed new file mode 100644 index 0000000000..b7f82df684 --- /dev/null +++ b/pkg/composableschemadsl/compiler/importer-test/simple-local-with-hop/expected.zed @@ -0,0 +1,6 @@ +definition user {} + +definition resource { + relation viewer: user + permission view = viewer +} \ No newline at end of file diff --git a/pkg/composableschemadsl/compiler/importer-test/simple-local/expected.zed b/pkg/composableschemadsl/compiler/importer-test/simple-local/expected.zed new file mode 100644 index 0000000000..b7f82df684 --- /dev/null +++ b/pkg/composableschemadsl/compiler/importer-test/simple-local/expected.zed @@ -0,0 +1,6 @@ +definition user {} + +definition resource { + relation viewer: user + permission view = viewer +} \ No newline at end of file