Skip to content

Commit 821d219

Browse files
authored
Merge pull request #67 from SharePoint/spfx-1-18-0-beta-0
SPFx 1.18.1-beta.0
2 parents 4ce4dfe + 84bd159 commit 821d219

File tree

11 files changed

+155
-78
lines changed

11 files changed

+155
-78
lines changed

SP-Framework/sp-adaptive-card-extension-base.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ typeAliases:
3131
- '@microsoft/sp-adaptive-card-extension-base!DeviceContext:type'
3232
- '@microsoft/sp-adaptive-card-extension-base!GenericCardViewFooterConfiguration:type'
3333
- '@microsoft/sp-adaptive-card-extension-base!GenericCardViewFooterParameters:type'
34-
- '@microsoft/sp-adaptive-card-extension-base!HostTheme:type'
3534
- '@microsoft/sp-adaptive-card-extension-base!IActionArguments:type'
3635
- '@microsoft/sp-adaptive-card-extension-base!IActionErrorArguments:type'
3736
- '@microsoft/sp-adaptive-card-extension-base!IAdaptiveCardExtensionIcon:type'
@@ -85,13 +84,16 @@ interfaces:
8584
- '@microsoft/sp-adaptive-card-extension-base!IGetLocationActionArguments:interface'
8685
- '@microsoft/sp-adaptive-card-extension-base!IGetLocationActionParameters:interface'
8786
- '@microsoft/sp-adaptive-card-extension-base!IGetLocationCardAction:interface'
88-
- '@microsoft/sp-adaptive-card-extension-base!IHostContext:interface'
8987
- '@microsoft/sp-adaptive-card-extension-base!IImageCardParameters:interface'
9088
- '@microsoft/sp-adaptive-card-extension-base!IImageCardViewConfiguration:interface'
9189
- '@microsoft/sp-adaptive-card-extension-base!ILocation:interface'
9290
- '@microsoft/sp-adaptive-card-extension-base!ILocationErrorArguments:interface'
9391
- '@microsoft/sp-adaptive-card-extension-base!INotificationArguments:interface'
9492
- '@microsoft/sp-adaptive-card-extension-base!INotificationResponse:interface'
93+
- '@microsoft/sp-adaptive-card-extension-base!IPartialMicrosoftTeams:interface'
94+
- '@microsoft/sp-adaptive-card-extension-base!IPartialSDKs:interface'
95+
- '@microsoft/sp-adaptive-card-extension-base!IPartialTeamsContext:interface'
96+
- '@microsoft/sp-adaptive-card-extension-base!IPartialTeamsJs:interface'
9597
- '@microsoft/sp-adaptive-card-extension-base!IPrimaryTextCardParameters:interface'
9698
- '@microsoft/sp-adaptive-card-extension-base!IPrimaryTextCardViewConfiguration:interface'
9799
- '@microsoft/sp-adaptive-card-extension-base!IQuickViewActionArguments:interface'

SP-Framework/sp-adaptive-card-extension-base/adaptivecardextensioncontext.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,6 @@ properties:
2323
content: 'get deviceContext(): DeviceContext;'
2424
return:
2525
type: '<xref uid="@microsoft/sp-adaptive-card-extension-base!DeviceContext:type" />'
26-
- name: hostContext
27-
uid: '@microsoft/sp-adaptive-card-extension-base!AdaptiveCardExtensionContext#hostContext:member'
28-
package: '@microsoft/sp-adaptive-card-extension-base!'
29-
fullName: hostContext
30-
summary: Provides a hostContext that gets current context of device
31-
remarks: ''
32-
isPreview: true
33-
isDeprecated: false
34-
syntax:
35-
content: 'get hostContext(): IHostContext | undefined;'
36-
return:
37-
type: '<xref uid="@microsoft/sp-adaptive-card-extension-base!IHostContext:interface" /> | undefined'
3826
- name: location
3927
uid: '@microsoft/sp-adaptive-card-extension-base!AdaptiveCardExtensionContext#location:member'
4028
package: '@microsoft/sp-adaptive-card-extension-base!'
@@ -71,4 +59,18 @@ properties:
7159
content: 'get propertyPane(): IPropertyPaneAccessor | undefined;'
7260
return:
7361
type: '<xref uid="@microsoft/sp-webpart-base!IPropertyPaneAccessor:interface" /> | undefined'
62+
- name: sdks
63+
uid: '@microsoft/sp-adaptive-card-extension-base!AdaptiveCardExtensionContext#sdks:member'
64+
package: '@microsoft/sp-adaptive-card-extension-base!'
65+
fullName: sdks
66+
summary: >-
67+
Provides a sdk that gets current context of device. See
68+
[IPartialSDKs](xref:@microsoft/sp-adaptive-card-extension-base!IPartialSDKs:interface)
69+
remarks: ''
70+
isPreview: true
71+
isDeprecated: false
72+
syntax:
73+
content: 'get sdks(): IPartialSDKs | undefined;'
74+
return:
75+
type: '<xref uid="@microsoft/sp-adaptive-card-extension-base!IPartialSDKs:interface" /> | undefined'
7476
extends: '<xref uid="@microsoft/sp-component-base!BaseComponentContext:class" />'

