1 | import { _SPCollection, _SPInstance, ISPCollection, IDeleteable } from "../spqueryable.js";
|
2 | export declare class _ContentTypes extends _SPCollection<IContentTypeInfo[]> {
|
3 | |
4 |
|
5 |
|
6 |
|
7 |
|
8 | addAvailableContentType(contentTypeId: string): Promise<IContentTypeAddResult>;
|
9 | |
10 |
|
11 |
|
12 |
|
13 | getById(id: string): IContentType;
|
14 | |
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 | add(id: string, name: string, description?: string, group?: string, additionalSettings?: Record<string, string | number | boolean>): Promise<IContentTypeAddResult>;
|
26 | }
|
27 | export interface IContentTypes extends _ContentTypes {
|
28 | }
|
29 | export declare const ContentTypes: import("../spqueryable.js").ISPInvokableFactory<IContentTypes>;
|
30 | export declare class _ContentType extends _SPInstance<IContentTypeInfo> {
|
31 | delete: (this: import("../spqueryable.js").ISPQueryable<any>) => Promise<void>;
|
32 | |
33 |
|
34 |
|
35 |
|
36 |
|
37 | update(properties: Record<string, any>): Promise<void>;
|
38 | |
39 |
|
40 |
|
41 | get fieldLinks(): IFieldLinks;
|
42 | |
43 |
|
44 |
|
45 | get fields(): ISPCollection;
|
46 | |
47 |
|
48 |
|
49 | get parent(): IContentType;
|
50 | |
51 |
|
52 |
|
53 | get workflowAssociations(): ISPCollection;
|
54 | }
|
55 | export interface IContentType extends _ContentType, IDeleteable {
|
56 | }
|
57 | export declare const ContentType: import("../spqueryable.js").ISPInvokableFactory<IContentType>;
|
58 |
|
59 |
|
60 |
|
61 | export interface IContentTypeAddResult {
|
62 | contentType: IContentType;
|
63 | data: Partial<IContentTypeInfo>;
|
64 | }
|
65 | export declare class _FieldLinks extends _SPCollection<IFieldLinkInfo[]> {
|
66 | |
67 |
|
68 |
|
69 |
|
70 |
|
71 | getById(id: string): IFieldLink;
|
72 | }
|
73 | export interface IFieldLinks extends _FieldLinks {
|
74 | }
|
75 | export declare const FieldLinks: import("../spqueryable.js").ISPInvokableFactory<IFieldLinks>;
|
76 | export declare class _FieldLink extends _SPInstance<IFieldLinkInfo> {
|
77 | }
|
78 | export interface IFieldLink extends _FieldLink {
|
79 | }
|
80 | export declare const FieldLink: import("../spqueryable.js").ISPInvokableFactory<IFieldLink>;
|
81 | export interface IContentTypeInfo {
|
82 | Description: string;
|
83 | DispFormClientSideComponentId: string;
|
84 | DispFormClientSideComponentProperties: string;
|
85 | DisplayFormTemplateName: string;
|
86 | DisplayFormUrl: string;
|
87 | DocumentTemplate: string;
|
88 | DocumentTemplateUrl: string;
|
89 | EditFormClientSideComponentId: string;
|
90 | EditFormClientSideComponentProperties: string;
|
91 | EditFormTemplateName: string;
|
92 | EditFormUrl: string;
|
93 | Group: string;
|
94 | Hidden: boolean;
|
95 | Id: {
|
96 | StringValue: string;
|
97 | };
|
98 | JSLink: string;
|
99 | MobileDisplayFormUrl: string;
|
100 | MobileEditFormUrl: string;
|
101 | MobileNewFormUrl: string;
|
102 | Name: string;
|
103 | NewFormClientSideComponentId: string;
|
104 | NewFormClientSideComponentProperties: string;
|
105 | NewFormTemplateName: string;
|
106 | NewFormUrl: string;
|
107 | ReadOnly: boolean;
|
108 | SchemaXml: string;
|
109 | Scope: string;
|
110 | Sealed: boolean;
|
111 | StringId: string;
|
112 | }
|
113 | export interface IFieldLinkInfo {
|
114 | FieldInternalName: string | null;
|
115 | Hidden: boolean;
|
116 | Id: string;
|
117 | Name: string;
|
118 | Required: boolean;
|
119 | }
|
120 |
|
\ | No newline at end of file |