added ability to use invite link more than once
This commit is contained in:
@ -71,7 +71,7 @@
|
||||
|
||||
"Private_Recipe": "Private Recipe",
|
||||
"Private_Recipe_Help": "Recipe is only shown to you and people its shared with.",
|
||||
|
||||
"reusable_help_text": "Should the invite link be usable for more than one user.",
|
||||
"Add_Step": "Add Step",
|
||||
"Keywords": "Keywords",
|
||||
"Books": "Books",
|
||||
|
@ -669,7 +669,7 @@ export class Models {
|
||||
apiName: "InviteLink",
|
||||
paginated: false,
|
||||
create: {
|
||||
params: [["email", "group", "valid_until"]],
|
||||
params: [["email", "group", "valid_until", "reusable"]],
|
||||
form: {
|
||||
email: {
|
||||
form_field: true,
|
||||
@ -694,6 +694,14 @@ export class Models {
|
||||
label: "Valid Until",
|
||||
placeholder: "",
|
||||
},
|
||||
reusable: {
|
||||
form_field: true,
|
||||
type: "checkbox",
|
||||
field: "reusable",
|
||||
label: "Reusable",
|
||||
help_text: "reusable_help_text",
|
||||
placeholder: "",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -1357,6 +1357,12 @@ export interface InviteLink {
|
||||
* @memberof InviteLink
|
||||
*/
|
||||
used_by?: number | null;
|
||||
/**
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof InviteLink
|
||||
*/
|
||||
reusable?: boolean;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
@ -1893,6 +1899,18 @@ export interface Recipe {
|
||||
* @memberof Recipe
|
||||
*/
|
||||
last_cooked?: string;
|
||||
/**
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof Recipe
|
||||
*/
|
||||
_private?: boolean;
|
||||
/**
|
||||
*
|
||||
* @type {Array<CustomFilterShared>}
|
||||
* @memberof Recipe
|
||||
*/
|
||||
shared?: Array<CustomFilterShared>;
|
||||
}
|
||||
/**
|
||||
*
|
||||
|
Reference in New Issue
Block a user