@forge/auth
Advanced tools
Comparing version 0.0.3-next.0 to 0.0.3
# @forge/auth | ||
## 0.0.3 | ||
### Patch Changes | ||
- 732c136: Bumping dependencies via Renovate: | ||
- tslib | ||
## 0.0.3-next.0 | ||
@@ -4,0 +12,0 @@ |
import { FetchHelper } from '../types'; | ||
declare type RequestConfluence = FetchHelper['requestConfluence']; | ||
export declare type ContentId = string | number; | ||
type RequestConfluence = FetchHelper['requestConfluence']; | ||
export type ContentId = string | number; | ||
export declare const authorizeConfluenceWithFetch: (requestConfluence: RequestConfluence, accountId: string) => { | ||
@@ -5,0 +5,0 @@ readonly onConfluenceContent: (contentId: ContentId) => Record<string, import("../types").PermissionCheck>; |
@@ -6,4 +6,4 @@ declare const API_PERMISSIONS_MAP: { | ||
}; | ||
export declare type ApiPermissionsMap = typeof API_PERMISSIONS_MAP; | ||
export type ApiPermissionsMap = typeof API_PERMISSIONS_MAP; | ||
export default API_PERMISSIONS_MAP; | ||
//# sourceMappingURL=permissions.d.ts.map |
import { FetchHelper } from '../types'; | ||
export declare type RequestJira = FetchHelper['requestJira']; | ||
export declare type Id = number | string; | ||
export type RequestJira = FetchHelper['requestJira']; | ||
export type Id = number | string; | ||
export interface ProjectPermission { | ||
@@ -5,0 +5,0 @@ permissions: string[]; |
@@ -25,5 +25,5 @@ declare const API_ISSUES_PERMISSIONS_MAP: { | ||
}; | ||
export declare type ApiIssuesPermissionsMap = typeof API_ISSUES_PERMISSIONS_MAP; | ||
export declare type ApiProjectsPermissionsMap = typeof API_PROJECTS_PERMISSIONS_MAP; | ||
export type ApiIssuesPermissionsMap = typeof API_ISSUES_PERMISSIONS_MAP; | ||
export type ApiProjectsPermissionsMap = typeof API_PROJECTS_PERMISSIONS_MAP; | ||
export { API_ISSUES_PERMISSIONS_MAP, API_PROJECTS_PERMISSIONS_MAP }; | ||
//# sourceMappingURL=permissions.d.ts.map |
@@ -1,3 +0,3 @@ | ||
export declare type PermissionCheck = (args?: any) => Promise<boolean | object>; | ||
export declare type PermissionCheckAPI = Record<string, PermissionCheck | ((args?: any) => PermissionCheckAPI)>; | ||
export type PermissionCheck = (args?: any) => Promise<boolean | object>; | ||
export type PermissionCheckAPI = Record<string, PermissionCheck | ((args?: any) => PermissionCheckAPI)>; | ||
export interface RequestOptions { | ||
@@ -7,3 +7,3 @@ method: string; | ||
} | ||
export declare type RequestFunction<T = any> = (path: string, options: RequestOptions) => Promise<T>; | ||
export type RequestFunction<T = any> = (path: string, options: RequestOptions) => Promise<T>; | ||
export interface FetchHelper { | ||
@@ -13,3 +13,3 @@ requestJira: RequestFunction; | ||
} | ||
export declare type AuthorizeWithFetchHelper = (fetchHelper: FetchHelper, accountId: string) => PermissionCheckAPI; | ||
export type AuthorizeWithFetchHelper = (fetchHelper: FetchHelper, accountId: string) => PermissionCheckAPI; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@forge/auth", | ||
"version": "0.0.3-next.0", | ||
"version": "0.0.3", | ||
"description": "Supports authorization for product REST API calls", | ||
@@ -5,0 +5,0 @@ "main": "out/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
15171