@code.store/arcxp-sdk-ts 5.0.0-beta → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/site/index.d.ts +1 -1
- package/dist/index.cjs +178 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +178 -1
- package/dist/index.js.map +1 -1
- package/dist/utils/arc/index.d.ts +2 -0
- package/dist/utils/arc/section.d.ts +33 -0
- package/package.json +9 -3
- package/dist/lib/axios-rate-limiter.d.ts +0 -2
- package/dist/types/author.d.ts +0 -1640
- package/dist/types/gallery.d.ts +0 -52
- package/dist/types/section.d.ts +0 -88
- package/dist/types/story.d.ts +0 -1994
- package/dist/types/video.d.ts +0 -1425
package/dist/types/gallery.d.ts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import type { ACollectionOfContent, Address, AliasesTrait, Alignment, CanonicalURL, CanonicalWebsite, ChannelTrait, Comments, ContentRestrictions, Contributors, CopyrightInformation, CreatedDate, CreditTrait, DescribesTheANSVersionOfThisObject, Description, Display_Date, Distributor, Editor_Note, FirstPublishDate, Geo, GloballyUniqueIDTrait, HasAdditionalProperties, Headlines, Label, LastUpdatedDate, Locale, LocationRelatedTrait, OwnerInformation, Pitches, PromoItems, Publish_Date, Related_Content, Revision, SchedulingInformation, Short_Url, Slug, Source, Status, SubHeadlines, SubtypeOrTemplate, Syndication, Taxonomy, Tracking, VanityCreditsTrait, Website, WebsiteURL, WebsitesInput, WorkflowInformation } from './story.js';
|
|
2
|
-
export interface AGallery {
|
|
3
|
-
type: 'gallery';
|
|
4
|
-
_id?: GloballyUniqueIDTrait;
|
|
5
|
-
version: DescribesTheANSVersionOfThisObject;
|
|
6
|
-
subtype?: SubtypeOrTemplate;
|
|
7
|
-
channels?: ChannelTrait;
|
|
8
|
-
alignment?: Alignment;
|
|
9
|
-
language?: Locale;
|
|
10
|
-
copyright?: CopyrightInformation;
|
|
11
|
-
canonical_url?: CanonicalURL;
|
|
12
|
-
canonical_website?: CanonicalWebsite;
|
|
13
|
-
website?: Website;
|
|
14
|
-
website_url?: WebsiteURL;
|
|
15
|
-
short_url?: Short_Url;
|
|
16
|
-
created_date?: CreatedDate;
|
|
17
|
-
last_updated_date?: LastUpdatedDate;
|
|
18
|
-
publish_date?: Publish_Date;
|
|
19
|
-
first_publish_date?: FirstPublishDate;
|
|
20
|
-
display_date?: Display_Date;
|
|
21
|
-
location?: LocationRelatedTrait;
|
|
22
|
-
geo?: Geo;
|
|
23
|
-
address?: Address;
|
|
24
|
-
editor_note?: Editor_Note;
|
|
25
|
-
status?: Status;
|
|
26
|
-
headlines?: Headlines;
|
|
27
|
-
subheadlines?: SubHeadlines;
|
|
28
|
-
description?: Description;
|
|
29
|
-
credits?: CreditTrait;
|
|
30
|
-
vanity_credits?: VanityCreditsTrait;
|
|
31
|
-
taxonomy?: Taxonomy;
|
|
32
|
-
promo_items?: PromoItems;
|
|
33
|
-
related_content?: Related_Content;
|
|
34
|
-
owner?: OwnerInformation;
|
|
35
|
-
planning?: SchedulingInformation;
|
|
36
|
-
workflow?: WorkflowInformation;
|
|
37
|
-
pitches?: Pitches;
|
|
38
|
-
revision?: Revision;
|
|
39
|
-
syndication?: Syndication;
|
|
40
|
-
source?: Source;
|
|
41
|
-
distributor?: Distributor;
|
|
42
|
-
tracking?: Tracking;
|
|
43
|
-
comments?: Comments;
|
|
44
|
-
label?: Label;
|
|
45
|
-
slug?: Slug;
|
|
46
|
-
content_restrictions?: ContentRestrictions;
|
|
47
|
-
additional_properties?: HasAdditionalProperties;
|
|
48
|
-
content_aliases?: AliasesTrait;
|
|
49
|
-
content_elements?: ACollectionOfContent;
|
|
50
|
-
websites?: WebsitesInput;
|
|
51
|
-
contributors?: Contributors;
|
|
52
|
-
}
|
package/dist/types/section.d.ts
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
export type SectionReference = {
|
|
2
|
-
type: 'reference';
|
|
3
|
-
referent: {
|
|
4
|
-
id: string;
|
|
5
|
-
website: string;
|
|
6
|
-
type: 'section';
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export type SectionOrder = {
|
|
10
|
-
default?: number;
|
|
11
|
-
footer?: number;
|
|
12
|
-
main_navigation?: number;
|
|
13
|
-
header?: number;
|
|
14
|
-
} & {
|
|
15
|
-
[key: string]: number | undefined;
|
|
16
|
-
};
|
|
17
|
-
export type SectionParent = {
|
|
18
|
-
default?: string;
|
|
19
|
-
footer?: null | string;
|
|
20
|
-
main_navigation?: string;
|
|
21
|
-
header?: string;
|
|
22
|
-
} & {
|
|
23
|
-
[key: string]: string | undefined;
|
|
24
|
-
};
|
|
25
|
-
export type Section = {
|
|
26
|
-
_id: string;
|
|
27
|
-
site?: {
|
|
28
|
-
site_url: null;
|
|
29
|
-
site_keywords: null;
|
|
30
|
-
site_description: string;
|
|
31
|
-
site_tagline: null;
|
|
32
|
-
pagebuilder_path_for_native_apps: null;
|
|
33
|
-
site_about: null;
|
|
34
|
-
site_title: string;
|
|
35
|
-
section_collection: string;
|
|
36
|
-
};
|
|
37
|
-
social?: {
|
|
38
|
-
twitter: null;
|
|
39
|
-
rss: null;
|
|
40
|
-
facebook: null;
|
|
41
|
-
instagram: null;
|
|
42
|
-
};
|
|
43
|
-
navigation?: {
|
|
44
|
-
nav_title: string;
|
|
45
|
-
};
|
|
46
|
-
site_topper?: {
|
|
47
|
-
site_logo_image: null;
|
|
48
|
-
};
|
|
49
|
-
_admin?: {
|
|
50
|
-
alias_ids: string[];
|
|
51
|
-
};
|
|
52
|
-
_website?: string;
|
|
53
|
-
name: string;
|
|
54
|
-
order?: SectionOrder;
|
|
55
|
-
parent?: SectionParent;
|
|
56
|
-
ancestors?: {
|
|
57
|
-
default: [];
|
|
58
|
-
footer: [];
|
|
59
|
-
header: [];
|
|
60
|
-
};
|
|
61
|
-
inactive?: false;
|
|
62
|
-
node_type?: 'section';
|
|
63
|
-
};
|
|
64
|
-
export type SetSectionPayload = {
|
|
65
|
-
_id: string;
|
|
66
|
-
website: string;
|
|
67
|
-
name: string;
|
|
68
|
-
navigation?: {
|
|
69
|
-
nav_title: string;
|
|
70
|
-
};
|
|
71
|
-
_admin?: {
|
|
72
|
-
alias_ids: string[];
|
|
73
|
-
};
|
|
74
|
-
ancestors?: string[];
|
|
75
|
-
order?: SectionOrder;
|
|
76
|
-
parent?: SectionParent;
|
|
77
|
-
inactive?: false;
|
|
78
|
-
site?: Partial<{
|
|
79
|
-
site_url: null;
|
|
80
|
-
site_keywords: null;
|
|
81
|
-
site_description: string;
|
|
82
|
-
site_tagline: null;
|
|
83
|
-
pagebuilder_path_for_native_apps: null;
|
|
84
|
-
site_about: null;
|
|
85
|
-
site_title: string;
|
|
86
|
-
section_collection: string;
|
|
87
|
-
}>;
|
|
88
|
-
};
|