github.com/authzed/spicedb@v1.32.1-0.20240520085336-ebda56537386/pkg/schemadsl/parser/tests/caveatstype.zed.expected (about)

     1  NodeTypeFile
     2    end-rune = 189
     3    input-source = caveats type test
     4    start-rune = 0
     5    child-node =>
     6      NodeTypeDefinition
     7        definition-name = document
     8        end-rune = 189
     9        input-source = caveats type test
    10        start-rune = 0
    11        child-node =>
    12          NodeTypeRelation
    13            end-rune = 100
    14            input-source = caveats type test
    15            relation-name = writer
    16            start-rune = 24
    17            allowed-types =>
    18              NodeTypeTypeReference
    19                end-rune = 100
    20                input-source = caveats type test
    21                start-rune = 41
    22                type-ref-type =>
    23                  NodeTypeSpecificTypeReference
    24                    end-rune = 44
    25                    input-source = caveats type test
    26                    start-rune = 41
    27                    type-name = user
    28                  NodeTypeSpecificTypeReference
    29                    end-rune = 67
    30                    input-source = caveats type test
    31                    start-rune = 48
    32                    type-name = user
    33                    caveat =>
    34                      NodeTypeCaveatReference
    35                        caveat-name = somecaveat
    36                        end-rune = 67
    37                        input-source = caveats type test
    38                        start-rune = 53
    39                  NodeTypeSpecificTypeReference
    40                    end-rune = 100
    41                    input-source = caveats type test
    42                    relation-name = member
    43                    start-rune = 71
    44                    type-name = team
    45                    caveat =>
    46                      NodeTypeCaveatReference
    47                        caveat-name = anothercaveat
    48                        end-rune = 100
    49                        input-source = caveats type test
    50                        start-rune = 83
    51          NodeTypeRelation
    52            end-rune = 187
    53            input-source = caveats type test
    54            relation-name = viewer
    55            start-rune = 104
    56            allowed-types =>
    57              NodeTypeTypeReference
    58                end-rune = 187
    59                input-source = caveats type test
    60                start-rune = 121
    61                type-ref-type =>
    62                  NodeTypeSpecificTypeReference
    63                    end-rune = 124
    64                    input-source = caveats type test
    65                    start-rune = 121
    66                    type-name = user
    67                  NodeTypeSpecificTypeReference
    68                    end-rune = 153
    69                    input-source = caveats type test
    70                    start-rune = 128
    71                    type-name = user
    72                    type-wildcard = true
    73                    caveat =>
    74                      NodeTypeCaveatReference
    75                        caveat-name = wildcardcaveat
    76                        end-rune = 153
    77                        input-source = caveats type test
    78                        start-rune = 135
    79                  NodeTypeSpecificTypeReference
    80                    end-rune = 187
    81                    input-source = caveats type test
    82                    start-rune = 157
    83                    type-name = user
    84                    caveat =>
    85                      NodeTypeCaveatReference
    86                        caveat-name = someprefix/somecaveat
    87                        end-rune = 187
    88                        input-source = caveats type test
    89                        start-rune = 162