@inf-monkeys-tech/monkeys 1.0.68 → 1.0.69
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/lib/contracts/declarative-control-http.d.ts +1681 -369
- package/lib/contracts/declarative-control-http.d.ts.map +1 -1
- package/lib/contracts/declarative-control.d.ts +740 -23
- package/lib/contracts/declarative-control.d.ts.map +1 -1
- package/lib/contracts/declarative-control.js +22 -3
- package/lib/contracts/declarative-control.js.map +1 -1
- package/lib/esm/contracts/index.mjs +22 -3
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +98 -3
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +97 -3
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +22 -3
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/json-schema/navigation-release.schema.json +582 -0
- package/lib/json-schema/navigation-runtime-bundle.schema.json +579 -0
- package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
- package/lib/runtime/declarative-control-compiler.js +26 -0
- package/lib/runtime/declarative-control-compiler.js.map +1 -1
- package/lib/runtime/index.d.ts +1 -0
- package/lib/runtime/index.d.ts.map +1 -1
- package/lib/runtime/index.js +1 -0
- package/lib/runtime/index.js.map +1 -1
- package/lib/runtime/menu-compiler.d.ts +19 -1
- package/lib/runtime/menu-compiler.d.ts.map +1 -1
- package/lib/runtime/menu-compiler.js +34 -0
- package/lib/runtime/menu-compiler.js.map +1 -1
- package/lib/runtime/navigation-availability.d.ts +6 -0
- package/lib/runtime/navigation-availability.d.ts.map +1 -0
- package/lib/runtime/navigation-availability.js +17 -0
- package/lib/runtime/navigation-availability.js.map +1 -0
- package/lib/schemas/index.d.ts +240 -1
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +5 -4
- package/lib/schemas/index.js.map +1 -1
- package/package.json +1 -1
- package/test/fixtures/navigation-three-roots-topology.json +275 -0
|
@@ -6672,6 +6672,585 @@
|
|
|
6672
6672
|
"input"
|
|
6673
6673
|
],
|
|
6674
6674
|
"additionalProperties": false
|
|
6675
|
+
},
|
|
6676
|
+
{
|
|
6677
|
+
"type": "object",
|
|
6678
|
+
"properties": {
|
|
6679
|
+
"nodeId": {
|
|
6680
|
+
"type": "string",
|
|
6681
|
+
"minLength": 1,
|
|
6682
|
+
"maxLength": 256
|
|
6683
|
+
},
|
|
6684
|
+
"stableTargetRef": {
|
|
6685
|
+
"type": "object",
|
|
6686
|
+
"properties": {
|
|
6687
|
+
"kind": {
|
|
6688
|
+
"type": "string",
|
|
6689
|
+
"minLength": 1,
|
|
6690
|
+
"maxLength": 256
|
|
6691
|
+
},
|
|
6692
|
+
"id": {
|
|
6693
|
+
"type": "string",
|
|
6694
|
+
"minLength": 1,
|
|
6695
|
+
"maxLength": 256
|
|
6696
|
+
},
|
|
6697
|
+
"ownerRepo": {
|
|
6698
|
+
"type": "string",
|
|
6699
|
+
"minLength": 1,
|
|
6700
|
+
"maxLength": 256
|
|
6701
|
+
},
|
|
6702
|
+
"visibility": {
|
|
6703
|
+
"type": "string",
|
|
6704
|
+
"enum": [
|
|
6705
|
+
"tenant",
|
|
6706
|
+
"global",
|
|
6707
|
+
"public"
|
|
6708
|
+
]
|
|
6709
|
+
},
|
|
6710
|
+
"tenantScope": {
|
|
6711
|
+
"type": "object",
|
|
6712
|
+
"properties": {
|
|
6713
|
+
"tenantRef": {
|
|
6714
|
+
"type": "object",
|
|
6715
|
+
"properties": {
|
|
6716
|
+
"kind": {
|
|
6717
|
+
"type": "string",
|
|
6718
|
+
"minLength": 1,
|
|
6719
|
+
"maxLength": 256
|
|
6720
|
+
},
|
|
6721
|
+
"id": {
|
|
6722
|
+
"type": "string",
|
|
6723
|
+
"minLength": 1,
|
|
6724
|
+
"maxLength": 256
|
|
6725
|
+
},
|
|
6726
|
+
"ownerRepo": {
|
|
6727
|
+
"type": "string",
|
|
6728
|
+
"minLength": 1,
|
|
6729
|
+
"maxLength": 256
|
|
6730
|
+
}
|
|
6731
|
+
},
|
|
6732
|
+
"required": [
|
|
6733
|
+
"kind",
|
|
6734
|
+
"id",
|
|
6735
|
+
"ownerRepo"
|
|
6736
|
+
],
|
|
6737
|
+
"additionalProperties": false
|
|
6738
|
+
},
|
|
6739
|
+
"dataSpaceRef": {
|
|
6740
|
+
"type": "object",
|
|
6741
|
+
"properties": {
|
|
6742
|
+
"kind": {
|
|
6743
|
+
"type": "string",
|
|
6744
|
+
"minLength": 1,
|
|
6745
|
+
"maxLength": 256
|
|
6746
|
+
},
|
|
6747
|
+
"id": {
|
|
6748
|
+
"type": "string",
|
|
6749
|
+
"minLength": 1,
|
|
6750
|
+
"maxLength": 256
|
|
6751
|
+
},
|
|
6752
|
+
"ownerRepo": {
|
|
6753
|
+
"type": "string",
|
|
6754
|
+
"minLength": 1,
|
|
6755
|
+
"maxLength": 256
|
|
6756
|
+
}
|
|
6757
|
+
},
|
|
6758
|
+
"required": [
|
|
6759
|
+
"kind",
|
|
6760
|
+
"id",
|
|
6761
|
+
"ownerRepo"
|
|
6762
|
+
],
|
|
6763
|
+
"additionalProperties": false
|
|
6764
|
+
},
|
|
6765
|
+
"teamRef": {
|
|
6766
|
+
"type": "object",
|
|
6767
|
+
"properties": {
|
|
6768
|
+
"kind": {
|
|
6769
|
+
"type": "string",
|
|
6770
|
+
"minLength": 1,
|
|
6771
|
+
"maxLength": 256
|
|
6772
|
+
},
|
|
6773
|
+
"id": {
|
|
6774
|
+
"type": "string",
|
|
6775
|
+
"minLength": 1,
|
|
6776
|
+
"maxLength": 256
|
|
6777
|
+
},
|
|
6778
|
+
"ownerRepo": {
|
|
6779
|
+
"type": "string",
|
|
6780
|
+
"minLength": 1,
|
|
6781
|
+
"maxLength": 256
|
|
6782
|
+
}
|
|
6783
|
+
},
|
|
6784
|
+
"required": [
|
|
6785
|
+
"kind",
|
|
6786
|
+
"id",
|
|
6787
|
+
"ownerRepo"
|
|
6788
|
+
],
|
|
6789
|
+
"additionalProperties": false
|
|
6790
|
+
}
|
|
6791
|
+
},
|
|
6792
|
+
"required": [
|
|
6793
|
+
"tenantRef",
|
|
6794
|
+
"dataSpaceRef"
|
|
6795
|
+
],
|
|
6796
|
+
"additionalProperties": false
|
|
6797
|
+
}
|
|
6798
|
+
},
|
|
6799
|
+
"required": [
|
|
6800
|
+
"kind",
|
|
6801
|
+
"id",
|
|
6802
|
+
"ownerRepo",
|
|
6803
|
+
"visibility"
|
|
6804
|
+
],
|
|
6805
|
+
"additionalProperties": false
|
|
6806
|
+
},
|
|
6807
|
+
"accessPolicy": {
|
|
6808
|
+
"anyOf": [
|
|
6809
|
+
{
|
|
6810
|
+
"type": "object",
|
|
6811
|
+
"properties": {
|
|
6812
|
+
"authenticated": {
|
|
6813
|
+
"type": "boolean"
|
|
6814
|
+
},
|
|
6815
|
+
"groupAllOf": {
|
|
6816
|
+
"type": "array",
|
|
6817
|
+
"items": {
|
|
6818
|
+
"type": "object",
|
|
6819
|
+
"properties": {
|
|
6820
|
+
"kind": {
|
|
6821
|
+
"type": "string",
|
|
6822
|
+
"minLength": 1,
|
|
6823
|
+
"maxLength": 256
|
|
6824
|
+
},
|
|
6825
|
+
"id": {
|
|
6826
|
+
"type": "string",
|
|
6827
|
+
"minLength": 1,
|
|
6828
|
+
"maxLength": 256
|
|
6829
|
+
},
|
|
6830
|
+
"ownerRepo": {
|
|
6831
|
+
"type": "string",
|
|
6832
|
+
"minLength": 1,
|
|
6833
|
+
"maxLength": 256
|
|
6834
|
+
},
|
|
6835
|
+
"visibility": {
|
|
6836
|
+
"type": "string",
|
|
6837
|
+
"enum": [
|
|
6838
|
+
"tenant",
|
|
6839
|
+
"global",
|
|
6840
|
+
"public"
|
|
6841
|
+
]
|
|
6842
|
+
},
|
|
6843
|
+
"tenantScope": {
|
|
6844
|
+
"type": "object",
|
|
6845
|
+
"properties": {
|
|
6846
|
+
"tenantRef": {
|
|
6847
|
+
"type": "object",
|
|
6848
|
+
"properties": {
|
|
6849
|
+
"kind": {
|
|
6850
|
+
"type": "string",
|
|
6851
|
+
"minLength": 1,
|
|
6852
|
+
"maxLength": 256
|
|
6853
|
+
},
|
|
6854
|
+
"id": {
|
|
6855
|
+
"type": "string",
|
|
6856
|
+
"minLength": 1,
|
|
6857
|
+
"maxLength": 256
|
|
6858
|
+
},
|
|
6859
|
+
"ownerRepo": {
|
|
6860
|
+
"type": "string",
|
|
6861
|
+
"minLength": 1,
|
|
6862
|
+
"maxLength": 256
|
|
6863
|
+
}
|
|
6864
|
+
},
|
|
6865
|
+
"required": [
|
|
6866
|
+
"kind",
|
|
6867
|
+
"id",
|
|
6868
|
+
"ownerRepo"
|
|
6869
|
+
],
|
|
6870
|
+
"additionalProperties": false
|
|
6871
|
+
},
|
|
6872
|
+
"dataSpaceRef": {
|
|
6873
|
+
"type": "object",
|
|
6874
|
+
"properties": {
|
|
6875
|
+
"kind": {
|
|
6876
|
+
"type": "string",
|
|
6877
|
+
"minLength": 1,
|
|
6878
|
+
"maxLength": 256
|
|
6879
|
+
},
|
|
6880
|
+
"id": {
|
|
6881
|
+
"type": "string",
|
|
6882
|
+
"minLength": 1,
|
|
6883
|
+
"maxLength": 256
|
|
6884
|
+
},
|
|
6885
|
+
"ownerRepo": {
|
|
6886
|
+
"type": "string",
|
|
6887
|
+
"minLength": 1,
|
|
6888
|
+
"maxLength": 256
|
|
6889
|
+
}
|
|
6890
|
+
},
|
|
6891
|
+
"required": [
|
|
6892
|
+
"kind",
|
|
6893
|
+
"id",
|
|
6894
|
+
"ownerRepo"
|
|
6895
|
+
],
|
|
6896
|
+
"additionalProperties": false
|
|
6897
|
+
},
|
|
6898
|
+
"teamRef": {
|
|
6899
|
+
"type": "object",
|
|
6900
|
+
"properties": {
|
|
6901
|
+
"kind": {
|
|
6902
|
+
"type": "string",
|
|
6903
|
+
"minLength": 1,
|
|
6904
|
+
"maxLength": 256
|
|
6905
|
+
},
|
|
6906
|
+
"id": {
|
|
6907
|
+
"type": "string",
|
|
6908
|
+
"minLength": 1,
|
|
6909
|
+
"maxLength": 256
|
|
6910
|
+
},
|
|
6911
|
+
"ownerRepo": {
|
|
6912
|
+
"type": "string",
|
|
6913
|
+
"minLength": 1,
|
|
6914
|
+
"maxLength": 256
|
|
6915
|
+
}
|
|
6916
|
+
},
|
|
6917
|
+
"required": [
|
|
6918
|
+
"kind",
|
|
6919
|
+
"id",
|
|
6920
|
+
"ownerRepo"
|
|
6921
|
+
],
|
|
6922
|
+
"additionalProperties": false
|
|
6923
|
+
}
|
|
6924
|
+
},
|
|
6925
|
+
"required": [
|
|
6926
|
+
"tenantRef",
|
|
6927
|
+
"dataSpaceRef"
|
|
6928
|
+
],
|
|
6929
|
+
"additionalProperties": false
|
|
6930
|
+
}
|
|
6931
|
+
},
|
|
6932
|
+
"required": [
|
|
6933
|
+
"kind",
|
|
6934
|
+
"id",
|
|
6935
|
+
"ownerRepo",
|
|
6936
|
+
"visibility"
|
|
6937
|
+
],
|
|
6938
|
+
"additionalProperties": false
|
|
6939
|
+
}
|
|
6940
|
+
},
|
|
6941
|
+
"groupAnyOf": {
|
|
6942
|
+
"type": "array",
|
|
6943
|
+
"items": {
|
|
6944
|
+
"type": "object",
|
|
6945
|
+
"properties": {
|
|
6946
|
+
"kind": {
|
|
6947
|
+
"type": "string",
|
|
6948
|
+
"minLength": 1,
|
|
6949
|
+
"maxLength": 256
|
|
6950
|
+
},
|
|
6951
|
+
"id": {
|
|
6952
|
+
"type": "string",
|
|
6953
|
+
"minLength": 1,
|
|
6954
|
+
"maxLength": 256
|
|
6955
|
+
},
|
|
6956
|
+
"ownerRepo": {
|
|
6957
|
+
"type": "string",
|
|
6958
|
+
"minLength": 1,
|
|
6959
|
+
"maxLength": 256
|
|
6960
|
+
},
|
|
6961
|
+
"visibility": {
|
|
6962
|
+
"type": "string",
|
|
6963
|
+
"enum": [
|
|
6964
|
+
"tenant",
|
|
6965
|
+
"global",
|
|
6966
|
+
"public"
|
|
6967
|
+
]
|
|
6968
|
+
},
|
|
6969
|
+
"tenantScope": {
|
|
6970
|
+
"type": "object",
|
|
6971
|
+
"properties": {
|
|
6972
|
+
"tenantRef": {
|
|
6973
|
+
"type": "object",
|
|
6974
|
+
"properties": {
|
|
6975
|
+
"kind": {
|
|
6976
|
+
"type": "string",
|
|
6977
|
+
"minLength": 1,
|
|
6978
|
+
"maxLength": 256
|
|
6979
|
+
},
|
|
6980
|
+
"id": {
|
|
6981
|
+
"type": "string",
|
|
6982
|
+
"minLength": 1,
|
|
6983
|
+
"maxLength": 256
|
|
6984
|
+
},
|
|
6985
|
+
"ownerRepo": {
|
|
6986
|
+
"type": "string",
|
|
6987
|
+
"minLength": 1,
|
|
6988
|
+
"maxLength": 256
|
|
6989
|
+
}
|
|
6990
|
+
},
|
|
6991
|
+
"required": [
|
|
6992
|
+
"kind",
|
|
6993
|
+
"id",
|
|
6994
|
+
"ownerRepo"
|
|
6995
|
+
],
|
|
6996
|
+
"additionalProperties": false
|
|
6997
|
+
},
|
|
6998
|
+
"dataSpaceRef": {
|
|
6999
|
+
"type": "object",
|
|
7000
|
+
"properties": {
|
|
7001
|
+
"kind": {
|
|
7002
|
+
"type": "string",
|
|
7003
|
+
"minLength": 1,
|
|
7004
|
+
"maxLength": 256
|
|
7005
|
+
},
|
|
7006
|
+
"id": {
|
|
7007
|
+
"type": "string",
|
|
7008
|
+
"minLength": 1,
|
|
7009
|
+
"maxLength": 256
|
|
7010
|
+
},
|
|
7011
|
+
"ownerRepo": {
|
|
7012
|
+
"type": "string",
|
|
7013
|
+
"minLength": 1,
|
|
7014
|
+
"maxLength": 256
|
|
7015
|
+
}
|
|
7016
|
+
},
|
|
7017
|
+
"required": [
|
|
7018
|
+
"kind",
|
|
7019
|
+
"id",
|
|
7020
|
+
"ownerRepo"
|
|
7021
|
+
],
|
|
7022
|
+
"additionalProperties": false
|
|
7023
|
+
},
|
|
7024
|
+
"teamRef": {
|
|
7025
|
+
"type": "object",
|
|
7026
|
+
"properties": {
|
|
7027
|
+
"kind": {
|
|
7028
|
+
"type": "string",
|
|
7029
|
+
"minLength": 1,
|
|
7030
|
+
"maxLength": 256
|
|
7031
|
+
},
|
|
7032
|
+
"id": {
|
|
7033
|
+
"type": "string",
|
|
7034
|
+
"minLength": 1,
|
|
7035
|
+
"maxLength": 256
|
|
7036
|
+
},
|
|
7037
|
+
"ownerRepo": {
|
|
7038
|
+
"type": "string",
|
|
7039
|
+
"minLength": 1,
|
|
7040
|
+
"maxLength": 256
|
|
7041
|
+
}
|
|
7042
|
+
},
|
|
7043
|
+
"required": [
|
|
7044
|
+
"kind",
|
|
7045
|
+
"id",
|
|
7046
|
+
"ownerRepo"
|
|
7047
|
+
],
|
|
7048
|
+
"additionalProperties": false
|
|
7049
|
+
}
|
|
7050
|
+
},
|
|
7051
|
+
"required": [
|
|
7052
|
+
"tenantRef",
|
|
7053
|
+
"dataSpaceRef"
|
|
7054
|
+
],
|
|
7055
|
+
"additionalProperties": false
|
|
7056
|
+
}
|
|
7057
|
+
},
|
|
7058
|
+
"required": [
|
|
7059
|
+
"kind",
|
|
7060
|
+
"id",
|
|
7061
|
+
"ownerRepo",
|
|
7062
|
+
"visibility"
|
|
7063
|
+
],
|
|
7064
|
+
"additionalProperties": false
|
|
7065
|
+
}
|
|
7066
|
+
},
|
|
7067
|
+
"permissionAllOf": {
|
|
7068
|
+
"type": "array",
|
|
7069
|
+
"items": {
|
|
7070
|
+
"type": "string",
|
|
7071
|
+
"minLength": 1,
|
|
7072
|
+
"maxLength": 256
|
|
7073
|
+
}
|
|
7074
|
+
},
|
|
7075
|
+
"permissionAnyOf": {
|
|
7076
|
+
"type": "array",
|
|
7077
|
+
"items": {
|
|
7078
|
+
"type": "string",
|
|
7079
|
+
"minLength": 1,
|
|
7080
|
+
"maxLength": 256
|
|
7081
|
+
}
|
|
7082
|
+
},
|
|
7083
|
+
"conditionAllOf": {
|
|
7084
|
+
"type": "array",
|
|
7085
|
+
"items": {
|
|
7086
|
+
"type": "object",
|
|
7087
|
+
"properties": {
|
|
7088
|
+
"kind": {
|
|
7089
|
+
"type": "string",
|
|
7090
|
+
"minLength": 1,
|
|
7091
|
+
"maxLength": 256
|
|
7092
|
+
},
|
|
7093
|
+
"id": {
|
|
7094
|
+
"type": "string",
|
|
7095
|
+
"minLength": 1,
|
|
7096
|
+
"maxLength": 256
|
|
7097
|
+
},
|
|
7098
|
+
"ownerRepo": {
|
|
7099
|
+
"type": "string",
|
|
7100
|
+
"minLength": 1,
|
|
7101
|
+
"maxLength": 256
|
|
7102
|
+
},
|
|
7103
|
+
"visibility": {
|
|
7104
|
+
"type": "string",
|
|
7105
|
+
"enum": [
|
|
7106
|
+
"tenant",
|
|
7107
|
+
"global",
|
|
7108
|
+
"public"
|
|
7109
|
+
]
|
|
7110
|
+
},
|
|
7111
|
+
"tenantScope": {
|
|
7112
|
+
"type": "object",
|
|
7113
|
+
"properties": {
|
|
7114
|
+
"tenantRef": {
|
|
7115
|
+
"type": "object",
|
|
7116
|
+
"properties": {
|
|
7117
|
+
"kind": {
|
|
7118
|
+
"type": "string",
|
|
7119
|
+
"minLength": 1,
|
|
7120
|
+
"maxLength": 256
|
|
7121
|
+
},
|
|
7122
|
+
"id": {
|
|
7123
|
+
"type": "string",
|
|
7124
|
+
"minLength": 1,
|
|
7125
|
+
"maxLength": 256
|
|
7126
|
+
},
|
|
7127
|
+
"ownerRepo": {
|
|
7128
|
+
"type": "string",
|
|
7129
|
+
"minLength": 1,
|
|
7130
|
+
"maxLength": 256
|
|
7131
|
+
}
|
|
7132
|
+
},
|
|
7133
|
+
"required": [
|
|
7134
|
+
"kind",
|
|
7135
|
+
"id",
|
|
7136
|
+
"ownerRepo"
|
|
7137
|
+
],
|
|
7138
|
+
"additionalProperties": false
|
|
7139
|
+
},
|
|
7140
|
+
"dataSpaceRef": {
|
|
7141
|
+
"type": "object",
|
|
7142
|
+
"properties": {
|
|
7143
|
+
"kind": {
|
|
7144
|
+
"type": "string",
|
|
7145
|
+
"minLength": 1,
|
|
7146
|
+
"maxLength": 256
|
|
7147
|
+
},
|
|
7148
|
+
"id": {
|
|
7149
|
+
"type": "string",
|
|
7150
|
+
"minLength": 1,
|
|
7151
|
+
"maxLength": 256
|
|
7152
|
+
},
|
|
7153
|
+
"ownerRepo": {
|
|
7154
|
+
"type": "string",
|
|
7155
|
+
"minLength": 1,
|
|
7156
|
+
"maxLength": 256
|
|
7157
|
+
}
|
|
7158
|
+
},
|
|
7159
|
+
"required": [
|
|
7160
|
+
"kind",
|
|
7161
|
+
"id",
|
|
7162
|
+
"ownerRepo"
|
|
7163
|
+
],
|
|
7164
|
+
"additionalProperties": false
|
|
7165
|
+
},
|
|
7166
|
+
"teamRef": {
|
|
7167
|
+
"type": "object",
|
|
7168
|
+
"properties": {
|
|
7169
|
+
"kind": {
|
|
7170
|
+
"type": "string",
|
|
7171
|
+
"minLength": 1,
|
|
7172
|
+
"maxLength": 256
|
|
7173
|
+
},
|
|
7174
|
+
"id": {
|
|
7175
|
+
"type": "string",
|
|
7176
|
+
"minLength": 1,
|
|
7177
|
+
"maxLength": 256
|
|
7178
|
+
},
|
|
7179
|
+
"ownerRepo": {
|
|
7180
|
+
"type": "string",
|
|
7181
|
+
"minLength": 1,
|
|
7182
|
+
"maxLength": 256
|
|
7183
|
+
}
|
|
7184
|
+
},
|
|
7185
|
+
"required": [
|
|
7186
|
+
"kind",
|
|
7187
|
+
"id",
|
|
7188
|
+
"ownerRepo"
|
|
7189
|
+
],
|
|
7190
|
+
"additionalProperties": false
|
|
7191
|
+
}
|
|
7192
|
+
},
|
|
7193
|
+
"required": [
|
|
7194
|
+
"tenantRef",
|
|
7195
|
+
"dataSpaceRef"
|
|
7196
|
+
],
|
|
7197
|
+
"additionalProperties": false
|
|
7198
|
+
},
|
|
7199
|
+
"revision": {
|
|
7200
|
+
"type": "integer",
|
|
7201
|
+
"exclusiveMinimum": 0,
|
|
7202
|
+
"maximum": 9007199254740991
|
|
7203
|
+
},
|
|
7204
|
+
"schemaVersion": {
|
|
7205
|
+
"type": "integer",
|
|
7206
|
+
"exclusiveMinimum": 0,
|
|
7207
|
+
"maximum": 9007199254740991
|
|
7208
|
+
},
|
|
7209
|
+
"contentHash": {
|
|
7210
|
+
"type": "string",
|
|
7211
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
7212
|
+
}
|
|
7213
|
+
},
|
|
7214
|
+
"required": [
|
|
7215
|
+
"kind",
|
|
7216
|
+
"id",
|
|
7217
|
+
"ownerRepo",
|
|
7218
|
+
"visibility",
|
|
7219
|
+
"revision",
|
|
7220
|
+
"schemaVersion",
|
|
7221
|
+
"contentHash"
|
|
7222
|
+
],
|
|
7223
|
+
"additionalProperties": false
|
|
7224
|
+
}
|
|
7225
|
+
}
|
|
7226
|
+
},
|
|
7227
|
+
"required": [
|
|
7228
|
+
"authenticated",
|
|
7229
|
+
"groupAllOf",
|
|
7230
|
+
"groupAnyOf",
|
|
7231
|
+
"permissionAllOf",
|
|
7232
|
+
"permissionAnyOf",
|
|
7233
|
+
"conditionAllOf"
|
|
7234
|
+
],
|
|
7235
|
+
"additionalProperties": false
|
|
7236
|
+
},
|
|
7237
|
+
{
|
|
7238
|
+
"type": "null"
|
|
7239
|
+
}
|
|
7240
|
+
]
|
|
7241
|
+
},
|
|
7242
|
+
"kind": {
|
|
7243
|
+
"type": "string",
|
|
7244
|
+
"const": "unavailable"
|
|
7245
|
+
}
|
|
7246
|
+
},
|
|
7247
|
+
"required": [
|
|
7248
|
+
"nodeId",
|
|
7249
|
+
"stableTargetRef",
|
|
7250
|
+
"accessPolicy",
|
|
7251
|
+
"kind"
|
|
7252
|
+
],
|
|
7253
|
+
"additionalProperties": false
|
|
6675
7254
|
}
|
|
6676
7255
|
]
|
|
6677
7256
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declarative-control-compiler.d.ts","sourceRoot":"","sources":["../../src/runtime/declarative-control-compiler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qCAAqC,EAAE,sCAAs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MAuBjF,CAAC;AAkDF,eAAO,MAAM,wBAAwB,UAAW,6BAA6B,KAAG,iBA+G/E,CAAC;AA6BF,eAAO,MAAM,6BAA6B,UAAW,kCAAkC,KAAG,sBAgFzF,CAAC;AAkDF,eAAO,MAAM,8BAA8B,UAAW,mCAAmC,KAAG,
|
|
1
|
+
{"version":3,"file":"declarative-control-compiler.d.ts","sourceRoot":"","sources":["../../src/runtime/declarative-control-compiler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qCAAqC,EAAE,sCAAsC,EAAE,iCAAiC,EAAE,MAAM,uCAAuC,CAAC;AAE9K,OAAO,EAoBL,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,IAAI,EACT,KAAK,WAAW,EAChB,KAAK,iBAAiB,EAEtB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,EAC5B,MAAM,kCAAkC,CAAC;AAE1C,MAAM,MAAM,sCAAsC,GAC9C,4BAA4B,GAC5B,6BAA6B,GAC7B,gCAAgC,GAChC,wBAAwB,GACxB,oBAAoB,GACpB,eAAe,GACf,oBAAoB,GACpB,0BAA0B,GAC1B,yBAAyB,GACzB,uBAAuB,GACvB,oBAAoB,GACpB,uBAAuB,GACvB,4BAA4B,GAC5B,2BAA2B,GAC3B,mBAAmB,GACnB,mBAAmB,GACnB,gBAAgB,GAChB,gBAAgB,GAChB,qBAAqB,GACrB,sBAAsB,GACtB,mCAAmC,GACnC,+BAA+B,GAC/B,iCAAiC,CAAC;AAEtC,qBAAa,kCAAmC,SAAQ,KAAK;aAEzC,IAAI,EAAE,sCAAsC;aAC5C,IAAI,EAAE,MAAM;gBADZ,IAAI,EAAE,sCAAsC,EAC5C,IAAI,EAAE,MAAM,EAC5B,OAAO,E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targetRegistry.map((registration) => (0, exports.stableRefKey)(registration.stableTargetRef)), 'targetRegistry');
|
|
710
710
|
const targetsByStableRef = new Map(targetRegistry.map((registration) => [(0, exports.stableRefKey)(registration.stableTargetRef), registration]));
|
|
711
711
|
const releasedByNodeId = new Map(release.resolvedTargets.map((target) => [target.nodeId, target]));
|
|
712
|
+
const unavailableByNodeId = new Map((release.unavailableTargets ?? []).map((target) => [target.nodeId, target]));
|
|
712
713
|
const nodesById = new Map(navigation.nodes.map((node) => [node.nodeId, node]));
|
|
714
|
+
for (const target of release.unavailableTargets ?? []) {
|
|
715
|
+
const node = nodesById.get(target.nodeId);
|
|
716
|
+
if (node?.kind !== 'target' || !(0, exports.sameStableRef)(node.targetRef, target.stableTargetRef)) {
|
|
717
|
+
throw new DeclarativeControlCompilationError('NAV_TARGET_UNRELEASED', 'release.unavailableTargets', 'An unavailable target must identify its source Page node exactly.');
|
|
718
|
+
}
|
|
719
|
+
}
|
|
713
720
|
const nodes = orderedNavigationNodes(navigation).map((node, index) => {
|
|
714
721
|
const ancestors = [];
|
|
715
722
|
let parentId = node.parentNodeId;
|
|
@@ -726,6 +733,25 @@ const compileNavigationRuntimeBundle = (input) => {
|
|
|
726
733
|
}
|
|
727
734
|
const registration = targetsByStableRef.get((0, exports.stableRefKey)(node.targetRef));
|
|
728
735
|
const released = releasedByNodeId.get(node.nodeId);
|
|
736
|
+
const unavailable = unavailableByNodeId.get(node.nodeId);
|
|
737
|
+
if (!registration && unavailable && node.targetRef.kind === 'page' && (0, exports.sameStableRef)(unavailable.stableTargetRef, node.targetRef)) {
|
|
738
|
+
assertTenantCompatible(node.targetRef, scope, `nodes[${index}].targetRef`);
|
|
739
|
+
if (unavailable.accessPolicy && !(0, exports.accessPolicyChainImplies)([...ancestors, node.audience], unavailable.accessPolicy)) {
|
|
740
|
+
throw new DeclarativeControlCompilationError('AUDIENCE_WIDER_THAN_TARGET', `nodes[${index}].audience`, 'Effective Navigation audience is wider than the last verified target audience.');
|
|
741
|
+
}
|
|
742
|
+
return {
|
|
743
|
+
...node,
|
|
744
|
+
disabled: true,
|
|
745
|
+
parameterMapping: {},
|
|
746
|
+
ancestorAccessPolicies: ancestors,
|
|
747
|
+
resolvedTarget: {
|
|
748
|
+
kind: 'unavailable',
|
|
749
|
+
nodeId: node.nodeId,
|
|
750
|
+
stableTargetRef: node.targetRef,
|
|
751
|
+
accessPolicy: unavailable.accessPolicy,
|
|
752
|
+
},
|
|
753
|
+
};
|
|
754
|
+
}
|
|
729
755
|
if (!registration || !released
|
|
730
756
|
|| !(0, exports.sameStableRef)(registration.stableTargetRef, stableFromRevision(registration.targetRevisionRef))
|
|
731
757
|
|| !(0, exports.sameStableRef)(registration.stableTargetRef, released.stableTargetRef)
|