@netlify/agent-runner-cli 2.15.0-nbfa41611fa368.0 → 2.15.1-id-setup-req.0
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/README.md +1 -1
- package/dist/bin-local.js +217 -217
- package/dist/bin.js +257 -257
- package/dist/index.d.ts +27 -1
- package/dist/index.js +220 -220
- package/dist/interactions-mcp-server.js +18 -18
- package/dist/skills/netlify-access-control/SKILL.md +32 -14
- package/dist/skills/netlify-forms/SKILL.md +9 -1
- package/package.json +5 -3
package/dist/index.d.ts
CHANGED
|
@@ -41,11 +41,32 @@ declare const setupItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
41
41
|
}>;
|
|
42
42
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
43
43
|
}, z.core.$strip>>;
|
|
44
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
+
kind: z.ZodLiteral<"identity_user">;
|
|
46
|
+
reason: z.ZodString;
|
|
47
|
+
user_id: z.ZodString;
|
|
48
|
+
proposed: z.ZodObject<{
|
|
49
|
+
full_name: z.ZodOptional<z.ZodString>;
|
|
50
|
+
email: z.ZodOptional<z.ZodString>;
|
|
51
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
targets: z.ZodArray<z.ZodObject<{
|
|
54
|
+
name: z.ZodEnum<{
|
|
55
|
+
full_name: "full_name";
|
|
56
|
+
email: "email";
|
|
57
|
+
roles: "roles";
|
|
58
|
+
}>;
|
|
59
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
60
|
+
}, z.core.$strip>>;
|
|
44
61
|
}, z.core.$strip>], "kind">;
|
|
45
62
|
type SetupItem = z.infer<typeof setupItemSchema>;
|
|
46
63
|
type EnvVarItem = Extract<SetupItem, {
|
|
47
64
|
kind: 'env_var';
|
|
48
65
|
}>;
|
|
66
|
+
type IdentityUserItem = Extract<SetupItem, {
|
|
67
|
+
kind: 'identity_user';
|
|
68
|
+
}>;
|
|
69
|
+
type IdentityUserFields = IdentityUserItem['proposed'];
|
|
49
70
|
interface SetupRequestRecordTarget {
|
|
50
71
|
name: string;
|
|
51
72
|
state: 'missing' | 'satisfied';
|
|
@@ -62,7 +83,12 @@ interface EnvVarRecordItem extends SetupRequestRecordItemBase {
|
|
|
62
83
|
secret?: boolean;
|
|
63
84
|
mode?: (typeof ENV_VAR_MODES)[number];
|
|
64
85
|
}
|
|
65
|
-
|
|
86
|
+
interface IdentityUserRecordItem extends SetupRequestRecordItemBase {
|
|
87
|
+
kind: IdentityUserItem['kind'];
|
|
88
|
+
user_id: string;
|
|
89
|
+
proposed?: IdentityUserFields;
|
|
90
|
+
}
|
|
91
|
+
type SetupRequestRecordItem = EnvVarRecordItem | IdentityUserRecordItem | SetupRequestRecordItemBase;
|
|
66
92
|
|
|
67
93
|
declare const ACCOUNT_TYPE_OTHER = "other";
|
|
68
94
|
declare const ACCOUNT_TYPE_PERSONAL = "personal";
|