@omnia/fx-models 8.0.113-vnext → 8.0.114-dev
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/ActionHandler.js +1 -1
- package/AiSettings.js +1 -1
- package/AppTemplatePropertySetSetting.js +2 -2
- package/AuthenticationLayout.d.ts +8 -0
- package/AuthenticationLayout.js +6 -0
- package/BusinessProfile.d.ts +5 -1
- package/BusinessProfile.js +8 -1
- package/ChromeLayoutDefinition.d.ts +4 -0
- package/ChromeLayoutDefinition.js +10 -0
- package/ClientManifests.d.ts +4 -4
- package/ClientManifests.js +5 -5
- package/Constants.d.ts +11 -1
- package/Constants.js +15 -5
- package/DependencyInjection.js +1 -1
- package/Dictionary.d.ts +18 -19
- package/Dictionary.js +16 -24
- package/Enums.d.ts +17 -7
- package/Enums.js +103 -96
- package/Exposes.d.ts +8 -1
- package/Exposes.js +8 -1
- package/Extensions.d.ts +1 -1
- package/FileUploader.d.ts +1 -1
- package/FileUploader.js +1 -1
- package/FileValidationResult.js +1 -1
- package/FilterEngineStyles.d.ts +6 -15
- package/Http.js +1 -1
- package/Icon.d.ts +3 -0
- package/Icon.js +34 -0
- package/Journey.d.ts +9 -1
- package/Layout.d.ts +70 -26
- package/Layout.js +4 -2
- package/LinkHandler/linktype/DefaultLinkType.js +1 -1
- package/LinkHandler/linktype/DocumentLinkType.js +1 -1
- package/LoginLog.d.ts +12 -0
- package/LoginLogFilter.d.ts +11 -0
- package/ManifestIds.d.ts +46 -10
- package/ManifestIds.js +124 -16
- package/NotNullish.d.ts +1 -0
- package/NotNullish.js +7 -0
- package/NullOf.d.ts +5 -0
- package/NullOf.js +10 -0
- package/PermissionInputSettings.d.ts +2 -1
- package/QueryFilter.js +2 -2
- package/RichTextEditorExtension.d.ts +29 -4
- package/RollupQuery.d.ts +28 -3
- package/RollupQuery.js +19 -2
- package/Security.js +1 -1
- package/ShapeDividerSettingsModel.js +2 -2
- package/Social.js +1 -1
- package/SocialReaction.d.ts +4 -2
- package/SocialReaction.js +1 -1
- package/TargetingProperty.js +1 -1
- package/TimeZone.d.ts +0 -1
- package/TimeZone.js +0 -2508
- package/UserAgent.js +1 -1
- package/ValueOf.d.ts +3 -0
- package/ValueOf.js +7 -0
- package/admin/AdminModels.d.ts +42 -0
- package/apps/App.d.ts +2 -0
- package/apps/App.js +2 -2
- package/apps/AppInstanceRollup.js +2 -2
- package/apps/AppNamingPolicy.js +2 -2
- package/auth/AnonymousAccessType.js +1 -1
- package/auth/LoginProvider.js +1 -1
- package/auth/PasswordAuthData.d.ts +1 -4
- package/auth/PasswordAuthOption.d.ts +1 -0
- package/auth/PostProcessingAuthData.d.ts +10 -0
- package/auth/PostProcessingAuthData.js +11 -0
- package/auth/PostProcessingAuthOption.d.ts +4 -0
- package/auth/PostProcessingAuthResult.d.ts +3 -0
- package/auth/PostProcessingAuthResult.js +2 -0
- package/auth/UserCredentialInfo.d.ts +4 -0
- package/auth/UserCredentialInfo.js +2 -0
- package/auth/common/AuthenticationResult.js +1 -1
- package/auth/common/AuthenticationSessionResult.js +1 -1
- package/auth/common/AuthenticationSettings.d.ts +9 -0
- package/auth/index.d.ts +4 -0
- package/auth/index.js +4 -0
- package/authentication/Authentication.d.ts +4 -0
- package/{signin/SignIn.js → authentication/Authentication.js} +3 -3
- package/authentication/index.d.ts +1 -0
- package/{signin → authentication}/index.js +1 -1
- package/azure-openai/dalle/ErrorResponse.js +1 -1
- package/azure-openai/dalle/StatusRequest.js +1 -1
- package/bulkimportusers/BulkImportUsersScenarios.js +1 -1
- package/bulkimportusers/BulkImportUsersTasks.js +1 -1
- package/businessprofilesettings/BusinessProfileAuthenticationScreensSettings.d.ts +15 -0
- package/businessprofilesettings/BusinessProfileAuthenticationScreensSettings.js +11 -0
- package/businessprofilesettings/BusinessProfileAuthenticationSettings.d.ts +3 -3
- package/businessprofilesettings/index.d.ts +1 -0
- package/businessprofilesettings/index.js +1 -0
- package/componentproptypes/ThemeableComponents.d.ts +0 -2
- package/docs/Api.d.ts +2 -0
- package/editor-chrome/EditorSettings.js +2 -2
- package/editor-chrome/IActionButton.d.ts +2 -2
- package/editor-chrome/IActionButton.js +1 -1
- package/editor-chrome/IEditorTabRegistration.d.ts +1 -0
- package/enterprise-properties/EnterprisePropertyColumnMapping.js +1 -1
- package/enterprise-properties/EnterprisePropertyItemSettings.d.ts +2 -2
- package/enterprise-properties/EnterprisePropertySettings.js +2 -2
- package/filterengine/Shared.d.ts +54 -5
- package/filterengine/Shared.js +12 -13
- package/identities/ArchiveIdentityManagementQuery.d.ts +3 -2
- package/identities/ArchiveIdentityManagementQuery.js +2 -1
- package/identities/BuiltInIdentityProvider.d.ts +7 -0
- package/identities/BuiltInIdentityProvider.js +23 -0
- package/identities/GroupIdentity.js +1 -1
- package/identities/Identity.js +4 -7
- package/identities/IdentityCreationRequest.d.ts +37 -5
- package/identities/IdentityCreationRequest.js +27 -7
- package/identities/IdentityPropertyConfiguration.js +1 -1
- package/identities/IdentityProviderRunLog.js +1 -1
- package/identities/IdentityProviderRunStatus.js +1 -1
- package/identities/IdentityProviderSettings.js +1 -1
- package/identities/IdentityProviderState.js +1 -1
- package/identities/IdentitySyncProvider.d.ts +1 -1
- package/identities/IdentityTypes.js +1 -1
- package/identities/UserIdentity.d.ts +14 -0
- package/identities/UserIdentity.js +4 -4
- package/identities/UserManagementQuery.d.ts +5 -2
- package/identities/UserManagementQuery.js +4 -1
- package/identities/UserType.d.ts +8 -0
- package/identities/UserType.js +12 -1
- package/identities/UserTypeDisplaySettings.d.ts +1 -0
- package/identities/UserTypeSettings.d.ts +1 -1
- package/identities/UserTypeSettings.js +1 -1
- package/identities/index.d.ts +1 -0
- package/identities/index.js +1 -0
- package/internal-do-not-import-from-here/shared/models/Broadcasting.js +1 -1
- package/internal-do-not-import-from-here/shared/models/Equals.js +5 -6
- package/internal-do-not-import-from-here/shared/models/Future.d.ts +13 -0
- package/internal-do-not-import-from-here/shared/models/Future.js +19 -0
- package/internal-do-not-import-from-here/shared/models/Guid.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/Guid.js +13 -6
- package/internal-do-not-import-from-here/shared/models/HttpCommon.d.ts +27 -0
- package/internal-do-not-import-from-here/shared/models/HttpCommon.js +2 -0
- package/internal-do-not-import-from-here/shared/models/OmniaSharedBootstrapData.d.ts +2 -1
- package/internal-do-not-import-from-here/shared/models/Realtime.d.ts +1 -13
- package/internal-do-not-import-from-here/shared/models/Realtime.js +1 -22
- package/internal-do-not-import-from-here/shared/models/StronglyTypedId.d.ts +3 -0
- package/internal-do-not-import-from-here/shared/models/StronglyTypedId.js +2 -0
- package/internal-do-not-import-from-here/shared/models/Tokens.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/WorkerProxyFuncs.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/models/Workers.js +1 -1
- package/internal-do-not-import-from-here/shared/models/hub/ExternalIdentityId.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/ExternalIdentityId.js +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/TempSocialReactions.d.ts +13 -0
- package/internal-do-not-import-from-here/shared/models/hub/TempSocialReactions.js +20 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/Activity.d.ts +45 -7
- package/internal-do-not-import-from-here/shared/models/hub/activities/Activity.js +4 -6
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityChannel.d.ts +3 -2
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityChannel.js +2 -3
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityDefinition.d.ts +14 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityDefinition.js +15 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityFeed.d.ts +30 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityFeed.js +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRenderer.d.ts +9 -3
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRenderer.js +2 -3
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRendererLoadingReferences.d.ts +8 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRendererLoadingReferences.js +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivitySender.d.ts +5 -1
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivitySender.js +2 -3
- package/internal-do-not-import-from-here/shared/models/hub/activities/IdentityActivity.d.ts +25 -3
- package/internal-do-not-import-from-here/shared/models/hub/activities/IdentityActivity.js +11 -3
- package/internal-do-not-import-from-here/shared/models/hub/activities/index.d.ts +3 -1
- package/internal-do-not-import-from-here/shared/models/hub/activities/index.js +3 -1
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/FileOwnerId.d.ts +3 -0
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/FileOwnerId.js +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/TemporaryFileId.d.ts +4 -0
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/TemporaryFileId.js +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/index.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/index.js +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/index.d.ts +4 -0
- package/internal-do-not-import-from-here/shared/models/hub/index.js +4 -0
- package/internal-do-not-import-from-here/shared/models/hub/social/HubComment.d.ts +10 -0
- package/internal-do-not-import-from-here/shared/models/hub/social/HubComment.js +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/social/HubReaction.d.ts +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/social/HubReaction.js +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/social/index.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/social/index.js +5 -0
- package/internal-do-not-import-from-here/shared/models/index.d.ts +3 -1
- package/internal-do-not-import-from-here/shared/models/index.js +3 -1
- package/internal-do-not-import-from-here/shared/models/theming/ChromeDefinition.d.ts +16 -0
- package/internal-do-not-import-from-here/shared/models/theming/ChromeDefinition.js +2 -0
- package/internal-do-not-import-from-here/shared/models/theming/ComponentDefinitions.d.ts +84 -0
- package/internal-do-not-import-from-here/shared/models/theming/ComponentDefinitions.js +12 -0
- package/internal-do-not-import-from-here/shared/models/theming/SharedBlueprintMethods.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/models/theming/SharedBlueprintMethods.js +8 -7
- package/internal-do-not-import-from-here/shared/models/theming/SpacingSetting.d.ts +11 -4
- package/internal-do-not-import-from-here/shared/models/theming/SpacingSetting.js +1 -1
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.d.ts +38 -15
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.js +8 -10
- package/internal-do-not-import-from-here/shared/models/theming/TypographyDefinition.d.ts +10 -0
- package/internal-do-not-import-from-here/shared/models/theming/TypographyDefinition.js +2 -2
- package/internal-do-not-import-from-here/shared/models/theming/UseThemeMethods.d.ts +3 -5
- package/internal-do-not-import-from-here/shared/models/theming/UseThemeMethods.js +4 -30
- package/internal-do-not-import-from-here/shared/models/theming/index.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/models/theming/index.js +3 -2
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronDefinition.d.ts +87 -0
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronDefinition.js +2 -0
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronEvents.js +2 -0
- package/internal-do-not-import-from-here/shared/models/velcron/index.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/velcron/index.js +5 -0
- package/internal-do-not-import-from-here/velcron/core/models/Enums.js +7 -7
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.d.ts +71 -87
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.js +1 -1
- package/internal-do-not-import-from-here/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +229 -16
- package/internal-do-not-import-from-here/velcron/core/models/VelcronPropertyEditorDefinitions.js +114 -2
- package/internal-do-not-import-from-here/velcron/core/models/VelcronTypes.d.ts +1 -1
- package/internal-do-not-import-from-here/velcron/core/models/ViewModelAndContext.d.ts +1 -1
- package/internal-do-not-import-from-here/velcron/core/models/index.d.ts +0 -1
- package/internal-do-not-import-from-here/velcron/core/models/index.js +0 -1
- package/media-gallery/providers/PhotoWallGridLayout.js +2 -2
- package/media-picker/MediaPickerProvider.d.ts +16 -0
- package/media-picker/MediaPickerProvider.js +2 -0
- package/media-picker/MediaPickerProviderContext.d.ts +3 -3
- package/media-picker/MediaPickerProviderContext.js +0 -4
- package/media-picker/Shared.d.ts +1 -0
- package/media-picker/index.d.ts +1 -5
- package/media-picker/index.js +1 -5
- package/media-picker/localize.d.ts +1 -1
- package/media-picker/localize.js +1 -1
- package/mediaflow/Constants.js +2 -2
- package/omniasearch/SearchTask.js +1 -1
- package/oxide/OxideTypeDefinitions.d.ts +196 -122
- package/oxide/OxideTypeDefinitions.js +121 -81
- package/package.json +1 -1
- package/properties/PropertyDefinition.d.ts +1 -0
- package/properties/PropertyValue.d.ts +1 -0
- package/properties/PropertyValue.js +3 -0
- package/properties/datasource/AppDataSourceProperty.d.ts +9 -0
- package/properties/datasource/AppDataSourceProperty.js +13 -0
- package/properties/datasource/DataSourceProperty.d.ts +0 -1
- package/properties/datasource/UserDataSourceProperty.d.ts +12 -0
- package/properties/datasource/UserDataSourceProperty.js +20 -0
- package/properties/datasource/index.d.ts +2 -0
- package/properties/datasource/index.js +2 -0
- package/properties/definitions/BooleanPropertyDefinition.d.ts +0 -1
- package/properties/definitions/BusinessProfilePropertyDefinition.d.ts +0 -1
- package/properties/definitions/DatePropertyDefinition.js +1 -1
- package/properties/definitions/EmailPropertyDefinition.d.ts +0 -1
- package/properties/definitions/HtmlPropertyDefinition.d.ts +2 -2
- package/properties/definitions/HtmlPropertyDefinition.js +1 -1
- package/properties/definitions/IdentityPropertyDefinition.d.ts +1 -1
- package/properties/definitions/ImagePropertyDefinition.d.ts +2 -1
- package/properties/definitions/IntegerPropertyDefinition.d.ts +0 -1
- package/properties/definitions/LanguagePropertyDefinition.d.ts +0 -1
- package/properties/definitions/LinkPropertyDefinition.d.ts +0 -1
- package/properties/definitions/MultilineTextPropertyDefinition.d.ts +0 -1
- package/properties/definitions/MultilingualTextPropertyDefinition.d.ts +0 -1
- package/properties/definitions/PhoneNumberPropertyDefinition.d.ts +0 -1
- package/properties/definitions/TagsPropertyDefinition.d.ts +1 -1
- package/properties/definitions/TermSetPropertyDefinition.d.ts +3 -0
- package/properties/definitions/TermSetPropertyDefinition.js +3 -0
- package/properties/definitions/TextPropertyDefinition.d.ts +0 -1
- package/properties/definitions/UserTypePropertyDefinition.d.ts +0 -1
- package/properties/values/BirthdayPropertyValue.d.ts +1 -0
- package/properties/values/BirthdayPropertyValue.js +3 -0
- package/properties/values/BooleanPropertyValue.d.ts +1 -0
- package/properties/values/BooleanPropertyValue.js +3 -0
- package/properties/values/DatePropertyValue.d.ts +4 -0
- package/properties/values/DatePropertyValue.js +3 -0
- package/properties/values/DateTimePropertyValue.d.ts +1 -0
- package/properties/values/DateTimePropertyValue.js +3 -0
- package/properties/values/EmailPropertyValue.d.ts +1 -0
- package/properties/values/EmailPropertyValue.js +3 -0
- package/properties/values/HtmlPropertyValue.d.ts +1 -0
- package/properties/values/HtmlPropertyValue.js +3 -0
- package/properties/values/IdentityPropertyValue.d.ts +1 -0
- package/properties/values/IdentityPropertyValue.js +3 -0
- package/properties/values/ImagePropertyValue.d.ts +1 -0
- package/properties/values/ImagePropertyValue.js +3 -0
- package/properties/values/IntegerPropertyValue.d.ts +1 -0
- package/properties/values/IntegerPropertyValue.js +3 -0
- package/properties/values/LanguagePropertyValue.d.ts +1 -0
- package/properties/values/LanguagePropertyValue.js +3 -0
- package/properties/values/LinkPropertyValue.d.ts +1 -0
- package/properties/values/LinkPropertyValue.js +3 -0
- package/properties/values/TagsPropertyValue.d.ts +1 -0
- package/properties/values/TagsPropertyValue.js +3 -0
- package/properties/values/TextPropertyValue.d.ts +1 -0
- package/properties/values/TextPropertyValue.js +3 -0
- package/richtext-editor-extensions/HeadingExtension.js +5 -5
- package/richtext-editor-extensions/MediaPickerExtension.js +1 -1
- package/sidepanel/Shared.js +1 -1
- package/statuscodelayout/StatusCodeLayoutSettings.d.ts +7 -4
- package/statuscodelayout/StatusCodeLayoutSettings.js +0 -405
- package/{signin/SignIn.d.ts → statuscodelayout/SystemLayout.d.ts} +1 -1
- package/statuscodelayout/SystemLayout.js +10 -0
- package/statuscodelayout/index.d.ts +1 -0
- package/statuscodelayout/index.js +1 -0
- package/ux/AdminApi.d.ts +29 -2
- package/ux/Directive.d.ts +27 -0
- package/ux/Directive.js +2 -0
- package/ux/InternalAdminApi.d.ts +25 -2
- package/ux/LayoutCanvasApi.d.ts +39 -8
- package/ux/LayoutEditorCanvas.d.ts +5 -3
- package/ux/MediaPickerApi.d.ts +1 -1
- package/ux/index.d.ts +2 -1
- package/velcron/VelcronDefinitionRegistration.d.ts +3 -3
- package/versionedlayout/VersionedLayout.d.ts +1 -0
- package/versionedlayout/VersionedLayout.js +2 -2
- package/SignInLayout.d.ts +0 -8
- package/SignInLayout.js +0 -6
- package/internal-do-not-import-from-here/shared/models/Bring.d.ts +0 -24
- package/internal-do-not-import-from-here/shared/models/hub/activities/FeedResult.d.ts +0 -9
- package/internal-do-not-import-from-here/shared/models/theming/BlueprintDefinition.d.ts +0 -63
- package/internal-do-not-import-from-here/shared/models/theming/BlueprintDefinition.js +0 -18
- package/internal-do-not-import-from-here/shared/models/theming/OmniaThemes.d.ts +0 -5
- package/internal-do-not-import-from-here/shared/models/theming/OmniaThemes.js +0 -18
- package/media-picker/MediaPickerStorageProviderAppInstanceContext.d.ts +0 -14
- package/media-picker/MediaPickerStorageProviderAppInstanceContext.js +0 -21
- package/media-picker/MediaPickerStorageProviderAppInstancePostContext.d.ts +0 -8
- package/media-picker/MediaPickerStorageProviderAppInstancePostContext.js +0 -13
- package/media-picker/MediaPickerStorageProviderVersionedLayoutContext.d.ts +0 -8
- package/media-picker/MediaPickerStorageProviderVersionedLayoutContext.js +0 -13
- package/media-picker/MediaPickerUserIconsStorageProviderContext.d.ts +0 -7
- package/media-picker/MediaPickerUserIconsStorageProviderContext.js +0 -12
- package/media-picker/Providers/BingProvider.d.ts +0 -18
- package/media-picker/Providers/BingProvider.js +0 -23
- package/media-picker/Providers/CentralImageLocationProvider.d.ts +0 -23
- package/media-picker/Providers/CentralImageLocationProvider.js +0 -32
- package/media-picker/Providers/DallEProvider.d.ts +0 -18
- package/media-picker/Providers/DallEProvider.js +0 -23
- package/media-picker/Providers/MediaPickerProvider.d.ts +0 -22
- package/media-picker/Providers/MediaPickerProvider.js +0 -8
- package/media-picker/Providers/MediaflowProvider.d.ts +0 -18
- package/media-picker/Providers/MediaflowProvider.js +0 -35
- package/media-picker/Providers/MicrosoftStreamProvider.d.ts +0 -18
- package/media-picker/Providers/MicrosoftStreamProvider.js +0 -37
- package/media-picker/Providers/MyComputerProvider.d.ts +0 -18
- package/media-picker/Providers/MyComputerProvider.js +0 -23
- package/media-picker/Providers/PexelProvider.d.ts +0 -18
- package/media-picker/Providers/PexelProvider.js +0 -27
- package/media-picker/Providers/YoutubeProvider.d.ts +0 -18
- package/media-picker/Providers/YoutubeProvider.js +0 -31
- package/media-picker/Providers/index.d.ts +0 -9
- package/media-picker/Providers/index.js +0 -12
- package/signin/index.d.ts +0 -1
- /package/{internal-do-not-import-from-here/shared/models/Bring.js → LoginLog.js} +0 -0
- /package/{internal-do-not-import-from-here/shared/models/hub/activities/FeedResult.js → LoginLogFilter.js} +0 -0
- /package/{internal-do-not-import-from-here/velcron/core/models/VelcronEvents.js → auth/PostProcessingAuthOption.js} +0 -0
- /package/internal-do-not-import-from-here/{velcron/core/models → shared/models/velcron}/VelcronEvents.d.ts +0 -0
@@ -25,6 +25,13 @@ export declare class Future<T> extends Promise<T> {
|
|
25
25
|
* @memberof Future
|
26
26
|
*/
|
27
27
|
abort(reason?: any): void;
|
28
|
+
/**
|
29
|
+
* Creates a Future that resolves after a specified delay.
|
30
|
+
*
|
31
|
+
* @param {number} ms - The time to delay in milliseconds.
|
32
|
+
* @returns {Future<void>} A Future that resolves after the specified delay.
|
33
|
+
*/
|
34
|
+
static delay(ms: number): Future<void>;
|
28
35
|
/**
|
29
36
|
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
30
37
|
* resolve, or rejected when any Promise is rejected.
|
@@ -38,6 +45,12 @@ export declare class Future<T> extends Promise<T> {
|
|
38
45
|
get rejected(): boolean;
|
39
46
|
static get [Symbol.species](): PromiseConstructor;
|
40
47
|
get [Symbol.toStringTag](): string;
|
48
|
+
/**
|
49
|
+
* Creates a new instance of the Future class with a specific return value type.
|
50
|
+
*
|
51
|
+
* @template TReturnValue - The type of the return value for the Future instance.
|
52
|
+
* @returns {Future<TReturnValue>} - A new instance of the Future class.
|
53
|
+
*/
|
41
54
|
static new<TReturnValue>(): Future<TReturnValue>;
|
42
55
|
}
|
43
56
|
export declare class ResponsePromise<T> extends Promise<T> {
|
@@ -69,6 +69,19 @@ class Future extends Promise {
|
|
69
69
|
throw "Failed calling abort() => The future has no onAborted callback or you tried to call abort immediately after the future was created.";
|
70
70
|
}
|
71
71
|
}
|
72
|
+
/**
|
73
|
+
* Creates a Future that resolves after a specified delay.
|
74
|
+
*
|
75
|
+
* @param {number} ms - The time to delay in milliseconds.
|
76
|
+
* @returns {Future<void>} A Future that resolves after the specified delay.
|
77
|
+
*/
|
78
|
+
static delay(ms) {
|
79
|
+
return new Future((resolve) => {
|
80
|
+
setTimeout(() => {
|
81
|
+
resolve();
|
82
|
+
}, ms);
|
83
|
+
});
|
84
|
+
}
|
72
85
|
/**
|
73
86
|
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
74
87
|
* resolve, or rejected when any Promise is rejected.
|
@@ -96,6 +109,12 @@ class Future extends Promise {
|
|
96
109
|
//<<vue3>> back to normal because vue 3 use native proxy.
|
97
110
|
return "Future";
|
98
111
|
}
|
112
|
+
/**
|
113
|
+
* Creates a new instance of the Future class with a specific return value type.
|
114
|
+
*
|
115
|
+
* @template TReturnValue - The type of the return value for the Future instance.
|
116
|
+
* @returns {Future<TReturnValue>} - A new instance of the Future class.
|
117
|
+
*/
|
99
118
|
static new() {
|
100
119
|
return new Future(() => { });
|
101
120
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.Guid = void 0;
|
3
|
+
exports.guid = exports.Guid = void 0;
|
4
4
|
//export interface GuidValue {
|
5
5
|
// :string;
|
6
6
|
//}
|
@@ -56,18 +56,25 @@ class Guid {
|
|
56
56
|
return this.value.toLowerCase();
|
57
57
|
}
|
58
58
|
}
|
59
|
-
Guid._empty = new Guid("00000000-0000-0000-0000-000000000000");
|
60
59
|
exports.Guid = Guid;
|
60
|
+
Guid._empty = new Guid("00000000-0000-0000-0000-000000000000");
|
61
61
|
// only add extension methods when running in browser, not in node.js
|
62
62
|
if (globalThis.omnia) {
|
63
63
|
Object.defineProperty(String.prototype["equals"], "guid", {
|
64
|
-
value: function () {
|
65
|
-
return
|
66
|
-
return this.toString() === value.toString();
|
67
|
-
};
|
64
|
+
value: function (value) {
|
65
|
+
return this["_this_value"].toString() === value.toString();
|
68
66
|
},
|
69
67
|
writable: false,
|
70
68
|
configurable: false,
|
71
69
|
enumerable: false
|
72
70
|
});
|
73
71
|
}
|
72
|
+
// will make Guid class to static class to prevent new Guid instance later on
|
73
|
+
// now expose new function to create guid
|
74
|
+
function guid(value) {
|
75
|
+
if (!Guid.isValid(value)) {
|
76
|
+
throw `The string '${value}' is not a valid Guid`;
|
77
|
+
}
|
78
|
+
return value;
|
79
|
+
}
|
80
|
+
exports.guid = guid;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
export type HttpMethods = "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS";
|
2
|
+
export type HttpCacheOptions = "no-cache" | "reload" | "force-cache" | "only-if-cached";
|
3
|
+
export type HttpCredentials = "include" | "omit" | "same-origin";
|
4
|
+
export interface HttpInterceptOptions {
|
5
|
+
beforeRequest?: (request: HttpConfig) => HttpConfig;
|
6
|
+
afterRequest?: <T>(response: HttpResponse<T>, request: HttpConfig) => HttpResponse<T>;
|
7
|
+
}
|
8
|
+
export interface HttpConfig {
|
9
|
+
baseUrl?: string;
|
10
|
+
headers?: {
|
11
|
+
[key: string]: string;
|
12
|
+
};
|
13
|
+
query?: {
|
14
|
+
[key: string]: string;
|
15
|
+
};
|
16
|
+
cache?: HttpCacheOptions;
|
17
|
+
interceptors?: HttpInterceptOptions;
|
18
|
+
abortable?: boolean;
|
19
|
+
credentials?: HttpCredentials;
|
20
|
+
executeOnWorker?: boolean;
|
21
|
+
}
|
22
|
+
export interface HttpResponse<TData> {
|
23
|
+
data?: TData;
|
24
|
+
status: Number;
|
25
|
+
statusText: String;
|
26
|
+
ok: Boolean;
|
27
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { OmniaToken } from "
|
1
|
+
import { OmniaToken } from "./Tokens";
|
2
2
|
import { Guid, GuidValue } from "./Guid";
|
3
3
|
import { TenantIdentifier } from "./Tenant";
|
4
4
|
export interface OmniaSharedBootstrapData {
|
@@ -14,6 +14,7 @@ export interface OmniaSharedBootstrapData {
|
|
14
14
|
tokenKey?: OmniaToken;
|
15
15
|
tokenRef: GuidValue;
|
16
16
|
identity: string;
|
17
|
+
hubIdentity?: number;
|
17
18
|
licenses: Array<Guid>;
|
18
19
|
hubDev?: boolean;
|
19
20
|
realtimeDevPort?: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { GuidValue } from "./Guid";
|
2
2
|
export declare abstract class RealtimeChannel {
|
3
3
|
/**
|
4
4
|
* Construct a unique channel id that can be targeted to users who are set to be in that channel on the client
|
@@ -6,11 +6,6 @@ export declare abstract class RealtimeChannel {
|
|
6
6
|
*/
|
7
7
|
abstract getId(): string;
|
8
8
|
}
|
9
|
-
export declare class BusinuessProfileChannel extends RealtimeChannel {
|
10
|
-
private _profileId;
|
11
|
-
constructor(profileId: Guid);
|
12
|
-
getId(): string;
|
13
|
-
}
|
14
9
|
export declare abstract class RealtimeData<TRealtimeChannel extends RealtimeChannel, TRealtimeData> {
|
15
10
|
private _channel;
|
16
11
|
private _value;
|
@@ -19,13 +14,6 @@ export declare abstract class RealtimeData<TRealtimeChannel extends RealtimeChan
|
|
19
14
|
abstract getId(): GuidValue;
|
20
15
|
constructor(channel: TRealtimeChannel, value?: TRealtimeData);
|
21
16
|
}
|
22
|
-
export declare class PageChatRealtimeData extends RealtimeData<BusinuessProfileChannel, {
|
23
|
-
x: number;
|
24
|
-
y: number;
|
25
|
-
}> {
|
26
|
-
constructor(channel: BusinuessProfileChannel);
|
27
|
-
getId(): GuidValue;
|
28
|
-
}
|
29
17
|
export type RealtimeChannelUpdateTypes = "activate" | "deactivate";
|
30
18
|
export interface RealtimeChannelUpdateMessage extends RealtimChannelMessage {
|
31
19
|
threadId: GuidValue;
|
@@ -1,20 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
const Guid_1 = require("./Guid");
|
3
|
+
exports.RealtimeData = exports.RealtimeChannel = void 0;
|
5
4
|
class RealtimeChannel {
|
6
5
|
}
|
7
6
|
exports.RealtimeChannel = RealtimeChannel;
|
8
|
-
class BusinuessProfileChannel extends RealtimeChannel {
|
9
|
-
constructor(profileId) {
|
10
|
-
super();
|
11
|
-
this._profileId = profileId;
|
12
|
-
}
|
13
|
-
getId() {
|
14
|
-
return this._profileId.toString();
|
15
|
-
}
|
16
|
-
}
|
17
|
-
exports.BusinuessProfileChannel = BusinuessProfileChannel;
|
18
7
|
class RealtimeData {
|
19
8
|
get channel() {
|
20
9
|
return this._channel;
|
@@ -28,13 +17,3 @@ class RealtimeData {
|
|
28
17
|
}
|
29
18
|
}
|
30
19
|
exports.RealtimeData = RealtimeData;
|
31
|
-
//FIXME: This is a test implementation remove when tested
|
32
|
-
class PageChatRealtimeData extends RealtimeData {
|
33
|
-
constructor(channel) {
|
34
|
-
super(channel);
|
35
|
-
}
|
36
|
-
getId() {
|
37
|
-
return new Guid_1.Guid("0366c62b-da25-4ed1-b5dc-de7e9934249f");
|
38
|
-
}
|
39
|
-
}
|
40
|
-
exports.PageChatRealtimeData = PageChatRealtimeData;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { HttpResponse } from "./HttpCommon";
|
2
2
|
import { Guid } from "./Guid";
|
3
3
|
import { WorkerProxyFunction } from "./Workers";
|
4
4
|
export declare const WorkerProxyFuncs: {
|
@@ -9,6 +9,6 @@ export declare const WorkerProxyFuncs: {
|
|
9
9
|
httpRequest: WorkerProxyFunction<{
|
10
10
|
url: string;
|
11
11
|
reqInit: Omit<RequestInit, "window" | "signal">;
|
12
|
-
}, Promise<
|
12
|
+
}, Promise<HttpResponse<any>>>;
|
13
13
|
};
|
14
14
|
};
|
@@ -5,4 +5,4 @@ var WorkerProxyFunctionInitiators;
|
|
5
5
|
(function (WorkerProxyFunctionInitiators) {
|
6
6
|
WorkerProxyFunctionInitiators["ui"] = "main";
|
7
7
|
WorkerProxyFunctionInitiators["worker"] = "worker";
|
8
|
-
})(WorkerProxyFunctionInitiators
|
8
|
+
})(WorkerProxyFunctionInitiators || (exports.WorkerProxyFunctionInitiators = WorkerProxyFunctionInitiators = {}));
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { Guid } from "../Guid";
|
2
|
+
import { RealtimeChannel, RealtimeData } from "../Realtime";
|
3
|
+
export declare class SocialRealtimeChannel extends RealtimeChannel {
|
4
|
+
getId(): string;
|
5
|
+
}
|
6
|
+
export interface SocialRealtimeMessage {
|
7
|
+
reactionCount: number;
|
8
|
+
commentCount: number;
|
9
|
+
}
|
10
|
+
export declare class SocialRealtimeData extends RealtimeData<SocialRealtimeChannel, SocialRealtimeMessage> {
|
11
|
+
constructor(channel: SocialRealtimeChannel);
|
12
|
+
getId(): Guid;
|
13
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SocialRealtimeData = exports.SocialRealtimeChannel = void 0;
|
4
|
+
const Guid_1 = require("../Guid");
|
5
|
+
const Realtime_1 = require("../Realtime");
|
6
|
+
class SocialRealtimeChannel extends Realtime_1.RealtimeChannel {
|
7
|
+
getId() {
|
8
|
+
return "social";
|
9
|
+
}
|
10
|
+
}
|
11
|
+
exports.SocialRealtimeChannel = SocialRealtimeChannel;
|
12
|
+
class SocialRealtimeData extends Realtime_1.RealtimeData {
|
13
|
+
constructor(channel) {
|
14
|
+
super(channel);
|
15
|
+
}
|
16
|
+
getId() {
|
17
|
+
return new Guid_1.Guid("445350a8-4565-4a94-ba01-a05dd2cccca6");
|
18
|
+
}
|
19
|
+
}
|
20
|
+
exports.SocialRealtimeData = SocialRealtimeData;
|
@@ -1,24 +1,45 @@
|
|
1
|
-
import { DynamicState } from "../..";
|
2
1
|
import { ChannelId } from "./ActivityChannel";
|
3
2
|
import { ActivitySenderId } from "./ActivitySender";
|
4
|
-
|
5
|
-
}
|
6
|
-
|
7
|
-
}
|
3
|
+
import { ActivityRenderer, ActivityRendererReference } from "./ActivityRenderer";
|
4
|
+
import { StronglyTypedId } from "../../StronglyTypedId";
|
5
|
+
import { GuidValue } from "../../Guid";
|
6
|
+
import { DynamicState } from "../../DynamicState";
|
7
|
+
import { IdentityActivityCategory } from "./IdentityActivity";
|
8
|
+
import { TemporaryFileId } from "../fileupload";
|
9
|
+
export type ActivityId = StronglyTypedId<number, "ActivityId">;
|
10
|
+
export declare function ActivityId(id: number): ActivityId;
|
11
|
+
export type ActivityTypeId = StronglyTypedId<GuidValue, "ActivityTypeId">;
|
12
|
+
export declare function ActivityTypeId(id: GuidValue): ActivityTypeId;
|
8
13
|
export interface Activity<TRenderState = DynamicState> extends ActivityBase {
|
9
14
|
id: ActivityId;
|
10
15
|
state: TRenderState;
|
16
|
+
renderer: ActivityRenderer | ActivityRendererReference;
|
17
|
+
senderId: ActivitySenderId;
|
18
|
+
}
|
19
|
+
export interface ActivityWithJson extends ActivityBase {
|
20
|
+
id: ActivityId;
|
11
21
|
senderId: ActivitySenderId;
|
22
|
+
stateJson: string;
|
23
|
+
rendererJson: string;
|
12
24
|
}
|
13
25
|
export interface ActivityBase {
|
14
26
|
channelId: ChannelId;
|
15
27
|
activityTypeId: ActivityTypeId;
|
16
|
-
targeting: Array<Array<
|
28
|
+
targeting: Array<Array<SourceRelatedHubProperty>>;
|
17
29
|
notificationTeaser: NotificationTeaser;
|
18
30
|
expires?: Date;
|
19
31
|
createdAt: Date;
|
32
|
+
reactionCount?: number;
|
33
|
+
commentCount?: number;
|
34
|
+
}
|
35
|
+
export interface ActivityRenderState<TActivityState = DynamicState, TIdentityState = DynamicState> {
|
36
|
+
activity: TActivityState;
|
37
|
+
identity: TIdentityState;
|
20
38
|
}
|
21
|
-
export interface
|
39
|
+
export interface SourceRelatedHubProperty extends HubProperty {
|
40
|
+
propertySourceId: GuidValue;
|
41
|
+
}
|
42
|
+
export interface HubProperty {
|
22
43
|
name: string;
|
23
44
|
values: Array<string>;
|
24
45
|
}
|
@@ -27,3 +48,20 @@ export interface NotificationTeaser {
|
|
27
48
|
description: string;
|
28
49
|
url: string;
|
29
50
|
}
|
51
|
+
export interface CreateActivityRequest {
|
52
|
+
channelId: ChannelId;
|
53
|
+
activityTypeId: ActivityTypeId;
|
54
|
+
senderId: ActivitySenderId;
|
55
|
+
stateJson: string;
|
56
|
+
rendererJson: string;
|
57
|
+
notificationTeaser: NotificationTeaser;
|
58
|
+
targeting: Array<Array<SourceRelatedHubProperty>>;
|
59
|
+
category: IdentityActivityCategory;
|
60
|
+
activityIdPlaceHolder?: TemporaryFileId;
|
61
|
+
expires?: Date;
|
62
|
+
createdAt?: Date;
|
63
|
+
}
|
64
|
+
export interface CreateActivityResult {
|
65
|
+
id: ActivityId;
|
66
|
+
createdAt: Date;
|
67
|
+
}
|
@@ -1,9 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.ActivityTypeId = exports.ActivityId = void 0;
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
(function (ActivityTypeId) {
|
9
|
-
})(ActivityTypeId = exports.ActivityTypeId || (exports.ActivityTypeId = {}));
|
4
|
+
function ActivityId(id) { return id; }
|
5
|
+
exports.ActivityId = ActivityId;
|
6
|
+
function ActivityTypeId(id) { return id; }
|
7
|
+
exports.ActivityTypeId = ActivityTypeId;
|
@@ -1,5 +1,6 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { StronglyTypedId } from "../../StronglyTypedId";
|
2
|
+
export type ChannelId = StronglyTypedId<number, "ChannelId">;
|
3
|
+
export declare function ChannelId(id: number): ChannelId;
|
3
4
|
export interface ActivityChannel {
|
4
5
|
id: ChannelId;
|
5
6
|
createdAt: Date;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.ChannelId = void 0;
|
4
|
-
|
5
|
-
|
6
|
-
})(ChannelId = exports.ChannelId || (exports.ChannelId = {}));
|
4
|
+
function ChannelId(id) { return id; }
|
5
|
+
exports.ChannelId = ChannelId;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { DynamicState } from "../../DynamicState";
|
2
|
+
import { ActivityTypeId } from "./Activity";
|
3
|
+
import { ActivityRenderer, ActivityRendererReference } from "./ActivityRenderer";
|
4
|
+
export declare abstract class FeedActivityDefinition<TFeedItemState> implements ActivityDefinition<TFeedItemState> {
|
5
|
+
state: TFeedItemState;
|
6
|
+
renderer: ActivityRenderer | ActivityRendererReference;
|
7
|
+
activityTypeId: ActivityTypeId;
|
8
|
+
constructor(state: TFeedItemState, renderer: ActivityRenderer | ActivityRendererReference, activityTypeId: ActivityTypeId);
|
9
|
+
}
|
10
|
+
export declare abstract class ActivityDefinition<TRenderState = DynamicState> {
|
11
|
+
state: TRenderState;
|
12
|
+
renderer: ActivityRenderer | ActivityRendererReference;
|
13
|
+
abstract activityTypeId: ActivityTypeId;
|
14
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ActivityDefinition = exports.FeedActivityDefinition = void 0;
|
4
|
+
class FeedActivityDefinition {
|
5
|
+
constructor(state, renderer, activityTypeId) {
|
6
|
+
this.state = state;
|
7
|
+
this.renderer = renderer;
|
8
|
+
this.activityTypeId = activityTypeId;
|
9
|
+
this.activityTypeId = activityTypeId;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
exports.FeedActivityDefinition = FeedActivityDefinition;
|
13
|
+
class ActivityDefinition {
|
14
|
+
}
|
15
|
+
exports.ActivityDefinition = ActivityDefinition;
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { Activity, ActivityId, ActivityWithJson } from "./Activity";
|
2
|
+
import { ActivityRenderer, ActivityRendererId } from "./ActivityRenderer";
|
3
|
+
import { ActivitySenderId } from "./ActivitySender";
|
4
|
+
import { ActivityCategoryCount, IdentityActivity, IdentityActivityCategory, IdentityActivityWithJson, NewActivitiesBySenderBase } from "./IdentityActivity";
|
5
|
+
export interface ActivityFeed extends ActivityFeedBase {
|
6
|
+
renderers: {
|
7
|
+
[key: ActivityRendererId]: Array<ActivityRenderer>;
|
8
|
+
};
|
9
|
+
identityActivities: Array<IdentityActivity<object, object>>;
|
10
|
+
activities: Array<Activity>;
|
11
|
+
}
|
12
|
+
export interface ActivityFeedResult extends ActivityFeedBase {
|
13
|
+
identityActivities: Array<IdentityActivityWithJson>;
|
14
|
+
activities: Array<ActivityWithJson>;
|
15
|
+
loadStateHash: string;
|
16
|
+
}
|
17
|
+
export interface ActivityFeedBase {
|
18
|
+
newActivities: Array<NewActivitiesBySenderBase>;
|
19
|
+
nextStartingFromId: ActivityId;
|
20
|
+
recentSenders: Array<ActivitySenderId>;
|
21
|
+
categories: Array<ActivityCategoryCount>;
|
22
|
+
}
|
23
|
+
export interface FeedQuery {
|
24
|
+
newerThenId?: ActivityId;
|
25
|
+
olderThenId?: ActivityId;
|
26
|
+
filterBySenderId?: ActivitySenderId;
|
27
|
+
filterByCategory?: IdentityActivityCategory;
|
28
|
+
includeRecentSenders?: number;
|
29
|
+
includeCategories?: boolean;
|
30
|
+
}
|
@@ -1,9 +1,15 @@
|
|
1
|
-
|
2
|
-
}
|
1
|
+
import { GuidValue } from "../../Guid";
|
2
|
+
import { StronglyTypedId } from "../../StronglyTypedId";
|
3
|
+
import { VelcronAppDefinition } from "../../velcron";
|
4
|
+
export type ActivityRendererId = StronglyTypedId<string, "ActivityRendererId">;
|
5
|
+
export declare function ActivityRendererId(id: GuidValue): ActivityRendererId;
|
3
6
|
export interface ActivityRendererReference {
|
4
7
|
id: ActivityRendererId;
|
5
8
|
version: string;
|
6
9
|
}
|
7
|
-
export interface
|
10
|
+
export interface ActivityRendererWithJson extends ActivityRendererReference {
|
8
11
|
definition: string;
|
9
12
|
}
|
13
|
+
export interface ActivityRenderer extends ActivityRendererReference {
|
14
|
+
definition: VelcronAppDefinition;
|
15
|
+
}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.ActivityRendererId = void 0;
|
4
|
-
|
5
|
-
|
6
|
-
})(ActivityRendererId = exports.ActivityRendererId || (exports.ActivityRendererId = {}));
|
4
|
+
function ActivityRendererId(id) { return id; }
|
5
|
+
exports.ActivityRendererId = ActivityRendererId;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { ActivityRendererReference } from "./ActivityRenderer";
|
2
|
+
export interface ActivityRendererLoadReference extends ActivityRendererReference {
|
3
|
+
versionHash: string;
|
4
|
+
}
|
5
|
+
export interface ActivityRendererLoadingReferences {
|
6
|
+
stateHash: string;
|
7
|
+
loadReferences: Array<ActivityRendererLoadReference>;
|
8
|
+
}
|
@@ -1,4 +1,8 @@
|
|
1
|
-
|
1
|
+
import { StronglyTypedId } from "../../StronglyTypedId";
|
2
|
+
export type ActivitySenderId = StronglyTypedId<number, "ActivitySenderId">;
|
3
|
+
export declare function ActivitySenderId(id: number): ActivitySenderId;
|
4
|
+
export interface ActivitySenderWithBag<TBag> extends ActivitySender {
|
5
|
+
bag: TBag;
|
2
6
|
}
|
3
7
|
export interface ActivitySender extends ActivitySenderBase {
|
4
8
|
id: ActivitySenderId;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.ActivitySenderId = void 0;
|
4
|
-
|
5
|
-
|
6
|
-
})(ActivitySenderId = exports.ActivitySenderId || (exports.ActivitySenderId = {}));
|
4
|
+
function ActivitySenderId(id) { return id; }
|
5
|
+
exports.ActivitySenderId = ActivitySenderId;
|
@@ -1,18 +1,40 @@
|
|
1
|
-
import { DynamicState } from "
|
1
|
+
import { DynamicState } from "../../DynamicState";
|
2
2
|
import { Activity, ActivityId } from "./Activity";
|
3
|
+
import { ChannelId } from "./ActivityChannel";
|
4
|
+
import { ActivitySender, ActivitySenderId } from "./ActivitySender";
|
3
5
|
export declare enum IdentityActivityStatus {
|
4
|
-
|
6
|
+
new = 0,
|
5
7
|
read = 1,
|
6
8
|
completed = 2
|
7
9
|
}
|
10
|
+
export declare enum IdentityActivityCategory {
|
11
|
+
none = 0,
|
12
|
+
important = 1,
|
13
|
+
todo = 2,
|
14
|
+
snoozed = 3,
|
15
|
+
bookmarked = 4
|
16
|
+
}
|
8
17
|
export interface IdentityActivityBase {
|
9
18
|
activityId: ActivityId;
|
10
19
|
status: IdentityActivityStatus;
|
20
|
+
category: IdentityActivityCategory;
|
11
21
|
}
|
12
|
-
export interface IdentityActivity<TRenderState extends DynamicState
|
22
|
+
export interface IdentityActivity<TRenderState extends DynamicState, TState extends DynamicState> extends IdentityActivityBase {
|
13
23
|
activity: Activity<TRenderState>;
|
14
24
|
state?: TState;
|
15
25
|
}
|
16
26
|
export interface IdentityActivityWithJson extends IdentityActivityBase {
|
17
27
|
stateJson: string;
|
18
28
|
}
|
29
|
+
export interface NewActivitiesBySenderBase {
|
30
|
+
count: number;
|
31
|
+
senderId: ActivitySenderId;
|
32
|
+
}
|
33
|
+
export interface NewActivitiesBySender extends NewActivitiesBySenderBase {
|
34
|
+
sender: ActivitySender;
|
35
|
+
channelId: ChannelId;
|
36
|
+
}
|
37
|
+
export interface ActivityCategoryCount {
|
38
|
+
category: IdentityActivityCategory;
|
39
|
+
count: number;
|
40
|
+
}
|
@@ -1,12 +1,20 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.IdentityActivityStatus = void 0;
|
3
|
+
exports.IdentityActivityCategory = exports.IdentityActivityStatus = void 0;
|
4
4
|
var IdentityActivityStatus;
|
5
5
|
(function (IdentityActivityStatus) {
|
6
|
-
IdentityActivityStatus[IdentityActivityStatus["
|
6
|
+
IdentityActivityStatus[IdentityActivityStatus["new"] = 0] = "new";
|
7
7
|
IdentityActivityStatus[IdentityActivityStatus["read"] = 1] = "read";
|
8
8
|
IdentityActivityStatus[IdentityActivityStatus["completed"] = 2] = "completed";
|
9
|
-
})(IdentityActivityStatus
|
9
|
+
})(IdentityActivityStatus || (exports.IdentityActivityStatus = IdentityActivityStatus = {}));
|
10
|
+
var IdentityActivityCategory;
|
11
|
+
(function (IdentityActivityCategory) {
|
12
|
+
IdentityActivityCategory[IdentityActivityCategory["none"] = 0] = "none";
|
13
|
+
IdentityActivityCategory[IdentityActivityCategory["important"] = 1] = "important";
|
14
|
+
IdentityActivityCategory[IdentityActivityCategory["todo"] = 2] = "todo";
|
15
|
+
IdentityActivityCategory[IdentityActivityCategory["snoozed"] = 3] = "snoozed";
|
16
|
+
IdentityActivityCategory[IdentityActivityCategory["bookmarked"] = 4] = "bookmarked";
|
17
|
+
})(IdentityActivityCategory || (exports.IdentityActivityCategory = IdentityActivityCategory = {}));
|
10
18
|
// Usage
|
11
19
|
// const activity1: IdentityActivity<SomeRenderState> = {
|
12
20
|
// activity: {
|
@@ -3,4 +3,6 @@ export * from "./IdentityActivity";
|
|
3
3
|
export * from "./ActivityRenderer";
|
4
4
|
export * from "./ActivitySender";
|
5
5
|
export * from "./ActivityChannel";
|
6
|
-
export * from "./
|
6
|
+
export * from "./ActivityFeed";
|
7
|
+
export * from "./ActivityDefinition";
|
8
|
+
export * from "./ActivityRendererLoadingReferences";
|
@@ -6,4 +6,6 @@ tslib_1.__exportStar(require("./IdentityActivity"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./ActivityRenderer"), exports);
|
7
7
|
tslib_1.__exportStar(require("./ActivitySender"), exports);
|
8
8
|
tslib_1.__exportStar(require("./ActivityChannel"), exports);
|
9
|
-
tslib_1.__exportStar(require("./
|
9
|
+
tslib_1.__exportStar(require("./ActivityFeed"), exports);
|
10
|
+
tslib_1.__exportStar(require("./ActivityDefinition"), exports);
|
11
|
+
tslib_1.__exportStar(require("./ActivityRendererLoadingReferences"), exports);
|