npm package diff
Package: @forge/manifest
Versions: 8.7.0-next.1 - 8.7.0-next.2
File: package/out/schema/manifest.d.ts
Index: package/out/schema/manifest.d.ts
===================================================================
--- package/out/schema/manifest.d.ts
+++ package/out/schema/manifest.d.ts
@@ -67,12 +67,9 @@
filter: Filter;
[k: string]: unknown;
}[];
/**
- * The key for an extension in CaaS. That means that this is a reference to another
- * extension in your descriptor / manifest.
- *
- * This key is defined in: https://bitbucket.org/atlassian/connect-service/src/cd7252b/service/cs-apps/api.raml#lines-1094
+ * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
*/
export type Function = string;
export type Filter1 =
| {
@@ -85,12 +82,9 @@
[k: string]: unknown;
};
export type Events1 = ProductEvents | FilteredProductEvents;
/**
- * The key for an extension in CaaS. That means that this is a reference to another
- * extension in your descriptor / manifest.
- *
- * This key is defined in: https://bitbucket.org/atlassian/connect-service/src/cd7252b/service/cs-apps/api.raml#lines-1094
+ * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
*/
export type Endpoint = string;
export type Filter2 =
| {
@@ -117,12 +111,9 @@
*/
export type Interval = 'fiveMinute' | 'hour' | 'day' | 'week';
export type Foo1 = string;
/**
- * The key for an extension in CaaS. That means that this is a reference to another
- * extension in your descriptor / manifest.
- *
- * This key is defined in: https://bitbucket.org/atlassian/connect-service/src/cd7252b/service/cs-apps/api.raml#lines-1094
+ * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
*/
export type Endpoint1 = string;
/**
* The interval at which to trigger function invocation.
@@ -149,19 +140,13 @@
*/
export type Function4 = string;
export type CoreActionIOType = 'boolean' | 'integer' | 'number' | 'string';
/**
- * The key for an extension in CaaS. That means that this is a reference to another
- * extension in your descriptor / manifest.
- *
- * This key is defined in: https://bitbucket.org/atlassian/connect-service/src/cd7252b/service/cs-apps/api.raml#lines-1094
+ * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
*/
export type Endpoint2 = string;
/**
- * The key for an extension in CaaS. That means that this is a reference to another
- * extension in your descriptor / manifest.
- *
- * This key is defined in: https://bitbucket.org/atlassian/connect-service/src/cd7252b/service/cs-apps/api.raml#lines-1094
+ * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
*/
export type Endpoint3 = string;
/**
* Data residency migration hook path
@@ -450,8 +435,173 @@
/**
* The key for an action extension in your descriptor / manifest.
*/
export type ActionExtensionKey = string;
+/**
+ * The key of the function that should be invoked for permission check.
+ */
+export type Function5 = string;
+/**
+ * The key of the function that should be invoked for getByUrl.
+ */
+export type Function6 = string;
+/**
+ * The domains that this object provider should match.
+ */
+export type Domains =
+ | [string]
+ | [string, string]
+ | [string, string, string]
+ | [string, string, string, string]
+ | [string, string, string, string, string]
+ | [string, string, string, string, string, string]
+ | [string, string, string, string, string, string, string]
+ | [string, string, string, string, string, string, string, string]
+ | [string, string, string, string, string, string, string, string, string]
+ | [string, string, string, string, string, string, string, string, string, string];
+/**
+ * Should sub-domains be allowed.
+ */
+export type Subdomain = boolean;
+/**
+ * Patterns used for matching URLs that are resolvable to entities.
+ */
+export type Patterns =
+ | [string]
+ | [string, string]
+ | [string, string, string]
+ | [string, string, string, string]
+ | [string, string, string, string, string]
+ | [string, string, string, string, string, string]
+ | [string, string, string, string, string, string, string]
+ | [string, string, string, string, string, string, string, string]
+ | [string, string, string, string, string, string, string, string, string]
+ | [string, string, string, string, string, string, string, string, string, string]
+ | [string, string, string, string, string, string, string, string, string, string, string]
+ | [string, string, string, string, string, string, string, string, string, string, string, string]
+ | [string, string, string, string, string, string, string, string, string, string, string, string, string]
+ | [string, string, string, string, string, string, string, string, string, string, string, string, string, string]
+ | [
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string
+ ]
+ | [
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string
+ ]
+ | [
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string
+ ]
+ | [
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string
+ ]
+ | [
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string
+ ]
+ | [
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string,
+ string
+ ];
+/**
+ * The key of the function that should be invoked on each schedule.
+ */
+export type Function7 = string;
export type Scopes = string[];
export type Scripts = string[];
export type Styles = 'unsafe-inline'[];
export type Backend = (string | Remote)[];
@@ -11571,8 +11721,202 @@
actions?: [ActionExtensionKey, ...ActionExtensionKey[]];
key: ModuleKeySchema;
}[]
];
+ 'graph:entityProvider'?: [
+ {
+ /**
+ * The URL of the entity provider home page.
+ */
+ homeUrl?: string;
+ /**
+ * The URL of the entity provider logo.
+ */
+ logoUrl?: string;
+ /**
+ * The name of the entity provider.
+ */
+ name?: {
+ /**
+ * The name of the entity provider.
+ */
+ value?: string;
+ [k: string]: unknown;
+ };
+ checkPermission?: {
+ function: Function5;
+ [k: string]: unknown;
+ };
+ getByUrl?: {
+ function: Function6;
+ domains: Domains;
+ subdomains?: Subdomain;
+ patterns: Patterns;
+ };
+ /**
+ * Ingestion nouns that the entity provider can provide.
+ */
+ entities: [
+ {
+ /**
+ * A name for the entity. Must be unique within the manifest.
+ */
+ key: string;
+ /**
+ * The type of the ingestion noun.
+ */
+ type: string;
+ /**
+ * The URL of the avatar for the entity.
+ */
+ avatarUrl?: string;
+ /**
+ * The URL of the image for the entity.
+ */
+ imageUrl?: string;
+ },
+ ...{
+ /**
+ * A name for the entity. Must be unique within the manifest.
+ */
+ key: string;
+ /**
+ * The type of the ingestion noun.
+ */
+ type: string;
+ /**
+ * The URL of the avatar for the entity.
+ */
+ avatarUrl?: string;
+ /**
+ * The URL of the image for the entity.
+ */
+ imageUrl?: string;
+ }[]
+ ];
+ key: ModuleKeySchema;
+ },
+ ...{
+ /**
+ * The URL of the entity provider home page.
+ */
+ homeUrl?: string;
+ /**
+ * The URL of the entity provider logo.
+ */
+ logoUrl?: string;
+ /**
+ * The name of the entity provider.
+ */
+ name?: {
+ /**
+ * The name of the entity provider.
+ */
+ value?: string;
+ [k: string]: unknown;
+ };
+ checkPermission?: {
+ function: Function5;
+ [k: string]: unknown;
+ };
+ getByUrl?: {
+ function: Function6;
+ domains: Domains;
+ subdomains?: Subdomain;
+ patterns: Patterns;
+ };
+ /**
+ * Ingestion nouns that the entity provider can provide.
+ */
+ entities: [
+ {
+ /**
+ * A name for the entity. Must be unique within the manifest.
+ */
+ key: string;
+ /**
+ * The type of the ingestion noun.
+ */
+ type: string;
+ /**
+ * The URL of the avatar for the entity.
+ */
+ avatarUrl?: string;
+ /**
+ * The URL of the image for the entity.
+ */
+ imageUrl?: string;
+ },
+ ...{
+ /**
+ * A name for the entity. Must be unique within the manifest.
+ */
+ key: string;
+ /**
+ * The type of the ingestion noun.
+ */
+ type: string;
+ /**
+ * The URL of the avatar for the entity.
+ */
+ avatarUrl?: string;
+ /**
+ * The URL of the image for the entity.
+ */
+ imageUrl?: string;
+ }[]
+ ];
+ key: ModuleKeySchema;
+ }[]
+ ];
+ 'graph:connector'?: [
+ {
+ displayName?: string;
+ icon?: string;
+ /**
+ * The schedule for the connector.
+ */
+ schedule: [
+ {
+ function: Function7;
+ interval: 'hourly' | 'daily' | 'weekly' | 'monthly';
+ type: 'FULLSCAN' | 'INCREMENTAL';
+ [k: string]: unknown;
+ },
+ ...{
+ function: Function7;
+ interval: 'hourly' | 'daily' | 'weekly' | 'monthly';
+ type: 'FULLSCAN' | 'INCREMENTAL';
+ [k: string]: unknown;
+ }[]
+ ];
+ providedEntities: string[];
+ key: ModuleKeySchema;
+ },
+ ...{
+ displayName?: string;
+ icon?: string;
+ /**
+ * The schedule for the connector.
+ */
+ schedule: [
+ {
+ function: Function7;
+ interval: 'hourly' | 'daily' | 'weekly' | 'monthly';
+ type: 'FULLSCAN' | 'INCREMENTAL';
+ [k: string]: unknown;
+ },
+ ...{
+ function: Function7;
+ interval: 'hourly' | 'daily' | 'weekly' | 'monthly';
+ type: 'FULLSCAN' | 'INCREMENTAL';
+ [k: string]: unknown;
+ }[]
+ ];
+ providedEntities: string[];
+ key: ModuleKeySchema;
+ }[]
+ ];
[k: string]: unknown;
}
export interface RuntimeLayer {
identifier: string;