|
112 | 112 | } |
113 | 113 | }, |
114 | 114 | "types": { |
115 | | - "postgresql:/SchemaPolicy:SchemaPolicy": { |
116 | | - "properties": { |
117 | | - "create": { |
118 | | - "type": "boolean", |
119 | | - "description": "Should the specified ROLE have CREATE privileges to the specified SCHEMA.\n", |
120 | | - "language": { |
121 | | - "python": { |
122 | | - "mapCase": false |
123 | | - } |
124 | | - } |
125 | | - }, |
126 | | - "createWithGrant": { |
127 | | - "type": "boolean", |
128 | | - "description": "Should the specified ROLE have CREATE privileges to the specified SCHEMA and the ability to GRANT the CREATE privilege to other ROLEs.\n", |
129 | | - "language": { |
130 | | - "python": { |
131 | | - "mapCase": false |
132 | | - } |
133 | | - } |
134 | | - }, |
135 | | - "role": { |
136 | | - "type": "string", |
137 | | - "description": "The ROLE who is receiving the policy. If this value is empty or not specified it implies the policy is referring to the [`PUBLIC` role](https://www.postgresql.org/docs/current/static/sql-grant.html).\n", |
138 | | - "language": { |
139 | | - "python": { |
140 | | - "mapCase": false |
141 | | - } |
142 | | - } |
143 | | - }, |
144 | | - "usage": { |
145 | | - "type": "boolean", |
146 | | - "description": "Should the specified ROLE have USAGE privileges to the specified SCHEMA.\n", |
147 | | - "language": { |
148 | | - "python": { |
149 | | - "mapCase": false |
150 | | - } |
151 | | - } |
152 | | - }, |
153 | | - "usageWithGrant": { |
154 | | - "type": "boolean", |
155 | | - "description": "Should the specified ROLE have USAGE privileges to the specified SCHEMA and the ability to GRANT the USAGE privilege to other ROLEs.\n", |
156 | | - "language": { |
157 | | - "python": { |
158 | | - "mapCase": false |
159 | | - } |
160 | | - } |
161 | | - } |
162 | | - }, |
163 | | - "type": "object" |
164 | | - }, |
165 | 115 | "postgresql:config/clientcert:clientcert": { |
166 | 116 | "properties": { |
167 | 117 | "cert": { |
|
211 | 161 | "requiredOutputs": [] |
212 | 162 | } |
213 | 163 | } |
| 164 | + }, |
| 165 | + "postgresql:index/SchemaPolicy:SchemaPolicy": { |
| 166 | + "properties": { |
| 167 | + "create": { |
| 168 | + "type": "boolean", |
| 169 | + "description": "Should the specified ROLE have CREATE privileges to the specified SCHEMA.\n", |
| 170 | + "language": { |
| 171 | + "python": { |
| 172 | + "mapCase": false |
| 173 | + } |
| 174 | + } |
| 175 | + }, |
| 176 | + "createWithGrant": { |
| 177 | + "type": "boolean", |
| 178 | + "description": "Should the specified ROLE have CREATE privileges to the specified SCHEMA and the ability to GRANT the CREATE privilege to other ROLEs.\n", |
| 179 | + "language": { |
| 180 | + "python": { |
| 181 | + "mapCase": false |
| 182 | + } |
| 183 | + } |
| 184 | + }, |
| 185 | + "role": { |
| 186 | + "type": "string", |
| 187 | + "description": "The ROLE who is receiving the policy. If this value is empty or not specified it implies the policy is referring to the [`PUBLIC` role](https://www.postgresql.org/docs/current/static/sql-grant.html).\n", |
| 188 | + "language": { |
| 189 | + "python": { |
| 190 | + "mapCase": false |
| 191 | + } |
| 192 | + } |
| 193 | + }, |
| 194 | + "usage": { |
| 195 | + "type": "boolean", |
| 196 | + "description": "Should the specified ROLE have USAGE privileges to the specified SCHEMA.\n", |
| 197 | + "language": { |
| 198 | + "python": { |
| 199 | + "mapCase": false |
| 200 | + } |
| 201 | + } |
| 202 | + }, |
| 203 | + "usageWithGrant": { |
| 204 | + "type": "boolean", |
| 205 | + "description": "Should the specified ROLE have USAGE privileges to the specified SCHEMA and the ability to GRANT the USAGE privilege to other ROLEs.\n", |
| 206 | + "language": { |
| 207 | + "python": { |
| 208 | + "mapCase": false |
| 209 | + } |
| 210 | + } |
| 211 | + } |
| 212 | + }, |
| 213 | + "type": "object" |
214 | 214 | } |
215 | 215 | }, |
216 | 216 | "provider": { |
|
1128 | 1128 | "policies": { |
1129 | 1129 | "type": "array", |
1130 | 1130 | "items": { |
1131 | | - "$ref": "#/types/postgresql:/SchemaPolicy:SchemaPolicy" |
| 1131 | + "$ref": "#/types/postgresql:index/SchemaPolicy:SchemaPolicy" |
1132 | 1132 | }, |
1133 | 1133 | "description": "Can be specified multiple times for each policy. Each\npolicy block supports fields documented below.\n" |
1134 | 1134 | } |
|
1163 | 1163 | "policies": { |
1164 | 1164 | "type": "array", |
1165 | 1165 | "items": { |
1166 | | - "$ref": "#/types/postgresql:/SchemaPolicy:SchemaPolicy" |
| 1166 | + "$ref": "#/types/postgresql:index/SchemaPolicy:SchemaPolicy" |
1167 | 1167 | }, |
1168 | 1168 | "description": "Can be specified multiple times for each policy. Each\npolicy block supports fields documented below.\n" |
1169 | 1169 | } |
|
1194 | 1194 | "policies": { |
1195 | 1195 | "type": "array", |
1196 | 1196 | "items": { |
1197 | | - "$ref": "#/types/postgresql:/SchemaPolicy:SchemaPolicy" |
| 1197 | + "$ref": "#/types/postgresql:index/SchemaPolicy:SchemaPolicy" |
1198 | 1198 | }, |
1199 | 1199 | "description": "Can be specified multiple times for each policy. Each\npolicy block supports fields documented below.\n" |
1200 | 1200 | } |
|
0 commit comments