SP-Framework/sp-adaptive-card-extension-base/hosttheme.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

SP-Framework/sp-adaptive-card-extension-base/ihostcontext.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
### YamlMime:TSType
2+
name: IPartialMicrosoftTeams
3+
uid: '@microsoft/sp-adaptive-card-extension-base!IPartialMicrosoftTeams:interface'
4+
package: '@microsoft/sp-adaptive-card-extension-base!'
5+
fullName: IPartialMicrosoftTeams
6+
summary: |-
7+
Provides access to the Teams SDK and Teams context. Only provided when the web part is loaded in Teams.
8+
9+
Currently We are providing only Partial Contextual Information.
10+
remarks: ''
11+
isPreview: true
12+
isDeprecated: false
13+
type: interface
14+
properties:
15+
- name: teamsJs
16+
uid: '@microsoft/sp-adaptive-card-extension-base!IPartialMicrosoftTeams#teamsJs:member'
17+
package: '@microsoft/sp-adaptive-card-extension-base!'
18+
fullName: teamsJs
19+
summary: Partial Microsoft Teams SDK.
20+
remarks: ''
21+
isPreview: true
22+
isDeprecated: false
23+
syntax:
24+
content: 'teamsJs: IPartialTeamsJs;'
25+
return:
26+
type: '<xref uid="@microsoft/sp-adaptive-card-extension-base!IPartialTeamsJs:interface" />'
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
### YamlMime:TSType
2+
name: IPartialSDKs
3+
uid: '@microsoft/sp-adaptive-card-extension-base!IPartialSDKs:interface'
4+
package: '@microsoft/sp-adaptive-card-extension-base!'
5+
fullName: IPartialSDKs
6+
summary: |-
7+
Conditional set of SDKs provided by SPFx dependent on the environment.
8+
9+
Currently we are providing only Partial SDKs.
10+
remarks: ''
11+
isPreview: true
12+
isDeprecated: false
13+
type: interface
14+
properties:
15+
- name: microsoftTeams
16+
uid: '@microsoft/sp-adaptive-card-extension-base!IPartialSDKs#microsoftTeams:member'
17+
package: '@microsoft/sp-adaptive-card-extension-base!'
18+
fullName: microsoftTeams
19+
summary: >-
20+
Contextual information about the current Microsoft Teams tab. This object will only be defined if a component is
21+
being hosted in Microsoft Teams.
22+
remarks: >-
23+
For more information, please see:
24+
[https://docs.microsoft.com/en-us/javascript/api/@microsoft/teams-js/?view=msteams-client-js-latest](https://docs.microsoft.com/en-us/javascript/api/@microsoft/teams-js/?view=msteams-client-js-latest)
25+
26+
27+
Currently We are providing only Partial Contextual Information.
28+
isPreview: true
29+
isDeprecated: false
30+
syntax:
31+
content: 'microsoftTeams?: IPartialMicrosoftTeams;'
32+
return:
33+
type: '<xref uid="@microsoft/sp-adaptive-card-extension-base!IPartialMicrosoftTeams:interface" />'
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
### YamlMime:TSType
2+
name: IPartialTeamsContext
3+
uid: '@microsoft/sp-adaptive-card-extension-base!IPartialTeamsContext:interface'
4+
package: '@microsoft/sp-adaptive-card-extension-base!'
5+
fullName: IPartialTeamsContext
6+
summary: Partial teams context
7+
remarks: ''
8+
isPreview: true
9+
isDeprecated: false
10+
type: interface
11+
properties:
12+
- name: app
13+
uid: '@microsoft/sp-adaptive-card-extension-base!IPartialTeamsContext#app:member'
14+
package: '@microsoft/sp-adaptive-card-extension-base!'
15+
fullName: app
16+
summary: Properties about the current session for your app
17+
remarks: ''
18+
isPreview: true
19+
isDeprecated: false
20+
syntax:
21+
content: |-
22+
app: {
23+
appInfo: Pick<microsoftTeams.app.AppInfo, 'theme'>;
24+
};
25+
return:
26+
type: |-
27+
{
28+
appInfo: Pick&lt;<xref uid="@microsoft/teams-js!app.AppInfo:interface" />, 'theme'&gt;;
29+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
### YamlMime:TSType
2+
name: IPartialTeamsJs
3+
uid: '@microsoft/sp-adaptive-card-extension-base!IPartialTeamsJs:interface'
4+
package: '@microsoft/sp-adaptive-card-extension-base!'
5+
fullName: IPartialTeamsJs
6+
summary: Provides access to the Teams SDK and Teams context. Only provided when the web part is loaded in Teams.
7+
remarks: ''
8+
isPreview: true
9+
isDeprecated: false
10+
type: interface
11+
properties:
12+
- name: app
13+
uid: '@microsoft/sp-adaptive-card-extension-base!IPartialTeamsJs#app:member'
14+
package: '@microsoft/sp-adaptive-card-extension-base!'
15+
fullName: app
16+
summary: Namespace to interact with Teams app initialization and lifecycle.
17+
remarks: Currently we are providing only partial contextual information of Teams app.
18+
isPreview: true
19+
isDeprecated: false
20+
syntax:
21+
content: |-
22+
app: {
23+
getContext: () => Promise<IPartialTeamsContext>;
24+
};
25+
return:
26+
type: |-
27+
{
28+
getContext: () =&gt; Promise&lt;<xref uid="@microsoft/sp-adaptive-card-extension-base!IPartialTeamsContext:interface" />&gt;;
29+
}

SP-Framework/sp-image-helper/iimagehelperrequest.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,18 @@ properties:
3636
content: 'sourceUrl: string;'
3737
return:
3838
type: string
39+
- name: version
40+
uid: '@microsoft/sp-image-helper!IImageHelperRequest#version:member'
41+
package: '@microsoft/sp-image-helper!'
42+
fullName: version
43+
summary: guid generated for image version to use as param to avoid caching from api on adv edited images
44+
remarks: ''
45+
isPreview: false
46+
isDeprecated: false
47+
syntax:
48+
content: 'version?: string;'
49+
return:
50+
type: string
3951
- name: width
4052
uid: '@microsoft/sp-image-helper!IImageHelperRequest#width:member'
4153
package: '@microsoft/sp-image-helper!'

SP-Framework/sp-module-interfaces/iadaptivecardextensionmanifest.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,6 @@ isPreview: true
99
isDeprecated: false
1010
type: interface
1111
properties:
12-
- name: connectedSPFXAppId
13-
uid: '@microsoft/sp-module-interfaces!IAdaptiveCardExtensionManifest#connectedSPFXAppId:member'
14-
package: '@microsoft/sp-module-interfaces!'
15-
fullName: connectedSPFXAppId
16-
summary: Id of the SPFx application that the ACE will redirect to when a “full page” experience is required
17-
remarks: ''
18-
isPreview: true
19-
isDeprecated: false
20-
syntax:
21-
content: 'connectedSPFXAppId?: string;'
22-
return:
23-
type: string
24-
- name: connectedTeamsAppId
25-
uid: '@microsoft/sp-module-interfaces!IAdaptiveCardExtensionManifest#connectedTeamsAppId:member'
26-
package: '@microsoft/sp-module-interfaces!'
27-
fullName: connectedTeamsAppId
28-
summary: Id matching the Teams SaaS application that the ACE will redirect to when a “full page” experience is required
29-
remarks: ''
30-
isPreview: true
31-
isDeprecated: false
32-
syntax:
33-
content: 'connectedTeamsAppId?: string;'
34-
return:
35-
type: string
3612
- name: experimentalData
3713
uid: '@microsoft/sp-module-interfaces!IAdaptiveCardExtensionManifest#experimentalData:member'
3814
package: '@microsoft/sp-module-interfaces!'

0 commit comments

Comments
 (0)