Created
October 23, 2019 18:17
-
-
Save deejayy/83061851240be4a67f7c0f431d39f8c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ApiCallItem } from '@modules/api/model/api-call-item.model'; | |
export class SomeGetApiCall implements ApiCallItem { | |
public url: string = '/api/get/some'; | |
} | |
export class SomePostApiCall implements ApiCallItem { | |
public url: string = '/api/get/some#Distinctive-hashtag'; | |
public auth: boolean = true; | |
public constructor( | |
public data: any = null, | |
public useExisting: boolean = true, | |
) {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment