mealie-typescript 1.0.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/.openapi-generator/FILES +306 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +24 -0
- package/README.md +564 -0
- package/api.ts +28987 -0
- package/base.ts +62 -0
- package/common.ts +113 -0
- package/configuration.ts +121 -0
- package/dist/api.d.ts +15860 -0
- package/dist/api.js +28568 -0
- package/dist/base.d.ts +42 -0
- package/dist/base.js +67 -0
- package/dist/common.d.ts +28 -0
- package/dist/common.js +216 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +57 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +31 -0
- package/docs/AdminAboutApi.md +164 -0
- package/docs/AdminAboutInfo.md +62 -0
- package/docs/AdminBackupsApi.md +333 -0
- package/docs/AdminDebugApi.md +62 -0
- package/docs/AdminEmailApi.md +116 -0
- package/docs/AdminMaintenanceApi.md +270 -0
- package/docs/AdminManageGroupsApi.md +305 -0
- package/docs/AdminManageHouseholdsApi.md +305 -0
- package/docs/AdminManageUsersApi.md +417 -0
- package/docs/AllBackups.md +22 -0
- package/docs/AppAboutApi.md +142 -0
- package/docs/AppInfo.md +44 -0
- package/docs/AppStartupInfo.md +22 -0
- package/docs/AppStatistics.md +30 -0
- package/docs/AppTheme.md +46 -0
- package/docs/AssignCategories.md +22 -0
- package/docs/AssignSettings.md +22 -0
- package/docs/AssignTags.md +22 -0
- package/docs/AuthMethod.md +12 -0
- package/docs/BackupFile.md +24 -0
- package/docs/BodyTriggerActionApiHouseholdsRecipeActionsItemIdTriggerRecipeSlugPost.md +20 -0
- package/docs/CategoryBase.md +26 -0
- package/docs/CategoryIn.md +20 -0
- package/docs/CategoryOut.md +26 -0
- package/docs/CategorySummary.md +24 -0
- package/docs/ChangePassword.md +22 -0
- package/docs/CheckAppConfig.md +30 -0
- package/docs/CookBookPagination.md +32 -0
- package/docs/Cookbook.md +18 -0
- package/docs/Cookbook1.md +18 -0
- package/docs/CookbookHousehold.md +22 -0
- package/docs/CreateCookBook.md +30 -0
- package/docs/CreateGroupRecipeAction.md +24 -0
- package/docs/CreateIngredientFood.md +34 -0
- package/docs/CreateIngredientFoodAlias.md +20 -0
- package/docs/CreateIngredientUnit.md +38 -0
- package/docs/CreateIngredientUnitAlias.md +20 -0
- package/docs/CreateInviteToken.md +24 -0
- package/docs/CreatePlanEntry.md +28 -0
- package/docs/CreateRandomEntry.md +22 -0
- package/docs/CreateRecipe.md +20 -0
- package/docs/CreateRecipeBulk.md +24 -0
- package/docs/CreateRecipeByUrlBulk.md +20 -0
- package/docs/CreateUserRegistration.md +42 -0
- package/docs/CreateWebhook.md +28 -0
- package/docs/DebugResponse.md +22 -0
- package/docs/DeleteRecipes.md +20 -0
- package/docs/DeleteTokenResponse.md +20 -0
- package/docs/EmailInitationResponse.md +22 -0
- package/docs/EmailInvitation.md +22 -0
- package/docs/EmailReady.md +20 -0
- package/docs/EmailSuccess.md +22 -0
- package/docs/EmailTest.md +20 -0
- package/docs/ExploreCategoriesApi.md +144 -0
- package/docs/ExploreCookbooksApi.md +145 -0
- package/docs/ExploreFoodsApi.md +144 -0
- package/docs/ExploreHouseholdsApi.md +141 -0
- package/docs/ExploreRecipesApi.md +266 -0
- package/docs/ExploreTagsApi.md +144 -0
- package/docs/ExploreToolsApi.md +144 -0
- package/docs/ExportRecipes.md +22 -0
- package/docs/ExportTypes.md +8 -0
- package/docs/FileTokenResponse.md +20 -0
- package/docs/Food.md +40 -0
- package/docs/Food1.md +40 -0
- package/docs/ForgotPassword.md +20 -0
- package/docs/FormatResponse.md +22 -0
- package/docs/GetAllApiRecipesGetCategoriesParameterInner.md +18 -0
- package/docs/GetAllApiRecipesGetTagsParameterInner.md +18 -0
- package/docs/GroupAdminUpdate.md +24 -0
- package/docs/GroupBase.md +20 -0
- package/docs/GroupDataExport.md +32 -0
- package/docs/GroupEventNotifierCreate.md +22 -0
- package/docs/GroupEventNotifierOptions.md +69 -0
- package/docs/GroupEventNotifierOptionsOut.md +70 -0
- package/docs/GroupEventNotifierOut.md +30 -0
- package/docs/GroupEventNotifierUpdate.md +32 -0
- package/docs/GroupEventPagination.md +32 -0
- package/docs/GroupHouseholdSummary.md +22 -0
- package/docs/GroupInDB.md +34 -0
- package/docs/GroupPagination.md +32 -0
- package/docs/GroupRecipeActionOut.md +30 -0
- package/docs/GroupRecipeActionPagination.md +32 -0
- package/docs/GroupRecipeActionType.md +10 -0
- package/docs/GroupStorage.md +26 -0
- package/docs/GroupSummary.md +26 -0
- package/docs/GroupsHouseholdsApi.md +135 -0
- package/docs/GroupsMigrationsApi.md +68 -0
- package/docs/GroupsMultiPurposeLabelsApi.md +308 -0
- package/docs/GroupsReportsApi.md +172 -0
- package/docs/GroupsSeedersApi.md +175 -0
- package/docs/GroupsSelfServiceApi.md +351 -0
- package/docs/HTTPValidationError.md +20 -0
- package/docs/HouseholdCreate.md +22 -0
- package/docs/HouseholdInDB.md +34 -0
- package/docs/HouseholdPagination.md +32 -0
- package/docs/HouseholdRecipeSummary.md +22 -0
- package/docs/HouseholdStatistics.md +28 -0
- package/docs/HouseholdSummary.md +28 -0
- package/docs/HouseholdUserSummary.md +22 -0
- package/docs/HouseholdsCookbooksApi.md +361 -0
- package/docs/HouseholdsEventNotificationsApi.md +360 -0
- package/docs/HouseholdsInvitationsApi.md +171 -0
- package/docs/HouseholdsMealplanRulesApi.md +305 -0
- package/docs/HouseholdsMealplansApi.md +420 -0
- package/docs/HouseholdsRecipeActionsApi.md +367 -0
- package/docs/HouseholdsSelfServiceApi.md +406 -0
- package/docs/HouseholdsShoppingListItemsApi.md +470 -0
- package/docs/HouseholdsShoppingListsApi.md +545 -0
- package/docs/HouseholdsWebhooksApi.md +413 -0
- package/docs/ImageType.md +12 -0
- package/docs/IngredientConfidence.md +30 -0
- package/docs/IngredientFoodAlias.md +20 -0
- package/docs/IngredientFoodInput.md +40 -0
- package/docs/IngredientFoodOutput.md +40 -0
- package/docs/IngredientFoodPagination.md +32 -0
- package/docs/IngredientReferences.md +21 -0
- package/docs/IngredientRequest.md +22 -0
- package/docs/IngredientUnitAlias.md +20 -0
- package/docs/IngredientUnitInput.md +42 -0
- package/docs/IngredientUnitOutput.md +42 -0
- package/docs/IngredientUnitPagination.md +32 -0
- package/docs/IngredientsRequest.md +22 -0
- package/docs/ItemId.md +18 -0
- package/docs/ItemId1.md +18 -0
- package/docs/LogicalOperator.md +10 -0
- package/docs/LongLiveTokenCreateResponse.md +27 -0
- package/docs/LongLiveTokenIn.md +22 -0
- package/docs/LongLiveTokenOut.md +24 -0
- package/docs/MaintenanceStorageDetails.md +28 -0
- package/docs/MaintenanceSummary.md +24 -0
- package/docs/MealieSchemaRecipeRecipeCommentsUserBase.md +26 -0
- package/docs/MealieSchemaUserUserUserBase.md +44 -0
- package/docs/MergeFood.md +22 -0
- package/docs/MergeUnit.md +22 -0
- package/docs/MultiPurposeLabelCreate.md +22 -0
- package/docs/MultiPurposeLabelOut.md +26 -0
- package/docs/MultiPurposeLabelPagination.md +32 -0
- package/docs/MultiPurposeLabelSummary.md +26 -0
- package/docs/MultiPurposeLabelUpdate.md +26 -0
- package/docs/Nutrition.md +40 -0
- package/docs/OrderByNullPosition.md +10 -0
- package/docs/OrderDirection.md +10 -0
- package/docs/OrganizerCategoriesApi.md +422 -0
- package/docs/OrganizerTagsApi.md +421 -0
- package/docs/OrganizerToolsApi.md +363 -0
- package/docs/PaginationBaseHouseholdSummary.md +32 -0
- package/docs/PaginationBaseIngredientFood.md +32 -0
- package/docs/PaginationBaseReadCookBook.md +32 -0
- package/docs/PaginationBaseRecipeCategory.md +32 -0
- package/docs/PaginationBaseRecipeSummary.md +32 -0
- package/docs/PaginationBaseRecipeTag.md +32 -0
- package/docs/PaginationBaseRecipeTool.md +32 -0
- package/docs/PaginationBaseUserOut.md +32 -0
- package/docs/PaginationBaseUserSummary.md +32 -0
- package/docs/ParsedIngredient.md +24 -0
- package/docs/PasswordResetToken.md +20 -0
- package/docs/PlanEntryPagination.md +32 -0
- package/docs/PlanEntryType.md +20 -0
- package/docs/PlanRulesCreate.md +24 -0
- package/docs/PlanRulesDay.md +22 -0
- package/docs/PlanRulesOut.md +32 -0
- package/docs/PlanRulesPagination.md +32 -0
- package/docs/PlanRulesType.md +22 -0
- package/docs/QueryFilterJSON.md +20 -0
- package/docs/QueryFilterJSONPart.md +30 -0
- package/docs/ReadCookBook.md +40 -0
- package/docs/ReadGroupPreferences.md +24 -0
- package/docs/ReadHouseholdPreferences.md +36 -0
- package/docs/ReadInviteToken.md +26 -0
- package/docs/ReadPlanEntry.md +38 -0
- package/docs/ReadWebhook.md +34 -0
- package/docs/RecipeAsset.md +24 -0
- package/docs/RecipeBulkActionsApi.md +448 -0
- package/docs/RecipeCRUDApi.md +1306 -0
- package/docs/RecipeCategory.md +26 -0
- package/docs/RecipeCategoryPagination.md +32 -0
- package/docs/RecipeCommentCreate.md +22 -0
- package/docs/RecipeCommentOutInput.md +32 -0
- package/docs/RecipeCommentOutOutput.md +32 -0
- package/docs/RecipeCommentPagination.md +32 -0
- package/docs/RecipeCommentUpdate.md +22 -0
- package/docs/RecipeCommentsApi.md +361 -0
- package/docs/RecipeDuplicate.md +20 -0
- package/docs/RecipeExportsApi.md +118 -0
- package/docs/RecipeImagesAndAssetsApi.md +521 -0
- package/docs/RecipeIngredientInput.md +36 -0
- package/docs/RecipeIngredientOutput.md +36 -0
- package/docs/RecipeIngredientParserApi.md +119 -0
- package/docs/RecipeInput.md +84 -0
- package/docs/RecipeLastMade.md +20 -0
- package/docs/RecipeNote.md +22 -0
- package/docs/RecipeOutput.md +84 -0
- package/docs/RecipeSettings.md +30 -0
- package/docs/RecipeShareToken.md +30 -0
- package/docs/RecipeShareTokenCreate.md +22 -0
- package/docs/RecipeShareTokenSummary.md +28 -0
- package/docs/RecipeSharedApi.md +112 -0
- package/docs/RecipeStep.md +28 -0
- package/docs/RecipeSuggestionResponse.md +20 -0
- package/docs/RecipeSuggestionResponseItem.md +24 -0
- package/docs/RecipeSummary.md +68 -0
- package/docs/RecipeTag.md +26 -0
- package/docs/RecipeTagPagination.md +32 -0
- package/docs/RecipeTagResponse.md +28 -0
- package/docs/RecipeTimelineApi.md +366 -0
- package/docs/RecipeTimelineEventIn.md +32 -0
- package/docs/RecipeTimelineEventOut.md +42 -0
- package/docs/RecipeTimelineEventPagination.md +32 -0
- package/docs/RecipeTimelineEventUpdate.md +24 -0
- package/docs/RecipeTool.md +28 -0
- package/docs/RecipeToolCreate.md +22 -0
- package/docs/RecipeToolOut.md +28 -0
- package/docs/RecipeToolPagination.md +32 -0
- package/docs/RecipeToolResponse.md +30 -0
- package/docs/RecipesFoodsApi.md +364 -0
- package/docs/RecipesUnitsApi.md +364 -0
- package/docs/RegisteredParser.md +12 -0
- package/docs/RelationalKeyword.md +20 -0
- package/docs/RelationalOperator.md +18 -0
- package/docs/Relationaloperator.md +18 -0
- package/docs/ReportCategory.md +14 -0
- package/docs/ReportEntryOut.md +30 -0
- package/docs/ReportOut.md +32 -0
- package/docs/ReportSummary.md +30 -0
- package/docs/ReportSummaryStatus.md +14 -0
- package/docs/ResetPassword.md +26 -0
- package/docs/SaveGroupRecipeAction.md +28 -0
- package/docs/ScrapeRecipe.md +22 -0
- package/docs/ScrapeRecipeData.md +22 -0
- package/docs/ScrapeRecipeTest.md +22 -0
- package/docs/SeederConfig.md +20 -0
- package/docs/SetPermissions.md +28 -0
- package/docs/SharedRecipesApi.md +228 -0
- package/docs/ShoppingListAddRecipeParams.md +22 -0
- package/docs/ShoppingListAddRecipeParamsBulk.md +24 -0
- package/docs/ShoppingListCreate.md +26 -0
- package/docs/ShoppingListItemCreate.md +48 -0
- package/docs/ShoppingListItemOutInput.md +58 -0
- package/docs/ShoppingListItemOutOutput.md +58 -0
- package/docs/ShoppingListItemPagination.md +32 -0
- package/docs/ShoppingListItemRecipeRefCreate.md +26 -0
- package/docs/ShoppingListItemRecipeRefOut.md +30 -0
- package/docs/ShoppingListItemRecipeRefUpdate.md +30 -0
- package/docs/ShoppingListItemUpdate.md +46 -0
- package/docs/ShoppingListItemUpdateBulk.md +49 -0
- package/docs/ShoppingListItemUpdateRecipeReferencesInner.md +30 -0
- package/docs/ShoppingListItemsCollectionOut.md +25 -0
- package/docs/ShoppingListMultiPurposeLabelOut.md +28 -0
- package/docs/ShoppingListMultiPurposeLabelUpdate.md +26 -0
- package/docs/ShoppingListOut.md +40 -0
- package/docs/ShoppingListPagination.md +32 -0
- package/docs/ShoppingListRecipeRefOut.md +28 -0
- package/docs/ShoppingListRemoveRecipeParams.md +20 -0
- package/docs/ShoppingListSummary.md +38 -0
- package/docs/ShoppingListUpdate.md +34 -0
- package/docs/SuccessResponse.md +22 -0
- package/docs/SupportedMigrations.md +26 -0
- package/docs/TagBase.md +26 -0
- package/docs/TagIn.md +20 -0
- package/docs/TagOut.md +26 -0
- package/docs/TimelineEventImage.md +10 -0
- package/docs/TimelineEventType.md +12 -0
- package/docs/Unit.md +42 -0
- package/docs/Unit1.md +42 -0
- package/docs/UnlockResults.md +20 -0
- package/docs/UpdateCookBook.md +36 -0
- package/docs/UpdateGroupPreferences.md +20 -0
- package/docs/UpdateHouseholdAdmin.md +26 -0
- package/docs/UpdateHouseholdPreferences.md +34 -0
- package/docs/UpdateImageResponse.md +20 -0
- package/docs/UpdatePlanEntry.md +34 -0
- package/docs/UserIn.md +46 -0
- package/docs/UserOut.md +56 -0
- package/docs/UserPagination.md +32 -0
- package/docs/UserRatingOut.md +28 -0
- package/docs/UserRatingSummary.md +24 -0
- package/docs/UserRatingUpdate.md +22 -0
- package/docs/UserRatingsUserRatingOut.md +20 -0
- package/docs/UserRatingsUserRatingSummary.md +20 -0
- package/docs/UserSummary.md +28 -0
- package/docs/UsernameOrId.md +18 -0
- package/docs/UsersAuthenticationApi.md +250 -0
- package/docs/UsersCRUDApi.md +334 -0
- package/docs/UsersImagesApi.md +66 -0
- package/docs/UsersPasswordsApi.md +118 -0
- package/docs/UsersRatingsApi.md +300 -0
- package/docs/UsersRegistrationApi.md +63 -0
- package/docs/UsersTokensApi.md +120 -0
- package/docs/UtilsApi.md +60 -0
- package/docs/ValidationError.md +24 -0
- package/docs/ValidationErrorLocInner.md +18 -0
- package/docs/Value.md +18 -0
- package/docs/WebhookPagination.md +32 -0
- package/docs/WebhookType.md +8 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +31 -0
- package/tsconfig.json +21 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# RecipeCategory
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**groupId** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | | [default to undefined]
|
|
11
|
+
**slug** | **string** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { RecipeCategory } from 'mealie-typescript';
|
|
17
|
+
|
|
18
|
+
const instance: RecipeCategory = {
|
|
19
|
+
id,
|
|
20
|
+
groupId,
|
|
21
|
+
name,
|
|
22
|
+
slug,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# RecipeCategoryPagination
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**page** | **number** | | [optional] [default to 1]
|
|
9
|
+
**per_page** | **number** | | [optional] [default to 10]
|
|
10
|
+
**total** | **number** | | [optional] [default to 0]
|
|
11
|
+
**total_pages** | **number** | | [optional] [default to 0]
|
|
12
|
+
**items** | [**Array<RecipeCategory>**](RecipeCategory.md) | | [default to undefined]
|
|
13
|
+
**next** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**previous** | **string** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { RecipeCategoryPagination } from 'mealie-typescript';
|
|
20
|
+
|
|
21
|
+
const instance: RecipeCategoryPagination = {
|
|
22
|
+
page,
|
|
23
|
+
per_page,
|
|
24
|
+
total,
|
|
25
|
+
total_pages,
|
|
26
|
+
items,
|
|
27
|
+
next,
|
|
28
|
+
previous,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# RecipeCommentCreate
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**recipeId** | **string** | | [default to undefined]
|
|
9
|
+
**text** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { RecipeCommentCreate } from 'mealie-typescript';
|
|
15
|
+
|
|
16
|
+
const instance: RecipeCommentCreate = {
|
|
17
|
+
recipeId,
|
|
18
|
+
text,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# RecipeCommentOutInput
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**recipeId** | **string** | | [default to undefined]
|
|
9
|
+
**text** | **string** | | [default to undefined]
|
|
10
|
+
**id** | **string** | | [default to undefined]
|
|
11
|
+
**createdAt** | **string** | | [default to undefined]
|
|
12
|
+
**update_at** | **string** | | [default to undefined]
|
|
13
|
+
**userId** | **string** | | [default to undefined]
|
|
14
|
+
**user** | [**MealieSchemaRecipeRecipeCommentsUserBase**](MealieSchemaRecipeRecipeCommentsUserBase.md) | | [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { RecipeCommentOutInput } from 'mealie-typescript';
|
|
20
|
+
|
|
21
|
+
const instance: RecipeCommentOutInput = {
|
|
22
|
+
recipeId,
|
|
23
|
+
text,
|
|
24
|
+
id,
|
|
25
|
+
createdAt,
|
|
26
|
+
update_at,
|
|
27
|
+
userId,
|
|
28
|
+
user,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# RecipeCommentOutOutput
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**recipeId** | **string** | | [default to undefined]
|
|
9
|
+
**text** | **string** | | [default to undefined]
|
|
10
|
+
**id** | **string** | | [default to undefined]
|
|
11
|
+
**createdAt** | **string** | | [default to undefined]
|
|
12
|
+
**updatedAt** | **string** | | [default to undefined]
|
|
13
|
+
**userId** | **string** | | [default to undefined]
|
|
14
|
+
**user** | [**MealieSchemaRecipeRecipeCommentsUserBase**](MealieSchemaRecipeRecipeCommentsUserBase.md) | | [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { RecipeCommentOutOutput } from 'mealie-typescript';
|
|
20
|
+
|
|
21
|
+
const instance: RecipeCommentOutOutput = {
|
|
22
|
+
recipeId,
|
|
23
|
+
text,
|
|
24
|
+
id,
|
|
25
|
+
createdAt,
|
|
26
|
+
updatedAt,
|
|
27
|
+
userId,
|
|
28
|
+
user,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# RecipeCommentPagination
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**page** | **number** | | [optional] [default to 1]
|
|
9
|
+
**per_page** | **number** | | [optional] [default to 10]
|
|
10
|
+
**total** | **number** | | [optional] [default to 0]
|
|
11
|
+
**total_pages** | **number** | | [optional] [default to 0]
|
|
12
|
+
**items** | [**Array<RecipeCommentOutOutput>**](RecipeCommentOutOutput.md) | | [default to undefined]
|
|
13
|
+
**next** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**previous** | **string** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { RecipeCommentPagination } from 'mealie-typescript';
|
|
20
|
+
|
|
21
|
+
const instance: RecipeCommentPagination = {
|
|
22
|
+
page,
|
|
23
|
+
per_page,
|
|
24
|
+
total,
|
|
25
|
+
total_pages,
|
|
26
|
+
items,
|
|
27
|
+
next,
|
|
28
|
+
previous,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# RecipeCommentUpdate
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**text** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { RecipeCommentUpdate } from 'mealie-typescript';
|
|
15
|
+
|
|
16
|
+
const instance: RecipeCommentUpdate = {
|
|
17
|
+
id,
|
|
18
|
+
text,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
# RecipeCommentsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**createOneApiCommentsPost**](#createoneapicommentspost) | **POST** /api/comments | Create One|
|
|
8
|
+
|[**deleteOneApiCommentsItemIdDelete**](#deleteoneapicommentsitemiddelete) | **DELETE** /api/comments/{item_id} | Delete One|
|
|
9
|
+
|[**getAllApiCommentsGet**](#getallapicommentsget) | **GET** /api/comments | Get All|
|
|
10
|
+
|[**getOneApiCommentsItemIdGet**](#getoneapicommentsitemidget) | **GET** /api/comments/{item_id} | Get One|
|
|
11
|
+
|[**getRecipeCommentsApiRecipesSlugCommentsGet**](#getrecipecommentsapirecipesslugcommentsget) | **GET** /api/recipes/{slug}/comments | Get Recipe Comments|
|
|
12
|
+
|[**updateOneApiCommentsItemIdPut**](#updateoneapicommentsitemidput) | **PUT** /api/comments/{item_id} | Update One|
|
|
13
|
+
|
|
14
|
+
# **createOneApiCommentsPost**
|
|
15
|
+
> RecipeCommentOutOutput createOneApiCommentsPost(recipeCommentCreate)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import {
|
|
22
|
+
RecipeCommentsApi,
|
|
23
|
+
Configuration,
|
|
24
|
+
RecipeCommentCreate
|
|
25
|
+
} from 'mealie-typescript';
|
|
26
|
+
|
|
27
|
+
const configuration = new Configuration();
|
|
28
|
+
const apiInstance = new RecipeCommentsApi(configuration);
|
|
29
|
+
|
|
30
|
+
let recipeCommentCreate: RecipeCommentCreate; //
|
|
31
|
+
let acceptLanguage: string; // (optional) (default to undefined)
|
|
32
|
+
|
|
33
|
+
const { status, data } = await apiInstance.createOneApiCommentsPost(
|
|
34
|
+
recipeCommentCreate,
|
|
35
|
+
acceptLanguage
|
|
36
|
+
);
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Parameters
|
|
40
|
+
|
|
41
|
+
|Name | Type | Description | Notes|
|
|
42
|
+
|------------- | ------------- | ------------- | -------------|
|
|
43
|
+
| **recipeCommentCreate** | **RecipeCommentCreate**| | |
|
|
44
|
+
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Return type
|
|
48
|
+
|
|
49
|
+
**RecipeCommentOutOutput**
|
|
50
|
+
|
|
51
|
+
### Authorization
|
|
52
|
+
|
|
53
|
+
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
54
|
+
|
|
55
|
+
### HTTP request headers
|
|
56
|
+
|
|
57
|
+
- **Content-Type**: application/json
|
|
58
|
+
- **Accept**: application/json
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### HTTP response details
|
|
62
|
+
| Status code | Description | Response headers |
|
|
63
|
+
|-------------|-------------|------------------|
|
|
64
|
+
|**201** | Successful Response | - |
|
|
65
|
+
|**422** | Validation Error | - |
|
|
66
|
+
|
|
67
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
68
|
+
|
|
69
|
+
# **deleteOneApiCommentsItemIdDelete**
|
|
70
|
+
> SuccessResponse deleteOneApiCommentsItemIdDelete()
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
### Example
|
|
74
|
+
|
|
75
|
+
```typescript
|
|
76
|
+
import {
|
|
77
|
+
RecipeCommentsApi,
|
|
78
|
+
Configuration
|
|
79
|
+
} from 'mealie-typescript';
|
|
80
|
+
|
|
81
|
+
const configuration = new Configuration();
|
|
82
|
+
const apiInstance = new RecipeCommentsApi(configuration);
|
|
83
|
+
|
|
84
|
+
let itemId: string; // (default to undefined)
|
|
85
|
+
let acceptLanguage: string; // (optional) (default to undefined)
|
|
86
|
+
|
|
87
|
+
const { status, data } = await apiInstance.deleteOneApiCommentsItemIdDelete(
|
|
88
|
+
itemId,
|
|
89
|
+
acceptLanguage
|
|
90
|
+
);
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Parameters
|
|
94
|
+
|
|
95
|
+
|Name | Type | Description | Notes|
|
|
96
|
+
|------------- | ------------- | ------------- | -------------|
|
|
97
|
+
| **itemId** | [**string**] | | defaults to undefined|
|
|
98
|
+
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
### Return type
|
|
102
|
+
|
|
103
|
+
**SuccessResponse**
|
|
104
|
+
|
|
105
|
+
### Authorization
|
|
106
|
+
|
|
107
|
+
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
108
|
+
|
|
109
|
+
### HTTP request headers
|
|
110
|
+
|
|
111
|
+
- **Content-Type**: Not defined
|
|
112
|
+
- **Accept**: application/json
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
### HTTP response details
|
|
116
|
+
| Status code | Description | Response headers |
|
|
117
|
+
|-------------|-------------|------------------|
|
|
118
|
+
|**200** | Successful Response | - |
|
|
119
|
+
|**422** | Validation Error | - |
|
|
120
|
+
|
|
121
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
122
|
+
|
|
123
|
+
# **getAllApiCommentsGet**
|
|
124
|
+
> RecipeCommentPagination getAllApiCommentsGet()
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
### Example
|
|
128
|
+
|
|
129
|
+
```typescript
|
|
130
|
+
import {
|
|
131
|
+
RecipeCommentsApi,
|
|
132
|
+
Configuration
|
|
133
|
+
} from 'mealie-typescript';
|
|
134
|
+
|
|
135
|
+
const configuration = new Configuration();
|
|
136
|
+
const apiInstance = new RecipeCommentsApi(configuration);
|
|
137
|
+
|
|
138
|
+
let orderBy: string; // (optional) (default to undefined)
|
|
139
|
+
let orderByNullPosition: OrderByNullPosition; // (optional) (default to undefined)
|
|
140
|
+
let orderDirection: OrderDirection; // (optional) (default to undefined)
|
|
141
|
+
let queryFilter: string; // (optional) (default to undefined)
|
|
142
|
+
let paginationSeed: string; // (optional) (default to undefined)
|
|
143
|
+
let page: number; // (optional) (default to 1)
|
|
144
|
+
let perPage: number; // (optional) (default to 50)
|
|
145
|
+
let acceptLanguage: string; // (optional) (default to undefined)
|
|
146
|
+
|
|
147
|
+
const { status, data } = await apiInstance.getAllApiCommentsGet(
|
|
148
|
+
orderBy,
|
|
149
|
+
orderByNullPosition,
|
|
150
|
+
orderDirection,
|
|
151
|
+
queryFilter,
|
|
152
|
+
paginationSeed,
|
|
153
|
+
page,
|
|
154
|
+
perPage,
|
|
155
|
+
acceptLanguage
|
|
156
|
+
);
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### Parameters
|
|
160
|
+
|
|
161
|
+
|Name | Type | Description | Notes|
|
|
162
|
+
|------------- | ------------- | ------------- | -------------|
|
|
163
|
+
| **orderBy** | [**string**] | | (optional) defaults to undefined|
|
|
164
|
+
| **orderByNullPosition** | **OrderByNullPosition** | | (optional) defaults to undefined|
|
|
165
|
+
| **orderDirection** | **OrderDirection** | | (optional) defaults to undefined|
|
|
166
|
+
| **queryFilter** | [**string**] | | (optional) defaults to undefined|
|
|
167
|
+
| **paginationSeed** | [**string**] | | (optional) defaults to undefined|
|
|
168
|
+
| **page** | [**number**] | | (optional) defaults to 1|
|
|
169
|
+
| **perPage** | [**number**] | | (optional) defaults to 50|
|
|
170
|
+
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
### Return type
|
|
174
|
+
|
|
175
|
+
**RecipeCommentPagination**
|
|
176
|
+
|
|
177
|
+
### Authorization
|
|
178
|
+
|
|
179
|
+
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
180
|
+
|
|
181
|
+
### HTTP request headers
|
|
182
|
+
|
|
183
|
+
- **Content-Type**: Not defined
|
|
184
|
+
- **Accept**: application/json
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
### HTTP response details
|
|
188
|
+
| Status code | Description | Response headers |
|
|
189
|
+
|-------------|-------------|------------------|
|
|
190
|
+
|**200** | Successful Response | - |
|
|
191
|
+
|**422** | Validation Error | - |
|
|
192
|
+
|
|
193
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
194
|
+
|
|
195
|
+
# **getOneApiCommentsItemIdGet**
|
|
196
|
+
> RecipeCommentOutOutput getOneApiCommentsItemIdGet()
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
### Example
|
|
200
|
+
|
|
201
|
+
```typescript
|
|
202
|
+
import {
|
|
203
|
+
RecipeCommentsApi,
|
|
204
|
+
Configuration
|
|
205
|
+
} from 'mealie-typescript';
|
|
206
|
+
|
|
207
|
+
const configuration = new Configuration();
|
|
208
|
+
const apiInstance = new RecipeCommentsApi(configuration);
|
|
209
|
+
|
|
210
|
+
let itemId: string; // (default to undefined)
|
|
211
|
+
let acceptLanguage: string; // (optional) (default to undefined)
|
|
212
|
+
|
|
213
|
+
const { status, data } = await apiInstance.getOneApiCommentsItemIdGet(
|
|
214
|
+
itemId,
|
|
215
|
+
acceptLanguage
|
|
216
|
+
);
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
### Parameters
|
|
220
|
+
|
|
221
|
+
|Name | Type | Description | Notes|
|
|
222
|
+
|------------- | ------------- | ------------- | -------------|
|
|
223
|
+
| **itemId** | [**string**] | | defaults to undefined|
|
|
224
|
+
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
### Return type
|
|
228
|
+
|
|
229
|
+
**RecipeCommentOutOutput**
|
|
230
|
+
|
|
231
|
+
### Authorization
|
|
232
|
+
|
|
233
|
+
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
234
|
+
|
|
235
|
+
### HTTP request headers
|
|
236
|
+
|
|
237
|
+
- **Content-Type**: Not defined
|
|
238
|
+
- **Accept**: application/json
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
### HTTP response details
|
|
242
|
+
| Status code | Description | Response headers |
|
|
243
|
+
|-------------|-------------|------------------|
|
|
244
|
+
|**200** | Successful Response | - |
|
|
245
|
+
|**422** | Validation Error | - |
|
|
246
|
+
|
|
247
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
248
|
+
|
|
249
|
+
# **getRecipeCommentsApiRecipesSlugCommentsGet**
|
|
250
|
+
> Array<RecipeCommentOutOutput> getRecipeCommentsApiRecipesSlugCommentsGet()
|
|
251
|
+
|
|
252
|
+
Get all comments for a recipe
|
|
253
|
+
|
|
254
|
+
### Example
|
|
255
|
+
|
|
256
|
+
```typescript
|
|
257
|
+
import {
|
|
258
|
+
RecipeCommentsApi,
|
|
259
|
+
Configuration
|
|
260
|
+
} from 'mealie-typescript';
|
|
261
|
+
|
|
262
|
+
const configuration = new Configuration();
|
|
263
|
+
const apiInstance = new RecipeCommentsApi(configuration);
|
|
264
|
+
|
|
265
|
+
let slug: string; // (default to undefined)
|
|
266
|
+
let acceptLanguage: string; // (optional) (default to undefined)
|
|
267
|
+
|
|
268
|
+
const { status, data } = await apiInstance.getRecipeCommentsApiRecipesSlugCommentsGet(
|
|
269
|
+
slug,
|
|
270
|
+
acceptLanguage
|
|
271
|
+
);
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
### Parameters
|
|
275
|
+
|
|
276
|
+
|Name | Type | Description | Notes|
|
|
277
|
+
|------------- | ------------- | ------------- | -------------|
|
|
278
|
+
| **slug** | [**string**] | | defaults to undefined|
|
|
279
|
+
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
### Return type
|
|
283
|
+
|
|
284
|
+
**Array<RecipeCommentOutOutput>**
|
|
285
|
+
|
|
286
|
+
### Authorization
|
|
287
|
+
|
|
288
|
+
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
289
|
+
|
|
290
|
+
### HTTP request headers
|
|
291
|
+
|
|
292
|
+
- **Content-Type**: Not defined
|
|
293
|
+
- **Accept**: application/json
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
### HTTP response details
|
|
297
|
+
| Status code | Description | Response headers |
|
|
298
|
+
|-------------|-------------|------------------|
|
|
299
|
+
|**200** | Successful Response | - |
|
|
300
|
+
|**422** | Validation Error | - |
|
|
301
|
+
|
|
302
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
303
|
+
|
|
304
|
+
# **updateOneApiCommentsItemIdPut**
|
|
305
|
+
> RecipeCommentOutOutput updateOneApiCommentsItemIdPut(recipeCommentUpdate)
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
### Example
|
|
309
|
+
|
|
310
|
+
```typescript
|
|
311
|
+
import {
|
|
312
|
+
RecipeCommentsApi,
|
|
313
|
+
Configuration,
|
|
314
|
+
RecipeCommentUpdate
|
|
315
|
+
} from 'mealie-typescript';
|
|
316
|
+
|
|
317
|
+
const configuration = new Configuration();
|
|
318
|
+
const apiInstance = new RecipeCommentsApi(configuration);
|
|
319
|
+
|
|
320
|
+
let itemId: string; // (default to undefined)
|
|
321
|
+
let recipeCommentUpdate: RecipeCommentUpdate; //
|
|
322
|
+
let acceptLanguage: string; // (optional) (default to undefined)
|
|
323
|
+
|
|
324
|
+
const { status, data } = await apiInstance.updateOneApiCommentsItemIdPut(
|
|
325
|
+
itemId,
|
|
326
|
+
recipeCommentUpdate,
|
|
327
|
+
acceptLanguage
|
|
328
|
+
);
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
### Parameters
|
|
332
|
+
|
|
333
|
+
|Name | Type | Description | Notes|
|
|
334
|
+
|------------- | ------------- | ------------- | -------------|
|
|
335
|
+
| **recipeCommentUpdate** | **RecipeCommentUpdate**| | |
|
|
336
|
+
| **itemId** | [**string**] | | defaults to undefined|
|
|
337
|
+
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
### Return type
|
|
341
|
+
|
|
342
|
+
**RecipeCommentOutOutput**
|
|
343
|
+
|
|
344
|
+
### Authorization
|
|
345
|
+
|
|
346
|
+
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
347
|
+
|
|
348
|
+
### HTTP request headers
|
|
349
|
+
|
|
350
|
+
- **Content-Type**: application/json
|
|
351
|
+
- **Accept**: application/json
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
### HTTP response details
|
|
355
|
+
| Status code | Description | Response headers |
|
|
356
|
+
|-------------|-------------|------------------|
|
|
357
|
+
|**200** | Successful Response | - |
|
|
358
|
+
|**422** | Validation Error | - |
|
|
359
|
+
|
|
360
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
361
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# RecipeDuplicate
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { RecipeDuplicate } from 'mealie-typescript';
|
|
14
|
+
|
|
15
|
+
const instance: RecipeDuplicate = {
|
|
16
|
+
name,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
# RecipeExportsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getRecipeAsFormatApiRecipesSlugExportsGet**](#getrecipeasformatapirecipesslugexportsget) | **GET** /api/recipes/{slug}/exports | Get Recipe As Format|
|
|
8
|
+
|[**getRecipeFormatsAndTemplatesApiRecipesExportsGet**](#getrecipeformatsandtemplatesapirecipesexportsget) | **GET** /api/recipes/exports | Get Recipe Formats And Templates|
|
|
9
|
+
|
|
10
|
+
# **getRecipeAsFormatApiRecipesSlugExportsGet**
|
|
11
|
+
> getRecipeAsFormatApiRecipesSlugExportsGet()
|
|
12
|
+
|
|
13
|
+
## Parameters `template_name`: The name of the template to use to use in the exports listed. Template type will automatically be set on the backend. Because of this, it\'s important that your templates have unique names. See available names and formats in the /api/recipes/exports endpoint.
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
RecipeExportsApi,
|
|
20
|
+
Configuration
|
|
21
|
+
} from 'mealie-typescript';
|
|
22
|
+
|
|
23
|
+
const configuration = new Configuration();
|
|
24
|
+
const apiInstance = new RecipeExportsApi(configuration);
|
|
25
|
+
|
|
26
|
+
let slug: string; // (default to undefined)
|
|
27
|
+
let templateName: string; // (default to undefined)
|
|
28
|
+
let acceptLanguage: string; // (optional) (default to undefined)
|
|
29
|
+
|
|
30
|
+
const { status, data } = await apiInstance.getRecipeAsFormatApiRecipesSlugExportsGet(
|
|
31
|
+
slug,
|
|
32
|
+
templateName,
|
|
33
|
+
acceptLanguage
|
|
34
|
+
);
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Parameters
|
|
38
|
+
|
|
39
|
+
|Name | Type | Description | Notes|
|
|
40
|
+
|------------- | ------------- | ------------- | -------------|
|
|
41
|
+
| **slug** | [**string**] | | defaults to undefined|
|
|
42
|
+
| **templateName** | [**string**] | | defaults to undefined|
|
|
43
|
+
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Return type
|
|
47
|
+
|
|
48
|
+
void (empty response body)
|
|
49
|
+
|
|
50
|
+
### Authorization
|
|
51
|
+
|
|
52
|
+
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
53
|
+
|
|
54
|
+
### HTTP request headers
|
|
55
|
+
|
|
56
|
+
- **Content-Type**: Not defined
|
|
57
|
+
- **Accept**: application/json
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### HTTP response details
|
|
61
|
+
| Status code | Description | Response headers |
|
|
62
|
+
|-------------|-------------|------------------|
|
|
63
|
+
|**200** | Successful Response | - |
|
|
64
|
+
|**422** | Validation Error | - |
|
|
65
|
+
|
|
66
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
67
|
+
|
|
68
|
+
# **getRecipeFormatsAndTemplatesApiRecipesExportsGet**
|
|
69
|
+
> FormatResponse getRecipeFormatsAndTemplatesApiRecipesExportsGet()
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
### Example
|
|
73
|
+
|
|
74
|
+
```typescript
|
|
75
|
+
import {
|
|
76
|
+
RecipeExportsApi,
|
|
77
|
+
Configuration
|
|
78
|
+
} from 'mealie-typescript';
|
|
79
|
+
|
|
80
|
+
const configuration = new Configuration();
|
|
81
|
+
const apiInstance = new RecipeExportsApi(configuration);
|
|
82
|
+
|
|
83
|
+
let acceptLanguage: string; // (optional) (default to undefined)
|
|
84
|
+
|
|
85
|
+
const { status, data } = await apiInstance.getRecipeFormatsAndTemplatesApiRecipesExportsGet(
|
|
86
|
+
acceptLanguage
|
|
87
|
+
);
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Parameters
|
|
91
|
+
|
|
92
|
+
|Name | Type | Description | Notes|
|
|
93
|
+
|------------- | ------------- | ------------- | -------------|
|
|
94
|
+
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
### Return type
|
|
98
|
+
|
|
99
|
+
**FormatResponse**
|
|
100
|
+
|
|
101
|
+
### Authorization
|
|
102
|
+
|
|
103
|
+
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
104
|
+
|
|
105
|
+
### HTTP request headers
|
|
106
|
+
|
|
107
|
+
- **Content-Type**: Not defined
|
|
108
|
+
- **Accept**: application/json
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### HTTP response details
|
|
112
|
+
| Status code | Description | Response headers |
|
|
113
|
+
|-------------|-------------|------------------|
|
|
114
|
+
|**200** | Successful Response | - |
|
|
115
|
+
|**422** | Validation Error | - |
|
|
116
|
+
|
|
117
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
118
|
+
|