Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/tizentv__webide-common-tizentv

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/tizentv__webide-common-tizentv - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

152

tizentv__webide-common-tizentv/index.d.ts

@@ -7,105 +7,113 @@ // Type definitions for @tizentv/webide-common-tizentv 1.0

export interface AuthorInfo {
keyFileName: string;
authorName: string;
authorPassword: string;
countryInfo: string;
stateInfo: string;
cityInfo: string;
organizationInfo: string;
departmentInfo: string;
emailInfo: string;
keyFileName: string;
authorName: string;
authorPassword: string;
countryInfo: string;
stateInfo: string;
cityInfo: string;
organizationInfo: string;
departmentInfo: string;
emailInfo: string;
}
export interface SamsungAuthorInfo {
name: string;
password: string;
country: string;
state: string;
city: string;
organization: string;
department: string;
name: string;
password: string;
country: string;
state: string;
city: string;
organization: string;
department: string;
}
export interface DistributorInfo {
distributorPassword: string;
privilegeLevel: SamsungPrivilegeLevel;
duidList: string[];
distributorPassword: string;
privilegeLevel: SamsungPrivilegeLevel;
duidList: string[];
}
export interface AccessInfo {
accessToken: string;
userId: string;
userEmail: string;
accessToken: string;
userId: string;
userEmail: string;
}
export interface AuthorProfile {
authorCA: string;
authorCertPath: string;
authorPassword: string;
authorCA: string;
authorCertPath: string;
authorPassword: string;
}
export interface DistributorProfile {
distributorCA: string;
distributorCertPath: string;
distributorPassword: string;
distributorCA: string;
distributorCertPath: string;
distributorPassword: string;
}
export interface ProfileItem {
authorKey: string;
authorPwd: string;
distributorKey1: string;
distributorPwd1: string;
distributorKey2: string;
distributorPwd2: string;
authorKey: string;
authorPwd: string;
distributorKey1: string;
distributorPwd1: string;
distributorKey2: string;
distributorPwd2: string;
}
export type PrivilegeLevel = 'partner' | 'public';
export type SamsungPrivilegeLevel = 'Partner' | 'Public';
export type ItemType = 'author' | 'distributor1' | 'distributor2';
export type PrivilegeLevel = "partner" | "public";
export type SamsungPrivilegeLevel = "Partner" | "Public";
export type ItemType = "author" | "distributor1" | "distributor2";
export class TVWebApp {
constructor(name: string, location: string, id: string);
init(): void;
buildWidget(profilePath: string, excludeFiles?: string): Promise<void>;
launchOnSimulator(simulatorLocation: string): Promise<void>;
launchOnEmulator(chromeExecPath?: string, isDebug?: boolean): Promise<void>;
launchOnTV(tvIP: string, chromeExecPath?: string, isDebug?: boolean): Promise<void>;
getAppScreenWidth(): string;
static openProject(projectPath: string): TVWebApp;
static getProjectId(projectPath: string): string;
constructor(name: string, location: string, id: string);
init(): void;
buildWidget(profilePath: string, excludeFiles?: string): Promise<void>;
launchOnSimulator(simulatorLocation: string): Promise<void>;
launchOnEmulator(chromeExecPath?: string, isDebug?: boolean): Promise<void>;
launchOnTV(tvIP: string, chromeExecPath?: string, isDebug?: boolean): Promise<void>;
getAppScreenWidth(): string;
static openProject(projectPath: string): TVWebApp;
static getProjectId(projectPath: string): string;
}
export class TizenCertManager {
constructor(resourcePath: string);
init(): Promise<void>;
loadCaCert(): string;
createCert(authorInfo: AuthorInfo): void;
getTizenDeveloperCA(): string;
getTizenDistributorProfile(privilegeLevel: PrivilegeLevel): DistributorProfile;
constructor(resourcePath: string);
init(): Promise<void>;
loadCaCert(): string;
createCert(authorInfo: AuthorInfo): void;
getTizenDeveloperCA(): string;
getTizenDistributorProfile(privilegeLevel: PrivilegeLevel): DistributorProfile;
}
export class SamsungCertManager {
constructor(resourcePath: string);
init(): Promise<void>;
createAuthorCert(profileName: string, authorInfo: SamsungAuthorInfo, accessInfo: AccessInfo): Promise<string>;
createDistributorCert(profileName: string, distrbutorInfo: DistributorInfo, accessInfo: AccessInfo): Promise<string>;
generateAuthorCSR(authorInfo: SamsungAuthorInfo): void;
generateDistributorCSR(duidList: string[], accessInfo: AccessInfo): void;
fetchAuthorCRT(accessInfo: AccessInfo): Promise<void>;
fetchDistributorCRT(isCrt: boolean): Promise<void>;
generateAuthorPCKS12(password: string): void;
generateDistributorPCKS12(password: string, privilegeLevel: SamsungPrivilegeLevel): void;
loadCaCert(certFile: string): string;
constructor(resourcePath: string);
init(): Promise<void>;
createAuthorCert(profileName: string, authorInfo: SamsungAuthorInfo, accessInfo: AccessInfo): Promise<string>;
createDistributorCert(
profileName: string,
distrbutorInfo: DistributorInfo,
accessInfo: AccessInfo,
): Promise<string>;
generateAuthorCSR(authorInfo: SamsungAuthorInfo): void;
generateDistributorCSR(duidList: string[], accessInfo: AccessInfo): void;
fetchAuthorCRT(accessInfo: AccessInfo): Promise<void>;
fetchDistributorCRT(isCrt: boolean): Promise<void>;
generateAuthorPCKS12(password: string): void;
generateDistributorPCKS12(password: string, privilegeLevel: SamsungPrivilegeLevel): void;
loadCaCert(certFile: string): string;
}
export class ProfileManager {
constructor(resourcePath: string);
registerProfile(profileName: string, authorProfile: AuthorProfile, distributorProfile: DistributorProfile): Promise<void>;
setActivateProfile(profileName: string): boolean;
removeProfile(profileName: string): boolean;
modifyProfile(profileName: string, itemType: ItemType, certpath: string, password: string): boolean;
isProfileExist(profileName: string): boolean;
listProfile(): string[] | null;
getProfileKeys(profileName: string): string[] | null;
getProfileItems(profileName: string): ProfileItem | null;
constructor(resourcePath: string);
registerProfile(
profileName: string,
authorProfile: AuthorProfile,
distributorProfile: DistributorProfile,
): Promise<void>;
setActivateProfile(profileName: string): boolean;
removeProfile(profileName: string): boolean;
modifyProfile(profileName: string, itemType: ItemType, certpath: string, password: string): boolean;
isProfileExist(profileName: string): boolean;
listProfile(): string[] | null;
getProfileKeys(profileName: string): string[] | null;
getProfileItems(profileName: string): ProfileItem | null;
}
{
"name": "@types/tizentv__webide-common-tizentv",
"version": "1.0.1",
"version": "1.0.2",
"description": "TypeScript definitions for @tizentv/webide-common-tizentv",

@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tizentv__webide-common-tizentv",

"dependencies": {},
"typesPublisherContentHash": "3ff5d7f43e1ee695dc16f453337416342b49c3555db60f33a576a9e6c9af929d",
"typeScriptVersion": "3.8"
"typesPublisherContentHash": "619b925e1477cc88c9aaced80c52dac7d0cec6351297d6dfb8a0e90d127b34d5",
"typeScriptVersion": "4.3"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Sun, 26 Dec 2021 21:01:25 GMT
* Last updated: Tue, 12 Sep 2023 12:34:45 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc