@localazy/ts-api
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -1,7 +0,12 @@ | ||
import Constructor from './models/constructor'; | ||
import CommonConfig from './models/common-config'; | ||
import ListProjects from './models/list-projects'; | ||
import Import from './models/import'; | ||
import ListFiles from './models/list-files'; | ||
import ListKeysInFile from './models/list-keys-in-file'; | ||
import Constructor from './models/arguments/constructor'; | ||
import CommonConfig from './models/arguments/common-config'; | ||
import ListProjects from './models/arguments/list-projects'; | ||
import Import from './models/arguments/import'; | ||
import ListFiles from './models/arguments/list-files'; | ||
import ListKeysInFile from './models/arguments/list-keys-in-file'; | ||
import Project from './models/responses/project'; | ||
import ImportResult from './models/responses/import-result'; | ||
import Format from './models/responses/format'; | ||
import FileResult from './models/responses/file-result'; | ||
import KeysInFile from './models/responses/keys-in-file'; | ||
declare class LocalazyService { | ||
@@ -15,3 +20,3 @@ private projectToken; | ||
*/ | ||
listProjects(options?: ListProjects, config?: CommonConfig): Promise<any>; | ||
listProjects(options?: ListProjects, config?: CommonConfig): Promise<Project[]>; | ||
/** | ||
@@ -21,3 +26,3 @@ * Import content into Localazy. | ||
*/ | ||
import(options: Import, config?: CommonConfig): Promise<any>; | ||
import(options: Import, config?: CommonConfig): Promise<ImportResult>; | ||
/** | ||
@@ -27,3 +32,3 @@ * Retrieve list of available file formats and related options. | ||
*/ | ||
listFormats(config?: CommonConfig): Promise<any>; | ||
listFormats(config?: CommonConfig): Promise<Format[]>; | ||
/** | ||
@@ -33,3 +38,3 @@ * List Localazy files. | ||
*/ | ||
listFiles(options: ListFiles, config?: CommonConfig): Promise<any>; | ||
listFiles(options: ListFiles, config?: CommonConfig): Promise<FileResult[]>; | ||
/** | ||
@@ -39,5 +44,5 @@ * Retrieve list of keys for language from file. | ||
*/ | ||
listKeysInFileForLanguage(options: ListKeysInFile, config?: CommonConfig): Promise<any>; | ||
listKeysInFileForLanguage(options: ListKeysInFile, config?: CommonConfig): Promise<KeysInFile>; | ||
} | ||
export default function LocalazyServiceFactory(options: Constructor): LocalazyService; | ||
export {}; |
{ | ||
"name": "@localazy/ts-api", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "This is a Typescript library facilitating usage of Localazy's API.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -74,3 +74,3 @@ # @localazy/ts-api | ||
```ts | ||
import ListProjects from '@localazy/ts-api/dist/models/list-projects'; | ||
import ListProjects from '@localazy/ts-api/dist/models/arguments/list-projects'; | ||
``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34870
53
607