@fedify/fedify 0.14.0-dev.337 → 0.14.0-dev.339

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.
@@ -2270,6 +2270,8 @@ export declare class Application extends Object {
2270
2270
  suspended?: boolean | null;
2271
2271
  memorial?: boolean | null;
2272
2272
  indexable?: boolean | null;
2273
+ alias?: Application | Group | Organization | Person | Service | URL | null;
2274
+ aliases?: (Application | Group | Organization | Person | Service | URL)[];
2273
2275
  }, { documentLoader, contextLoader, }?: {
2274
2276
  documentLoader?: DocumentLoader;
2275
2277
  contextLoader?: DocumentLoader;
@@ -2347,6 +2349,8 @@ export declare class Application extends Object {
2347
2349
  suspended?: boolean | null;
2348
2350
  memorial?: boolean | null;
2349
2351
  indexable?: boolean | null;
2352
+ alias?: Application | Group | Organization | Person | Service | URL | null;
2353
+ aliases?: (Application | Group | Organization | Person | Service | URL)[];
2350
2354
  }, options?: {
2351
2355
  documentLoader?: DocumentLoader;
2352
2356
  contextLoader?: DocumentLoader;
@@ -2594,6 +2598,38 @@ export declare class Application extends Object {
2594
2598
  /** Whether the actor allows to be indexed.
2595
2599
  */
2596
2600
  get indexable(): boolean | null;
2601
+ /**
2602
+ * Similar to
2603
+ * {@link Application.getAlias},
2604
+ * but returns its `@id` URL instead of the object itself.
2605
+ */
2606
+ get aliasId(): URL | null;
2607
+ /** The `aliases` (`alsoKnownAs`) property is used to specify alternative names
2608
+ * or aliases for an entity. It can be used to provide additional identifiers
2609
+ * or labels for an entity, which can be useful in scenarios where an entity
2610
+ * may have multiple names or aliases.
2611
+ */
2612
+ getAlias(options?: {
2613
+ documentLoader?: DocumentLoader;
2614
+ contextLoader?: DocumentLoader;
2615
+ suppressError?: boolean;
2616
+ }): Promise<Application | Group | Organization | Person | Service | null>;
2617
+ /**
2618
+ * Similar to
2619
+ * {@link Application.getAliases},
2620
+ * but returns their `@id`s instead of the objects themselves.
2621
+ */
2622
+ get aliasIds(): URL[];
2623
+ /** The `aliases` (`alsoKnownAs`) property is used to specify alternative names
2624
+ * or aliases for an entity. It can be used to provide additional identifiers
2625
+ * or labels for an entity, which can be useful in scenarios where an entity
2626
+ * may have multiple names or aliases.
2627
+ */
2628
+ getAliases(options?: {
2629
+ documentLoader?: DocumentLoader;
2630
+ contextLoader?: DocumentLoader;
2631
+ suppressError?: boolean;
2632
+ }): AsyncIterable<Application | Group | Organization | Person | Service>;
2597
2633
  /**
2598
2634
  * Converts this object to a JSON-LD structure.
2599
2635
  * @param options The options to use.
@@ -5431,6 +5467,8 @@ export declare class Group extends Object {
5431
5467
  suspended?: boolean | null;
5432
5468
  memorial?: boolean | null;
5433
5469
  indexable?: boolean | null;
5470
+ alias?: Application | Group | Organization | Person | Service | URL | null;
5471
+ aliases?: (Application | Group | Organization | Person | Service | URL)[];
5434
5472
  }, { documentLoader, contextLoader, }?: {
5435
5473
  documentLoader?: DocumentLoader;
5436
5474
  contextLoader?: DocumentLoader;
@@ -5508,6 +5546,8 @@ export declare class Group extends Object {
5508
5546
  suspended?: boolean | null;
5509
5547
  memorial?: boolean | null;
5510
5548
  indexable?: boolean | null;
5549
+ alias?: Application | Group | Organization | Person | Service | URL | null;
5550
+ aliases?: (Application | Group | Organization | Person | Service | URL)[];
5511
5551
  }, options?: {
5512
5552
  documentLoader?: DocumentLoader;
5513
5553
  contextLoader?: DocumentLoader;
@@ -5755,6 +5795,38 @@ export declare class Group extends Object {
5755
5795
  /** Whether the actor allows to be indexed.
5756
5796
  */
5757
5797
  get indexable(): boolean | null;
5798
+ /**
5799
+ * Similar to
5800
+ * {@link Group.getAlias},
5801
+ * but returns its `@id` URL instead of the object itself.
5802
+ */
5803
+ get aliasId(): URL | null;
5804
+ /** The `aliases` (`alsoKnownAs`) property is used to specify alternative names
5805
+ * or aliases for an entity. It can be used to provide additional identifiers
5806
+ * or labels for an entity, which can be useful in scenarios where an entity
5807
+ * may have multiple names or aliases.
5808
+ */
5809
+ getAlias(options?: {
5810
+ documentLoader?: DocumentLoader;
5811
+ contextLoader?: DocumentLoader;
5812
+ suppressError?: boolean;
5813
+ }): Promise<Application | Group | Organization | Person | Service | null>;
5814
+ /**
5815
+ * Similar to
5816
+ * {@link Group.getAliases},
5817
+ * but returns their `@id`s instead of the objects themselves.
5818
+ */
5819
+ get aliasIds(): URL[];
5820
+ /** The `aliases` (`alsoKnownAs`) property is used to specify alternative names
5821
+ * or aliases for an entity. It can be used to provide additional identifiers
5822
+ * or labels for an entity, which can be useful in scenarios where an entity
5823
+ * may have multiple names or aliases.
5824
+ */
5825
+ getAliases(options?: {
5826
+ documentLoader?: DocumentLoader;
5827
+ contextLoader?: DocumentLoader;
5828
+ suppressError?: boolean;
5829
+ }): AsyncIterable<Application | Group | Organization | Person | Service>;
5758
5830
  /**
5759
5831
  * Converts this object to a JSON-LD structure.
5760
5832
  * @param options The options to use.
@@ -8053,6 +8125,8 @@ export declare class Organization extends Object {
8053
8125
  suspended?: boolean | null;
8054
8126
  memorial?: boolean | null;
8055
8127
  indexable?: boolean | null;
8128
+ alias?: Application | Group | Organization | Person | Service | URL | null;
8129
+ aliases?: (Application | Group | Organization | Person | Service | URL)[];
8056
8130
  }, { documentLoader, contextLoader, }?: {
8057
8131
  documentLoader?: DocumentLoader;
8058
8132
  contextLoader?: DocumentLoader;
@@ -8130,6 +8204,8 @@ export declare class Organization extends Object {
8130
8204
  suspended?: boolean | null;
8131
8205
  memorial?: boolean | null;
8132
8206
  indexable?: boolean | null;
8207
+ alias?: Application | Group | Organization | Person | Service | URL | null;
8208
+ aliases?: (Application | Group | Organization | Person | Service | URL)[];
8133
8209
  }, options?: {
8134
8210
  documentLoader?: DocumentLoader;
8135
8211
  contextLoader?: DocumentLoader;
@@ -8377,6 +8453,38 @@ export declare class Organization extends Object {
8377
8453
  /** Whether the actor allows to be indexed.
8378
8454
  */
8379
8455
  get indexable(): boolean | null;
8456
+ /**
8457
+ * Similar to
8458
+ * {@link Organization.getAlias},
8459
+ * but returns its `@id` URL instead of the object itself.
8460
+ */
8461
+ get aliasId(): URL | null;
8462
+ /** The `aliases` (`alsoKnownAs`) property is used to specify alternative names
8463
+ * or aliases for an entity. It can be used to provide additional identifiers
8464
+ * or labels for an entity, which can be useful in scenarios where an entity
8465
+ * may have multiple names or aliases.
8466
+ */
8467
+ getAlias(options?: {
8468
+ documentLoader?: DocumentLoader;
8469
+ contextLoader?: DocumentLoader;
8470
+ suppressError?: boolean;
8471
+ }): Promise<Application | Group | Organization | Person | Service | null>;
8472
+ /**
8473
+ * Similar to
8474
+ * {@link Organization.getAliases},
8475
+ * but returns their `@id`s instead of the objects themselves.
8476
+ */
8477
+ get aliasIds(): URL[];
8478
+ /** The `aliases` (`alsoKnownAs`) property is used to specify alternative names
8479
+ * or aliases for an entity. It can be used to provide additional identifiers
8480
+ * or labels for an entity, which can be useful in scenarios where an entity
8481
+ * may have multiple names or aliases.
8482
+ */
8483
+ getAliases(options?: {
8484
+ documentLoader?: DocumentLoader;
8485
+ contextLoader?: DocumentLoader;
8486
+ suppressError?: boolean;
8487
+ }): AsyncIterable<Application | Group | Organization | Person | Service>;
8380
8488
  /**
8381
8489
  * Converts this object to a JSON-LD structure.
8382
8490
  * @param options The options to use.
@@ -8638,6 +8746,8 @@ export declare class Person extends Object {
8638
8746
  suspended?: boolean | null;
8639
8747
  memorial?: boolean | null;
8640
8748
  indexable?: boolean | null;
8749
+ alias?: Application | Group | Organization | Person | Service | URL | null;
8750
+ aliases?: (Application | Group | Organization | Person | Service | URL)[];
8641
8751
  }, { documentLoader, contextLoader, }?: {
8642
8752
  documentLoader?: DocumentLoader;
8643
8753
  contextLoader?: DocumentLoader;
@@ -8715,6 +8825,8 @@ export declare class Person extends Object {
8715
8825
  suspended?: boolean | null;
8716
8826
  memorial?: boolean | null;
8717
8827
  indexable?: boolean | null;
8828
+ alias?: Application | Group | Organization | Person | Service | URL | null;
8829
+ aliases?: (Application | Group | Organization | Person | Service | URL)[];
8718
8830
  }, options?: {
8719
8831
  documentLoader?: DocumentLoader;
8720
8832
  contextLoader?: DocumentLoader;
@@ -8962,6 +9074,38 @@ export declare class Person extends Object {
8962
9074
  /** Whether the actor allows to be indexed.
8963
9075
  */
8964
9076
  get indexable(): boolean | null;
9077
+ /**
9078
+ * Similar to
9079
+ * {@link Person.getAlias},
9080
+ * but returns its `@id` URL instead of the object itself.
9081
+ */
9082
+ get aliasId(): URL | null;
9083
+ /** The `aliases` (`alsoKnownAs`) property is used to specify alternative names
9084
+ * or aliases for an entity. It can be used to provide additional identifiers
9085
+ * or labels for an entity, which can be useful in scenarios where an entity
9086
+ * may have multiple names or aliases.
9087
+ */
9088
+ getAlias(options?: {
9089
+ documentLoader?: DocumentLoader;
9090
+ contextLoader?: DocumentLoader;
9091
+ suppressError?: boolean;
9092
+ }): Promise<Application | Group | Organization | Person | Service | null>;
9093
+ /**
9094
+ * Similar to
9095
+ * {@link Person.getAliases},
9096
+ * but returns their `@id`s instead of the objects themselves.
9097
+ */
9098
+ get aliasIds(): URL[];
9099
+ /** The `aliases` (`alsoKnownAs`) property is used to specify alternative names
9100
+ * or aliases for an entity. It can be used to provide additional identifiers
9101
+ * or labels for an entity, which can be useful in scenarios where an entity
9102
+ * may have multiple names or aliases.
9103
+ */
9104
+ getAliases(options?: {
9105
+ documentLoader?: DocumentLoader;
9106
+ contextLoader?: DocumentLoader;
9107
+ suppressError?: boolean;
9108
+ }): AsyncIterable<Application | Group | Organization | Person | Service>;
8965
9109
  /**
8966
9110
  * Converts this object to a JSON-LD structure.
8967
9111
  * @param options The options to use.
@@ -10412,6 +10556,8 @@ export declare class Service extends Object {
10412
10556
  suspended?: boolean | null;
10413
10557
  memorial?: boolean | null;
10414
10558
  indexable?: boolean | null;
10559
+ alias?: Application | Group | Organization | Person | Service | URL | null;
10560
+ aliases?: (Application | Group | Organization | Person | Service | URL)[];
10415
10561
  }, { documentLoader, contextLoader, }?: {
10416
10562
  documentLoader?: DocumentLoader;
10417
10563
  contextLoader?: DocumentLoader;
@@ -10489,6 +10635,8 @@ export declare class Service extends Object {
10489
10635
  suspended?: boolean | null;
10490
10636
  memorial?: boolean | null;
10491
10637
  indexable?: boolean | null;
10638
+ alias?: Application | Group | Organization | Person | Service | URL | null;
10639
+ aliases?: (Application | Group | Organization | Person | Service | URL)[];
10492
10640
  }, options?: {
10493
10641
  documentLoader?: DocumentLoader;
10494
10642
  contextLoader?: DocumentLoader;
@@ -10736,6 +10884,38 @@ export declare class Service extends Object {
10736
10884
  /** Whether the actor allows to be indexed.
10737
10885
  */
10738
10886
  get indexable(): boolean | null;
10887
+ /**
10888
+ * Similar to
10889
+ * {@link Service.getAlias},
10890
+ * but returns its `@id` URL instead of the object itself.
10891
+ */
10892
+ get aliasId(): URL | null;
10893
+ /** The `aliases` (`alsoKnownAs`) property is used to specify alternative names
10894
+ * or aliases for an entity. It can be used to provide additional identifiers
10895
+ * or labels for an entity, which can be useful in scenarios where an entity
10896
+ * may have multiple names or aliases.
10897
+ */
10898
+ getAlias(options?: {
10899
+ documentLoader?: DocumentLoader;
10900
+ contextLoader?: DocumentLoader;
10901
+ suppressError?: boolean;
10902
+ }): Promise<Application | Group | Organization | Person | Service | null>;
10903
+ /**
10904
+ * Similar to
10905
+ * {@link Service.getAliases},
10906
+ * but returns their `@id`s instead of the objects themselves.
10907
+ */
10908
+ get aliasIds(): URL[];
10909
+ /** The `aliases` (`alsoKnownAs`) property is used to specify alternative names
10910
+ * or aliases for an entity. It can be used to provide additional identifiers
10911
+ * or labels for an entity, which can be useful in scenarios where an entity
10912
+ * may have multiple names or aliases.
10913
+ */
10914
+ getAliases(options?: {
10915
+ documentLoader?: DocumentLoader;
10916
+ contextLoader?: DocumentLoader;
10917
+ suppressError?: boolean;
10918
+ }): AsyncIterable<Application | Group | Organization | Person | Service>;
10739
10919
  /**
10740
10920
  * Converts this object to a JSON-LD structure.
10741
10921
  * @param options The options to use.