Created
July 28, 2017 15:05
-
-
Save ypcode/7640d49333503b371a4f85196a39c354 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 { ServiceKey} from "@microsoft/sp-core-library"; | |
/** | |
* The Configuration Service public interface | |
*/ | |
export interface IConfigurationService { | |
tasksListId: string; | |
statusFieldInternalName: string; | |
} | |
/** | |
* The default implementation of the Configuration service class | |
* It is a simple class with 2 public properties that represent the settings in the property pane | |
*/ | |
export default class ConfigurationService implements IConfigurationService { | |
public tasksListId: string; | |
public statusFieldInternalName: string; | |
} | |
export const ConfigurationServiceKey = ServiceKey.create<IConfigurationService>("kanban:config", ConfigurationService); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment