@milobedini/shared-types 1.0.48 → 1.0.49
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/types.d.ts +7 -2
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -186,10 +186,15 @@ export type ProgramResponse = {
|
|
|
186
186
|
export type ProgramsResponse = {
|
|
187
187
|
programs: Program[];
|
|
188
188
|
};
|
|
189
|
-
export type
|
|
189
|
+
export type ModulesPlainResponse = {
|
|
190
190
|
success: boolean;
|
|
191
|
-
modules: Module[]
|
|
191
|
+
modules: Module[];
|
|
192
|
+
};
|
|
193
|
+
export type ModulesWithMetaResponse = {
|
|
194
|
+
success: boolean;
|
|
195
|
+
items: AvailableModulesItem[];
|
|
192
196
|
};
|
|
197
|
+
export type ModulesResponse = ModulesPlainResponse | ModulesWithMetaResponse;
|
|
193
198
|
export type ModuleResponse = {
|
|
194
199
|
success: boolean;
|
|
195
200
|
module: Module;
|