Commit Graph

162 Commits

Author SHA1 Message Date
github-actions[bot] 2cb6963f9b Version Packages (next) 2022-11-29 11:14:34 +00:00
github-actions[bot] 83d3167594 Version Packages (next) 2022-11-22 15:40:52 +00:00
renovate[bot] 3280711113 Update dependency msw to ^0.49.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-22 04:34:08 +00:00
github-actions[bot] 3164131851 Version Packages 2022-11-15 12:31:55 +00:00
renovate[bot] e13cd3feaf Update dependency msw to ^0.48.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-11-09 10:15:16 +00:00
github-actions[bot] b01fea7b8c Version Packages (next) 2022-11-08 14:04:37 +00:00
github-actions[bot] d4df1fbb2e Version Packages (next) 2022-10-25 13:18:27 +00:00
github-actions[bot] f0196a2f04 Version Packages 2022-10-18 09:55:10 +00:00
Harry Hogg fd7fc3902e Updated MetaData wording to Metadata
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-17 17:45:16 +01:00
Harry Hogg a7e4adf169 Updated import location
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-17 17:00:10 +01:00
Harry Hogg 9335ad115e Exported types for the permission router metadata endpoint
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-12 08:21:57 +01:00
github-actions[bot] 9282c018c7 Version Packages (next) 2022-10-11 14:30:05 +00:00
Harrison Hogg 1c5e59af0a Merge pull request #13905 from backstage/permissions/schema
Permissions - Add a required parameter schema
2022-10-11 14:59:24 +01:00
Harry Hogg 04db0e8afb Updated API Reports
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-11 12:57:41 +01:00
Harry Hogg bbbe968e10 Fixed allowing optional params outside of the toQuery and apply
Signed-off-by: Harry Hogg <hhogg@spotify.com>

Co-authored-by: Mike Lewis <mlewis@spotify.com>
2022-10-11 11:53:02 +01:00
Harry Hogg f6aa16fb7a Updated API reports
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-07 16:16:22 +01:00
Harry Hogg 78e7698e4b Removed unnecessary tupling of params
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-07 12:08:00 +01:00
Harry Hogg fa40df2bc7 Made changs to allow params and schemas to be defaulted and required only when there is params defined.
Co-authored-by: Vincenzo Scamporlino <vincenzos@spotify.com>
Co-authored-by: Mike Lewis <mlewis@spotify.com>

Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-06 12:09:42 +01:00
Harry Hogg a3fef466ef Updated API reports
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-06 10:06:42 +01:00
Harry Hogg db63ce8b07 Rename schema to paramsSchema
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-06 09:36:54 +01:00
Harry Hogg 26e5513c32 Update API reports
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-04 15:57:04 +01:00
Harry Hogg 4eb0f6d23d Limited the permission rule parameters to JsonPrimatives and array of
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-04 13:24:33 +01:00
github-actions[bot] 721c1efdb4 Version Packages (next) 2022-10-04 12:08:16 +00:00
Harry Hogg fbc636c4a5 Use z.input to corrently type the input to correctly reflect optional fields
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-04 12:14:22 +01:00
Harry Hogg 445c5f41a5 Reworded and added missing parameter descriptions
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-04 12:14:20 +01:00
Harry Hogg 42fa9cdcdb Removed the parameters count from the permissions metadata endpoint
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-04 12:03:17 +01:00
Harry Hogg 755361681c Add explanation comment around the schema type and whay we need to remove the optional def for the schema
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-04 12:03:17 +01:00
Harry Hogg 1d4b847c98 Explicitly use the schema to infer the types for the permission rule
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-04 12:03:16 +01:00
Harry Hogg 6d447843fa Changing over permission rules params API to accept a single object
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-04 12:03:16 +01:00
Harry Hogg 1893c3d4da Updated API reports
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-04 12:03:15 +01:00
Harry Hogg eec3f766f2 Output a JSON schema from the .well-known metadata endpoint
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-04 12:03:15 +01:00
Harry Hogg 9fe88c4fab Added parameter validation using the param schemas
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-04 12:03:15 +01:00
Harry Hogg e9b4191071 Added parameter scheamas to permission rules
Signed-off-by: Harry Hogg <hhogg@spotify.com>
2022-10-04 12:03:15 +01:00
github-actions[bot] 4e94720142 Version Packages (next) 2022-09-27 10:57:53 +00:00
Patrik Oldsberg be5a837259 migrate to use workspace ranges
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-21 10:14:53 +02:00
github-actions[bot] 30882884a4 Version Packages 2022-09-20 11:52:02 +00:00
github-actions[bot] 423e01d903 Version Packages (next)
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-13 18:00:17 -04:00
github-actions[bot] f275697d2b Version Packages (next) 2022-09-06 13:11:16 +00:00
renovate[bot] 667d917488 chore(deps): update dependency msw to ^0.47.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-06 07:09:16 +00:00
renovate[bot] 87ec2ba4d6 chore(deps): update dependency msw to ^0.46.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-31 01:34:13 +00:00
github-actions[bot] d1ec204774 Version Packages (next) 2022-08-30 12:02:13 +00:00
Fredrik Adelöw aaab1e34da Fix linting errors after #13392
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-30 13:44:09 +02:00
Fredrik Adelöw 9212439d15 just some more use of setupRequestMockHandlers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-24 11:26:12 +02:00
github-actions[bot] 18ab337f96 Version Packages (next) 2022-08-23 10:29:17 +00:00
renovate[bot] bf5e9030eb chore(deps): update dependency msw to ^0.45.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-22 02:27:29 +00:00
github-actions[bot] a5684d0d53 Version Packages 2022-08-16 12:15:33 +00:00
github-actions[bot] 73cee58fc2 Version Packages (next) 2022-07-26 08:37:39 +00:00
github-actions[bot] 7d7da6caec Version Packages 2022-07-19 08:34:21 +00:00
renovate[bot] 8006d0f9bf chore(deps): update dependency msw to ^0.44.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-13 02:08:31 +00:00
github-actions[bot] 0e967f188b Version Packages (next) 2022-07-12 13:19:14 +00:00