Skip to content

Commit

Permalink
Merge pull request #89 from bettyblocks/feat/input-wizard-to-componen…
Browse files Browse the repository at this point in the history
…t-set-PAGE-2210

feat: new types for useModelRelationQuery and response of prepareInput
  • Loading branch information
allamaley authored Oct 25, 2022
2 parents 90aa68f + 88c2953 commit d7f3f09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/prefabs/factories/prefab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ export type BeforeCreateArgs = {
data: Record<string, any> | null;
error: Record<string, any> | null;
};
useModelRelationQuery: (propertyModelId: string) => {
loading: boolean;
data: Record<string, any> | null;
error: Record<string, any> | null;
};
useModelIdSelector: () => string | null;
useActionIdSelector: () => string | null;
usePrefabSelector: () => { name: string; id: string } | null;
Expand Down
1 change: 1 addition & 0 deletions src/prefabs/types/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ export interface PreparedInput {
variableId: string;
};
isRelational: boolean;
isMultiRelational: boolean;
}

0 comments on commit d7f3f09

Please sign in to comment.