@spotify/backstage-plugin-rbac-common 0.6.6 → 0.6.7
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/CHANGELOG.md +6 -0
- package/dist/index.d.ts +7 -7
- package/package.json +3 -10
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1432,7 +1432,7 @@ declare const CreateDraftRequestParser: z.ZodObject<{
|
|
|
1432
1432
|
match: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodObject<{
|
|
1433
1433
|
name: z.ZodOptional<z.ZodString>;
|
|
1434
1434
|
actions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1435
|
-
resourceType: z.ZodOptional<z.ZodString>;
|
|
1435
|
+
resourceType: z.ZodOptional<z.ZodString>;
|
|
1436
1436
|
}, "strip", z.ZodTypeAny, {
|
|
1437
1437
|
name?: string | undefined;
|
|
1438
1438
|
actions?: string[] | undefined;
|
|
@@ -1670,7 +1670,7 @@ declare const UpdateDraftRequestParser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1670
1670
|
match: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodObject<{
|
|
1671
1671
|
name: z.ZodOptional<z.ZodString>;
|
|
1672
1672
|
actions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1673
|
-
resourceType: z.ZodOptional<z.ZodString>;
|
|
1673
|
+
resourceType: z.ZodOptional<z.ZodString>;
|
|
1674
1674
|
}, "strip", z.ZodTypeAny, {
|
|
1675
1675
|
name?: string | undefined;
|
|
1676
1676
|
actions?: string[] | undefined;
|
|
@@ -1858,7 +1858,7 @@ declare const UpdateDraftRequestParser: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1858
1858
|
match: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodObject<{
|
|
1859
1859
|
name: z.ZodOptional<z.ZodString>;
|
|
1860
1860
|
actions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1861
|
-
resourceType: z.ZodOptional<z.ZodString>;
|
|
1861
|
+
resourceType: z.ZodOptional<z.ZodString>;
|
|
1862
1862
|
}, "strip", z.ZodTypeAny, {
|
|
1863
1863
|
name?: string | undefined;
|
|
1864
1864
|
actions?: string[] | undefined;
|
|
@@ -2098,7 +2098,7 @@ declare const PublishVersionRequestParser: z.ZodObject<{
|
|
|
2098
2098
|
match: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodObject<{
|
|
2099
2099
|
name: z.ZodOptional<z.ZodString>;
|
|
2100
2100
|
actions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2101
|
-
resourceType: z.ZodOptional<z.ZodString>;
|
|
2101
|
+
resourceType: z.ZodOptional<z.ZodString>;
|
|
2102
2102
|
}, "strip", z.ZodTypeAny, {
|
|
2103
2103
|
name?: string | undefined;
|
|
2104
2104
|
actions?: string[] | undefined;
|
|
@@ -2286,7 +2286,7 @@ declare const PublishVersionRequestParser: z.ZodObject<{
|
|
|
2286
2286
|
match: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodObject<{
|
|
2287
2287
|
name: z.ZodOptional<z.ZodString>;
|
|
2288
2288
|
actions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2289
|
-
resourceType: z.ZodOptional<z.ZodString>;
|
|
2289
|
+
resourceType: z.ZodOptional<z.ZodString>;
|
|
2290
2290
|
}, "strip", z.ZodTypeAny, {
|
|
2291
2291
|
name?: string | undefined;
|
|
2292
2292
|
actions?: string[] | undefined;
|
|
@@ -2704,7 +2704,7 @@ declare const TestPolicyDecisionRequestParser: z.ZodObject<{
|
|
|
2704
2704
|
match: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodObject<{
|
|
2705
2705
|
name: z.ZodOptional<z.ZodString>;
|
|
2706
2706
|
actions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2707
|
-
resourceType: z.ZodOptional<z.ZodString>;
|
|
2707
|
+
resourceType: z.ZodOptional<z.ZodString>;
|
|
2708
2708
|
}, "strip", z.ZodTypeAny, {
|
|
2709
2709
|
name?: string | undefined;
|
|
2710
2710
|
actions?: string[] | undefined;
|
|
@@ -3203,7 +3203,7 @@ declare const PolicyResponseParser: z.ZodObject<{
|
|
|
3203
3203
|
match: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodObject<{
|
|
3204
3204
|
name: z.ZodOptional<z.ZodString>;
|
|
3205
3205
|
actions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3206
|
-
resourceType: z.ZodOptional<z.ZodString>;
|
|
3206
|
+
resourceType: z.ZodOptional<z.ZodString>;
|
|
3207
3207
|
}, "strip", z.ZodTypeAny, {
|
|
3208
3208
|
name?: string | undefined;
|
|
3209
3209
|
actions?: string[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spotify/backstage-plugin-rbac-common",
|
|
3
3
|
"description": "Control access to actions and data in Backstage with ease.",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.7",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"homepage": "https://backstage.spotify.com",
|
|
7
7
|
"main": "dist/index.cjs.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"sideEffects": false,
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "backstage-cli package build --minify",
|
|
27
|
-
"lint": "backstage-cli package lint",
|
|
27
|
+
"lint": "backstage-cli package lint --max-warnings 0",
|
|
28
28
|
"test": "backstage-cli package test",
|
|
29
29
|
"clean": "backstage-cli package clean",
|
|
30
30
|
"prepack": "backstage-cli package prepack",
|
|
@@ -38,18 +38,11 @@
|
|
|
38
38
|
"zod": "^3.20.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@backstage/cli": "^0.
|
|
41
|
+
"@backstage/cli": "^0.31.0"
|
|
42
42
|
},
|
|
43
43
|
"files": [
|
|
44
44
|
"dist",
|
|
45
45
|
"!dist/**/*.map"
|
|
46
46
|
],
|
|
47
|
-
"typesVersions": {
|
|
48
|
-
"*": {
|
|
49
|
-
"index": [
|
|
50
|
-
"dist/index.d.ts"
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
47
|
"module": "dist/index.esm.js"
|
|
55
48
|
}
|