IFClite TypeScript API
    Preparing search index...

    Interface FederationResolver

    interface FederationResolver {
        fromGlobalId(globalId: string): ResolvedReference | null;
        getModelForGlobalId(globalId: string): string | null;
        toGlobalId(modelId: string, localId: string): string;
    }
    Index
    • Decompose a global identifier back into (modelId, localId). Null if unknown.

      Parameters

      • globalId: string

      Returns ResolvedReference | null

    • Convenience: just the modelId.

      Parameters

      • globalId: string

      Returns string | null

    • Compose a (modelId, localId) pair into a global identifier.

      Parameters

      • modelId: string
      • localId: string

      Returns string