@credal/actions 0.2.11 → 0.2.12
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/dist/actions/autogen/types.d.ts +4 -4
- package/dist/actions/parse.js +10 -10
- package/package.json +1 -1
@@ -2817,22 +2817,22 @@ export declare const googleOauthListGroupMembersOutputSchema: z.ZodObject<{
|
|
2817
2817
|
}>, "many">;
|
2818
2818
|
error: z.ZodOptional<z.ZodString>;
|
2819
2819
|
}, "strip", z.ZodTypeAny, {
|
2820
|
-
success: boolean;
|
2821
2820
|
members: {
|
2822
2821
|
type: string;
|
2823
2822
|
id: string;
|
2824
2823
|
email: string;
|
2825
2824
|
role: string;
|
2826
2825
|
}[];
|
2826
|
+
success: boolean;
|
2827
2827
|
error?: string | undefined;
|
2828
2828
|
}, {
|
2829
|
-
success: boolean;
|
2830
2829
|
members: {
|
2831
2830
|
type: string;
|
2832
2831
|
id: string;
|
2833
2832
|
email: string;
|
2834
2833
|
role: string;
|
2835
2834
|
}[];
|
2835
|
+
success: boolean;
|
2836
2836
|
error?: string | undefined;
|
2837
2837
|
}>;
|
2838
2838
|
export type googleOauthListGroupMembersOutputType = z.infer<typeof googleOauthListGroupMembersOutputSchema>;
|
@@ -3691,7 +3691,6 @@ export declare const oktaListOktaGroupMembersOutputSchema: z.ZodObject<{
|
|
3691
3691
|
error: z.ZodOptional<z.ZodString>;
|
3692
3692
|
}, "strip", z.ZodTypeAny, {
|
3693
3693
|
success: boolean;
|
3694
|
-
error?: string | undefined;
|
3695
3694
|
members?: {
|
3696
3695
|
type?: {
|
3697
3696
|
id?: string | undefined;
|
@@ -3713,9 +3712,9 @@ export declare const oktaListOktaGroupMembersOutputSchema: z.ZodObject<{
|
|
3713
3712
|
lastUpdated?: string | undefined;
|
3714
3713
|
passwordChanged?: string | undefined;
|
3715
3714
|
}[] | undefined;
|
3715
|
+
error?: string | undefined;
|
3716
3716
|
}, {
|
3717
3717
|
success: boolean;
|
3718
|
-
error?: string | undefined;
|
3719
3718
|
members?: {
|
3720
3719
|
type?: {
|
3721
3720
|
id?: string | undefined;
|
@@ -3737,6 +3736,7 @@ export declare const oktaListOktaGroupMembersOutputSchema: z.ZodObject<{
|
|
3737
3736
|
lastUpdated?: string | undefined;
|
3738
3737
|
passwordChanged?: string | undefined;
|
3739
3738
|
}[] | undefined;
|
3739
|
+
error?: string | undefined;
|
3740
3740
|
}>;
|
3741
3741
|
export type oktaListOktaGroupMembersOutputType = z.infer<typeof oktaListOktaGroupMembersOutputSchema>;
|
3742
3742
|
export type oktaListOktaGroupMembersFunction = ActionFunction<oktaListOktaGroupMembersParamsType, AuthParamsType, oktaListOktaGroupMembersOutputType>;
|
package/dist/actions/parse.js
CHANGED
@@ -137,16 +137,16 @@ function generateTypes(_a) {
|
|
137
137
|
const project = new Project();
|
138
138
|
const templatesFile = project.createSourceFile(outputPath, "", { overwrite: true });
|
139
139
|
const typesFile = project.createSourceFile(templatesOutputPath, "", { overwrite: true });
|
140
|
-
//
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
140
|
+
// Set the ProviderName enum based on the schema providers
|
141
|
+
typesFile
|
142
|
+
.addEnum({
|
143
|
+
name: "ProviderName",
|
144
|
+
members: Object.keys(parsedConfig.actions).map(providerName => ({
|
145
|
+
name: providerName.toUpperCase().replace(/-/g, "_"),
|
146
|
+
value: providerName,
|
147
|
+
})),
|
148
|
+
})
|
149
|
+
.setIsExported(true);
|
150
150
|
// Add imports
|
151
151
|
templatesFile.addImportDeclaration({
|
152
152
|
moduleSpecifier: "../../actions/parse",
|